Closed Bug 1905540 Opened 3 months ago Closed 3 months ago

Almost perma Windows WebRender Shippable/DevEdition opt devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | A promise chain failed to handle a rejection: editor is undefined - stack: ... when Gecko 129 merges to beta on 2024-07-08

Categories

(DevTools :: Inspector: Rules, defect, P3)

defect

Tracking

(firefox-esr115 unaffected, firefox127 unaffected, firefox128 unaffected, firefox129+ fixed)

RESOLVED DUPLICATE of bug 1905606
Tracking Status
firefox-esr115 --- unaffected
firefox127 --- unaffected
firefox128 --- unaffected
firefox129 + fixed

People

(Reporter: SerbanS, Assigned: jdescottes)

References

Details

Central-as-beta-simulation

How to run these simulations

Failure log

[task 2024-06-30T13:46:22.702Z] 13:46:22     INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | style inspector changes are synced - 
[task 2024-06-30T13:46:22.702Z] 13:46:22     INFO - Buffered messages finished
[task 2024-06-30T13:46:22.705Z] 13:46:22     INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | A promise chain failed to handle a rejection: editor is undefined - stack: #onResourceUpdated@resource://devtools/client/styleeditor/StyleEditorUI.sys.mjs:1644:13
[task 2024-06-30T13:46:22.705Z] 13:46:22     INFO - async*_notifyWatchers@resource://devtools/shared/commands/resource/resource-command.js:1054:22
[task 2024-06-30T13:46:22.705Z] 13:46:22     INFO - throttledFunction@resource://devtools/shared/throttle.js:50:21
[task 2024-06-30T13:46:22.705Z] 13:46:22     INFO - _onResourceUpdated@resource://devtools/shared/commands/resource/resource-command.js:1002:10
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - _onResourceUpdatedArray@resource://devtools/shared/commands/resource/resource-command.js:788:18
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - _emit@resource://devtools/shared/event-emitter.js:242:32
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - emit@resource://devtools/shared/event-emitter.js:186:18
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - emit@resource://devtools/shared/event-emitter.js:330:18
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - onPacket@resource://devtools/shared/protocol/Front.js:348:13
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - onPacket@resource://devtools/client/devtools-client.js:458:13
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - send/<@resource://devtools/shared/transport/local-transport.js:67:25
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:70:21
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - send@resource://devtools/shared/transport/local-transport.js:55:21
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - send@resource://devtools/server/devtools-server-connection.js:88:20
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - _onPacketReceived@resource://devtools/shared/transport/js-window-actor-transport.js:53:18
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - emit@resource://gre/modules/EventEmitter.sys.mjs:148:20
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - receiveMessage@resource://devtools/server/connectors/js-process-actor/DevToolsProcessParent.sys.mjs:284:21
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - JSActor query*sendPacket@resource://devtools/server/connectors/js-process-actor/DevToolsProcessChild.sys.mjs:270:10
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - send@resource://devtools/shared/transport/js-window-actor-transport.js:58:25
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - send@resource://devtools/server/devtools-server-connection.js:88:20
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - _sendEvent@resource://devtools/shared/protocol/Actor.js:73:15
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - Actor/<@resource://devtools/shared/protocol/Actor.js:47:16
[task 2024-06-30T13:46:22.707Z] 13:46:22     INFO - _emit@resource://devtools/shared/event-emitter.js:242:32
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - emit@resource://devtools/shared/event-emitter.js:186:18
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - emit@resource://devtools/shared/event-emitter.js:330:18
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - emitResources@resource://devtools/server/actors/targets/base-target-actor.js:172:12
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - later@resource://devtools/shared/throttle.js:36:19
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - notify@resource://gre/modules/Timer.sys.mjs:49:17
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - Rejection date: Sun Jun 30 2024 13:46:22 GMT+0000 (Coordinated Universal Time) - false == true - 
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - Stack trace:
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - chrome://mochikit/content/browser-test.js:handleTask:1173
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-06-30T13:46:22.708Z] 13:46:22     INFO - Leaving test bound 
[task 2024-06-30T13:46:22.752Z] 13:46:22     INFO - Removing tab.
[task 2024-06-30T13:46:22.761Z] 13:46:22     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2024-06-30T13:46:22.765Z] 13:46:22     INFO - Got event: 'TabClose' on [object XULElement].
[task 2024-06-30T13:46:22.773Z] 13:46:22     INFO - Tab removed and finished closing
[task 2024-06-30T13:46:22.779Z] 13:46:22     INFO - GECKO(9352) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-06-30T13:46:22.780Z] 13:46:22     INFO - GECKO(9352) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-06-30T13:46:22.781Z] 13:46:22     INFO - GECKO(9352) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-06-30T13:46:22.784Z] 13:46:22     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSProcessActor 'DevToolsProcess'"]
[task 2024-06-30T13:46:22.787Z] 13:46:22     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSProcessActor 'DevToolsProcess'"]
[task 2024-06-30T13:46:22.787Z] 13:46:22     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSProcessActor 'DevToolsProcess'"]
[task 2024-06-30T13:46:22.787Z] 13:46:22     INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | The main process DevToolsServer has no pending connection when the test ends - 

This first appeared on this central-as-beta-simulation.

Hi Julian! Could you please take a look at this? I can't figure out what triggered this problem and maybe you have any idea about this.

Thank you!

Flags: needinfo?(jdescottes)
Summary: Perma Windows WebRender Shippable/DevEdition opt devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | A promise chain failed to handle a rejection: editor is undefined - stack: #onResourc ... when Gecko 129 merges to beta on 2024-07-08 → Almost perma Windows WebRender Shippable/DevEdition opt devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | A promise chain failed to handle a rejection: editor is undefined - stack: ... when Gecko 129 merges to beta on 2024-07-08
Depends on: 1905606

Thanks for the ping! I'm not sure what exactly causes this to fail more frequently on beta, but we have seen cases where devtools resource throttling was leading to more intermittents on Windows + beta (Bug 1902326). So I'm guessing there is something messing with timings on beta+ windows but not on Nightly?

In Bug 1902326 I initially thought this could be because of a network related preference, but the fact that this also affects a regular StyleEditor tests probably means it's slightly different.

In any case, this specific intermittent also occurs on Nightly, but not as frequently. I think I should have a fix for it (and for another one, affecting macos) on Bug 1905606

Flags: needinfo?(jdescottes)
See Also: → 1902326

The bug is marked as tracked for firefox129 (nightly). We have limited time to fix this, the soft freeze is in 2 days. However, the bug still isn't assigned.

:Honza, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(odvarko)

I can take the bug, but hopefully the patches from Bug 1905606 should fix this.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Flags: needinfo?(odvarko)

Haven't heard about new failures in latest simulations, should be fixed.

Severity: -- → S3
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Duplicate of bug: 1905606
Priority: -- → P3
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.