Open Bug 1353608 Opened 3 years ago Updated 6 days ago

Intermittent dom/security/test/mixedcontentblocker/test_frameNavigation.html | Test timed out.

Categories

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

defect

Tracking

()

REOPENED

People

(Reporter: intermittent-bug-filer, Assigned: apavel, NeedInfo)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file, 1 obsolete file)

Priority: -- → P3
Whiteboard: [domsecurity-intermittent]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
https://wiki.mozilla.org/Bugmasters#Intermittent_Test_Failure_Cleanup
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INCOMPLETE
Recent failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=169079528&repo=mozilla-central&lineNumber=2458

23:54:07     INFO -  239 INFO TEST-START | dom/security/test/mixedcontentblocker/test_frameNavigation.html
23:59:35     INFO -  TEST-INFO | started process screenshot
23:59:35     INFO -  TEST-INFO | screenshot: exit 0
23:59:35     INFO -  Buffered messages logged at 23:54:07
23:59:35     INFO -  240 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure iframe blocked on insecure page
23:59:35     INFO -  241 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure grandchild iframe blocked on insecure page
23:59:35     INFO -  242 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | couldn't open an http link in a new window from a secure page
23:59:35     INFO -  Buffered messages logged at 23:54:12
23:59:35     INFO -  243 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigated to insecure iframe on secure page
23:59:35     INFO -  244 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure iframe blocked on insecure page
23:59:35     INFO -  245 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure grandchild iframe blocked on insecure page
23:59:35     INFO -  246 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigated to insecure iframe on secure page
23:59:35     INFO -  Buffered messages finished
23:59:35    ERROR -  247 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_frameNavigation.html | Test timed out.
23:59:35     INFO -      reportError@SimpleTest/TestRunner.js:121:7
23:59:35     INFO -      TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
23:59:35     INFO -      TestRunner.runTests@SimpleTest/TestRunner.js:380:5
23:59:35     INFO -      RunSet.runtests@SimpleTest/setup.js:194:3
23:59:35     INFO -      RunSet.runall@SimpleTest/setup.js:173:5
23:59:35     INFO -      hookupTests@SimpleTest/setup.js:266:5
23:59:35     INFO -  parseTestManifest@http://mochi.test:8888/manifestLibrary.js:36:5
23:59:35     INFO -  getTestManifest/req.onload@http://mochi.test:8888/manifestLibrary.js:49:11
23:59:35     INFO -  EventHandlerNonNull*getTestManifest@http://mochi.test:8888/manifestLibrary.js:45:3
23:59:35     INFO -      hookup@SimpleTest/setup.js:246:5
23:59:35     INFO -  EventHandlerNonNull*@http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&consoleLevel=INFO&manifestFile=tests.json&dumpOutputDirectory=c%3A%5Cusers%5Cgenericworker%5Cappdata%5Clocal%5Ctemp&cleanupCrashes=true:11:1
23:59:36     INFO -  GECKO(4588) | MEMORY STAT | vsize 2098592MB | vsizeMaxContiguous 128238540MB | residentFast 115MB | heapAllocated 20MB
23:59:36     INFO -  248 INFO TEST-OK | dom/security/test/mixedcontentblocker/test_frameNavigation.html | took 328832ms
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
I tried to reproduce this and find the root cause.

Here is my link to mozilla-central:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-searchStr=windows%20x64%20opt-mochitest-e10s-3&fromchange=c8dbb4ed05f38f40ef3607a6e36545bd95b8a287&tochange=bfb7edfd0436db388bb9e103b8ad817fc50bfdcf

I was not able to reproduce the problem on mozilla-central using windows 10 opt/pgo.

I tried on autoland as well and found a few instances of this on windows 10 pgo:
https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-searchStr=windows%20x64%20opt-mochitest-e10s-3&tochange=d918859fa3fb3fac0a5bbff1a9a74f908566b7f6&fromchange=fae7d981440374495e890a5ecda4bb698a84f95b&selectedJob=169275070

I am going to retrigger on a smaller range on autoland to determine what failure rate I can find and if a specific revision caused the failure.
with more retriggers:
https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-searchStr=windows%20x64%20opt-mochitest-e10s-3&tochange=d918859fa3fb3fac0a5bbff1a9a74f908566b7f6&fromchange=fae7d981440374495e890a5ecda4bb698a84f95b&selectedJob=169689763

nothing is standing out as the root cause.  I see some pushes with no failures and others with up to 3 failures, there isn't a consistent pattern.

keep in mind this is win10-pgo only I was testing on, so possibly other configs would show patterns.
There have been 41 failures in the last week.
It seems that now it mostly fails on Windows 7 / pgo & opt.

Failures per platform and build type:

Windows 7 / pgo & opt: 23
windows10-64 / pgo & opt: 9
OS X 10.10 / opt: 4
windows10-64-nightly / opt: 3 
windows7-32-nightly/ opt: 2

Recent failure log and snippet with the failure: 
https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-inbound&job_id=171196629&lineNumber=2401

m/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure iframe blocked on insecure page
12:10:14     INFO -  231 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure grandchild iframe blocked on insecure page
12:10:14     INFO -  232 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigated to insecure iframe on secure page
12:10:14     INFO -  Buffered messages finished
12:10:14    ERROR -  233 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_frameNavigation.html | Test timed out.
12:10:14     INFO -      reportError@SimpleTest/TestRunner.js:121:7
Flags: needinfo?(ckerschb)
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent][stockwell needswork]
Jonathan, any chance you could take a look at this test?
Flags: needinfo?(ckerschb) → needinfo?(jkt)
Updates:
There have been 34 total failures in the last 7 days.

Failures per platforms and builds:
Windows 7 / opt & pgo: 17
windows10-64 / opt & pgo: 14
OS X 10.10 / opt: 2
windows7-32-nightly: 1

Recent log file and snippet with the failure:
https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=173371350&lineNumber=2399
22:08:56     INFO -  Buffered messages logged at 22:03:34
22:08:56     INFO -  239 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure iframe blocked on insecure page
22:08:56     INFO -  240 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigating to insecure grandchild iframe blocked on insecure page
22:08:56     INFO -  241 INFO TEST-PASS | dom/security/test/mixedcontentblocker/test_frameNavigation.html | navigated to insecure iframe on secure page
22:08:56     INFO -  Buffered messages finished
22:08:56    ERROR -  242 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_frameNavigation.html | Test timed out.
22:08:56     INFO -      reportError@SimpleTest/TestRunner.js:121:7
22:08:56     INFO -      TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
22:08:56     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
There are 42 failures in the past 7 days.
Platforms: most of the occurrences were on windows10-64 opt/ pgo,Windows 7 opt/pgo and two occurrences on OS X 10.10 opt.
Recent log failure: 
https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=175774347&lineNumber=2352
Relevant part of the log:
17:16:20    ERROR -  253 INFO TEST-UNEXPECTED-FAIL | dom/security/test/mixedcontentblocker/test_frameNavigation.html | Test timed out.
17:16:20     INFO -      reportError@SimpleTest/TestRunner.js:121:7
17:16:20     INFO -      TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      setTimeout handler*TestRunner._checkForHangs@SimpleTest/TestRunner.js:163:5
17:16:20     INFO -      TestRunner.runTests@SimpleTest/TestRunner.js:380:5
17:16:20     INFO -      RunSet.runtests@SimpleTest/setup.js:194:3
17:16:20     INFO -      RunSet.runall@SimpleTest/setup.js:173:5
17:16:20     INFO -      hookupTests@SimpleTest/setup.js:266:5
Attached patch Disabled test on Win7 and Win10 (obsolete) — Splinter Review
Assignee: nobody → apavel
Attachment #8971838 - Flags: review?(jmaher)
Comment on attachment 8971838 [details] [diff] [review]
Disabled test on Win7 and Win10

Review of attachment 8971838 [details] [diff] [review]:
-----------------------------------------------------------------

one other small detail, the commit message should mention the test name:
Bug 1353608 - disabled test_frameNavigation.html on Win7 and Win10 r=jmaher


and be adjusted for my recommendation in the review.

::: dom/security/test/mixedcontentblocker/mochitest.ini
@@ +25,4 @@
>  skip-if = toolkit == 'android' || (os=='linux' && bits==32) || headless #Android: TIMED_OUT; Linux32:bug 1324870; Headless:bug 1405870
>  [test_frameNavigation.html]
>  skip-if = (toolkit == 'android') || webrender || (debug && (os == 'linux' || os == 'win')) # Android: TIMED_OUT; webrender: bug 1424752 # Bug 1391823
> +skip-if = (os == 'win' && (os_version == '10.0')) || (os == 'win' && (os_version == '6.1') # Bug 1353608

technically this would work just fine.  Since we only have win7 and win10 as choices, I would simplify this to be:
skip-if = os == 'win'

also this is not on debug, so:
skip-if = os == 'win' && !debug
Attachment #8971838 - Flags: review?(jmaher) → review-
I have done the requested changes.
Attachment #8971838 - Attachment is obsolete: true
Attachment #8971852 - Flags: review?(jmaher)
Flags: needinfo?(gbrown)
Comment on attachment 8971852 [details] [diff] [review]
Skipped the test (Disabled on Windows 7 and 10)

Review of attachment 8971852 [details] [diff] [review]:
-----------------------------------------------------------------

thanks for doing this.  As a reference this test runs on:
linux opt/pgo
osx opt/debug

we keep disabling more and more configurations.
Attachment #8971852 - Flags: review?(jmaher) → review+
Flags: needinfo?(gbrown)
Whiteboard: [domsecurity-intermittent][stockwell disable-recommended] → [domsecurity-intermittent][stockwell disabled]
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d4ccd7d8f62
Disabled test_frameNavigation.html on Win7 and Win10. r=jmaher
Keywords: checkin-needed

Failures reported on test-macosx1014-64/debug-mochitest-e10s-3. Does not occur on opt builds. Likely need to tweak the skip-if parameters.

Blocks: 1530474
You need to log in before you can comment on or make changes to this bug.