Open Bug 1450660 Opened 3 years ago Updated 2 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | expected OK

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [retriggered][domsecurity-intermittent][stockwell disabled])

Attachments

(1 file)

Filed by: csabou [at] mozilla.com

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

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

task 2018-04-02T11:34:10.294Z] 11:34:10     INFO - TEST-START | /content-security-policy/navigate-to/child-navigates-parent-allowed.html
[task 2018-04-02T11:35:10.518Z] 11:35:10     INFO - 
[task 2018-04-02T11:35:10.519Z] 11:35:10     INFO - TEST-UNEXPECTED-NOTRUN | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | Test that the child can navigate the parent because the relevant policy belongs to the navigation initiator (in this case the child) - expected PASS
[task 2018-04-02T11:35:10.519Z] 11:35:10     INFO - TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | expected OK
[task 2018-04-02T11:35:10.519Z] 11:35:10     INFO - TEST-INFO took 60230ms
[task 2018-04-02T11:35:11.140Z] 11:35:11     INFO - Browser exited with return code 0
[task 2018-04-02T11:35:11.141Z] 11:35:11  WARNING - u'runner_teardown': ()
[task 2018-04-02T11:35:11.149Z] 11:35:11     INFO - Setting up ssl
[task 2018-04-02T11:35:11.387Z] 11:35:11     INFO - certutil | 
[task 2018-04-02T11:35:11.718Z] 11:35:11     INFO - certutil | 
[task 2018-04-02T11:35:11.733Z] 11:35:11     INFO - certutil | 
[task 2018-04-02T11:35:11.734Z] 11:35:11     INFO - Certificate Nickname                                         Trust Attributes
[task 2018-04-02T11:35:11.734Z] 11:35:11     INFO -                                                              SSL,S/MIME,JAR/XPI
[task 2018-04-02T11:35:11.734Z] 11:35:11     INFO - 
[task 2018-04-02T11:35:11.734Z] 11:35:11     INFO - web-platform-tests                                           CT,,
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Summary: Intermittent TEST-UNEXPECTED-NOTRUN | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | Test that the child can navigate the parent because the relevant policy belongs to the navigation initiator (the child) - expected PASS → Intermittent TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | expected OK
Version: Version 3 → Trunk
Hi! I did some triggers in hope to find where this fail started and it lead me to this push.

https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=feb3750f2fac0a0b65a4144853389804582fe892

https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&filter-searchStr=Linux%20x64%20opt-web-platform-tests-e10s-9&tochange=c44f60c43432d468639b5fe078420e60c13fd3de&fromchange=d148dc003b467a0b8d5523bf8c32fde7a614ad32&selectedJob=172014817

As you can see I retriggered on several pushes and most of the time when that chunk of tests is ran it often fails. 

I had a hunch that this push would be the start of it and was afraid of that because it enormous. Maybe James or Joel can shed some light here. Thank you.
Flags: needinfo?(jmaher)
Flags: needinfo?(james)
Whiteboard: [stockwell needswork][retriggered]
very similar to bug 1450864, I suspect the same root cause/code.
thanks Cosmin, in doing more retriggers it is clear that the update James did introduced this as a frequent intermittent as well as the one in bug 1450864.

James, can you work on fixing these intermittents?
Flags: needinfo?(jmaher)
In the last 7 days we have 36 failures.

They occur on linux 32 (opt), linux x64 (pgo, opt), linux64-qr (opt), linux64-nightly (opt).

Recent failure log: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=172596095&lineNumber=1414

[task 2018-04-08T23:02:56.158Z] 23:02:56     INFO - TEST-START | /content-security-policy/navigate-to/child-navigates-parent-allowed.html
[task 2018-04-08T23:03:56.302Z] 23:03:56     INFO - 
[task 2018-04-08T23:03:56.302Z] 23:03:56     INFO - TEST-UNEXPECTED-NOTRUN | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | Test that the child can navigate the parent because the relevant policy belongs to the navigation initiator (in this case the child) - expected PASS
[task 2018-04-08T23:03:56.304Z] 23:03:56     INFO - TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | expected OK
[task 2018-04-08T23:03:56.304Z] 23:03:56     INFO - TEST-INFO took 60151ms
[task 2018-04-08T23:03:56.722Z] 23:03:56     INFO - Browser exited with return code 0
[task 2018-04-08T23:03:56.723Z] 23:03:56  WARNING - u'runner_teardown': ()
Whiteboard: [stockwell needswork][retriggered] → [stockwell needswork][retriggered][domsecurity-intermittent]
James, we narrowed down the root of this failure on a push that you landed, can you please look into this bug?
In the last 7 days there are 43 failures.
They occur on linux32 (opt), linux64 (opt, pgo), linux64-qr (opt).

recent failure log: https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=174417056&lineNumber=1435
and a relevant part of it:
[task 2018-04-18T22:18:03.321Z] 22:18:03     INFO - TEST-START | /content-security-policy/navigate-to/child-navigates-parent-allowed.html
[task 2018-04-18T22:19:03.541Z] 22:19:03     INFO - PID 1820 | JavaScript error: tests/web-platform/tests/tools/wptrunner/wptrunner/executors/executormarionette.py, line 84: TypeError: window.win.timeout is not a function
[task 2018-04-18T22:19:08.660Z] 22:19:08     INFO - TEST-UNEXPECTED-TIMEOUT | /content-security-policy/navigate-to/child-navigates-parent-allowed.html | expected OK
[task 2018-04-18T22:19:08.661Z] 22:19:08     INFO - TEST-INFO took 65334ms
[task 2018-04-18T22:19:09.073Z] 22:19:09     INFO - Browser exited with return code 0
[task 2018-04-18T22:19:09.074Z] 22:19:09  WARNING - u'runner_teardown': ()
[task 2018-04-18T22:19:09.091Z] 22:19:09     INFO - Setting up ssl
[task 2018-04-18T22:19:09.119Z] 22:19:09     INFO - certutil | 
[task 2018-04-18T22:19:09.143Z] 22:19:09     INFO - certutil | 
[task 2018-04-18T22:19:09.159Z] 22:19:09     INFO - certutil |
Attached patch Disable on LinuxSplinter Review
Attachment #8969973 - Flags: review?(gbrown)
Attachment #8969973 - Flags: review?(gbrown) → review+
The test was disabled on Windows. See Bug 1450635.
Keywords: leave-open
See Also: → 1450635
Whiteboard: [retriggered][domsecurity-intermittent][stockwell disable-recommended] → [retriggered][domsecurity-intermittent][stockwell disabled]
Pushed by ebalazs@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de7eb5f97ece
Disable /child-navigates-parent-allowed.html on Linux for frequent failures. r=gbrown
Keywords: checkin-needed
Flags: needinfo?(james)
You need to log in before you can comment on or make changes to this bug.