User:Blassey/UpdaterTests
From MozillaWiki
Contents
- 1 Notes
- 2 Test results
- 2.1 test_0010_general.js [PASS]
- 2.2 test_0020_general.js [PASS]
- 2.3 test_0030_general.js [HANG] (pre Bug 503409)
- 2.4 test_0030_general.js [PASS] (post Bug 503409)
- 2.5 test_0040_general.js [PASS]
- 2.6 test_0050_general.js [PASS]
- 2.7 test_0060_manager.js [PASS]
- 2.8 test_0061_manager.js [PASS]
- 2.9 test_0062_manager.js [PASS]
- 2.10 test_0063_manager.js [PASS]
- 2.11 test_0110_general.js [PASS]
- 2.12 test_0111_general.js [PASS]
- 2.13 test_bug497578.js [PASS]
- 2.14 TestAUSReadStrings [PASS]
Notes
tests such as test_0050_general.js don't report any failures, but have lines like:
- Testing: run_test_pt6 - failed (unknown reason)
- AUS:SVC General:getStatusTextFromCode - transfer error: Failed (unknown reason), code: 2152398849
- etc...
I'm not sure if this is just extraneous output or if these should be failures
Test results
test_0010_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: write access is required to the application directory TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0010_general.js | [run_test : 47] true == true TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0010_general.js | [run_test : 49] false == false *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status Testing: nsIApplicationUpdateService:canUpdate TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0010_general.js | [run_test : 55] true == true TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 3 (+ 0) check(s) passed
test_0020_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 2 pending *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status TEST-INFO | (xpcshell/head.js) | test 2 finished TEST-INFO | (xpcshell/head.js) | running event loop Testing: run_test_pt1 - update xml not available *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 400 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] null == null Testing: run_test_pt2 - one update available and the update's property values *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 1 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 125] 1 == 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 127] minor == minor TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 128] XPCShell App Update Test == XPCShell App Update Test TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 129] 1.1a1pre == 1.1a1pre TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 130] 2.1a1pre == 2.1a1pre TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 131] 3.1a1pre == 3.1a1pre TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 132] 20080811053724 == 20080811053724 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 133] http://dummylicense/index.html == http://dummylicense/index.html TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 134] http://dummydetails/index.html == http://dummydetails/index.html TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 135] http://localhost:4444/update.xml?force=1 == http://localhost:4444/update.xml?force=1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 136] bogus_channel == bogus_channel TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 137] false == false TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 138] false == false TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 139] 0 == 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 140] null == null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 143] == TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 144] 0 == 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 145] 2 == 2 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 150] complete == complete TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 151] http://complete/ == http://complete/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 152] SHA1 == SHA1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 153] 98db9dad8e1d80eda7e1170d0187d6f53e477059 == 98db9dad8e1d80eda7e1170d0187d6f53e477059 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 154] 9856459 == 9856459 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 159] string == string TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 160] null == null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 161] false == false TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 166] partial == partial TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 167] http://partial/ == http://partial/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 168] SHA1 == SHA1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 169] e6678ca40ae7582316acdeddf3c133c9c8577de4 == e6678ca40ae7582316acdeddf3c133c9c8577de4 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 170] 1316138 == 1316138 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 171] null == null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt2 : 172] false == false Testing: run_test_pt3 - empty update xml *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:get_updates - unexpected node name! *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: *** AUS:SVC Checker:onLoad - request.status: 400 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] null == null Testing: run_test_pt4 - no updates available *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - number of updates available: 0 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 0 == 0 Testing: run_test_pt5 - one update available *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 1 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 1 == 1 Testing: run_test_pt6 - three updates available *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 3 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 3 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 3 == 3 Testing: run_test_pt7 - one update with complete and partial patches with size 0 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC UpdatePatch:init - 0-sized patch! *** AUS:SVC UpdatePatch:init - 0-sized patch! *** AUS:SVC Checker:get_updates - invalid <update/>, ignoring... *** AUS:SVC Checker:onLoad - number of updates available: 0 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 0 == 0 Testing: one update with complete patch with size 0 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC UpdatePatch:init - 0-sized patch! *** AUS:SVC Checker:get_updates - invalid <update/>, ignoring... *** AUS:SVC Checker:onLoad - number of updates available: 0 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 0 == 0 Testing: one update with partial patch with size 0 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC UpdatePatch:init - 0-sized patch! *** AUS:SVC Checker:get_updates - invalid <update/>, ignoring... *** AUS:SVC Checker:onLoad - number of updates available: 0 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 0 == 0 Testing: two updates older than the current version *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 2 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 2 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 2 == 2 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt10 : 268] null == null Testing: one updates equal to the current version *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 1 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_helper_pt1 : 75] 1 == 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt11 : 292] [xpconnect wrapped nsIUpdate] != null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0020_general.js | [check_test_pt11 : 293] version 1.0 == version 1.0 TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 46 (+ 0) check(s) passed
test_0030_general.js [HANG] (pre Bug 503409)
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 2 pending *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status TEST-INFO | (xpcshell/head.js) | test 2 finished TEST-INFO | (xpcshell/head.js) | running event loop Testing: run_test_pt1 - mar download with a valid MD5 hash *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - number of updates available: 1 onError: url = http://localhost:4444/update.xml?force=1, request.status = 400, update.statusText = null, updateCount = 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0030_general.js | [check_test_helper_pt1_1 : 93] 1 == 1 *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC UpdateManager:_loadXMLFileIntoArray: XML file does not exist *** AUS:SVC UpdateManager:_loadXMLFileIntoArray: XML file does not exist *** AUS:SVC UpdateManager:_loadXMLFileIntoArray: XML file does not exist *** AUS:SVC Downloader:downloadUpdate - downloading from http://localhost:4444/data/empty.mar to \tests\fennec\xulrunner\updates\0\update.mar Load module: dtpt_nsp.dll [K] Time[2009/07/09 15:07:00] Load module: nspm.dll The thread 0x89b29fba has exited with code 0 (0x0).
test_0030_general.js [PASS] (post Bug 503409)
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-INFO | (xpcshell/head.js) | No (+ 0) checks actually run
test_0040_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 2 pending *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status TEST-INFO | (xpcshell/head.js) | test 2 finished TEST-INFO | (xpcshell/head.js) | running event loop Testing: url constructed with %PRODUCT% - http://localhost:4444/data/%PRODUCT%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/XPCShell/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/XPCShell/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/XPCShell/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt1 : 91] XPCShell == XPCShell Testing: url constructed with %VERSION% - http://localhost:4444/data/%VERSION%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/1.0/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/1.0/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/1.0/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt2 : 105] 1.0 == 1.0 Testing: url constructed with %BUILD_ID% - http://localhost:4444/data/%BUILD_ID%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/2007010101/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/2007010101/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/2007010101/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt3 : 119] 2007010101 == 2007010101 Testing: url constructed with %BUILD_TARGET% - http://localhost:4444/data/%BUILD_TARGET%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/XPCShell_noarch-spidermonkey/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/XPCShell_noarch-spidermonkey/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/XPCShell_noarch-spidermonkey/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt4 : 143] XPCShell_noarch-spidermonkey == XPCShell_noarch-spidermonkey Testing: url constructed with %LOCALE% - http://localhost:4444/data/%LOCALE%/ *** AUS:SVC General:getLocale - getting locale from file: \tests\fennec\xulrunner\update.locale, locale: en-US *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/en-US/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/en-US/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/en-US/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt5 : 165] en-US == en-US Testing: url constructed with %CHANNEL% - http://localhost:4444/data/%CHANNEL%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/bogus_channel/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/bogus_channel/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/bogus_channel/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt6 : 182] bogus_channel == bogus_channel Testing: url constructed with %CHANNEL% - http://localhost:4444/data/%CHANNEL%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/bogus_channel-cck-bogus_partner1-bogus_partner2/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/bogus_channel-cck-bogus_partner1-bogus_partner2/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/bogus_channel-cck-bogus_partner1-bogus_partner2/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt7 : 200] bogus_channel-cck-bogus_partner1-bogus_partner2 == bogus_channel-cck-bogus_partner1-bogus_partner2 Testing: url constructed with %PLATFORM_VERSION% - http://localhost:4444/data/%PLATFORM_VERSION%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/2.0/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/2.0/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/2.0/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt8 : 214] 2.0 == 2.0 Testing: url constructed with %OS_VERSION% - http://localhost:4444/data/%OS_VERSION%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/Windows_Unknown%200.0/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/Windows_Unknown%200.0/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/Windows_Unknown%200.0/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt9 : 244] Windows_Unknown%200.0 == Windows_Unknown%200.0 Testing: url constructed with %DISTRIBUTION% - http://localhost:4444/data/%DISTRIBUTION%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/bogus_distro/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/bogus_distro/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/bogus_distro/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt10 : 261] bogus_distro == bogus_distro Testing: url constructed with %DISTRIBUTION_VERSION% - http://localhost:4444/data/%DISTRIBUTION_VERSION%/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/bogus_distro_version/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/bogus_distro_version/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/bogus_distro_version/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt11 : 278] bogus_distro_version == bogus_distro_version Testing: url constructed that doesn't have a parameter - http://localhost:4444/data/ *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/?force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt12 : 292] ?force=1 == ?force=1 Testing: url constructed that has a parameter - http://localhost:4444/data/?bogus=param *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/data/?bogus=param&force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/data/?bogus=param&force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 0 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/data/?bogus=param&force=1, request.status = 0, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0040_general.js | [check_test_pt13 : 306] ?bogus=param&force=1 == ?bogus=param&force=1 TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 13 (+ 0) check(s) passed
test_0050_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 2 pending *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStringFromFile - file doesn't exist: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:readStatusFile - status: null, path: \tests\fennec\xulrunner\updates\0\update.status TEST-INFO | (xpcshell/head.js) | test 2 finished TEST-INFO | (xpcshell/head.js) | running event loop Testing: run_test_pt1 - default onerror error message *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 399 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), default code: 404 onError: url = http://localhost:4444/update.xml?force=1, request.status = 399, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_pt1 : 108] 399 == 399 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_pt1 : 110] Update XML file not found (404) == Update XML file not found (404) Testing: run_test_pt2 - file malformed *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 200 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file malformed (200), code: 200 onError: url = http://localhost:4444/update.xml?force=1, request.status = 200, update.statusText = Update XML file malformed (200) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 200 == 200 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Update XML file malformed (200) == Update XML file malformed (200) Testing: run_test_pt3 - access denied *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 403 *** AUS:SVC General:getStatusTextFromCode - transfer error: Access denied (403), code: 403 onError: url = http://localhost:4444/update.xml?force=1, request.status = 403, update.statusText = Access denied (403) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 403 == 403 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Access denied (403) == Access denied (403) Testing: run_test_pt4 - file not found *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 404 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update XML file not found (404), code: 404 onError: url = http://localhost:4444/update.xml?force=1, request.status = 404, update.statusText = Update XML file not found (404) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 404 == 404 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Update XML file not found (404) == Update XML file not found (404) Testing: run_test_pt5 - internal server error *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 500 *** AUS:SVC General:getStatusTextFromCode - transfer error: Internal server error (500), code: 500 onError: url = http://localhost:4444/update.xml?force=1, request.status = 500, update.statusText = Internal server error (500) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 500 == 500 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Internal server error (500) == Internal server error (500) Testing: run_test_pt6 - failed (unknown reason) *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398849 *** AUS:SVC General:getStatusTextFromCode - transfer error: Failed (unknown reason), code: 2152398849 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398849, update.statusText = Failed (unknown reason) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398849 == 2152398849 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Failed (unknown reason) == Failed (unknown reason) Testing: run_test_pt7 - connection timed out *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398862 *** AUS:SVC General:getStatusTextFromCode - transfer error: Connection timed out, code: 2152398862 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398862, update.statusText = Connection timed out TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398862 == 2152398862 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Connection timed out == Connection timed out Testing: run_test_pt8 - network offline *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398864 *** AUS:SVC General:getStatusTextFromCode - transfer error: Network is offline (go online), code: 2152398864 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398864, update.statusText = Network is offline (go online) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398864 == 2152398864 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Network is offline (go online) == Network is offline (go online) Testing: run_test_pt9 - port not allowed *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398867 *** AUS:SVC General:getStatusTextFromCode - transfer error: Port not allowed, code: 2152398867 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398867, update.statusText = Port not allowed TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398867 == 2152398867 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Port not allowed == Port not allowed Testing: run_test_pt10 - no data was received *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398868 *** AUS:SVC General:getStatusTextFromCode - transfer error: No data was received (please try again), code: 2152398868 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398868, update.statusText = No data was received (please try again) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398868 == 2152398868 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] No data was received (please try again) == No data was received (please try again) Testing: run_test_pt11 - update server not found *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398878 *** AUS:SVC General:getStatusTextFromCode - transfer error: Update server not found (check your internet connection), code: 2152398878 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398878, update.statusText = Update server not found (check your internet connection) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398878 == 2152398878 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Update server not found (check your internet connection) == Update server not found (check your internet connection) Testing: run_test_pt12 - proxy server not found *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398890 *** AUS:SVC General:getStatusTextFromCode - transfer error: Proxy server not found (check your internet connection), code: 2152398890 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398890, update.statusText = Proxy server not found (check your internet connection) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398890 == 2152398890 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Proxy server not found (check your internet connection) == Proxy server not found (check your internet connection) Testing: run_test_pt13 - data transfer interrupted *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398919 *** AUS:SVC General:getStatusTextFromCode - transfer error: Data transfer was interrupted (please try again), code: 2152398919 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398919, update.statusText = Data transfer was interrupted (please try again) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398919 == 2152398919 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Data transfer was interrupted (please try again) == Data transfer was interrupted (please try again) Testing: run_test_pt14 - proxy server connection refused *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398920 *** AUS:SVC General:getStatusTextFromCode - transfer error: Proxy server connection refused, code: 2152398920 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398920, update.statusText = Proxy server connection refused TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398920 == 2152398920 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Proxy server connection refused == Proxy server connection refused Testing: run_test_pt15 - server certificate expired *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2153390069 *** AUS:SVC General:getStatusTextFromCode - transfer error: Server certificate has expired (please adjust your system clock to the correct date and time if it is incorrect), code: 2153390069 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2153390069, update.statusText = Server certificate has expired (please adjust your system clock to the correct date and time if it is incorrect) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2153390069 == 2153390069 Testing: run_test_pt16 - network is offline *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398918 *** AUS:SVC General:getStatusTextFromCode - transfer error: Network is offline (go online), code: 2152398918 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398918, update.statusText = Network is offline (go online) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398918 == 2152398918 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Network is offline (go online) == Network is offline (go online) Testing: run_test_pt17 - connection refused *** AUS:SVC Checker:getUpdateURL - update URL: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:checkForUpdates - sending request to: http://localhost:4444/update.xml?force=1 *** AUS:SVC Checker:onLoad - request completed downloading document *** AUS:SVC Checker:onLoad - there was a problem with the update service URL specified, either the XML file was malformed or it does not exist at the location specified. Exception: TypeError: this._request.responseXML is null *** AUS:SVC Checker:onLoad - request.status: 2152398861 *** AUS:SVC General:getStatusTextFromCode - transfer error: Connection refused, code: 2152398861 onError: url = http://localhost:4444/update.xml?force=1, request.status = 2152398861, update.statusText = Connection refused TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 87] 2152398861 == 2152398861 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0050_general.js | [check_test_helper : 89] Connection refused == Connection refused TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 34 (+ 0) check(s) passed
test_0060_manager.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: addition of a successful update to updates.xml and verification of update properties *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStatusFile - status: succeeded, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC General:cleanUpUpdatesDir - successfully removed update directory: \tests\fennec\xulrunner\updates\0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 65] null == null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 66] 2 == 2 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 69] succeeded == succeeded TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 70] New == New TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 71] major == major TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 72] 4.0 == 4.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 73] 4.0 == 4.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 74] 4.0 == 4.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 75] http://dummydetails/ == http://dummydetails/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 76] http://dummylicense/ == http://dummylicense/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 77] http://dummyservice/ == http://dummyservice/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 78] 1238441400314 == 1238441400314 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 79] The Update was successfully installed == The Update was successfully installed TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 80] 20080811053724 == 20080811053724 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 81] true == true TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 82] bogus_channel == bogus_channel TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 85] complete == complete TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 86] http://localhost:4444/data/empty.mar == http://localhost:4444/data/empty.mar TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 87] MD5 == MD5 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 88] 6232cd43a1c77e30191c53a329a3f99d == 6232cd43a1c77e30191c53a329a3f99d TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 89] 775 == 775 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 90] true == true TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 91] succeeded == succeeded TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 94] failed == failed TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 95] Existing == Existing TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 96] major == major TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 97] 3.0 == 3.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 98] 3.0 == 3.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 99] 3.0 == 3.0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 100] http://dummydetails/ == http://dummydetails/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 101] http://dummylicense/ == http://dummylicense/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 102] http://dummyservice/ == http://dummyservice/ TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 103] 1238441400314 == 1238441400314 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 104] The Update could not be installed (patch apply failed) == The Update could not be installed (patch apply failed) TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 105] 20080811053724 == 20080811053724 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 106] true == true TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 107] bogus_channel == bogus_channel TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 110] complete == complete TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 111] http://localhost:4444/data/empty.mar == http://localhost:4444/data/empty.mar TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 112] MD5 == MD5 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 113] 6232cd43a1c77e30191c53a329a3f99d == 6232cd43a1c77e30191c53a329a3f99d TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 114] 775 == 775 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 115] true == true TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0060_manager.js | [run_test : 116] failed == failed TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 44 (+ 0) check(s) passed
test_0061_manager.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: removal of an update download in progress for an older version of the application on startup - bug 485624 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStatusFile - status: downloading, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC UpdateService:_postUpdateProcessing - patch found in downloading state *** AUS:SVC UpdateService:downloadUpdate - removing update for previous application version 0.9 *** AUS:SVC General:cleanUpUpdatesDir - successfully removed update directory: \tests\fennec\xulrunner\updates\0 *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC General:cleanUpUpdatesDir - successfully removed update directory: \tests\fennec\xulrunner\updates\0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0061_manager.js | [run_test : 60] null == null TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0061_manager.js | [run_test : 61] 0 == 0 TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 2 (+ 0) check(s) passed
test_0062_manager.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: resuming an update download in progress for the same version of the application on startup - bug 485624 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStatusFile - status: downloading, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC UpdateService:_postUpdateProcessing - patch found in downloading state *** AUS:SVC General:readStatusFile - status: downloading, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC Downloader:_selectPatch - found existing patch with state: downloading *** AUS:SVC Downloader:_selectPatch - resuming download *** AUS:SVC Downloader:downloadUpdate - downloading from http://localhost:4444/data/empty.mar to \tests\fennec\xulrunner\updates\0\update.mar TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0062_manager.js | [run_test : 62] 1 == 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0062_manager.js | [run_test : 63] downloading == downloading TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 2 (+ 0) check(s) passed *** AUS:SVC Downloader:onStartRequest - spec: http://localhost:4444/data/empty.mar *** AUS:SVC Downloader:onStopRequest - spec: http://localhost:4444/data/empty.mar, status: 2147500036 *** AUS:SVC Downloader:onStopRequest - setting state to: downloading *** AUS:SVC General:getUpdatesDir - update directory \tests\fennec\xulrunner\updates\0 doesn't exist, creating... *** AUS:SVC General:cleanUpUpdatesDir - successfully removed update directory: \tests\fennec\xulrunner\updates\0
test_0063_manager.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: removing an active update for a channel that is not validdue to switching channels - bug 486275 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\updates\0\update.test *** AUS:SVC UpdateService:canUpdate - windowsVersion = 0.0 *** AUS:SVC UpdateService:canUpdate - testing \tests\fennec\xulrunner\update.test *** AUS:SVC UpdateService:canUpdate - able to update *** AUS:SVC General:readStatusFile - status: downloading, path: \tests\fennec\xulrunner\updates\0\update.status *** AUS:SVC UpdateService:_postUpdateProcessing - patch found in downloading state *** AUS:SVC General:cleanUpUpdatesDir - successfully removed update directory: \tests\fennec\xulrunner\updates\0 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0063_manager.js | [run_test : 66] 1 == 1 TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0063_manager.js | [run_test : 68] Existing == Existing TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0063_manager.js | [run_test : 70] null == null Testing: verifying contents of active-update.xml TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0063_manager.js | [run_test : 76] <updates xmlns="http://www.mozilla.org/2005/app-update"/> == <updates xmlns="http://www.mozilla.org/2005/app-update"/> TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-PASS | (xpcshell/head.js) | 4 (+ 0) check(s) passed
test_0110_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: successful removal of the directory used to apply the mar file TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0110_general.js | [run_test : 57] false == false
test_0111_general.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending Testing: successful removal of the directory used to apply the mar file TEST-PASS | /tests/xpcshell/tests/test_update/unit/test_0111_general.js | [run_test : 57] false == false
test_bug497578.js [PASS]
TEST-INFO | (xpcshell/head.js) | test 1 pending TEST-INFO | (xpcshell/head.js) | test 1 finished TEST-INFO | (xpcshell/head.js) | exiting test TEST-INFO | (xpcshell/head.js) | No (+ 0) checks actually run
TestAUSReadStrings [PASS]
*** TEST-PASS | Updater ReadStrings | all tests passed