Perma /fetch/cross-origin-resource-policy/fetch.any.serviceworker.html | TypeError: window.__wptrunner_process_next_event is not a function
Categories
(Testing :: web-platform-tests, defect, P5)
Tracking
(firefox-esr60 unaffected, firefox66 unaffected, firefox67 unaffected, firefox68 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox66 | --- | unaffected |
| firefox67 | --- | unaffected |
| firefox68 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: jgraham)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [stockwell disable-recommended])
#[markdown(off)]
Filed by: csabou [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=237489968&repo=mozilla-central
[task 2019-04-02T03:47:39.521Z] 03:47:39 INFO - TEST-OK | /fetch/cross-origin-resource-policy/fetch-in-iframe.html | took 637ms
[task 2019-04-02T03:47:39.523Z] 03:47:39 INFO - TEST-START | /fetch/cross-origin-resource-policy/fetch.any.serviceworker.html
[task 2019-04-02T03:47:39.531Z] 03:47:39 INFO - Closing window 6442450945
[task 2019-04-02T03:47:40.057Z] 03:47:40 WARNING - Traceback (most recent call last):
[task 2019-04-02T03:47:40.058Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 605, in _run
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - self.result = True, self.func(self.protocol, self.url, self.timeout)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 719, in do_testharness
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - self.script_resume % format_map, async=True)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 61, in execute_script
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - return method(script, new_sandbox=False, sandbox=None)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1656, in execute_async_script
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - return func(*args, **kwargs)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 598, in _send_message
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - self._handle_error(err)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 618, in _handle_error
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - stacktrace:
[task 2019-04-02T03:47:40.059Z] 03:47:40 WARNING - @tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:66:8
[task 2019-04-02T03:47:40.060Z] 03:47:40 WARNING - @tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py:67:8
[task 2019-04-02T03:47:40.060Z] 03:47:40 WARNING -
[task 2019-04-02T03:47:40.060Z] 03:47:40 WARNING -
[task 2019-04-02T03:47:40.060Z] 03:47:40 INFO - TEST-UNEXPECTED-ERROR | /fetch/cross-origin-resource-policy/fetch.any.serviceworker.html | TypeError: window.__wptrunner_process_next_event is not a function
[task 2019-04-02T03:47:40.061Z] 03:47:40 INFO - Traceback (most recent call last):
[task 2019-04-02T03:47:40.061Z] 03:47:40 INFO - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 605, in _run
[task 2019-04-02T03:47:40.061Z] 03:47:40 INFO - self.result = True, self.func(self.protocol, self.url, self.timeout)
[task 2019-04-02T03:47:40.061Z] 03:47:40 INFO - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 719, in do_testharness
[task 2019-04-02T03:47:40.061Z] 03:47:40 INFO - self.script_resume % format_map, async=True)
[task 2019-04-02T03:47:40.062Z] 03:47:40 INFO - File "/builds/worker/workspace/build/tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py", line 61, in execute_script
[task 2019-04-02T03:47:40.062Z] 03:47:40 INFO - return method(script, new_sandbox=False, sandbox=None)
[task 2019-04-02T03:47:40.062Z] 03:47:40 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1656, in execute_async_script
[task 2019-04-02T03:47:40.063Z] 03:47:40 INFO - rv = self._send_message("WebDriver:ExecuteAsyncScript", body, key="value")
[task 2019-04-02T03:47:40.063Z] 03:47:40 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2019-04-02T03:47:40.063Z] 03:47:40 INFO - return func(*args, **kwargs)
[task 2019-04-02T03:47:40.063Z] 03:47:40 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 598, in _send_message
[task 2019-04-02T03:47:40.064Z] 03:47:40 INFO - self._handle_error(err)
[task 2019-04-02T03:47:40.064Z] 03:47:40 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 618, in _handle_error
[task 2019-04-02T03:47:40.065Z] 03:47:40 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2019-04-02T03:47:40.065Z] 03:47:40 INFO - JavascriptException: TypeError: window.__wptrunner_process_next_event is not a function
Comment 1•6 years ago
|
||
This has started only after this push was merged to central from inbound: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=0511194c149cd022624ef380fb65eb8463749a51
the jobs were green and ok on inbound (even triggered all missing jobs) here: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=0511194c149cd022624ef380fb65eb8463749a51&searchStr=wpt&group_state=expanded
After the merge to central they started failing but only central and inbound, but not autoland:
central: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&resultStatus=testfailed%2Cbusted%2Cexception&revision=e8b3c73b4e328be88aa90f31e1fa9772b537507d&searchStr=wpt
inbound: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&searchStr=wpt&revision=e8b3c73b4e328be88aa90f31e1fa9772b537507d
Talking to RyanVM we suspected that something from autoland clashed with the wpt-sync push and caused the tests to fail there, in an attempt to I backed out Bug 1495880 but it turned out that wasn't the culprit.
Another thing I noticed is that before the initial merge from inbound to central of the wpt-sync, that test did not run on the wpt suite (checked all jobs) for eg: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&searchStr=linux%2Cx64%2Copt%2Cweb%2Cplatform%2Ctests%2Cw-e10s&group_state=expanded&fromchange=5a85cf971fef1404d6ed2893263f609c5a0de2d9&tochange=ce51e7ec806cbb157d5e336472ef9c05747bc3bd&selectedJob=237447851
There's no direct link from the wpt-sync push to the failing test fetch/cross-origin-resource-policy/fetch.any.serviceworker.html and the window.__wptrunner_process_next_event was set as function here https://hg.mozilla.org/integration/mozilla-inbound/rev/58bbc72bb0ff#l28.31 but those changes were pushed on tree in 23rd of January.
Didn't back out the whole wpt sync push because it was already merged around, it fails only on central and inbound and it looks like it's the only test failing.
Ni jgraham to take a look at this. Thank you.
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 3•6 years ago
|
||
Bleh. So this is fallout from a bug that causes the manifest to not be invalidated correctly. That has subsequently been fixed upstream but we don't have the fix yet. The test was split into HTTP and HTTPS parts and serviceworkers don't work on HTTP, so we were getting a JSON response instead of the HTML assumed by the runner. That led to the runner error message.
I've pushed something to disable the test, which should patch things up for now, but I need to figure out how to force a manifest regeneration so we aren't updating from a broken cache.
| Comment hidden (Intermittent Failures Robot) |
Comment 6•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•