Closed Bug 1831388 Opened 2 years ago Closed 12 days ago

Perma a11y devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | single tracking bug

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

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

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file, 1 obsolete file)

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


[task 2023-05-04T16:58:54.096Z] 16:58:54     INFO - TEST-START | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js
[task 2023-05-04T16:58:54.239Z] 16:58:54     INFO - GECKO(1604) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpicxqsdj0.mozrunner/runtests_leaks_tab_pid5710.log
[task 2023-05-04T16:58:54.240Z] 16:58:54     INFO - GECKO(1604) | [5710, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-05-04T16:58:54.246Z] 16:58:54     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-05-04T16:58:54.335Z] 16:58:54     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:655
[task 2023-05-04T16:58:54.352Z] 16:58:54     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-05-04T16:58:54.354Z] 16:58:54     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-05-04T16:58:54.500Z] 16:58:54     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f910c830c00 == 1 [pid = 5710] [id = 0]
[task 2023-05-04T16:58:54.502Z] 16:58:54     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f9111a5f090) [pid = 5710] [serial = 1] [outer = 0]
[task 2023-05-04T16:58:54.504Z] 16:58:54     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f910c831400) [pid = 5710] [serial = 2] [outer = 7f9111a5f090]
[task 2023-05-04T16:58:54.582Z] 16:58:54     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-05-04T16:58:57.808Z] 16:58:57     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (7ff45835e400) [pid = 1604] [serial = 325] [outer = 0] [url = about:blank]
[task 2023-05-04T16:58:57.811Z] 16:58:57     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7ff458364400 == 5 [pid = 1604] [id = 132] [url = about:devtools-toolbox]
[task 2023-05-04T16:58:58.019Z] 16:58:58     INFO - GECKO(1604) | [Child 1737: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f6fed96d400) [pid = 1737] [serial = 91] [outer = 0] [url = about:blank]
[task 2023-05-04T16:58:58.674Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-05-04T16:58:58.676Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-05-04T16:58:58.677Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-05-04T16:58:58.679Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604, Main Thread] WARNING: NS_ENSURE_TRUE(!mHasOrHasHadOwnerWindow || mOwnerWindow) failed: file /builds/worker/checkouts/gecko/dom/events/DOMEventTargetHelper.cpp:302
[task 2023-05-04T16:58:58.683Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (7ff454d60850) [pid = 1604] [serial = 327] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2023-05-04T16:58:58.684Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (7ff45bebcd20) [pid = 1604] [serial = 329] [outer = 0] [url = chrome://devtools/content/debugger/index.html]
[task 2023-05-04T16:58:58.686Z] 16:58:58     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (7ff45347e6d0) [pid = 1604] [serial = 324] [outer = 0] [url = about:devtools-toolbox]
[task 2023-05-04T16:59:02.247Z] 16:59:02     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (7ff45623cc00) [pid = 1604] [serial = 326] [outer = 0] [url = about:devtools-toolbox]
[task 2023-05-04T16:59:02.250Z] 16:59:02     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (7ff45e1d6c00) [pid = 1604] [serial = 330] [outer = 0] [url = about:blank]
[task 2023-05-04T16:59:02.251Z] 16:59:02     INFO - GECKO(1604) | [Parent 1604: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (7ff45a203800) [pid = 1604] [serial = 328] [outer = 0] [url = about:blank]
[task 2023-05-04T16:59:02.332Z] 16:59:02     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f9267445400 == 0 [pid = 1799] [id = 31] [url = about:blank]
[task 2023-05-04T16:59:06.522Z] 16:59:06     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f926d2af470) [pid = 1799] [serial = 72] [outer = 0] [url = about:blank]
[task 2023-05-04T16:59:10.593Z] 16:59:10     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f9267445800) [pid = 1799] [serial = 73] [outer = 0] [url = about:blank]
[task 2023-05-04T17:00:31.577Z] 17:00:31     INFO - TEST-INFO | started process screentopng
[task 2023-05-04T17:00:31.848Z] 17:00:31     INFO - TEST-INFO | screentopng: exit 0
[task 2023-05-04T17:00:31.849Z] 17:00:31     INFO - Buffered messages logged at 16:58:54
[task 2023-05-04T17:00:31.852Z] 17:00:31     INFO - Entering test bound 
[task 2023-05-04T17:00:31.853Z] 17:00:31     INFO - Adding a new tab with URL: http://example.com/browser/devtools/client/webconsole/test/browser/test-eval-sources.html
[task 2023-05-04T17:00:31.854Z] 17:00:31     INFO - Buffered messages finished
[task 2023-05-04T17:00:31.856Z] 17:00:31     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | Test timed out - 
[task 2023-05-04T17:00:31.856Z] 17:00:31     INFO - Removing tab.
[task 2023-05-04T17:00:31.858Z] 17:00:31     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2023-05-04T17:00:31.860Z] 17:00:31     INFO - Got event: 'TabClose' on [object XULElement].
[task 2023-05-04T17:00:31.861Z] 17:00:31     INFO - Tab removed and finished closing
[task 2023-05-04T17:00:31.871Z] 17:00:31     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2023-05-04T17:00:31.883Z] 17:00:31     INFO - GECKO(1604) | [Parent 1604, Compositor] WARNING: IPC Connection Error: [Parent][PCompositorManagerParent] RunMessage(msgname=PCompositorBridge::Msg___delete__) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-05-04T17:00:31.885Z] 17:00:31     INFO - GECKO(1604) | [Parent 1604, Compositor] WARNING: IPC Connection Error: [Parent][PImageBridgeParent] RunMessage(msgname=PImageBridge::Msg_WillClose) Channel closing: too late to send/recv, messages will be lost: file /builds/worker/checkouts/gecko/ipc/glue/MessageChannel.cpp:1927
[task 2023-05-04T17:00:31.928Z] 17:00:31     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f910c830c00 == 0 [pid = 5710] [id = 0] [url = about:blank]
[task 2023-05-04T17:00:31.961Z] 17:00:31     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f910c831400) [pid = 5710] [serial = 2] [outer = 0] [url = about:blank]
[task 2023-05-04T17:00:31.963Z] 17:00:31     INFO - GECKO(1604) | [Child 5710: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f9111a5f090) [pid = 5710] [serial = 1] [outer = 0] [url = about:blank]
[task 2023-05-04T17:00:31.966Z] 17:00:31     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3426
[task 2023-05-04T17:00:31.973Z] 17:00:31     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_TRUE(InitStaticMembers()) failed: file /builds/worker/workspace/obj-build/dist/include/mozilla/Preferences.h:129
[task 2023-05-04T17:00:31.983Z] 17:00:31     INFO - GECKO(1604) | [Child 5710, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4688
[task 2023-05-04T17:00:32.205Z] 17:00:32     INFO - GECKO(1604) | MEMORY STAT | vsize 3973MB | residentFast 657MB | heapAllocated 308MB
[task 2023-05-04T17:00:32.207Z] 17:00:32     INFO - TEST-OK | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | took 98111ms
[task 2023-05-04T17:00:32.221Z] 17:00:32     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f9267445800 == 1 [pid = 1799] [id = 32]
[task 2023-05-04T17:00:32.221Z] 17:00:32     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f926d2af470) [pid = 1799] [serial = 74] [outer = 0]
[task 2023-05-04T17:00:32.222Z] 17:00:32     INFO - GECKO(1604) | [Child 1799: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f9267446000) [pid = 1799] [serial = 75] [outer = 7f926d2af470]
[task 2023-05-04T17:00:32.266Z] 17:00:32     INFO - checking window state
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago1 year ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Attachment #9387048 - Attachment is obsolete: true
Status: REOPENED → RESOLVED
Closed: 1 year ago7 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 7 months ago5 months ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
See Also: → 1949298
See Also: 1949298

These failure lines became perma after the fix in Bug 1888298. James, any chance you could take care of those too?

26011	23:42:22 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | Node is not accessible via accessibility API: id: , tagName: SPAN, className: frame-link-filename -
26037	23:42:25 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | Node is not accessible via accessibility API: id: , tagName: SPAN, className: frame-link-filename -
26063	23:42:28 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | Node is not accessible via accessibility API: id: , tagName: SPAN, className: frame-link-filename -
26086	23:42:30 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | Node is not accessible via accessibility API: id: fake-frame-id-0, tagName: DIV, className: frame -
Flags: needinfo?(jteh)
Summary: Intermittent devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | single tracking bug → Perma a11y devtools/client/webconsole/test/browser/browser_webconsole_eval_sources.js | single tracking bug

These are now likely actual accessibility failures in the Dev Tools code or tests, rather than failures caused by crashes in the accessibility engine. They were just intermittent (rather than perma) before because the crash was preventing the tests from getting to this point. I think the next step is for the Dev Tools team to investigate this when they are able. I'm not ruling out a bug in the a11y checks harness causing a false positive here, but I think it'd make sense for Dev Tools to investigate it first. If it does turn out to be a bug in the harness causing a false positive, I'll be happy to help.

Flags: needinfo?(jteh)

Nicolas, could you please have a look over this one? It's now perma on a11y. Thanks.

Flags: needinfo?(nchevobbe)

So it seems to be failing because the console panel is not selected/visible, and we're not getting accessible for the elements we're trying to click.
This is not new, but we did some changes in the toolbox to avoid resizing the panels when hiding them (Bug 1943543), so I guess that before this, the targets where having a 0x0 size, which opt-us out of the accessible check.

The fix is simple, make sure that the console panel is actually visible before clicking on the elements.

Flags: needinfo?(nchevobbe)
Assignee: nobody → nchevobbe
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cda7a19c6af8 [devtools] Make sure webconsole panel is selected before clicking on links in browser_webconsole_eval_sources.js. r=devtools-reviewers,jdescottes
Status: REOPENED → RESOLVED
Closed: 5 months ago12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: