Open Bug 1861342 Opened 1 year ago Updated 2 days ago

Intermittent dom/push/test/test_permission_granted.html | single tracking bug

Categories

(Core :: DOM: Push Subscriptions, defect, P5)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered])

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=433843162&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QS4VMC2sTHOyDgxLFSKXGQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-10-26T06:21:47.608Z] 06:21:47     INFO - TEST-START | dom/push/test/test_permission_granted.html
[task 2023-10-26T06:21:49.260Z] 06:21:49     INFO - TEST-INFO | started process screenshot
[task 2023-10-26T06:21:49.448Z] 06:21:49     INFO - TEST-INFO | screenshot: exit 0
[task 2023-10-26T06:21:49.449Z] 06:21:49     INFO - Buffered messages logged at 06:21:48
[task 2023-10-26T06:21:49.449Z] 06:21:49     INFO - add_task | Entering start
[task 2023-10-26T06:21:49.450Z] 06:21:49     INFO - Buffered messages logged at 06:21:49
[task 2023-10-26T06:21:49.450Z] 06:21:49     INFO - add_task | Leaving start
[task 2023-10-26T06:21:49.450Z] 06:21:49     INFO - add_task | Entering test_notifications_permission_error
[task 2023-10-26T06:21:49.451Z] 06:21:49     INFO - Buffered messages finished
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - TEST-UNEXPECTED-FAIL | dom/push/test/test_permission_granted.html | A permission error should occur - got "AbortError", expected "NotAllowedError"
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - SimpleTest.is@https://example.com/tests/SimpleTest/SimpleTest.js:509:14
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - test_notifications_permission_error@https://example.com/tests/dom/push/test/test_permission_granted.html:27:9
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - async*add_task/nextTick/<@https://example.com/tests/SimpleTest/SimpleTest.js:2189:34
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - async*nextTick@https://example.com/tests/SimpleTest/SimpleTest.js:2233:11
[task 2023-10-26T06:21:49.452Z] 06:21:49     INFO - setTimeout handler*SimpleTest_setTimeoutShim@https://example.com/tests/SimpleTest/SimpleTest.js:922:41
[task 2023-10-26T06:21:49.453Z] 06:21:49     INFO - add_task@https://example.com/tests/SimpleTest/SimpleTest.js:2137:17
[task 2023-10-26T06:21:49.453Z] 06:21:49     INFO - @https://example.com/tests/dom/push/test/test_permission_granted.html:14:11
[task 2023-10-26T06:21:49.454Z] 06:21:49     INFO - add_task | Leaving test_notifications_permission_error
[task 2023-10-26T06:21:49.454Z] 06:21:49     INFO - add_task | Entering test_notifications_permission_granted
[task 2023-10-26T06:21:49.455Z] 06:21:49     INFO - TEST-PASS | dom/push/test/test_permission_granted.html | For now a connection error should occur 

First occurrence so far, in this range of retriggers and backfills

Whiteboard: [retriggered]

From comment #13, the vast majority is about:

[task 2024-01-12T11:55:54.083Z] 11:55:54     INFO - TEST-PASS | dom/push/test/test_permission_granted.html | Unregister should return true. 
[task 2024-01-12T11:55:54.084Z] 11:55:54     INFO - add_task | Leaving unregister
[task 2024-01-12T11:55:54.084Z] 11:55:54     INFO - Buffered messages finished
[task 2024-01-12T11:55:54.085Z] 11:55:54     INFO - TEST-UNEXPECTED-FAIL | dom/push/test/test_permission_granted.html | This test left a service worker registered without cleaning it up 
[task 2024-01-12T11:55:54.085Z] 11:55:54     INFO - SimpleTest.ok@https://example.org/tests/SimpleTest/SimpleTest.js:426:16
[task 2024-01-12T11:55:54.085Z] 11:55:54     INFO - afterCleanup@https://example.org/tests/SimpleTest/SimpleTest.js:1508:20
[task 2024-01-12T11:55:54.085Z] 11:55:54     INFO - async*executeCleanupFunction@https://example.org/tests/SimpleTest/SimpleTest.js:1562:7
[task 2024-01-12T11:55:54.086Z] 11:55:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-01-12T11:55:54.087Z] 11:55:54     INFO - TEST-UNEXPECTED-FAIL | dom/push/test/test_permission_granted.html | Left over worker: http://mochi.test:8888/tests/dom/push/test/worker.js?0.4450574490594613 (scope: http://mochi.test:8888/tests/dom/push/test/) 
[task 2024-01-12T11:55:54.087Z] 11:55:54     INFO - SimpleTest.ok@https://example.org/tests/SimpleTest/SimpleTest.js:426:16
[task 2024-01-12T11:55:54.087Z] 11:55:54     INFO - afterCleanup@https://example.org/tests/SimpleTest/SimpleTest.js:1522:20
[task 2024-01-12T11:55:54.087Z] 11:55:54     INFO - async*executeCleanupFunction@https://example.org/tests/SimpleTest/SimpleTest.js:1562:7

It seems we need to wait a bit more for SW to actually be unregistered: https://searchfox.org/mozilla-central/rev/8b6cf2a8352979c781dfd90c46a9f4f7135fabea/devtools/client/application/test/browser/browser_application_panel_list-single-worker.js#52-59

Since this bug includes multiple different errors (including comment #0 and also .register() somehow returns false), I'll file a separate bug.

You need to log in before you can comment on or make changes to this bug.