Frequent Windows debug devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | leaked 2 window(s) until shutdown [url = about:devtools-toolbox]
Categories
(DevTools :: Inspector: Rules, defect, P2)
Tracking
(firefox-esr91 unaffected, firefox99 unaffected, firefox100 fixed, firefox101 fixed)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox99 | --- | unaffected |
firefox100 | --- | fixed |
firefox101 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=370431958&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Mux6LD-_RjikOPKVAqNp1Q/runs/0/artifacts/public/logs/live_backing.log
[task 2022-03-09T16:42:48.722Z] 16:42:48 INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js
[task 2022-03-09T16:42:48.732Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-09T16:42:48.745Z] 16:42:48 INFO - GECKO(1120) | [Child 8164: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 21fcde08400 == 1 [pid = 8164] [id = 102]
[task 2022-03-09T16:42:48.747Z] 16:42:48 INFO - GECKO(1120) | [Child 8164: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (21fc8c69430) [pid = 8164] [serial = 312] [outer = 0]
[task 2022-03-09T16:42:48.748Z] 16:42:48 INFO - GECKO(1120) | [Child 8164: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (21fcde08c00) [pid = 8164] [serial = 313] [outer = 21fc8c69430]
[task 2022-03-09T16:42:48.776Z] 16:42:48 INFO - GECKO(1120) | [Child 7992: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 1cef2606000 == 0 [pid = 7992] [id = 0] [url = http://example.com/browser/devtools/client/inspector/rules/test/doc_author-sheet.html]
[task 2022-03-09T16:42:48.794Z] 16:42:48 INFO - GECKO(1120) | [Child 8164: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (21fcde14400) [pid = 8164] [serial = 314] [outer = 21fc8c69430]
[task 2022-03-09T16:42:48.814Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-09T16:42:48.842Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-09T16:42:48.851Z] 16:42:48 INFO - GECKO(1120) | [Child 7992: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (1ceed467430) [pid = 7992] [serial = 1] [outer = 0] [url = http://example.com/browser/devtools/client/inspector/rules/test/doc_author-sheet.html]
[task 2022-03-09T16:42:48.852Z] 16:42:48 INFO - GECKO(1120) | [Child 7992: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (1cef260b800) [pid = 7992] [serial = 2] [outer = 0] [url = about:blank]
[task 2022-03-09T16:42:48.852Z] 16:42:48 INFO - GECKO(1120) | [Child 7992: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (1cef260e000) [pid = 7992] [serial = 3] [outer = 0] [url = http://example.com/browser/devtools/client/inspector/rules/test/doc_author-sheet.html]
[task 2022-03-09T16:42:48.861Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-09T16:42:48.867Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_DoneGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
[task 2022-03-09T16:42:48.871Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-03-09T16:42:48.874Z] 16:42:48 INFO - GECKO(1120) | [2022-03-09T16:42:48Z WARN audioipc2::ipccore] AudioIPC Server RPC: EventLoop drop - closing connection for Token(7) failed: Custom { kind: NotFound, error: "I/O source not registered with `Registry`" }
[task 2022-03-09T16:42:48.874Z] 16:42:48 INFO - GECKO(1120) | [Child 7992, Main Thread] WARNING: IPC message 'PIdleScheduler::Msg_StartedGC' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:506
<...>
[task 2022-03-09T16:42:58.438Z] 16:42:58 INFO - GECKO(1120) | [Parent 8336: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (21848912800) [pid = 8336] [serial = 1017] [outer = 0] [url = about:blank]
[task 2022-03-09T16:42:58.453Z] 16:42:58 INFO - GECKO(1120) | [Parent 8336, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2022-03-09T16:42:58.525Z] 16:42:58 INFO - GECKO(1120) | [Parent 8336, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4470
[task 2022-03-09T16:42:58.555Z] 16:42:58 INFO - TEST-INFO | Main app process: exit 0
[task 2022-03-09T16:42:58.556Z] 16:42:58 INFO - TEST-INFO | Confirming we saw 731 DOCSHELL created and 731 destroyed log strings.
[task 2022-03-09T16:42:58.556Z] 16:42:58 INFO - TEST-INFO | Confirming we saw 1766 DOMWINDOW created and 1766 destroyed log strings.
[task 2022-03-09T16:42:58.557Z] 16:42:58 ERROR - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | leaked 2 window(s) until shutdown [url = about:devtools-toolbox]
[task 2022-03-09T16:42:58.557Z] 16:42:58 ERROR - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2022-03-09T16:42:58.557Z] 16:42:58 ERROR - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | leaked 1 window(s) until shutdown [url = chrome://devtools/content/inspector/index.xhtml]
[task 2022-03-09T16:42:58.558Z] 16:42:58 INFO - TEST-INFO | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | windows(s) leaked: [pid = 8336] [serial = 1017], [pid = 8336] [serial = 1015], [pid = 8336] [serial = 1013], [pid = 8336] [serial = 1016]
[task 2022-03-09T16:42:58.558Z] 16:42:58 INFO - TEST-INFO | devtools/client/inspector/rules/test/browser_rules_user-property-reset.js | This test created 1 hidden window(s)
Comment 1•2 years ago
|
||
Backfill range and retriggers this shows that Bug 1757193 is the culprit for this. But it doesn't really look like it could be the culprit from the files that it changed.
Mark, can you please take a look at this. Thank you!
Comment 2•2 years ago
|
||
(In reply to Iulian Moraru from comment #1)
Backfill range and retriggers this shows that Bug 1757193 is the culprit for this. But it doesn't really look like it could be the culprit from the files that it changed.
The code there is disabled by default so it would be very hard for it to impact anything else, and as you say, it also isn't related to the inspect, so I think that's showing the wrong thing. Maybe it is older? or possibly timing related and didn't show up as much before?
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Hi Hubert! Could this be caused by your changes from Bug 1740202?
This is the backfill range and retriggers I know that it points to Bug 1757193 but your changes look more related to the issue.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 6•2 years ago
|
||
Bomsy will take a look, we can skip on windows debug if no solution is found
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 9•2 years ago
|
||
There is really nothing odd about this test, and the logs also don't show anything interesting.
This is the last test from devtools/client/inspector/rules/test/browser_part2.ini, so maybe something changed in that suite, or in the way we shutdown tests?
I wonder if skipping the test would just move the intermittent to the previous test from the suite: browser_rules_user-agent-styles-uneditable.js
Assignee | ||
Comment 10•2 years ago
|
||
Also note that there are earlier failures than the one from the current backfill: https://treeherder.mozilla.org/jobs?repo=autoland&tochange=20c4f3149fb1cd465e1e16dab5c5b0d9cd824b9b&fromchange=082a4a75ee4cbcc88f00da5b2aa1425d3eace344&searchStr=Windows%2C10%2Cx64%2C2004%2CWebRender%2Cdebug%2CMochitests%2Cwith%2Cnetworking%2Con%2Csocket%2Cprocess%2Cwith%2Cfission%2Cenabled%2Ctest-windows10-64-2004-qr%2Fdebug-mochitest-devtools-chrome-spi-nw-fis-e10s%2Cdt1&selectedTaskRun=SAHqCXJySRKFgGSBsvqjPw.0
Starting more backfills, maybe we can find the regressing bug.
Assignee | ||
Comment 11•2 years ago
|
||
and therefore to Bug 1643586, which at least seems GC related.
Jan: do you have any advice to investigate this browser mochitest leak which started after Bug 1643586 ? I don't see anything peculiar about this test, if you have any pointer it could be helpful.
On a sidenote, it really seems related to this test. I tried skipping it and there is no failure anymore.
Updated•2 years ago
|
Comment 12•2 years ago
|
||
Forwarding the request to jonco.
Maybe we could try bisecting the patches in that range?
Assignee | ||
Comment 13•2 years ago
|
||
I will try to bisect!
Clearing the ni? for bomsy, it's not related to the bug we initially suspected.
Assignee | ||
Comment 14•2 years ago
|
||
Not done yet, but patch 3 from the stack is fine https://hg.mozilla.org/integration/autoland/rev/8611c3ef5a77d9ea6a524f43294edca710a069e7
Assignee | ||
Comment 15•2 years ago
|
||
intermittent only starts with the last patch from the stack: https://hg.mozilla.org/integration/autoland/rev/28829816a629b28125db3b4c65c5e22518e167e8
The try push is at https://treeherder.mozilla.org/jobs?repo=try&revision=5c8906d7e3b2a00cfc27e18c3a8001b8c754703e. It's called "part5" because I forgot to update the push message, but it points to part 6. The real part 5 was at https://treeherder.mozilla.org/jobs?repo=try&revision=dbae1c6859550876ec259ff15d53a5c90a1f9719 and has no failure.
Comment 16•2 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #15)
intermittent only starts with the last patch from the stack: https://hg.mozilla.org/integration/autoland/rev/28829816a629b28125db3b4c65c5e22518e167e8
Thanks for bisecting. That patch does seem to have triggered this.
Updated•2 years ago
|
Comment 17•2 years ago
|
||
Set release status flags based on info from the regressing bug 1643586
Assignee | ||
Updated•2 years ago
|
Comment 18•2 years ago
|
||
Something about bug 1643586 seems to have triggered this to start failing in CI, but I can reproduce this failure locally before this landed. I'm using a linux optdebug build with MOZ_HEADLESS=1 and it's failing pretty much every time. I think it's sensitive to GC timing.
I can reproduce this at least as far back as bug 1737865.
Assignee | ||
Comment 19•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 20•2 years ago
|
||
Thanks for the investigation :jonco. Let's skip this on windows debug for now.
Assignee | ||
Comment 21•2 years ago
|
||
Filed Bug 1763787 for the follow up investigation.
Comment 22•2 years ago
|
||
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6070125c444e [devtools] Skip browser_rules_user-property-reset.js on windows debug r=ochameau
Comment 23•2 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Comment 25•2 years ago
|
||
The patch landed in nightly and beta is affected.
:jdescottes, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 26•2 years ago
|
||
Comment on attachment 9271432 [details]
Bug 1758768 - [devtools] Skip browser_rules_user-property-reset.js on windows debug
Beta/Release Uplift Approval Request
- User impact if declined: skip test to avoid intermittent failures
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
- String changes made/needed:
Comment 27•2 years ago
|
||
bugherder uplift |
Comment 28•2 years ago
|
||
Comment on attachment 9271432 [details]
Bug 1758768 - [devtools] Skip browser_rules_user-property-reset.js on windows debug
Approved for 100.0b5
Description
•