Closed
Bug 1315887
Opened 4 years ago
Closed 2 years ago
Intermittent browser/base/content/test/urlbar/browser_locationBarExternalLoad.js | Test timed out -
Categories
(Firefox :: Address Bar, defect, P3)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 66
People
(Reporter: intermittent-bug-filer, Assigned: mconley)
References
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])
Attachments
(1 file)
Filed by: philringnalda [at] gmail.com https://treeherder.mozilla.org/logviewer.html#?job_id=5539978&repo=mozilla-central https://queue.taskcluster.net/v1/task/J_xd_CM0QnGlaK9g1xL18w/runs/0/artifacts/public%2Flogs%2Flive_backing.log
Status: NEW → RESOLVED
Closed: 4 years ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment 4•3 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8133cfb7904cb6ffda4ad3af0fa23000742bdc3a Bug 1315887: Temporarilly disable browser_ext_locationBarExternalLoad for surge in intermittents. r=me
Updated•3 years ago
|
Keywords: bulk-close-intermittents → leave-open
Whiteboard: [stockwell disabled]
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8133cfb7904c
Comment 6•3 years ago
|
||
Unfortunately, it looks like this test is a mess. I can't reproduce this issue locally without rr chaos mode, but when I can, we wind up never finishing the tab switch to the newly-created tab. We wind up waiting indefinitely to receive its layers, and the tab remains blank. (Well, the tab is supposed to remain blank, since the test loads about:blank. But I changed it to load a data: URL instead, and that had the same problem.) Presumably this started happening after the removal of shims because the event shims send sync RPC messages to propagate events from the content window to the parent <browser>, which affects timings of a lot of things. But since those shims are only ever enabled for tests these days, it means that the timing issues may have been masked in test runs, but still show up in the wild. I'm going to look into this some more to try to figure out what exactly is going on.
Assignee: nobody → kmaglione+bmo
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Priority: -- → P3
Comment 8•3 years ago
|
||
This is the only remaining skip-if = true test in urlbar, it would be nice to figure it out
Comment 9•2 years ago
|
||
Unassigning kmaglione. Mconley, are you a good candidate for this?
Assignee: kmaglione+bmo → nobody
Flags: needinfo?(mconley)
Assignee | ||
Comment 10•2 years ago
|
||
I looked at this yesterday using rr. I too was able to reproduce this using rr chaos mode. I think I see what's going wrong. Here: https://searchfox.org/mozilla-central/rev/adcc169dcf58c2e45ba65c4ed5661d666fc3ac74/browser/base/content/test/urlbar/browser_locationBarExternalLoad.js#48-50 We're calling loadFunc(), which might send messages to the content process to load a data: URI (in the same content process). Then, we use BrowserTestUtils.waitForContentEvent to send a message to add an event listener in the content process for pageshow. That's race-y, because the loadFunc() messages might cause the content process to finish loading the data URI and fire pageshow before the pageshow event listener gets sent. The fastest solution here, I think, is to make sure the pageshow event listener is set before we call loadFunc(). I've got a try push cooking with that solution here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c31a23c151ed27365d064105bd715afa84cc248d
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Assignee | ||
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1b3f44ff852b Re-enable browser_locationBarExternalLoad.js by making it less race-y. r=mak
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1b3f44ff852b
Assignee | ||
Comment 14•2 years ago
|
||
Whoops - should have removed the leave-open.
Status: REOPENED → RESOLVED
Closed: 4 years ago → 2 years ago
status-firefox64:
--- → affected
status-firefox65:
--- → affected
status-firefox66:
--- → fixed
Keywords: leave-open
Resolution: --- → FIXED
Updated•2 years ago
|
Target Milestone: --- → Firefox 66
Comment 15•2 years ago
|
||
bugherderuplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/355458563690
Flags: in-testsuite+
Whiteboard: [stockwell disabled] → [stockwell fixed]
You need to log in
before you can comment on or make changes to this bug.
Description
•