Closed Bug 1311239 Opened 3 years ago Closed 2 years ago

Intermittent dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | Test timed out -, Found a tab

Categories

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

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox50 --- unaffected
firefox51 --- wontfix
firefox52 --- disabled
firefox-esr52 --- disabled
firefox53 --- disabled
firefox54 --- affected

People

(Reporter: intermittent-bug-filer, Assigned: kmckinley)

References

Details

(Keywords: intermittent-failure, Whiteboard: [domsecurity-intermittent] [hsts-priming][stockwell disabled])

Attachments

(1 file)

Hey Kate, between this, bug 1311599, and bug 1311698, these tests are really flaky still. Any idea what might be going on?
Flags: needinfo?(kmckinley)
I am not sure why they are timing out, but my first guess is a race condition / bug either in the test or triggered by the test. I'm taking a look at these.
Assignee: nobody → kmckinley
Flags: needinfo?(kmckinley)
Priority: -- → P3
Whiteboard: [domsecurity-intermittent]
Whiteboard: [domsecurity-intermittent] → [domsecurity-intermittent] [hsts-priming]
NI myself to disable these on 52 since we're not shipping HSTS priming on it anyway.
Flags: needinfo?(ryanvm)
we have 44 failures in the last 2.5 days. all on linux 32/64 opt (we already skip this test on debug):
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1311239&startday=2017-06-21&endday=2017-06-23&tree=all

here is a link to a recent linux64 log:
https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-central&job_id=109515535

and related text to the failure:
[task 2017-06-23T10:18:55.084985Z] 10:18:55     INFO - TEST-START | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js
[task 2017-06-23T10:19:40.198535Z] 10:19:40     INFO - TEST-INFO | started process screentopng
[task 2017-06-23T10:19:42.000326Z] 10:19:41     INFO - TEST-INFO | screentopng: exit 0
[task 2017-06-23T10:19:42.002481Z] 10:19:41     INFO - Buffered messages logged at 10:18:55
[task 2017-06-23T10:19:42.004146Z] 10:19:42     INFO - Entering test bound 
[task 2017-06-23T10:19:42.006585Z] 10:19:42     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content “http://example.co.jp/browser/dom/security/test/hsts/file_testserver.sjs?file=browser/dom/security/test/hsts/file_priming.js&primer=no-ssl&mimetype=text/javascript&timeout=0”" {file: "https://example.com/browser/dom/security/test/hsts/file_priming-top.html?host=example.co.jp&id=no-ssl&type=script&timeout=0" line: 62}]
[task 2017-06-23T10:19:42.010279Z] 10:19:42     INFO - TEST-PASS | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | HSTS priming hsts_after_mixed:no-ssl expected blocked, got blocked - 
[task 2017-06-23T10:19:42.015124Z] 10:19:42     INFO - Console message: [JavaScript Warning: "Loading failed for the <script> with source “http://example.co.jp/browser/dom/security/test/hsts/file_testserver.sjs?file=browser/dom/security/test/hsts/file_priming.js&primer=no-ssl&mimetype=text/javascript&timeout=0”." {file: "https://example.com/browser/dom/security/test/hsts/file_priming-top.html?host=example.co.jp&id=no-ssl&type=script&timeout=0" line: 1}]
[task 2017-06-23T10:19:42.023522Z] 10:19:42     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content “http://example.org/browser/dom/security/test/hsts/file_testserver.sjs?file=browser/dom/security/test/hsts/file_priming.js&primer=reject-upgrade&mimetype=text/javascript&timeout=0”" {file: "https://example.com/browser/dom/security/test/hsts/file_priming-top.html?host=example.org&id=reject-upgrade&type=script&timeout=0" line: 62}]
[task 2017-06-23T10:19:42.025693Z] 10:19:42     INFO - TEST-PASS | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | HSTS priming response found reject-upgrade - 
[task 2017-06-23T10:19:42.029614Z] 10:19:42     INFO - TEST-PASS | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | HSTS priming hsts_after_mixed:reject-upgrade expected blocked, got blocked - 
[task 2017-06-23T10:19:42.036800Z] 10:19:42     INFO - Buffered messages logged at 10:18:56
[task 2017-06-23T10:19:42.039311Z] 10:19:42     INFO - Console message: [JavaScript Warning: "Loading failed for the <script> with source “http://example.org/browser/dom/security/test/hsts/file_testserver.sjs?file=browser/dom/security/test/hsts/file_priming.js&primer=reject-upgrade&mimetype=text/javascript&timeout=0”." {file: "https://example.com/browser/dom/security/test/hsts/file_priming-top.html?host=example.org&id=reject-upgrade&type=script&timeout=0" line: 1}]
[task 2017-06-23T10:19:42.059937Z] 10:19:42     INFO - Console message: [JavaScript Error: "Blocked loading mixed active content “http://test1.example.com/browser/dom/security/test/hsts/file_testserver.sjs?file=browser/dom/security/test/hsts/file_priming.js&primer=prime-hsts&mimetype=text/javascript&timeout=0”" {file: "https://example.com/browser/dom/security/test/hsts/file_priming-top.html?host=test1.example.com&id=prime-hsts&type=script&timeout=0" line: 62}]
[task 2017-06-23T10:19:42.064269Z] 10:19:42     INFO - Buffered messages finished
[task 2017-06-23T10:19:42.065678Z] 10:19:42     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | Test timed out - 
[task 2017-06-23T10:19:42.067116Z] 10:19:42     INFO - GECKO(3415) | MEMORY STAT | vsize 2175MB | residentFast 250MB | heapAllocated 112MB
[task 2
017-06-23T10:19:42.068477Z] 10:19:42     INFO - TEST-OK | dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js | took 45161ms



:kate, I see you are assigned to this bug, is this something you can work on and get a fix in place in the next 2 weeks?
Flags: needinfo?(kmckinley)
Whiteboard: [domsecurity-intermittent] [hsts-priming] → [domsecurity-intermittent] [hsts-priming][stockwell needswork]
I will be out for the next two weeks.

In my previous look at this, I couldn't identify a reliable correlation except for the AWS machine size.
Flags: needinfo?(kmckinley)
until :kate has a bit more time to work on this, lets reduce the failures as they are more frequent.
Attachment #8880901 - Flags: review?(gbrown)
Attachment #8880901 - Flags: review?(gbrown) → review+
Pushed by jmaher@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/54e2ea6388dc
Intermittent dom/security/test/hsts/browser_hsts-priming_hsts_after_mixed.js. temporarily disable. r=gbrown
adding ni? for :kate to remind this is disabled
Flags: needinfo?(kmckinley)
Keywords: leave-open
Whiteboard: [domsecurity-intermittent] [hsts-priming][stockwell needswork] → [domsecurity-intermittent] [hsts-priming][stockwell disabled]
Flags: needinfo?(kmckinley)
Bug 1424917 removed HSTS Priming including this test which renders this bug invalid.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in before you can comment on or make changes to this bug.