Closed Bug 1210307 Opened 9 years ago Closed 9 years ago

Intermittent test_serviceworker_lifetime.html | Test timed out

Categories

(Core :: DOM: Push Subscriptions, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: nigelb, Assigned: catalinb)

References

()

Details

(Keywords: intermittent-failure)

17:11:32 INFO - 47 INFO TEST-PASS | dom/push/test/test_serviceworker_lifetime.html | Received correct message type: fetch 17:11:32 INFO - 48 INFO TEST-PASS | dom/push/test/test_serviceworker_lifetime.html | Service worker is in the correct state: update 17:11:32 INFO - 49 INFO TEST-PASS | dom/push/test/test_serviceworker_lifetime.html | Service worker was terminated. 17:11:32 INFO - 50 INFO TEST-UNEXPECTED-FAIL | dom/push/test/test_serviceworker_lifetime.html | Test timed out. 17:11:32 INFO - reportError@SimpleTest/TestRunner.js:113:7 17:11:32 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:133:7 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:154:5 17:11:32 INFO - TestRunner.runTests@SimpleTest/TestRunner.js:369:5 17:11:32 INFO - RunSet.runtests@SimpleTest/setup.js:188:3 17:11:32 INFO - RunSet.runall@SimpleTest/setup.js:167:5 17:11:32 INFO - hookupTests@SimpleTest/setup.js:260:5 17:11:32 INFO - parseTestManifest@http://mochi.test:8888/manifestLibrary.js:36:5 17:11:32 INFO - getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:49:11 17:11:32 INFO - EventHandlerNonNull*getTestManifest@http://mochi.test:8888/manifestLibrary.js:45:3 17:11:32 INFO - hookup@SimpleTest/setup.js:240:5 17:11:32 INFO - EventHandlerNonNull*@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Ftmp:11:1 17:11:32 INFO - MEMORY STAT | vsize 605MB | residentFast 151MB | heapAllocated 49MB 17:11:32 INFO - 51 INFO TEST-OK | dom/push/test/test_serviceworker_lifetime.html | took 324058ms 17:11:32 INFO - 52 INFO TEST-START | dom/push/test/test_unregister.html 17:11:32 INFO - ERROR: no client to post the message to! 17:11:32 INFO - request.url=http://mochi.test:8888/tests/dom/push/test/test_unregister.html 17:11:32 INFO - AlarmService: remove(25, undefined) 17:11:32 INFO - AlarmService: _removeAlarmFromDb() 17:11:32 INFO - AlarmService: add(Wed Sep 30 2015 17:41:32 GMT-0700 (PDT))
Assignee: nobody → catalin.badea392
Component: DOM: Service Workers → DOM: Push Notifications
The last part of the test sets the timeout prefs 0 to zero and triggers a fetch event which should kill the worker. I'm not sure where the race occurs, since the code checks for these prefs on the main thread.
Fixed by bug 1244816.
Status: NEW → RESOLVED
Closed: 9 years ago
Depends on: 1244816
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.