Closed Bug 1836294 Opened 1 years ago Closed 1 year ago

High freq OS X debug TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED WONTFIX
Iteration:
116.2 - June 19 - June 30
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- wontfix
firefox113 --- unaffected
firefox114 --- unaffected
firefox115 --- wontfix
firefox116 --- wontfix

People

(Reporter: NarcisB, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central-as-beta-simulation
How to run these simulations
Failure log

[task 2023-06-01T12:25:52.134Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: IPC message 'PUtilityProcess::Msg_FOGData' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:507
[task 2023-06-01T12:25:52.135Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:861
[task 2023-06-01T12:25:52.138Z] 12:25:52     INFO - GECKO(4869) | [Utility 4872, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-06-01T12:25:52.139Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:861
[task 2023-06-01T12:25:52.691Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-01T12:25:52.692Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: '!top', file /builds/worker/checkouts/gecko/dom/xul/MenuBarListener.cpp:99
[task 2023-06-01T12:25:52.812Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1383d0800) [pid = 4869] [serial = 4] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.813Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (10ac1e010) [pid = 4869] [serial = 3] [outer = 0] [url = chrome://browser/content/browser.xhtml]
[task 2023-06-01T12:25:52.813Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (138e714e0) [pid = 4869] [serial = 10] [outer = 0] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2023-06-01T12:25:52.814Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (143793400) [pid = 4869] [serial = 11] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.814Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (12f0aac00) [pid = 4869] [serial = 39] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.815Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (135f9e400) [pid = 4869] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.815Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (10ac1fd20) [pid = 4869] [serial = 1] [outer = 0] [url = chrome://browser/content/hiddenWindowMac.xhtml]
[task 2023-06-01T12:25:52.816Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (135c419c0) [pid = 4869] [serial = 5] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-01T12:25:52.816Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (144682560) [pid = 4869] [serial = 34] [outer = 0] [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (13ae1b400) [pid = 4869] [serial = 7] [outer = 0] [url = chrome://extensions/content/dummy.xhtml]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (14341b000) [pid = 4869] [serial = 35] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.817Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (13b4a4010) [pid = 4869] [serial = 36] [outer = 0] [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.818Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (13b2f94e0) [pid = 4869] [serial = 8] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.818Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (14fab8000) [pid = 4869] [serial = 37] [outer = 0] [url = about:blank]
[task 2023-06-01T12:25:52.844Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-06-01T12:25:52.857Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-06-01T12:25:52.875Z] 12:25:52     INFO - GECKO(4869) | [Parent 4869, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4687
[task 2023-06-01T12:25:52.895Z] 12:25:52     INFO - TEST-INFO | Main app process: exit 0
[task 2023-06-01T12:25:52.895Z] 12:25:52     INFO - TEST-INFO | Confirming we saw 69 DOCSHELL created and 69 destroyed log strings.
[task 2023-06-01T12:25:52.896Z] 12:25:52     INFO - TEST-INFO | Confirming we saw 168 DOMWINDOW created and 168 destroyed log strings.
[task 2023-06-01T12:25:52.896Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/migration/migration.xhtml]
[task 2023-06-01T12:25:52.897Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2023-06-01T12:25:52.897Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | windows(s) leaked: [pid = 4869] [serial = 34], [pid = 4869] [serial = 35], [pid = 4869] [serial = 36], [pid = 4869] [serial = 37]
[task 2023-06-01T12:25:52.898Z] 12:25:52    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 docShell(s) until shutdown
[task 2023-06-01T12:25:52.898Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | docShell(s) leaked: [pid = 4869] [id = 15], [pid = 4869] [id = 16]
[task 2023-06-01T12:25:52.899Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | This test created 0 hidden window(s)
[task 2023-06-01T12:25:52.899Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | This test created 1 hidden docshell(s)
[task 2023-06-01T12:25:52.900Z] 12:25:52     INFO - TEST-INFO | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_click_element.js | This test created 0 hidden window(s)
Flags: needinfo?(kpatenio)
Summary: Perma TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown [url = chrome://browser/content/migration/migration.xhtml] when Geck → Perma TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05

:kpatenio in terms of timing, reminder 115 goes to beta next week https://whattrainisitnow.com/release/?version=115

Assignee: nobody → kpatenio
Status: NEW → ASSIGNED
Blocks: 1836384
Flags: needinfo?(kpatenio)
Attachment #9337087 - Attachment description: WIP: Bug 1836294 - try to fix perma-failure in browser_sma_show_migration_wizard.js → Bug 1836294 - try to fix perma-failure in browser_sma_show_migration_wizard.js
Pushed by kpatenio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e5bbd7d746b try to fix perma-failure in browser_sma_show_migration_wizard.js r=mconley
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

The patch seems not to have solved the problem completely, now it's high frequency, as it can be seen in today's central as beta simulation.

Status: RESOLVED → REOPENED
Flags: needinfo?(kpatenio)
Resolution: FIXED → ---
Summary: Perma TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05 → HIgh freq TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05
Target Milestone: 115 Branch → ---
Summary: HIgh freq TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05 → High freq OS X debug TEST-UNEXPECTED-FAIL | toolkit/components/messaging-system/schemas/SpecialMessageActionSchemas/test/browser/browser_sma_show_migration_wizard.js | leaked 2 window(s) until shutdown when Gecko 115 merges to Beta on 2023-06-05
Iteration: --- → 116.1 - June 5 - June 16
Priority: -- → P1

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

Removing tracking + and setting 115 to fix-optional.
When the high-frequency issue is investigated and if the patch is considered safe, then we would still accept an uplift request for review

I can't reproduce the issue locally as a beta simulation. And reverting some conversions for modules used during the test from the regressing bug did not fix the error in try pushes (might be intermittent - here's an example push; has various commits). However, I was able to ascertain the following:

I ran two try pushes comparing before and after fixing Bug 1837009 (also as beta simulation):

Seems like the transition to the new migration wizard "fixed" the issue. However, I still haven't determined why the leak happens and don't know what our plans are for the legacy wizard. @mconley - are we planning to remove the legacy wizard sometime soon?

Flags: needinfo?(kpatenio) → needinfo?(mconley)

are we planning to remove the legacy wizard sometime soon?

Yes, once we've rolled it out to everybody, and it's being used in all conditions (including startup migration / profile reset), I think we're safe to remove the old one!

Flags: needinfo?(mconley)
See Also: → 1837646

The severity field is not set for this bug.
:lsmith, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(lsmith)
Iteration: 116.1 - June 5 - June 16 → 116.2 - June 19 - June 30

Removing myself as assignee for the following reasons:

  • currently, I have limited cycles
  • I predict that once the new migration wizard is rolled out, the issue shouldn't occur anymore
Assignee: kpatenio → nobody
Status: REOPENED → RESOLVED
Closed: 1 years ago1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: