Closed Bug 1855067 Opened 1 year ago Closed 1 year ago

Perma devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js | Uncaught exception in test bound - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1055 - Error: Failed waitFor():

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox118 unaffected, firefox119 wontfix, firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- wontfix
firefox120 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression)

Attachments

(1 file)

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


[task 2023-09-25T18:40:57.866Z] 18:40:57     INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js
[task 2023-09-25T18:41:02.542Z] 18:41:02     INFO - GECKO(8317) | console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 321))
[task 2023-09-25T18:41:03.347Z] 18:41:03     INFO - TEST-INFO | started process screentopng
[task 2023-09-25T18:41:03.626Z] 18:41:03     INFO - TEST-INFO | screentopng: exit 0
[task 2023-09-25T18:41:03.627Z] 18:41:03     INFO - Buffered messages logged at 18:40:57
[task 2023-09-25T18:41:03.627Z] 18:41:03     INFO - Entering test bound 
[task 2023-09-25T18:41:03.628Z] 18:41:03     INFO - Adding a new tab with URL: https://example.org/document-builder.sjs?html=org<iframe src=https://example.com//document-builder.sjs?html=first_remote_iframe></iframe><iframe src=https://example.com//document-builder.sjs?html=second_remote_iframe></iframe>
[task 2023-09-25T18:41:03.629Z] 18:41:03     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.org/document-builder.sjs?html=org%3Ciframe%20src=https://example.com//document-builder.sjs?html=first_remote_iframe%3E%3C/iframe%3E%3Ciframe%20src=https://example.com//document-builder.sjs?html=second_remote_iframe%3E%3C/iframe%3E" line: 0}]
[task 2023-09-25T18:41:03.630Z] 18:41:03     INFO - Buffered messages logged at 18:40:58
[task 2023-09-25T18:41:03.631Z] 18:41:03     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com//document-builder.sjs?html=second_remote_iframe" line: 0}]
[task 2023-09-25T18:41:03.631Z] 18:41:03     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com//document-builder.sjs?html=first_remote_iframe" line: 0}]
[task 2023-09-25T18:41:03.632Z] 18:41:03     INFO - Tab added and finished loading
[task 2023-09-25T18:41:03.632Z] 18:41:03     INFO - Buffered messages finished
[task 2023-09-25T18:41:03.634Z] 18:41:03     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js | Uncaught exception in test bound  - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1055 - Error: Failed waitFor():  
[task 2023-09-25T18:41:03.634Z] 18:41:03     INFO - Failed condition: () => targets.length === 3 
[task 2023-09-25T18:41:03.634Z] 18:41:03     INFO - Exception Message:  - timed out after 500 tries.
[task 2023-09-25T18:41:03.634Z] 18:41:03     INFO - Stack trace:
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - waitFor@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1055:11
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - async*@chrome://mochitests/content/browser/devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js:42:9
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-09-25T18:41:03.635Z] 18:41:03     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-25T18:41:03.636Z] 18:41:03     INFO - Leaving test bound 
[task 2023-09-25T18:41:03.636Z] 18:41:03     INFO - Removing tab.
[task 2023-09-25T18:41:03.636Z] 18:41:03     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2023-09-25T18:41:03.637Z] 18:41:03     INFO - Got event: 'TabClose' on [object XULElement].
[task 2023-09-25T18:41:03.637Z] 18:41:03     INFO - Tab removed and finished closing
[task 2023-09-25T18:41:03.638Z] 18:41:03     INFO - GECKO(8317) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2023-09-25T18:41:03.639Z] 18:41:03     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2023-09-25T18:41:03.640Z] 18:41:03     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2023-09-25T18:41:03.734Z] 18:41:03     INFO - GECKO(8317) | MEMORY STAT | vsize 3402MB | residentFast 491MB | heapAllocated 243MB
[task 2023-09-25T18:41:03.736Z] 18:41:03     INFO - TEST-OK | devtools/shared/commands/target/tests/browser_target_command_frames_reload_server_side_targets.js | took 5867ms
[task 2023-09-25T18:41:03.777Z] 18:41:03     INFO - checking window state
[task 2023-09-25T18:41:03.794Z] 18:41:03     INFO - TEST-START | devtools/shared/commands/target/tests/browser_target_command_getAllTargets.js

Hi Tom! Can you please take a look at this? Could this, by any chance, be something caused by the recent changes from Bug 1853244?
Thank you!

Flags: needinfo?(tmarble)

Btw, this has started permafailing with this merge.
For an accurate info about the failure rate, please take a look at the orange factor from Bug 1830413.

Assignee: nobody → csabou
Status: NEW → ASSIGNED
Assignee: csabou → nobody
Status: ASSIGNED → NEW
Keywords: leave-open

Bug 1853244 had removed the skip-if = !fission annotation - the test didn't run before in that configuration.

Keywords: regression
Regressed by: 1853244
Assignee: nobody → csabou
Keywords: leave-open

sorry, I had reviewed that and recommended the change, I knew we didn't run devtools on nofis, I forgot to look at dt-no-eft-nofis

Flags: needinfo?(tmarble)
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f15fbf1b13af Disable browser_target_command_frames_reload_server_side_targets.js on linux !fission because of permafailures. r=intermittent-reviewers,jmaher DONTBUILD
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

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

The patch landed in nightly and beta is affected.
:CosminS, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox119 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(csabou)

No need for uplift, beta doesn't run this on !fission.

Flags: needinfo?(csabou)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: