Almost perma | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | | test_ask_button_close_persists_across_tab_switches - Sidebar should remain closed after switching back | single tracking bug
Categories
(Core :: Machine Learning: Frontend, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: omarg)
References
Details
(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [collect_confirm_failure][genai])
Attachments
(2 external files)
Filed by: asilaghi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=557071039&repo=autoland&task=aGT0jYMcTT2i11fWuIktSw.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aGT0jYMcTT2i11fWuIktSw/runs/0/artifacts/public/logs/live_backing.log
[task 2026-03-31T18:54:40.359+00:00] 18:54:40 INFO - TEST-PASS | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | test_ask_button_close_persists_across_tab_switches - Sidebar should be closed after Ask button toggle - true == true
[task 2026-03-31T18:54:40.359+00:00] 18:54:40 INFO - Buffered messages finished
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | test_ask_button_close_persists_across_tab_switches - Sidebar should remain closed after switching back to tab where user closed it - false == true
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochitests/content/browser/browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js:test_ask_button_close_persists_across_tab_switches:932
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochikit/content/browser-test.js:handleTask:1376
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1466
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1617
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1356
[task 2026-03-31T18:54:40.361+00:00] 18:54:40 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1060
[task 2026-03-31T18:54:40.634+00:00] 18:54:40 INFO - Leaving test test_ask_button_close_persists_across_tab_switches
[task 2026-03-31T18:54:40.635+00:00] 18:54:40 INFO - Entering test test_tab_with_no_state_should_keep_sidebar
[task 2026-03-31T18:54:40.636+00:00] 18:54:40 INFO - Opening new AI Window
[task 2026-03-31T18:54:41.376+00:00] 18:54:41 INFO - GECKO(1521) | [Parent 1521: Main Thread]: I/SlowChromeEvent Please do not use mouseenter/leave events in chrome. They are slower than mouseover/out! chrome://browser/content/tabbrowser/tabs.js:53:12
[task 2026-03-31T18:54:41.993+00:00] 18:54:41 INFO - Console message: [JavaScript Warning: "Window.fullScreen attribute is deprecated and will be removed in the future." {file: "chrome://browser/content/browser.js" line: 404}]
[task 2026-03-31T18:54:44.078+00:00] 18:54:44 INFO - Waiting for AI window attr
[task 2026-03-31T18:54:44.078+00:00] 18:54:44 INFO - Promising focus
[task 2026-03-31T18:54:44.114+00:00] 18:54:44 INFO - TEST-PASS | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | test_tab_with_no_state_should_keep_sidebar - Sidebar should be opened by AIWindowUI.openSidebar() - true == true
Comment 1•8 months ago
•
|
||
Hi @Ed Lee :Mardak
This is almost perma fails on autoland and the backfills leads nowhere. It also fails with https://bugzilla.mozilla.org/show_bug.cgi?id=2026433. Could you please check this? Thanks!
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 4•8 months ago
|
||
omar, you mentioned bug 2024781's current patch also fixes up some intermittent? were you running into this bug's failures?
potentially this started with bug 2024758 landing late march 30th? https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=bi1Icq4ZSMe6lPfOEsyniA.0&revision=c35c78d37f57766115ca2e8e6deeb6388db1a2e4
Yes I ran into issues with this test in bug 2024781 and updated tests there that I think should fix test_ask_button_close_persists_across_tab_switches - Sidebar should remain closed after switching back
Updated•8 months ago
|
Updated•8 months ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 7•8 months ago
|
||
(In reply to :omarg from comment #5)
Yes I ran into issues with this test in bug 2024781 and updated tests there that I think should fix
test_ask_button_close_persists_across_tab_switches - Sidebar should remain closed after switching back
Hi, the failure change into:
test_ask_button_close_persists_across_navigation - Sidebar should remain closed after navigating when user explicitly closed it - false == true
@agoloman is there some log somewhere that I can see? from what build was this error? I relanded bug 2024781 yesterday but I don't think it's made it into nightly yet?
Comment 9•8 months ago
|
||
Hi @omarg
This is the log failure for Build: macosx1015-64-qr https://treeherder.mozilla.org/logviewer?job_id=557854997&repo=autoland&task=FWIK3EbISiucPRQ_Q4ApBA.0&lineNumber=5827 . But this fails on all platforms. This is for Windows
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Comment 13•8 months ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 15•7 months ago
|
||
| Assignee | ||
Comment 16•7 months ago
|
||
I think this patch fixes Bug 2019745 and Bug 2026433
Comment 17•7 months ago
|
||
| bugherder | ||
Comment 18•7 months ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
Comment 20•7 months ago
|
||
Please nominate this for Release uplift when you get a chance.
Updated•7 months ago
|
| Assignee | ||
Comment 21•7 months ago
|
||
@RyanVM is that firefox-release option? I've only done one uplift so far so want to make sure I do the right thing
Comment 22•7 months ago
|
||
Yes
| Assignee | ||
Comment 23•7 months ago
|
||
Uplift request submitted.
Comment 24•7 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: Requested by RyanVM, I believe uplifting patch enables running tests on platforms that have been disabled, including Windows.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: low
- Explanation of risk level: Enabled tests that were previously failing intermittently
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 25•7 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D292667
Updated•7 months ago
|
Updated•7 months ago
|
Comment 26•7 months ago
|
||
| uplift | ||
Updated•7 months ago
|
Description
•