Closed Bug 2027583 Opened 8 months ago Closed 16 hours ago

High frequency browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N) | single tracking bug

Categories

(Core :: Machine Learning: Frontend, defect, P5)

defect
Points:
1

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [collect_confirm_failure][aiasst])

Attachments

(1 external file)

Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=556574519&repo=autoland&task=Wn_sTPwqTBycCL7AohBMTQ.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Wn_sTPwqTBycCL7AohBMTQ/runs/0/artifacts/public/logs/live_backing.log


[task 2026-03-30T01:37:25.162+00:00] 01:37:25     INFO - TEST-PASS | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | test_ask_button_close_persists_across_navigation - Sidebar should remain closed after navigating when user explicitly closed it - true == true
[task 2026-03-30T01:37:25.162+00:00] 01:37:25     INFO - Buffered messages logged at 01:37:20
[task 2026-03-30T01:37:25.163+00:00] 01:37:25     INFO - Leaving test test_ask_button_close_persists_across_navigation
[task 2026-03-30T01:37:25.163+00:00] 01:37:25     INFO - Buffered messages finished
[task 2026-03-30T01:37:25.164+00:00] 01:37:25     INFO - TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. Test ran for 151s, limit was 120s (timeout factor 1).
[task 2026-03-30T01:37:25.165+00:00] 01:37:25     INFO - GECKO(1534) | MEMORY STAT | vsize 120609595MB | residentFast 7122MB
[task 2026-03-30T01:37:25.165+00:00] 01:37:25     INFO - checking for open sidebars
[task 2026-03-30T01:37:25.166+00:00] 01:37:25     INFO - checking window state
[task 2026-03-30T01:37:25.167+00:00] 01:37:25     INFO - Not taking screenshot here: see the one that was previously logged
[task 2026-03-30T01:37:25.167+00:00] 01:37:25     INFO - TEST-UNEXPECTED-FAIL | browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | finished in 150272ms
[task 2026-03-30T01:37:25.167+00:00] 01:37:25     INFO - TEST-INFO took 150304ms
[task 2026-03-30T01:37:25.168+00:00] 01:37:25     INFO - TEST-START | browser/components/aiwindow/ui/test/browser/browser_smartwindow_telemetry.js
[task 2026-03-30T01:37:25.915+00:00] 01:37:25     INFO - GECKO(1534) | [Parent 1534: 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-30T01:37:41.081+00:00] 01:37:41     INFO - GECKO(1534) | [Parent 1534: 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-30T01:37:45.113+00:00] 01:37:45     INFO - GECKO(1534) | [Parent 1534: 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-30T01:37:48.885+00:00] 01:37:48     INFO - GECKO(1534) | [Parent 1534: 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-30T01:37:51.882+00:00] 01:37:51     INFO - GECKO(1534) | console.warn: "Custom endpoint detected. Using generic chat prompt"
[task 2026-03-30T01:37:54.983+00:00] 01:37:54     INFO - GECKO(1534) | [Parent 1534: 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-30T01:37:59.416+00:00] 01:37:59     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:02.647+00:00] 01:38:02     INFO - GECKO(1534) | console.warn: "Custom endpoint detected. Using generic chat prompt"
[task 2026-03-30T01:38:04.472+00:00] 01:38:04     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:07.981+00:00] 01:38:07     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:10.478+00:00] 01:38:10     INFO - GECKO(1534) | console.error: ChatStore: "Failed to get AIChatContent actor:" (new NotSupportedError("WindowGlobalParent.getActor: Window protocol 'AIChatContent' doesn't match uri about:blank", (void 0), 1419))
[task 2026-03-30T01:38:10.487+00:00] 01:38:10     INFO - GECKO(1534) | console.error: ChatStore: "Failed to get AIChatContent actor:" (new NotSupportedError("WindowGlobalParent.getActor: Window protocol 'AIChatContent' doesn't match uri about:blank", (void 0), 1419))
[task 2026-03-30T01:38:11.530+00:00] 01:38:11     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:15.768+00:00] 01:38:15     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:24.732+00:00] 01:38:24     INFO - GECKO(1534) | console.error: ChatStore: "Failed to get AIChatContent actor:" (new NotSupportedError("WindowGlobalParent.getActor: Window protocol 'AIChatContent' doesn't match uri about:blank", (void 0), 1419))
[task 2026-03-30T01:38:25.500+00:00] 01:38:25     INFO - GECKO(1534) | [Parent 1534: 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-30T01:38:28.443+00:00] 01:38:28     INFO - GECKO(1534) | console.error: ChatStore: "Failed to get AIChatContent actor:" (new NotSupportedError("WindowGlobalParent.getActor: Window protocol 'AIChatContent' doesn't match uri about:blank", (void 0), 1419))
[task 2026-03-30T01:38:41.076+00:00] 01:38:41     INFO - GECKO(1534) | MEMORY STAT | vsize 120601463MB | residentFast 10288MB
[task 2026-03-30T01:38:41.078+00:00] 01:38:41     INFO - TEST-PASS | browser/components/aiwindow/ui/test/browser/browser_smartwindow_telemetry.js | took 76007ms
[task 2026-03-30T01:40:12.764+00:00] 01:40:12     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1675
[task 2026-03-30T01:40:12.772+00:00] 01:40:12     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1774
[task 2026-03-30T01:40:12.775+00:00] 01:40:12     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1736
[task 2026-03-30T01:40:12.833+00:00] 01:40:12     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1859
[task 2026-03-30T01:40:12.962+00:00] 01:40:12     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1637
[task 2026-03-30T01:40:48.894+00:00] 01:40:48     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "about:blank" line: 0}]
[task 2026-03-30T01:40:50.951+00:00] 01:40:50     INFO - GECKO(1534) | Completed ShutdownLeaks collections in process 1534
[task 2026-03-30T01:40:50.952+00:00] 01:40:50     INFO - TEST-START | Shutdown
See Also: → 2026433

hi Ed, could you please take a look at this failure or assign this to someone? thank you

Flags: needinfo?(edilee)
Summary: Frequent browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. Test → High frequency browser/components/aiwindow/ui/test/browser/browser_smartwindow_tab_switching.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N) | single tracking bug
Points: --- → 1
Flags: needinfo?(edilee)
Whiteboard: [collect_confirm_failure] → [collect_confirm_failure][aiasst]

each task opened its own Smart Window and answered the chat from a local HTTP server through a real engine, so the files ran near the timeout and the answer could miss the 5 second wait on debug builds

the model is now mocked with MockEngineManager, which also covers bug 2021476, bug 2017819, bug 2042615 and bug 2027597

Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #9687483 - Attachment description: Bug 2027583 - move the tab switching tests into sidebar/ as Mochia suites that share one Smart Window r=yjamora! → Bug 2027583 - move the tab switching tests into sidebar/ as Mochia suites that share one Smart Window r?omarg!
Pushed by elee@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4f6c8bb9a859 https://hg.mozilla.org/integration/autoland/rev/d37e3cf62edc move the tab switching tests into sidebar/ as Mochia suites that share one Smart Window r=omarg
Status: ASSIGNED → RESOLVED
Closed: 16 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: