Closed Bug 1874227 Opened 10 months ago Closed 6 months ago

Intermittent devtools/client/responsive/test/browser/browser_many_toggles.js | single tracking bug

Categories

(DevTools :: Responsive Design Mode, defect, P5)

defect

Tracking

(firefox-esr115 unaffected, firefox121 unaffected, firefox122 unaffected, firefox123 wontfix, firefox124 wontfix, firefox126 wontfix, firefox127 wontfix, firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox121 --- unaffected
firefox122 --- unaffected
firefox123 --- wontfix
firefox124 --- wontfix
firefox126 --- wontfix
firefox127 --- wontfix
firefox128 --- fixed

People

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

References

(Regression)

Details

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

Attachments

(1 file, 1 obsolete file)

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


[task 2024-01-11T16:28:31.226Z] 16:28:31     INFO - GECKO(3299) | [Parent 3299: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7f1e8d304000) [pid = 3299] [serial = 73] [outer = 0] [url = about:blank]
[task 2024-01-11T16:28:31.782Z] 16:28:31     INFO - Wait for all opened RDM to be closed before closing the tab
[task 2024-01-11T16:28:31.787Z] 16:28:31     INFO - All RDM are closed
[task 2024-01-11T16:28:31.789Z] 16:28:31     INFO - Removing tab.
[task 2024-01-11T16:28:31.792Z] 16:28:31     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2024-01-11T16:28:31.805Z] 16:28:31     INFO - Got event: 'TabClose' on [object XULElement].
[task 2024-01-11T16:28:31.837Z] 16:28:31     INFO - Tab removed and finished closing
[task 2024-01-11T16:28:31.855Z] 16:28:31     INFO - GECKO(3299) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2024-01-11T16:28:31.865Z] 16:28:31     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2024-01-11T16:28:31.884Z] 16:28:31     INFO - TEST-INFO | started process screentopng
[task 2024-01-11T16:28:32.260Z] 16:28:32     INFO - TEST-INFO | screentopng: exit 0
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive/test/browser/browser_many_toggles.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn0.watcher2, type watchResources failed
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - 
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - Request stack:
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - request@resource://devtools/shared/protocol/Front.js:299:14
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - _startListening@resource://devtools/shared/commands/resource/resource-command.js:1003:31
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - async*watchResources@resource://devtools/shared/commands/resource/resource-command.js:217:26
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - startListening@resource://devtools/shared/commands/target/target-command.js:503:43
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - async*connectToServer@resource://devtools/client/responsive/ui.js:382:39
[task 2024-01-11T16:28:32.271Z] 16:28:32     INFO - async*init@resource://devtools/client/responsive/ui.js:151:16
[task 2024-01-11T16:28:32.272Z] 16:28:32     INFO - ResponsiveUI@resource://devtools/client/responsive/ui.js:101:24
[task 2024-01-11T16:28:32.272Z] 16:28:32     INFO - openIfNeeded@resource://devtools/client/responsive/manager.js:129:18
[task 2024-01-11T16:28:32.273Z] 16:28:32     INFO - openRDM@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1984:28
[task 2024-01-11T16:28:32.273Z] 16:28:32     INFO - @chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:24:14
[task 2024-01-11T16:28:32.273Z] 16:28:32     INFO - async*addRDMTaskWithPreAndPost/<@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/head.js:169:25
[task 2024-01-11T16:28:32.273Z] 16:28:32     INFO - handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-11T16:28:32.273Z] 16:28:32     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-11T16:28:32.274Z] 16:28:32     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-11T16:28:32.274Z] 16:28:32     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-11T16:28:32.274Z] 16:28:32     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO -  - stack: baseFrontClassDestroy@resource://devtools/shared/protocol/Front.js:105:23
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - destroy@resource://devtools/shared/protocol/Front.js:73:10
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - destroy@resource://devtools/shared/protocol/Pool.js:211:17
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - baseFrontClassDestroy@resource://devtools/shared/protocol/Front.js:109:13
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - destroy@resource://devtools/shared/protocol/Front.js:73:10
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - destroy@resource://devtools/client/fronts/descriptors/descriptor-mixin.js:55:19
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - destroy@resource://devtools/client/fronts/descriptors/tab.js:99:11
[task 2024-01-11T16:28:32.275Z] 16:28:32     INFO - _emit@resource://devtools/shared/event-emitter.js:242:32
[task 2024-01-11T16:28:32.276Z] 16:28:32     INFO - emit@resource://devtools/shared/event-emitter.js:186:18
[task 2024-01-11T16:28:32.276Z] 16:28:32     INFO - emit@resource://devtools/shared/event-emitter.js:330:18
[task 2024-01-11T16:28:32.276Z] 16:28:32     INFO - onPacket@resource://devtools/shared/protocol/Front.js:348:13
[task 2024-01-11T16:28:32.276Z] 16:28:32     INFO - onPacket@resource://devtools/client/devtools-client.js:471:13
[task 2024-01-11T16:28:32.276Z] 16:28:32     INFO - send/<@resource://devtools/shared/transport/local-transport.js:67:25
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:64:21
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - send@resource://devtools/shared/transport/local-transport.js:55:21
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - send@resource://devtools/server/devtools-server-connection.js:96:20
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - _sendEvent@resource://devtools/shared/protocol/Actor.js:73:15
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - Actor/<@resource://devtools/shared/protocol/Actor.js:47:16
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - _emit@resource://devtools/shared/event-emitter.js:242:32
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - emit@resource://devtools/shared/event-emitter.js:186:18
[task 2024-01-11T16:28:32.277Z] 16:28:32     INFO - emit@resource://devtools/shared/event-emitter.js:330:18
[task 2024-01-11T16:28:32.278Z] 16:28:32     INFO - destroy@resource://devtools/server/actors/descriptors/tab.js:246:10
[task 2024-01-11T16:28:32.278Z] 16:28:32     INFO - BrowserTabList.prototype._handleActorClose@resource://devtools/server/actors/webbrowser.js:415:9
[task 2024-01-11T16:28:32.278Z] 16:28:32     INFO - BrowserTabList.prototype.handleEvent<@resource://devtools/server/actors/webbrowser.js:548:14
[task 2024-01-11T16:28:32.279Z] 16:28:32     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2024-01-11T16:28:32.279Z] 16:28:32     INFO - _beginRemoveTab@chrome://browser/content/tabbrowser.js:4206:12
[task 2024-01-11T16:28:32.279Z] 16:28:32     INFO - removeTab@chrome://browser/content/tabbrowser.js:3972:15
[task 2024-01-11T16:28:32.279Z] 16:28:32     INFO - removeTab@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:508:12
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - @chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:48:11
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - async*addRDMTaskWithPreAndPost/<@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/head.js:169:25
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-11T16:28:32.280Z] 16:28:32     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-11T16:28:32.281Z] 16:28:32     INFO - Rejection date: Thu Jan 11 2024 16:28:31 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":586,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":552,"lineNumber":1166,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":552,"lineNumber":1210,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":552,"lineNumber":1352,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":552,"lineNumber":1127,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":577,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1166:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1352:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1127:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-01-11T16:28:32.281Z] 16:28:32     INFO - Stack trace:
[task 2024-01-11T16:28:32.281Z] 16:28:32     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-01-11T16:28:32.281Z] 16:28:32     INFO - chrome://mochikit/content/browser-test.js:handleTask:1166
[task 2024-01-11T16:28:32.282Z] 16:28:32     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2024-01-11T16:28:32.282Z] 16:28:32     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2024-01-11T16:28:32.282Z] 16:28:32     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1127
[task 2024-01-11T16:28:32.282Z] 16:28:32     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-01-11T16:28:32.282Z] 16:28:32     INFO - Leaving test bound 
[task 2024-01-11T16:28:32.283Z] 16:28:32     INFO - GECKO(3299) | JavaScript error: resource://devtools/shared/protocol/Front.js, line 105: Error: Connection closed, pending request to server0.conn0.watcher2, type watchResources failed
[task 2024-01-11T16:28:32.284Z] 16:28:32     INFO - GECKO(3299) | Request stack:
[task 2024-01-11T16:28:32.285Z] 16:28:32     INFO - GECKO(3299) | request@resource://devtools/shared/protocol/Front.js:299:14
[task 2024-01-11T16:28:32.285Z] 16:28:32     INFO - GECKO(3299) | generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2024-01-11T16:28:32.286Z] 16:28:32     INFO - GECKO(3299) | _startListening@resource://devtools/shared/commands/resource/resource-command.js:1003:31
[task 2024-01-11T16:28:32.287Z] 16:28:32     INFO - GECKO(3299) | async*watchResources@resource://devtools/shared/commands/resource/resource-command.js:217:26
[task 2024-01-11T16:28:32.287Z] 16:28:32     INFO - GECKO(3299) | startListening@resource://devtools/shared/commands/target/target-command.js:503:43
[task 2024-01-11T16:28:32.288Z] 16:28:32     INFO - GECKO(3299) | async*connectToServer@resource://devtools/client/responsive/ui.js:382:39
[task 2024-01-11T16:28:32.289Z] 16:28:32     INFO - GECKO(3299) | async*init@resource://devtools/client/responsive/ui.js:151:16
[task 2024-01-11T16:28:32.289Z] 16:28:32     INFO - GECKO(3299) | ResponsiveUI@resource://devtools/client/responsive/ui.js:101:24
[task 2024-01-11T16:28:32.290Z] 16:28:32     INFO - GECKO(3299) | openIfNeeded@resource://devtools/client/responsive/manager.js:129:18
[task 2024-01-11T16:28:32.291Z] 16:28:32     INFO - GECKO(3299) | openRDM@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1984:28
[task 2024-01-11T16:28:32.291Z] 16:28:32     INFO - GECKO(3299) | @chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:24:14
[task 2024-01-11T16:28:32.292Z] 16:28:32     INFO - GECKO(3299) | async*addRDMTaskWithPreAndPost/<@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/head.js:169:25
[task 2024-01-11T16:28:32.292Z] 16:28:32     INFO - GECKO(3299) | handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-11T16:28:32.293Z] 16:28:32     INFO - GECKO(3299) | _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-11T16:28:32.293Z] 16:28:32     INFO - GECKO(3299) | Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-11T16:28:32.294Z] 16:28:32     INFO - GECKO(3299) | nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-11T16:28:32.294Z] 16:28:32     INFO - GECKO(3299) | SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - Console message: [JavaScript Error: "Error: Connection closed, pending request to server0.conn0.watcher2, type watchResources failed
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - 
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - Request stack:
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - request@resource://devtools/shared/protocol/Front.js:299:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - _startListening@resource://devtools/shared/commands/resource/resource-command.js:1003:31
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*watchResources@resource://devtools/shared/commands/resource/resource-command.js:217:26
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - startListening@resource://devtools/shared/commands/target/target-command.js:503:43
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*connectToServer@resource://devtools/client/responsive/ui.js:382:39
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*init@resource://devtools/client/responsive/ui.js:151:16
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - ResponsiveUI@resource://devtools/client/responsive/ui.js:101:24
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - openIfNeeded@resource://devtools/client/responsive/manager.js:129:18
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - openRDM@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1984:28
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - @chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:24:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*addRDMTaskWithPreAndPost/<@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/head.js:169:25
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - " {file: "resource://devtools/shared/protocol/Front.js" line: 105}]
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - closeRDM@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:2019:1
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:31:15
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - async*addRDMTaskWithPreAndPost/<@chrome://mochitests/content/browser/devtools/client/responsive/test/browser/head.js:169:25
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-11T16:28:32.297Z] 16:28:32     INFO - 
[task 2024-01-11T16:28:32.298Z] 16:28:32     INFO - TEST-PASS | devtools/client/responsive/test/browser/browser_many_toggles.js | The main process DevToolsServer has no pending connection when the test ends - 

:ochameau, since you are the author of the regressor, bug 1867483, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(poirot.alex)

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

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

The intermittent doesn't seem to reproduce very much.

It comes from here:
https://searchfox.org/mozilla-central/rev/e65d93ace2a618b58bf1497c5be8918404f6dbbe/devtools/client/responsive/test/browser/browser_many_toggles.js#24

      openRDM(tab).catch(() => {});

With the following stack trace:

[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive/test/browser/browser_many_toggles.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn0.watcher2, type watchResources failed
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - 
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - Request stack:
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - request@resource://devtools/shared/protocol/Front.js:299:14
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - _startListening@resource://devtools/shared/commands/resource/resource-command.js:1012:31
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - async*watchResources@resource://devtools/shared/commands/resource/resource-command.js:217:26
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - startListening@resource://devtools/shared/commands/target/target-command.js:503:43
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - async*connectToServer@resource://devtools/client/responsive/ui.js:382:39
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - async*init@resource://devtools/client/responsive/ui.js:151:16
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - ResponsiveUI@resource://devtools/client/responsive/ui.js:101:24
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - openIfNeeded@resource://devtools/client/responsive/manager.js:129:18
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - openRDM@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:2047:28
[task 2024-05-02T16:31:05.980Z] 16:31:05     INFO - @chrome://mochitests/content/browser/devtools/client/responsive/test/browser/browser_many_toggles.js:24:14

It is surprising that the test harness fails as the test script is trying to ignore the pending exception...
It is most likely related to ResponsiveUI constructor starting a promise in the backgound which isn't awaited by any code:
https://searchfox.org/mozilla-central/rev/e65d93ace2a618b58bf1497c5be8918404f6dbbe/devtools/client/responsive/ui.js#101

Flags: needinfo?(poirot.alex)

ResponsiveUI was instantiated a promise which wasn't awaited by any code,
and especially the test codepath which explicitely ignore rejections.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Duplicate of this bug: 1744565
Duplicate of this bug: 1865983

The DOM Timer source is now correctly resurrected.
And the unique call to forceGC was a source of intermittent.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29e358af25dc [devtools] Fix browser_many_toggles.js intermittent. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/09e3c09a372f [devtools] Fix browser_resources_sources.js permafail. r=devtools-reviewers,nchevobbe
No longer duplicate of this bug: 1865983

Comment on attachment 9402786 [details]
Bug 1874227 - [devtools] Fix browser_resources_sources.js permafail.

I mislanded this revision, it should have been attached to bug 1767772.

Comment on attachment 9402786 [details]
Bug 1874227 - [devtools] Fix browser_resources_sources.js permafail.

Revision D210911 was moved to bug 1767772. Setting attachment 9402786 [details] to obsolete.

Attachment #9402786 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: