Closed Bug 1755909 Opened 3 years ago Closed 3 years ago

Perma devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js | Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js when Gecko 99 merges to Beta on 2022-03-08

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox-esr91 unaffected, firefox97 unaffected, firefox98 unaffected, firefox99+ verified)

VERIFIED FIXED
99 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox97 --- unaffected
firefox98 --- unaffected
firefox99 + verified

People

(Reporter: ctuns, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central-as-beta simulation:
How to run these simulations:
Failure log

[task 2022-02-17T12:47:00.944Z] 12:47:00     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js | browser console opened - 
[task 2022-02-17T12:47:00.944Z] 12:47:00     INFO - checking that the message "main file" exists
[task 2022-02-17T12:47:00.944Z] 12:47:00     INFO - Buffered messages finished
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js | Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1018 - Error: Failed waitFor(): 
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - Failed condition: () => findMessage(hud, message)
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - 
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - Stack trace:
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - waitFor@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1018:11
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - async*testMessages@chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js:46:11
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js:35:9
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - Async*handleTask@chrome://mochikit/content/browser-test.js:989:26
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1061:18
[task 2022-02-17T12:47:00.946Z] 12:47:00     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1189:14
[task 2022-02-17T12:47:00.947Z] 12:47:00     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:978:14
[task 2022-02-17T12:47:00.947Z] 12:47:00     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1041:13
[task 2022-02-17T12:47:00.947Z] 12:47:00     INFO - Leaving test bound 
[task 2022-02-17T12:47:00.948Z] 12:47:00     INFO - Clear the browser console output
[task 2022-02-17T12:47:00.948Z] 12:47:00     INFO - Browser console cleared
[task 2022-02-17T12:47:00.948Z] 12:47:00     INFO - Wait for all Browser Console targets to be attached
[task 2022-02-17T12:47:00.949Z] 12:47:00     INFO - Waiting 1 seconds.
[task 2022-02-17T12:47:00.950Z] 12:47:00     INFO - Close the Browser Console
[task 2022-02-17T12:47:00.950Z] 12:47:00     INFO - Browser Console closed
[task 2022-02-17T12:47:00.951Z] 12:47:00     INFO - Removing tab.
[task 2022-02-17T12:47:00.951Z] 12:47:00     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2022-02-17T12:47:00.952Z] 12:47:00     INFO - Got event: 'TabClose' on [object XULElement].
[task 2022-02-17T12:47:00.952Z] 12:47:00     INFO - Tab removed and finished closing
[task 2022-02-17T12:47:00.952Z] 12:47:00     INFO - GECKO(2892) | console.warn: "IGNORED REDUX ACTION:" "AUTOCOMPLETE_CLEAR"
[task 2022-02-17T12:47:00.953Z] 12:47:00     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2022-02-17T12:47:00.957Z] 12:47:00     INFO - GECKO(2892) | MEMORY STAT | vsize 19406336MB | vsizeMaxContiguous 65007836MB | residentFast 1388MB
[task 2022-02-17T12:47:00.959Z] 12:47:00     INFO - TEST-OK | devtools/client/webconsole/test/browser/browser_console_webconsole_iframe_messages.js | took 14374ms
[task 2022-02-17T12:47:00.987Z] 12:47:00     INFO - checking window state
[task 2022-02-17T12:47:01.024Z] 12:47:01     INFO - TEST-START | devtools/client/webconsole/test/browser/browser_console_webconsole_private_browsing.js

Hello Nicolas, can you please take a look at this? I think this is caused by Bug 1460566. Thanks!

Flags: needinfo?(nchevobbe)

Cristian, could you check if the attached patch resolves the issue?

Flags: needinfo?(nchevobbe) → needinfo?(ctuns)

(In reply to Nicolas Chevobbe [:nchevobbe] from comment #2)

Cristian, could you check if the attached patch resolves the issue?

If it's not urgent, this will be verified in tomorrow's early beta simulation.

Flags: needinfo?(ctuns)
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3
Attachment #9264386 - Attachment description: WIP: Bug 1755909 - [devtools] Fix beta simulation perma fail on browser_console_webconsole_iframe_messages.js. → Bug 1755909 - [devtools] Fix beta simulation perma fail on browser_console_webconsole_iframe_messages.js. r=Honza.

Turning the devtools.browsertoolbox.fission pref off, I was able to see the test failing, so forcing it to true should fix the issue on beta

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P3 → P2
Has Regression Range: --- → yes

Nicolas, patch works in today's beta-sim.

Flags: needinfo?(nchevobbe)

(In reply to Cosmin Sabou [:CosminS] from comment #6)

Nicolas, patch works in today's beta-sim.

Great, let me land that quickly

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/37ea779f1f1c [devtools] Fix beta simulation perma fail on browser_console_webconsole_iframe_messages.js. r=Honza.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Fix verified in today's central as early beta simulation.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: