Frequent browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | single tracking bug
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: jmaher, Assigned: mak)
References
Details
(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [sng][stockwell disable-recommended])
Attachments
(1 file)
| Reporter | ||
Comment 1•3 years ago
|
||
Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1775819
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 77•1 year ago
|
||
it looks like it's still happening even after my fix
TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | Url is the first non-heuristic result - "https://example.com/" == "https://example.com/" -
[task 2024-03-09T12:52:51.514Z] 12:52:51 INFO - Buffered messages finished
[task 2024-03-09T12:52:51.523Z] 12:52:51 INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | Should be a switch tab result - 1 == 3 - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js","name":"queryAndCheckOneSwitchTabResult","sourceId":659,"lineNumber":124,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js","name":"test_adaptive_nonadaptive_container_dedupe_switch_tab","sourceId":659,"lineNumber":136,"columnNumber":11,"sourceLine":"","asyncCause":null
[task 2024-03-09T12:52:51.523Z] 12:52:51 INFO - Stack trace:
[task 2024-03-09T12:52:51.523Z] 12:52:51 INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js:queryAndCheckOneSwitchTabResult:124
[task 2024-03-09T12:52:51.523Z] 12:52:51 INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js:test_adaptive_nonadaptive_container_dedupe_switch_tab:136
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 115•1 year ago
|
||
Hi, Olivia! This bug started to be frequent after your push, as you can see here. Please have a look.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 119•1 year ago
•
|
||
Thanks for the heads-up! The patches on bug 1931062 updated the behavior on how process/browser priority worked in fission.
I'm not familiar with browser chrome mochitests, but I took a look at test_adaptive_nonadaptive_container_dedupe_switch_tab. I suppose it is possible that a tab that had Foreground priority now has Background priority and the change exacerbated a race condition in the original test?
I also triggered this test a few times on a before branch and after branch on the patch to be conclusive since the relationship to behavior change and failure isn't clear to me:
- Testing under
Windows 11 x64 22H2 WebRender debugM-msix( Specific test has been chunking underbc11.) - Try with D229548, D229549, and D229653 changes applied - full stack
- Try with only D229653 applied (just a GV test case to show test measured the other patch changes, no process priority changes) - GV test change only, no platform behavior change
Edit: Appears conclusive that bug 1931062 increased the volume of failures after comparing these two trys.
Nika, do you have any leads or what do you think?
Comment 120•1 year ago
|
||
Based on a quick scan of the failure, it appears that the test is trying to check that the tab which was previously loaded is shown as a "switch to tab" suggestion in the URL bar. I assume this means that the tab is not active, which could mean that it is backgrounded. Perhaps the wait which is happening in https://searchfox.org/mozilla-central/rev/5ad94327fc03d0e5bc6aa81c0d7d113c2dccf947/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js#110 isn't waiting long enough for some notification from the content process to arrive, indicating that the tab has finished loading and would be visible to the URLBar code? I unfortunately don't know well enough how this information is populated to say for certain.
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 122•1 year ago
|
||
Let me have a look at this, as it looks like now it's easier to reproduce.
Updated•1 year ago
|
| Assignee | ||
Comment 123•1 year ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 125•1 year ago
|
||
Comment 126•1 year ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•