Closed Bug 1535865 Opened 10 months ago Closed 10 months ago

Intermittent browser/base/content/test/pageinfo/browser_pageinfo_security.js | Uncaught exception - Security tab should be visible. - timed out after 50 tries.

Categories

(Firefox :: Page Info Window, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 68
Tracking Status
firefox-esr60 --- unaffected
firefox66 --- unaffected
firefox67 --- fixed
firefox68 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

#[markdown(off)]
Filed by: ccoroiu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=234359575&repo=autoland

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

[task 2019-03-16T21:33:10.381Z] 21:33:10 INFO - TEST-START | browser/base/content/test/pageinfo/browser_pageinfo_security.js
[task 2019-03-16T21:33:16.258Z] 21:33:16 INFO - TEST-INFO | started process screentopng
[task 2019-03-16T21:33:16.887Z] 21:33:16 INFO - TEST-INFO | screentopng: exit 0
[task 2019-03-16T21:33:16.888Z] 21:33:16 INFO - Buffered messages logged at 21:33:10
[task 2019-03-16T21:33:16.888Z] 21:33:16 INFO - Entering test bound test_CertificateError
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - Buffered messages finished
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_security.js | Uncaught exception - Security tab should be visible. - timed out after 50 tries.
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - Leaving test bound test_CertificateError
[task 2019-03-16T21:33:16.890Z] 21:33:16 INFO - Entering test bound test_SiteData

Summary: Intermittent TV browser/base/content/test/pageinfo/browser_pageinfo_security.js | Uncaught exception - Security tab should be visible. - timed out after 50 tries. → Intermittent browser/base/content/test/pageinfo/browser_pageinfo_security.js | Uncaught exception - Security tab should be visible. - timed out after 50 tries.

This is from bug 1501955. There are 34 total failures in the last 7 days on linux32 debug the majority.

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235714979&repo=mozilla-central&lineNumber=3998

[task 2019-03-16T21:33:10.381Z] 21:33:10 INFO - TEST-START | browser/base/content/test/pageinfo/browser_pageinfo_security.js
[task 2019-03-16T21:33:16.258Z] 21:33:16 INFO - TEST-INFO | started process screentopng
[task 2019-03-16T21:33:16.887Z] 21:33:16 INFO - TEST-INFO | screentopng: exit 0
[task 2019-03-16T21:33:16.888Z] 21:33:16 INFO - Buffered messages logged at 21:33:10
[task 2019-03-16T21:33:16.888Z] 21:33:16 INFO - Entering test bound test_CertificateError
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - Buffered messages finished
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_security.js | Uncaught exception - Security tab should be visible. - timed out after 50 tries.
[task 2019-03-16T21:33:16.889Z] 21:33:16 INFO - Leaving test bound test_CertificateError
[task 2019-03-16T21:33:16.890Z] 21:33:16 INFO - Entering test bound test_SiteData
[task 2019-03-16T21:33:16.891Z] 21:33:16 INFO - TEST-PASS | browser/base/content/test/pageinfo/browser_pageinfo_security.js | The total usage should not be 0 - 66688 > 0 -
[task 2019-03-16T21:33:17.034Z] 21:33:17 INFO - Console message: [JavaScript Warning: "XUL box for textbox element contained an inline #text child, forcing all its children to be wrapped in a block." {file: "chrome://browser/content/pageinfo/pageInfo.xul" line: 0}]
[task 2019-03-16T21:33:17.196Z] 21:33:17 INFO - TEST-PASS | browser/base/content/test/pageinfo/browser_pageinfo_security.js | The total usage should be 0 -
[task 2019-03-16T21:33:17.333Z] 21:33:17 INFO - Leaving test bound test_SiteData
[task 2019-03-16T21:33:17.334Z] 21:33:17 INFO - Entering test bound test_Cookies
[task 2019-03-16T21:33:17.849Z] 21:33:17 INFO - Console message: [JavaScript Warning: "XUL box for textbox element contained an inline #text child, forcing all its children to be wrapped in a block." {file: "chrome://browser/content/pageinfo/pageInfo.xul" line: 0}]
[task 2019-03-16T21:33:17.925Z] 21:33:17 INFO - TEST-PASS | browser/base/content/test/pageinfo/browser_pageinfo_security.js | Cookies from the base domain should be cleared -
[task 2019-03-16T21:33:18.063Z] 21:33:18 INFO - Leaving test bound test_Cookies
[task 2019-03-16T21:33:18.063Z] 21:33:18 INFO - Entering test bound cleanup
[task 2019-03-16T21:33:18.111Z] 21:33:18 INFO - Leaving test bound cleanup
[task 2019-03-16T21:33:18.129Z] 21:33:18 INFO - GECKO(1071) | MEMORY STAT | vsize 1842MB | residentFast 322MB | heapAllocated 116MB
[task 2019-03-16T21:33:18.129Z] 21:33:18 INFO - TEST-OK | browser/base/content/test/pageinfo/browser_pageinfo_security.js | took 7749ms
[task 2019-03-16T21:33:18.133Z] 21:33:18 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-03-16T21:33:18.134Z] 21:33:18 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_security.js | Found an unexpected tab at the end of test run: https://expired.example.com/ -
[task 2019-03-16T21:33:18.173Z] 21:33:18 INFO - checking window state
[task 2019-03-16T21:33:18.174Z] 21:33:18 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-03-16T21:33:18.174Z] 21:33:18 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/pageinfo/browser_pageinfo_security.js | Found an unexpected Browser:page-info at the end of test run -
[task 2019-03-16T21:33:19.855Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1351
[task 2019-03-16T21:33:19.875Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1253
[task 2019-03-16T21:33:19.891Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1374
[task 2019-03-16T21:33:19.910Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1407
[task 2019-03-16T21:33:19.917Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1301
[task 2019-03-16T21:33:19.945Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1487
[task 2019-03-16T21:33:19.949Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1185
[task 2019-03-16T21:33:19.969Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1439
[task 2019-03-16T21:33:19.987Z] 21:33:19 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1166
[task 2019-03-16T21:33:20.027Z] 21:33:20 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1284
[task 2019-03-16T21:33:20.411Z] 21:33:20 INFO - GECKO(1071) | Completed ShutdownLeaks collections in process 1071
[task 2019-03-16T21:33:20.412Z] 21:33:20 INFO - TEST-START | Shutdown

danielleleb12 please take a look.

Flags: needinfo?(danielleleb12)

It seems like this is because the test was using BrowserTestUtils.withNewTab with waitForLoad set to false, so the test was running before the browser loads the page even enough to generate the pageInfo. I've now changed it to use BrowserTestUtils.waitForErrorPage. I'm adding you as reviewer Andreea - thanks!

Flags: needinfo?(danielleleb12)

Hi Danielle. Unfortunately I cannot give reviews, thus I reassigned this to Johann

Johann please take a look and reassign if you think necessary. Thank you.

Flags: needinfo?(jhofmann)
Assignee: nobody → danielleleb12
Status: NEW → ASSIGNED
Flags: needinfo?(jhofmann)
Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/980b311cad63
Fixes intermittent error caused by hidden security tab. r=johannh
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.