Open Bug 1956381 Opened 25 days ago Updated 13 hours ago

Perma [beta] browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | single tracking bug

Categories

(Firefox :: Tabbed Browser, defect, P5)

defect

Tracking

()

REOPENED
Tracking Status
firefox-esr128 --- unaffected
firefox136 --- unaffected
firefox137 --- unaffected
firefox138 + affected
firefox139 --- affected

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail, Whiteboard: [fidefe-tabgrps-tabbrowser])

Attachments

(1 file)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=500953228&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PrOx8WGPSoGcdV_wkeZJhQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PrOx8WGPSoGcdV_wkeZJhQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


TEST-PASS | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | should have recorded the correct source and ID - {"id":"1742941428214-22","source":"tab_group"} deepEqual {"source":"tab_group","id":"1742941428214-22"} - 
[task 2025-03-25T22:23:48.770Z] 22:23:48     INFO - Buffered messages finished
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | A promise chain failed to handle a rejection: can't access property "tabs", group is null - stack: ssi_shouldSaveTabGroup@resource:///modules/sessionstore/SessionStore.sys.mjs:6942:21
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - shouldSaveTabGroup@resource:///modules/sessionstore/SessionStore.sys.mjs:904:33
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - #maybeDisableOrHideSaveButton/<@chrome://browser/content/tabbrowser/tabgroup-menu.js:783:52
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - Rejection date: Tue Mar 25 2025 22:23:48 GMT+0000 (Greenwich Mean Time) - false == true - 
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - Stack trace:
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - chrome://mochikit/content/browser-test.js:handleTask:1198
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1242
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1383
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1153
[task 2025-03-25T22:23:48.772Z] 22:23:48     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-03-25T22:23:48.773Z] 22:23:48     INFO - Leaving test bound test_tabGroupContextMenu_deleteTabGroup
[task 2025-03-25T22:23:48.774Z] 22:23:48     INFO - Entering test bound test_tabOverflowContextMenu_deleteOpenTabGroup
[task 2025-03-25T22:23:48.774Z] 22:23:48     INFO - set up an open tab group to be deleted
[task 2025-03-25T22:23:48.774Z] 22:23:48     INFO - delete the open tab group
[task 2025-03-25T22:23:48.916Z] 22:23:48     INFO - TEST-PASS | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | should have recorded one tabgroup.delete event - 1 == 1 -

:sthompson, since you are the author of the regressor, bug 1938430, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(sthompson)

Set release status flags based on info from the regressing bug 1938430

Assignee: nobody → sthompson
Flags: needinfo?(sthompson)

Set release status flags based on info from the regressing bug 1938430

Summary: Intermittent [TV] browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | A promise chain failed to handle a rejection: can't access property "tabs", group is null - stack: ssi_shouldSaveTabGroup@resourc → Intermittent [TV] browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | single tracking bug
See Also: → 1959981
Summary: Intermittent [TV] browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | single tracking bug → Perma [beta] browser/components/tabbrowser/test/browser/tabs/browser_tab_groups_telemetry.js | single tracking bug
Attachment #9478922 - Attachment description: WIP: Bug 1956381 - fix window leak in browser_tab_groups_telemetry.js. r?dao → Bug 1956381 - fix window leak in browser_tab_groups_telemetry.js. r?dao

Sandor, is this perma failure happening on 138 beta as well, or only in the 139 simulation? Trying to determine if an uplift is necessary here.

Flags: needinfo?(smolnar)
Pushed by dwalker@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d3742b523ca9 fix window leak in browser_tab_groups_telemetry.js. r=dao,tabbrowser-reviewers

I see it happen quite often on beta pushes
example

Status: NEW → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

Hi, an uplift request would be appreciated, treeherder link with failures on beta. Thanks!

Flags: needinfo?(smolnar) → needinfo?(dwalker)
Flags: needinfo?(dwalker)

Still failing on beta.

Flags: needinfo?(dwalker)

backing out since it made no difference in beta

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 139 Branch → ---

I've been having trouble reproducing the failure. Here's a beta sim I ran on this patch earlier: https://treeherder.mozilla.org/jobs?repo=try&revision=d23b949f9d0b0a84cddf9907798715622454f432

This is for 139 beta, though. Could this be a problem that's only affecting 138?

Flags: needinfo?(dwalker)

I was able to reproduce this problem on beta 138, but it doesn't seem to affect 139. We've had several uplifts to 138 targeting tab groups telemetry so I suspect there's a fix in 139 that needs to be carried over. I'll investigate.

Whiteboard: [fidefe-tabgrps-tabbrowser]
See Also: → 1961448
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: