Closed Bug 1544918 Opened 6 years ago Closed 6 years ago

Intermittent (tier2) TVw /fetch/stale-while-revalidate/fetch-sw.https.tentative.html | Second fetch returns same response - promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"

Categories

(Testing :: web-platform-tests, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1536511

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: nerli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=240726821&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/A3LgTx4LS9SEE3vxzqvPTw/runs/0/artifacts/public/logs/live_backing.log

17:52:07 INFO - TEST-START | /fetch/stale-while-revalidate/fetch-sw.https.tentative.html
17:52:07 INFO - Run 3/10
17:52:07 INFO - Closing window 6442450953
17:52:08 INFO -
17:52:08 INFO - TEST-UNEXPECTED-FAIL | /fetch/stale-while-revalidate/fetch-sw.https.tentative.html | Second fetch returns same response - promise_test: Unhandled rejection with value: object "Error: wait_for_state must be passed a ServiceWorker"
17:52:08 INFO - @https://web-platform.test:8443/fetch/stale-while-revalidate/fetch-sw.https.tentative.html:38:3
17:52:08 INFO - TEST-OK | /fetch/stale-while-revalidate/fetch-sw.https.tentative.html | took 759ms
17:52:08 INFO - PID 871 | 1555437128472 Marionette INFO Stopped listening on port 2828
17:52:09 INFO - Browser exited with return code 0
17:52:09 INFO - PROCESS LEAKS None
17:52:09 INFO - Closing logging queue
17:52:09 INFO - queue closed
17:52:09 INFO - Setting up ssl
17:52:09 INFO - certutil |
17:52:09 INFO - certutil |
17:52:09 INFO - certutil |
17:52:09 INFO - Certificate Nickname Trust Attributes
17:52:09 INFO - SSL,S/MIME,JAR/XPI
17:52:09 INFO -
17:52:09 INFO - web-platform-tests CT,,
17:52:09 INFO -
17:52:09 INFO - Application command: /Users/cltbld/tasks/task_1555436867/build/application/Firefox Nightly.app/Contents/MacOS/firefox --marionette about:blank -foreground -profile /var/folders/s1/z6mc8jcj289dtx8f_4xcs4zh00000x/T/tmp9Z4LdR.mozrunner
17:52:09 INFO - Starting runner
17:52:10 INFO - PID 883 | 1555437130255 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
17:52:10 INFO - PID 883 | 1555437130255 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
17:52:10 INFO - PID 883 | 1555437130256 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
17:52:11 INFO - PID 883 | JavaScript warning: chrome://global/content/bindings/tabbox.xml, line 162: Array.forEach is deprecated; use Array.prototype.forEach instead
17:52:11 INFO - PID 883 | JavaScript warning: chrome://browser/content/browser-ctrlTab.js, line 568: Array.filter is deprecated; use Array.prototype.filter instead
17:52:11 INFO - PID 883 | JavaScript error: moz-extension://66e87622-87d7-3245-b509-8a3ab4157f27/privileged/FirefoxMonitor.jsm, line 239: ReferenceError: EveryWindow is not defined
17:52:12 INFO - PID 883 | 1555437132472 Marionette INFO Listening on port 2828

Component: DOM: Core & HTML → Networking: HTTP

Yes, and is likely related to bug 1543742. This test is crappy - Andrew, can you think of a cause?

Component: Networking: HTTP → web-platform-tests
Flags: needinfo?(bugmail)
Product: Core → Testing

There's a real possibility the test is running afoul of registration resurrection. Changing the await wait_for_state(t, reg.installing, 'activated'); to have reg.installing || reg.activate could fix it but is a bit of a Gecko-specific hack given that resurrection has been removed from the spec (and Gecko just hasn't caught up yet).

It might make sense to set the flags to disable the test under "verify" mode.

I can try and look more under pernosco if that's not it.

Flags: needinfo?(bugmail)

OK, let's disabled under verify and see how it goes. I'll do this as part of bug 1536511 that was backed out for crashes. Then I'll dup this one to it.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(honzab.moz)
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.