Closed Bug 1782904 Opened 2 years ago Closed 2 years ago

Intermittent TV devtools/shared/commands/resource/tests/browser_browser_resources_console_messages.js | isAlreadyExistingResource is false for the runtime message - Got true, expected false

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=386229625&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LkwBG42-SZGwUhFaknKbmA/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/LkwBG42-SZGwUhFaknKbmA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2022-08-03T06:19:56.723Z] 06:19:56     INFO - TEST-PASS | devtools/shared/commands/resource/tests/browser_browser_resources_console_messages.js | The runtime log was retrieved - 
[task 2022-08-03T06:19:56.723Z] 06:19:56     INFO - Buffered messages finished
[task 2022-08-03T06:19:56.724Z] 06:19:56     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/resource/tests/browser_browser_resources_console_messages.js | isAlreadyExistingResource is false for the runtime message - Got true, expected false
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - Stack trace:
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/browser-test.js:test_is:1468
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochitests/content/browser/devtools/shared/commands/resource/tests/browser_browser_resources_console_messages.js:null:61
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/browser-test.js:handleTask:1028
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1100
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1235
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1011
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1038
[task 2022-08-03T06:19:56.725Z] 06:19:56     INFO - Adding a new tab with URL: https://example.com/browser/devtools/shared/commands/resource/tests/early_console_document.html
[task 2022-08-03T06:19:56.726Z] 06:19:56     INFO - GECKO(5212) | [Child 7872, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-03T06:19:56.726Z] 06:19:56     INFO - GECKO(5212) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_165950269319573\AppData\Local\Temp\tmpf38sofa5.mozrunner\runtests_leaks_tab_pid7516.log
[task 2022-08-03T06:19:56.727Z] 06:19:56     INFO - GECKO(5212) | [7516, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-08-03T06:19:56.917Z] 06:19:56     INFO - GECKO(5212) | [Child 7516: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2907ed82400 == 1 [pid = 7516] [id = 0]
[task 2022-08-03T06:19:56.919Z] 06:19:56     INFO - GECKO(5212) | [Child 7516: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (29079d6d260) [pid = 7516] [serial = 1] [outer = 0]
[task 2022-08-03T06:19:56.920Z] 06:19:56     INFO - GECKO(5212) | [Child 7516: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (2907ed82800) [pid = 7516] [serial = 2] [outer = 29079d6d260]
[task 2022-08-03T06:19:56.980Z] 06:19:56     INFO - GECKO(5212) | [Child 7516: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (2907ed85800) [pid = 7516] [serial = 3] [outer = 29079d6d260]
[task 2022-08-03T06:19:56.990Z] 06:19:56     INFO - GECKO(5212) | JavaScript warning: resource://devtools/shared/loader/builtin-modules.js, line 210: debuggee 'resource://devtools/shared/loader/base-loader.js:293' would run
[task 2022-08-03T06:19:57.079Z] 06:19:57     INFO - Console message: [JavaScript Warning: "debuggee 'resource://devtools/shared/loader/base-loader.js:293' would run" {file: "resource://devtools/shared/loader/builtin-modules.js" line: 210}]
[task 2022-08-03T06:19:57.243Z] 06:19:57     INFO - Tab added and finished loading
[task 2022-08-03T06:19:57.243Z] 06:19:57     INFO - Wait for early page log
[task 2022-08-03T06:19:57.244Z] 06:19:57     INFO - TEST-PASS | devtools/shared/commands/resource/tests/browser_browser_resources_console_messages.js | The early page log was retrieved - 
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID

This was not resolved by the backout, I can still reproduce on latest central, running the test with --verify

Assignee: nobody → nchevobbe
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

The test is failing when running multiple times, as we get cached
messages from previous test run.
We suffix the message with a timestamp to avoid this.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e10a322d193a
[devtools] Fix browser_resources_console_messages with --verify. r=bomsy.
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: