Closed
Bug 1054450
Opened 10 years ago
Closed 10 years ago
Intermittent wappush/test/unit/store_test.js | StoreProvisioning > "after all" hook | TypeError: navigator.mozSettings is null
Categories
(Firefox OS Graveyard :: Gaia::Wappush, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RyanVM, Unassigned)
References
Details
(Keywords: intermittent-failure)
https://tbpl.mozilla.org/php/getParsedLog.php?id=46040008&tree=B2g-Inbound b2g_ubuntu64_vm b2g-inbound opt test gaia-unit on 2014-08-15 08:54:20 PDT for push 3fd5a043fd49 slave: tst-linux64-spot-775 09:04:28 INFO - gaia-unit-tests TEST-PASS | wappush/test/unit/store_test.js | StoreProvisioning > StoreProvisioning.provision() Add APN: Telefonica MMS type 09:04:28 INFO - gaia-unit-tests TEST-END | wappush/test/unit/store_test.js | StoreProvisioning.provision() 09:04:28 INFO - JavaScript error: app://wappush.gaiamobile.org/js/store.js?time=1408118667747, line 96: navigator.mozSettings is null 09:04:28 INFO - gaia-unit-tests TEST-END | wappush/test/unit/store_test.js | StoreProvisioning > 09:04:28 INFO - gaia-unit-tests TEST-UNEXPECTED-FAIL | wappush/test/unit/store_test.js | StoreProvisioning > "after all" hook | TypeError: navigator.mozSettings is null (app://wappush.gaiamobile.org/js/store.js?time=1408118667747:96) 09:04:28 INFO - gaia-unit-tests INFO | stack trace: 09:04:28 INFO - Error: TypeError: navigator.mozSettings is null (app://wappush.gaiamobile.org/js/store.js?time=1408118667747:96) 09:04:28 INFO - at onerror (app://wappush.gaiamobile.org/common/vendor/mocha/mocha.js:4959:10) 09:04:28 INFO - gaia-unit-tests INFO | suite results (pass/fail): 4/1 09:04:28 INFO - gaia-unit-tests TEST-END | wappush/test/unit/parsed_message_test.js | 09:04:28 INFO - gaia-unit-tests INFO | suite results (pass/fail): 4/1 09:04:28 INFO - gaia-unit-tests WARNING | Build shut down unexpectedly 09:04:28 INFO - checking for crashes 09:04:28 ERROR - Return code: 1 09:04:28 INFO - TinderboxPrint: gaia-unit-tests: <em class="testfail">T-FAIL</em> 09:04:28 ERROR - Tests exited with return code 1: harness failures
Reporter | ||
Comment 1•10 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=46053814&tree=Mozilla-Inbound
Comment 2•10 years ago
|
||
In that test mozSettings is obtained via a mock so this might be happening because something touches it asynchronously after the mock has been torn down (or before it has been put in place but that's unlikely).
Comment 3•10 years ago
|
||
This was fixed as part of bug 947198. There were tests that were run synchronously while they actually have an asynchronous completion. They usually passed but we didn't properly wait for their completion. I'll be closing this for now, feel free to re-open in case I'm wrong and we see more of these failures.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•