Intermittent browser/base/content/test/siteIdentity/browser_bug822367.js | Expected state for activeBlocked matches UI state - Got true, expected false

RESOLVED FIXED in Firefox 55

Status

()

defect
P1
normal
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: aryx, Assigned: johannh)

Tracking

({intermittent-failure})

unspecified
Firefox 55
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

(Whiteboard: [stockwell fixed:timing])

Attachments

(1 attachment, 1 obsolete attachment)

59 bytes, text/x-review-board-request
nhnt11
: review+
Details
https://treeherder.mozilla.org/logviewer.html#?job_id=84730962&repo=autoland

14:30:11     INFO - Entering test bound MixedTest1A
14:30:11     INFO - Buffered messages finished
14:30:11     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug822367.js | Expected state for activeBlocked matches UI state - Got true, expected false
14:30:11     INFO - Stack trace:
14:30:11     INFO -     chrome://mochikit/content/browser-test.js:test_is:911
14:30:11     INFO -     chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/head.js:assertMixedContentBlockingState:159
14:30:11     INFO -     chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_bug822367.js:MixedTest1A:32
14:30:11     INFO -     process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:922:23
14:30:11     INFO -     walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:806:7
14:30:11     INFO -     Promise*scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:739:11
14:30:11     INFO -     schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:770:7
14:30:11     INFO -     completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:707:7
14:30:11     INFO -     TaskImpl_run@resource://gre/modules/Task.jsm:324:15
14:30:11     INFO -     promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:396:7
14:30:11     INFO -     TaskImpl_run@resource://gre/modules/Task.jsm:327:15
14:30:11     INFO -     promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:396:7
14:30:11     INFO -     TaskImpl_run@resource://gre/modules/Task.jsm:327:15
14:30:11     INFO -     TaskImpl@resource://gre/modules/Task.jsm:277:3
14:30:11     INFO -     asyncFunction@resource://gre/modules/Task.jsm:252:14
14:30:11     INFO -     Task_spawn@resource://gre/modules/Task.jsm:166:12
14:30:11     INFO -     TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:389:16
14:30:11     INFO -     TaskImpl_run@resource://gre/modules/Task.jsm:327:15
14:30:11     INFO -     TaskImpl@resource://gre/modules/Task.jsm:277:3
14:30:11     INFO -     asyncFunction@resource://gre/modules/Task.jsm:252:14
14:30:11     INFO -     Task_spawn@resource://gre/modules/Task.jsm:166:12
14:30:11     INFO -     Tester_execTest@chrome://mochikit/content/browser-test.js:735:9
14:30:11     INFO -     Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:655:7
14:30:11     INFO -     SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:791:59
Priority: -- → P3
this is mostly osx opt e10s, mixed with a little bit of debug.  This appears around May 30th.

from a recent log:
https://treeherder.mozilla.org/logviewer.html#?repo=autoland&job_id=104382380

here is the screenshot:
http://mozilla-releng-blobs.s3.amazonaws.com/blobs/autoland/sha512/bbd1e6ef98c81cf9c254e8f617dc007c8bf53d83bcf397e6caca78c81755d0c0436fc45d8406fc384f8bd9ab6815251a09c0b370a57cfac6bce5731a938d81dc

and data from the log:
12:29:05     INFO - TEST-START | browser/base/content/test/siteIdentity/browser_bug822367.js
12:29:05     INFO - TEST-INFO | started process screencapture
12:29:05     INFO - TEST-INFO | screencapture: exit 0
12:29:05     INFO - Buffered messages logged at 12:29:05
12:29:05     INFO - Entering test bound test
12:29:05     INFO - Leaving test bound test
12:29:05     INFO - Entering test bound MixedTest1A
12:29:05     INFO - Buffered messages finished
12:29:05     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/siteIdentity/browser_bug822367.js | Expected state for activeBlocked matches UI state - Got true, expected false
12:29:05     INFO - Stack trace:
12:29:05     INFO -     chrome://mochikit/content/browser-test.js:test_is:998
12:29:05     INFO -     chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/head.js:assertMixedContentBlockingState:157
12:29:05     INFO -     chrome://mochitests/content/browser/browser/base/content/test/siteIdentity/browser_bug822367.js:MixedTest1A:32
12:29:05     INFO -     Tester_execTest@chrome://mochikit/content/browser-test.js:801:9
12:29:05     INFO -     Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:714:7
12:29:05     INFO -     SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:795:59
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | Expected state for activeLoaded matches UI state - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | Expected state for passiveLoaded matches UI state - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | unknownIdentity on HTTP page - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | connection icon should be hidden - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | No MCB icon on HTTP page - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | No MCB icon on HTTP page - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | No MCB icon on HTTP page - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | No MCB icon on HTTP page - 
12:29:05     INFO - TEST-PASS | browser/base/content/test/siteIdentity/browser_bug822367.js | identity-popup has expected attr for activeLoaded - 


I believe we fail here:
https://dxr.mozilla.org/mozilla-central/source/browser/base/content/test/siteIdentity/browser_bug822367.js#32


:johann, I see that you are the triage owner (and original "author") of this test, can you help find someone to look at this in the next 2 weeks?
Flags: needinfo?(jhofmann)
Whiteboard: [stockwell needswork]
Attachment #8875660 - Attachment is obsolete: true
Flags: needinfo?(jhofmann)
Whops, based that on my patch for bug 1369425 :D

I'm not the original author, I just moved the test to a different folder. This failure looks like we're not properly awaiting the pageload so I might be able to solve it quickly.
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Try hasn't shown any errors so far, so I'm cautiously putting this up for review.
Priority: P3 → P1
Comment on attachment 8875661 [details]
Bug 1348549 - Await pageload in browser_bug822367 to avoid intermittents.

https://reviewboard.mozilla.org/r/147084/#review151848

Thanks!
Attachment #8875661 - Flags: review?(nhnt11) → review+
Pushed by jhofmann@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/68f271f79ce6
Await pageload in browser_bug822367 to avoid intermittents. r=nhnt11
https://hg.mozilla.org/mozilla-central/rev/68f271f79ce6
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Whiteboard: [stockwell needswork] → [stockwell fixed:timing]
You need to log in before you can comment on or make changes to this bug.