Closed Bug 1781588 Opened 3 years ago Closed 2 years ago

Intermittent dom/serviceworkers/test/test_notification_get.html | single tracking bug

Categories

(Core :: DOM: Service Workers, defect, P3)

defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: jmaher, Assigned: saschanaz)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: , [wptsync upstream][stockwell unknown])

Attachments

(6 files)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1781588

Severity: normal → S3

There have been 29 total failures in the last 7 days, recent failure log.
Affected platforms are:

  • linux1804-64-asan-qr
  • linux1804-64-qr
  • linux1804-64-shippable-qr
  • linux1804-64-tsan-qr
  • windows10-64-2004-qr
[task 2022-12-21T01:51:49.592Z] 01:51:49     INFO - TEST-PASS | dom/serviceworkers/test/test_notification_get.html | There should be no more stored notifications 
[task 2022-12-21T01:51:49.592Z] 01:51:49     INFO - Buffered messages finished
[task 2022-12-21T01:51:49.592Z] 01:51:49     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_notification_get.html | Test timed out. - 
[task 2022-12-21T01:51:50.453Z] 01:51:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-21T01:51:50.455Z] 01:51:50     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_notification_get.html | This test left a service worker registered without cleaning it up 
[task 2022-12-21T01:51:50.455Z] 01:51:50     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:404:16
[task 2022-12-21T01:51:50.455Z] 01:51:50     INFO -     afterCleanup@SimpleTest/SimpleTest.js:1451:20
[task 2022-12-21T01:51:50.459Z] 01:51:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-21T01:51:50.463Z] 01:51:50     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_notification_get.html | Left over worker: http://mochi.test:8888/tests/dom/serviceworkers/test/notification_get_sw.js (scope: http://mochi.test:8888/tests/dom/serviceworkers/test/notification/) 
[task 2022-12-21T01:51:50.463Z] 01:51:50     INFO -     SimpleTest.ok@SimpleTest/SimpleTest.js:404:16
[task 2022-12-21T01:51:50.463Z] 01:51:50     INFO -     afterCleanup@SimpleTest/SimpleTest.js:1461:20
[task 2022-12-21T01:51:50.472Z] 01:51:50     INFO - GECKO(1955) | MEMORY STAT | vsize 2548MB | residentFast 148MB | heapAllocated 8MB
[task 2022-12-21T01:51:50.491Z] 01:51:50     INFO - TEST-OK | dom/serviceworkers/test/test_notification_get.html | took 327574ms
Flags: needinfo?(hsingh)

Update

There have been 31 failures within the last 7 days:

  • 16 failures on Linux 18.04 x64 WebRender asan opt
  • 1 failure on Linux 18.04 x64 CCov WebRender opt
  • 13 failures on Linux 18.04 x64 WebRender opt
  • 1 failure on Windows 10 x86 2004 WebRender Shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=403086909&repo=autoland&lineNumber=5786

[task 2023-01-21T04:58:49.811Z] 04:58:49     INFO - TEST-PASS | dom/serviceworkers/test/test_notification_get.html | There should be no more stored notifications 
[task 2023-01-21T04:58:49.811Z] 04:58:49     INFO - Buffered messages finished
[task 2023-01-21T04:58:49.812Z] 04:58:49     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_notification_get.html | Test timed out. - 
[task 2023-01-21T04:58:50.621Z] 04:58:50     INFO - GECKO(4464) | MEMORY STAT | vsize 20974667MB | residentFast 850MB
[task 2023-01-21T04:58:50.638Z] 04:58:50     INFO - TEST-OK | dom/serviceworkers/test/test_notification_get.html | took 326594ms
[task 2023-01-21T04:58:50.714Z] 04:58:50     INFO - TEST-START | dom/serviceworkers/test/test_notification_openWindow.html
[task 2023-01-21T04:58:50.954Z] 04:58:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-01-21T04:58:50.957Z] 04:58:50     INFO - Buffered messages logged at 04:58:50
[task 2023-01-21T04:58:50.957Z] 04:58:50     INFO - add_task | Entering setup
[task 2023-01-21T04:58:50.958Z] 04:58:50     INFO - Buffered messages finished
[task 2023-01-21T04:58:50.959Z] 04:58:50     INFO - TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_notification_openWindow.html | {} - Should not throw any errors
[task 2023-01-21T04:58:50.960Z] 04:58:50     INFO - doApply@resource://specialpowers/WrapPrivileged.sys.mjs:115:18
[task 2023-01-21T04:58:50.961Z] 04:58:50     INFO - apply/<@resource://specialpowers/WrapPrivileged.sys.mjs:250:30
[task 2023-01-21T04:58:50.961Z] 04:58:50     INFO - wrapExceptions@resource://specialpowers/WrapPrivileged.sys.mjs:203:12
[task 2023-01-21T04:58:50.962Z] 04:58:50     INFO - apply@resource://specialpowers/WrapPrivileged.sys.mjs:234:12
[task 2023-01-21T04:58:50.962Z] 04:58:50     INFO - register@http://mochi.test:8888/tests/dom/notification/test/mochitest/MockServices.js:132:17
[task 2023-01-21T04:58:50.962Z] 04:58:50     INFO - setup@http://mochi.test:8888/tests/dom/serviceworkers/test/test_notification_openWindow.html:30:16
[task 2023-01-21T04:58:50.967Z] 04:58:50     INFO - GECKO(4464) | MEMORY STAT | vsize 20974662MB | residentFast 842MB
[task 2023-01-21T04:58:50.983Z] 04:58:50     INFO - TEST-OK | dom/serviceworkers/test/test_notification_openWindow.html | took 269ms

Being removed by bug 1689565.

Depends on: 1689565
Flags: needinfo?(hsingh)

Oh sorry, not really. Some other tests removed in the bug need to be merged to this one. I'll take a look what's happening here...

Assignee: nobody → krosylight
No longer depends on: 1689565
See Also: → 1689565
Attachment #9315107 - Attachment description: WIP: Bug 1781588 - Part 1: Use `test_driver.set_permission` for non-manual notifications tests → WIP: Bug 1781588 - Part 1: Use explicit set_permission or skip for non-manual notifications tests
Attachment #9315107 - Attachment description: WIP: Bug 1781588 - Part 1: Use explicit set_permission or skip for non-manual notifications tests → Bug 1781588 - Part 1: Use explicit set_permission or skip for non-manual notifications tests r=smaug
Attachment #9316165 - Attachment description: WIP: Bug 1781588 - Part 2: Migrate tests involving messaging with SW → Bug 1781588 - Part 2: Migrate tests involving messaging with SW r=smaug
Attachment #9316292 - Attachment description: WIP: Bug 1781588 - Part 3: Add tests for different SW registrations → Bug 1781588 - Part 3: Migrate tests for different SW registrations r=smaug

Porting only the data test since there is a behavior mismatch for icon.

Depends on D169054

register.html is a bit useful because of serviceWorker.ready but unregister.html is completely redundant.

Depends on D169319

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/656d12b072e0 Part 1: Use explicit set_permission or skip for non-manual notifications tests r=smaug https://hg.mozilla.org/integration/autoland/rev/7797ce6ecbe2 Part 2: Migrate tests involving messaging with SW r=smaug https://hg.mozilla.org/integration/autoland/rev/91d66b1ac793 Part 3: Migrate tests for different SW registrations r=smaug https://hg.mozilla.org/integration/autoland/rev/de861b9cc324 Part 4: Migrate tests for custom data r=smaug https://hg.mozilla.org/integration/autoland/rev/4fbfea4c3705 Part 5: Remove notification/unregister.html r=smaug https://hg.mozilla.org/integration/autoland/rev/ae63cba16964 Part 6: Remove unused `dom.webnotifications.workers.enabled` r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38452 for changes under testing/web-platform/tests
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner], [wptsync upstream]
Upstream PR was closed without merging
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3938beafd934 Part 1: Use explicit set_permission or skip for non-manual notifications tests r=smaug https://hg.mozilla.org/integration/autoland/rev/9ac3136ca091 Part 2: Migrate tests involving messaging with SW r=smaug https://hg.mozilla.org/integration/autoland/rev/cf7c0cf4f2df Part 3: Migrate tests for different SW registrations r=smaug https://hg.mozilla.org/integration/autoland/rev/8f48638b3afe Part 4: Migrate tests for custom data r=smaug https://hg.mozilla.org/integration/autoland/rev/05dc53306531 Part 5: Remove notification/unregister.html r=smaug https://hg.mozilla.org/integration/autoland/rev/298eba69f2b8 Part 6: Remove unused `dom.webnotifications.workers.enabled` r=smaug
Regressions: 1816569
Flags: needinfo?(krosylight)
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: