Open Bug 1776997 Opened 2 years ago Updated 1 day ago

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

Categories

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

defect

Tracking

()

ASSIGNED

People

(Reporter: jmaher, Assigned: asuth, NeedInfo)

References

(Depends on 1 open bug)

Details

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

Attachments

(1 obsolete file)

No description provided.

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

There have been 34 total failures in the last 7 days, recent [https://treeherder.mozilla.org/logviewer?job_id=391714075&repo=autoland&lineNumber=3077).
Affected platforms are:

  • android-em-7-0-x86_64-lite-qr
  • android-em-7-0-x86_64-qr
  • android-em-7-0-x86_64-shippable-lite-qr
  • android-em-7-0-x86_64-shippable-qr
Flags: needinfo?(jjalkanen)

Thank you for reporting this

Flags: needinfo?(jjalkanen)

I wonder why is this test is completely disabled on linux?

Flags: needinfo?(bugmail)

The test has been disabled ~1 year ago in Bug 1615164 for having ~100 failures in 7 days.

Update:

There have been 31 failures within the last 7 days:

  • 15 failures on Android 7.0 x86-64 Lite WebRender opt
  • 14 failures on Android 7.0 x86-64 WebRender debug/opt
  • 1 failure on Android 7.0 x86-64 Lite WebRender Shippable op
  • 1 failure on Android 7.0 x86-64 Shippable WebRender opt

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

[task 2022-12-10T00:44:30.707Z] 00:44:30     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | ServiceWorker is activated
[task 2022-12-10T00:44:30.707Z] 00:44:30     INFO -  add_task | Leaving setup
[task 2022-12-10T00:44:30.707Z] 00:44:30     INFO -  add_task | Entering testMessageHandler
[task 2022-12-10T00:44:30.707Z] 00:44:30     INFO -  Buffered messages finished
[task 2022-12-10T00:44:30.708Z] 00:44:30  WARNING -  TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_abrupt_completion.html | Correct message handler - got "handler-after-throw", expected "handler-before-throw"
[task 2022-12-10T00:44:30.708Z] 00:44:30     INFO -      SimpleTest.is@SimpleTest/SimpleTest.js:487:14
[task 2022-12-10T00:44:30.708Z] 00:44:30     INFO -      testMessageHandler/</navigator.serviceWorker.onmessage@dom/serviceworkers/test/test_abrupt_completion.html:105:9
[task 2022-12-10T00:44:30.708Z] 00:44:30     INFO -  add_task | Leaving testMessageHandler
[task 2022-12-10T00:44:30.708Z] 00:44:30     INFO -  add_task | Entering testFetchHandler
[task 2022-12-10T00:44:30.708Z] 00:44:30     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | Fetch succeeded and didn't result in a NetworkError
Whiteboard: [retriggered][stockwell unknown] → [retriggered][stockwell unknown][stockwell needswork:owner]

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

  • android-em-7-0-x86_64-lite-qr
  • android-em-7-0-x86_64-qr
  • android-em-7-0-x86_64-shippable-lite-qr

Update:
There have been 55 failures within the last 7 days:
• 22 failures on Android 7.0 x86-64 Lite WebRender opt
• 7 failures on Android 7.0 x86-64 WebRender opt
• 25 failures on Android 7.0 x86-64 WebRender debug
• 1 failures on Android 7.0 x86-64 Shippable WebRender opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=403854609&repo=autoland&lineNumber=2292

[task 2023-01-28T22:23:13.174Z] 22:23:13     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | ServiceWorker is activated
[task 2023-01-28T22:23:13.174Z] 22:23:13     INFO -  add_task | Leaving setup
[task 2023-01-28T22:23:13.174Z] 22:23:13     INFO -  add_task | Entering testMessageHandler
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -  Buffered messages finished
[task 2023-01-28T22:23:13.175Z] 22:23:13  WARNING -  TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_abrupt_completion.html | Correct message handler - got "handler-after-throw", expected "handler-before-throw"
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -      SimpleTest.is@SimpleTest/SimpleTest.js:487:14
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -      testMessageHandler/</navigator.serviceWorker.onmessage@dom/serviceworkers/test/test_abrupt_completion.html:105:9
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -  add_task | Leaving testMessageHandler
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -  add_task | Entering testFetchHandler
[task 2023-01-28T22:23:13.175Z] 22:23:13     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | Fetch succeeded and didn't result in a NetworkError
Whiteboard: [retriggered][stockwell unknown][stockwell unknown][stockwell needswork:owner] → [retriggered][stockwell needswork:owner]

Hi Jari! Can you please take another look at this?
Thank you!

Flags: needinfo?(jjalkanen)

This bug seems to be related to service workers.

Flags: needinfo?(jjalkanen) → needinfo?(echuang)

(In reply to Jari Jalkanen from comment #19)

I wonder why is this test is completely disabled on linux?

The test was disabled in bug 1615164 (which this bug depends on and I am assigned to) because it was a common intermittent. I did some investigation in https://bugzilla.mozilla.org/show_bug.cgi?id=1615164#c32 with an attempted fix but we ran into some weirdness (discussed in the bug) and did not complete the investigation yet (although I obviously should try and revisit this soon).

Flags: needinfo?(echuang)
Flags: needinfo?(bugmail)

I'm going to assign this to me too since this is really the same bug as bug 1615164 but policy around intermittent bugs changed to the single bug tracker.

Assignee: nobody → bugmail
Status: NEW → ASSIGNED

Update

There have been 34 total failures within the last 7 days:

  • 16 failures on Android 7.0 x86-64 Lite WebRender opt
  • 11 failures on Android 7.0 x86-64 WebRender opt/debug
  • 2 failures on Android 7.0 x86-64 Lite WebRender Shippable opt
  • 2 failures on Android 7.0 x86-64 Shippable WebRender opt
  • 1 failure on OS X 10.15 WebRender opt
  • 2 failures on OS X 10.15 WebRender Shippable opt

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

[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | ServiceWorker is activated
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -  add_task | Leaving setup
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -  add_task | Entering testMessageHandler
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -  Buffered messages finished
[task 2023-08-16T17:07:15.015Z] 17:07:15  WARNING -  TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_abrupt_completion.html | Correct message handler - got "handler-after-throw", expected "handler-before-throw"
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      SimpleTest.is@SimpleTest/SimpleTest.js:507:14
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      testMessageHandler/</navigator.serviceWorker.onmessage@dom/serviceworkers/test/test_abrupt_completion.html:105:9
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      EventHandlerNonNull*testMessageHandler/<@dom/serviceworkers/test/test_abrupt_completion.html:104:5
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      testMessageHandler@dom/serviceworkers/test/test_abrupt_completion.html:103:9
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      async*nextTick/<@SimpleTest/SimpleTest.js:2147:34
[task 2023-08-16T17:07:15.015Z] 17:07:15     INFO -      async*nextTick@SimpleTest/SimpleTest.js:2182:11
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -      setTimeout handler*SimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:920:41
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -      add_task@SimpleTest/SimpleTest.js:2096:17
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -      @dom/serviceworkers/test/test_abrupt_completion.html:69:9
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -  add_task | Leaving testMessageHandler
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -  add_task | Entering testFetchHandler
[task 2023-08-16T17:07:15.016Z] 17:07:15     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | Fetch succeeded and didn't result in a NetworkError

Andrew, are you still looking into this?
Thank you.

Flags: needinfo?(bugmail)
Whiteboard: [retriggered][stockwell unknown] → [retriggered][stockwell needswork:owner]
See Also: → 1851497

Update:
There have been 44 total failures in the last 7 days.
There are:

  • 13 failures on android-em-7-0-x86_64-lite-qr opt
  • 14 failures on android-em-7-0-x86_64-qr opt and debug
  • 2 failure on macosx1015-64-qr opt
  • 1 failure on macosx1015-64-shippable-qr opt
  • 1 failure on windows11-64-2009-asan-qr opt
  • 7 failures on windows11-64-2009-qr opt
  • 6 failures on windows11-64-2009-shippable-qr opt

Recent failure log.

I have a revised plan in https://bugzilla.mozilla.org/show_bug.cgi?id=1615164#c141 and fix is coming soon.

Flags: needinfo?(bugmail)

Update

There have been 39 total failures within the last 7 days:

  • 17 failures on Android 7.0 x86-64 Lite WebRender opt
  • 13 failures on Android 7.0 x86-64 WebRender opt/debug
  • 3 failures on Android 7.0 x86-64 Lite WebRender Shippable opt
  • 1 failure on Android 7.0 x86-64 Shippable WebRender opt
  • 1 failure on OS X 10.15 WebRender opt
  • 1 failure on OS X 10.15 WebRender Shippable opt
  • 3 failures on Windows 11 x64 22H2 WebRender debug

Recent log: https://treeherder.mozilla.org/logviewer?job_id=432039905&repo=autoland&lineNumber=4058

Update

There have been 37 failures within the last 7 days:

  • 1 failure on windows10-64-2009-qr opt
  • 4 failures on OS X 10.15 WebRender Shippable opt
  • 2 failures on OS X 10.15 WebRender opt
  • 2 failures on Android 7.0 x86-64 Shippable WebRender opt
  • 10 failures on Android 7.0 x86-64 WebRender opt /debug
  • 18 failures on Android 7.0 x86-64 Lite WebRender opt

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

Whiteboard: [retriggered][stockwell unknown][stockwell needswork:owner] → [retriggered][stockwell needswork:owner]

Update:
There have been 38 failures within the last 7 days:
• 23 failures on Android 7.0 x86-64 Lite WebRender opt
• 2 failures on Android 7.0 x86-64 WebRender debug
• 6 failures on Android 7.0 x86-64 WebRender opt
• 3 failures on Android 7.0 x86-64 Lite WebRender Shippable opt
• 1 failures on Android 7.0 x86-64 Shippable WebRender opt
• 1 failures on Android 7.0 x86-64 Shippable WebRender opt
• 1 failures on OS X 10.15 WebRender opt
• 2 failures on OS X 10.15 WebRender Shippable opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=435949844&repo=mozilla-central&lineNumber=4466

[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | ServiceWorker is activated
[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -  add_task | Leaving setup
[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -  add_task | Entering testMessageHandler
[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -  Buffered messages finished
[task 2023-11-12T11:57:00.679Z] 11:57:00  WARNING -  TEST-UNEXPECTED-FAIL | dom/serviceworkers/test/test_abrupt_completion.html | Correct message handler - got "handler-after-throw", expected "handler-before-throw"
[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -      SimpleTest.is@SimpleTest/SimpleTest.js:509:14
[task 2023-11-12T11:57:00.679Z] 11:57:00     INFO -      testMessageHandler/</navigator.serviceWorker.onmessage@dom/serviceworkers/test/test_abrupt_completion.html:105:9
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      EventHandlerNonNull*testMessageHandler/<@dom/serviceworkers/test/test_abrupt_completion.html:104:5
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      testMessageHandler@dom/serviceworkers/test/test_abrupt_completion.html:103:9
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      async*nextTick/<@SimpleTest/SimpleTest.js:2189:34
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      async*nextTick@SimpleTest/SimpleTest.js:2233:11
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      setTimeout handler*SimpleTest_setTimeoutShim@SimpleTest/SimpleTest.js:922:41
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      add_task@SimpleTest/SimpleTest.js:2137:17
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -      @dom/serviceworkers/test/test_abrupt_completion.html:69:9
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -  add_task | Leaving testMessageHandler
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -  add_task | Entering testFetchHandler
[task 2023-11-12T11:57:00.680Z] 11:57:00     INFO -  TEST-PASS | dom/serviceworkers/test/test_abrupt_completion.html | Fetch succeeded and didn't result in a NetworkError

Hi Andrew! Any updates on this?
Thank you!

Flags: needinfo?(bugmail)
Attachment #9383198 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: