Closed Bug 1958748 Opened 23 days ago Closed 1 day ago

Intermittent devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | single tracking bug

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(firefox140 fixed)

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

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


[task 2025-04-07T01:22:19.639Z] 01:22:19     INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | got expected inline preview - 
[task 2025-04-07T01:22:19.639Z] 01:22:19     INFO - Waiting 0.5 seconds.
[task 2025-04-07T01:22:19.640Z] 01:22:19     INFO - Hovering on token <myVar:"foo">
[task 2025-04-07T01:22:19.640Z] 01:22:19     INFO - Buffered messages finished
[task 2025-04-07T01:22:19.641Z] 01:22:19     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | No popup was displayed over the inline preview - Got [object HTMLDivElement], expected "TIMEOUT"
[task 2025-04-07T01:22:19.641Z] 01:22:19     INFO - Stack trace:
[task 2025-04-07T01:22:19.641Z] 01:22:19     INFO - chrome://mochikit/content/browser-test.js:test_is:1654
[task 2025-04-07T01:22:19.641Z] 01:22:19     INFO - chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js:null:46
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - chrome://mochikit/content/browser-test.js:handleTask:1170
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1242
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1383
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1159
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-04-07T01:22:19.642Z] 01:22:19     INFO - Resuming from 75
[task 2025-04-07T01:22:19.643Z] 01:22:19     INFO - Waiting for the debugger to resume
[task 2025-04-07T01:22:19.643Z] 01:22:19     INFO - Waiting for state change: 
[task 2025-04-07T01:22:19.643Z] 01:22:19     INFO - Finished waiting for state change: 
[task 2025-04-07T01:22:19.644Z] 01:22:19     INFO - Test hovering element not in a line
[task 2025-04-07T01:22:19.644Z] 01:22:19     INFO - The Escape key is pressed
[task 2025-04-07T01:22:19.645Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 14aef1c00 == 8 [pid = 4416] [id = 148]
[task 2025-04-07T01:22:19.645Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (15a8f3800) [pid = 4416] [serial = 364] [outer = 0]
[task 2025-04-07T01:22:19.646Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (1a4cc1500) [pid = 4416] [serial = 365] [outer = 15a8f3800]
[task 2025-04-07T01:22:19.646Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182
[task 2025-04-07T01:22:19.647Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73
[task 2025-04-07T01:22:19.648Z] 01:22:19     INFO - Console message: Invalid chrome URI (need path): chrome://devtools/
[task 2025-04-07T01:22:19.648Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1215
[task 2025-04-07T01:22:19.649Z] 01:22:19     INFO - GECKO(4416) | [Child 4438: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (114aa0900) [pid = 4438] [serial = 57] [outer = 0] [url = about:blank]
[task 2025-04-07T01:22:19.649Z] 01:22:19     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://devtools/content/webconsole/index.html" line: 0}]
[task 2025-04-07T01:22:19.864Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: '!originalEventTargetNode', file /builds/worker/checkouts/gecko/editor/libeditor/EditorEventListener.cpp:1153
[task 2025-04-07T01:22:19.864Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: EditorEventListener::Focus() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorEventListener.cpp:451
[task 2025-04-07T01:22:19.865Z] 01:22:19     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: EditorEventListener::HandleEvent() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/HTMLEditorEventListener.cpp:104
[task 2025-04-07T01:22:20.067Z] 01:22:20     INFO - Waiting for the debugger to pause
[task 2025-04-07T01:22:20.067Z] 01:22:20     INFO - Waiting for state change: paused
[task 2025-04-07T01:22:20.313Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: '!originalEventTargetNode', file /builds/worker/checkouts/gecko/editor/libeditor/EditorEventListener.cpp:1153
[task 2025-04-07T01:22:20.313Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: EditorEventListener::Focus() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/EditorEventListener.cpp:451
[task 2025-04-07T01:22:20.314Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: EditorEventListener::HandleEvent() failed: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/editor/libeditor/HTMLEditorEventListener.cpp:104
[task 2025-04-07T01:22:20.314Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: '!content', file /builds/worker/checkouts/gecko/editor/libeditor/HTMLEditor.cpp:7554
[task 2025-04-07T01:22:20.315Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: '!content', file /builds/worker/checkouts/gecko/editor/libeditor/HTMLEditor.cpp:7554
[task 2025-04-07T01:22:20.509Z] 01:22:20     INFO - Console message: [JavaScript Warning: "This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://firefox-source-docs.mozilla.org/performance/scroll-linked_effects.html for further details and to join the discussion on related tools and features!" {file: "chrome://devtools/content/debugger/index.html" line: 0}]
[task 2025-04-07T01:22:20.717Z] 01:22:20     INFO - Finished waiting for state change: paused
[task 2025-04-07T01:22:20.723Z] 01:22:20     INFO - Finished waiting for state change: paused
[task 2025-04-07T01:22:20.724Z] 01:22:20     INFO - Waiting for state change: fetched frames
[task 2025-04-07T01:22:20.724Z] 01:22:20     INFO - --> The state was immediately correct (should rather do an immediate assertion?)
[task 2025-04-07T01:22:20.737Z] 01:22:20     INFO - Waiting for state change: selected source
[task 2025-04-07T01:22:20.737Z] 01:22:20     INFO - --> The state was immediately correct (should rather do an immediate assertion?)
[task 2025-04-07T01:22:20.738Z] 01:22:20     INFO - Waiting for state change: 
[task 2025-04-07T01:22:20.738Z] 01:22:20     INFO - --> The state was immediately correct (should rather do an immediate assertion?)
[task 2025-04-07T01:22:20.758Z] 01:22:20     INFO - Waiting 0.5 seconds.
[task 2025-04-07T01:22:20.807Z] 01:22:20     INFO - GECKO(4416) | [Parent 4416, Main Thread] WARNING: 'sgo->HandleScriptError(init, &status)', file /builds/worker/checkouts/gecko/dom/base/Document.cpp:18082
[task 2025-04-07T01:22:21.266Z] 01:22:21     INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | No popup was displayed over the content container element - 
[task 2025-04-07T01:22:21.266Z] 01:22:21     INFO - Search for <a> token on 2:8

Skip ifs are re-added in Bug 1959345

Depends on: 1959345
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

I couldn't land a full enabling and had to keep disabling the test on debug builds because of document leaks reported, especially on windows debug:
https://treeherder.allizom.org/logviewer?job_id=487601545&repo=try&lineNumber=21798

[task 2025-04-28T09:05:28.714Z] 09:05:28     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | leaked 2 window(s) until shutdown [url = about:devtools-toolbox]
[task 2025-04-28T09:05:28.714Z] 09:05:28     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2025-04-28T09:05:28.715Z] 09:05:28     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | leaked 1 window(s) until shutdown [url = chrome://devtools/content/webconsole/index.html]
[task 2025-04-28T09:05:28.716Z] 09:05:28     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-preview-invalid-tokens.js | leaked 1 window(s) until shutdown [url = chrome://devtools/content/debugger/index.html]
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6fb1d0ccf439 [devtools] Fix browser_dbg-preview-invalid-tokens.js intermittent failure. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: