Open Bug 1937229 Opened 1 year ago Updated 9 months ago

browser_dbg-backgroundtask-debugging.js is a perma fail on macosx 14.70

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

References

(Blocks 1 open bug)

Details

Mozilla runs macosx 10.15 in CI. We are in the process of upgrading to 14.70. Most tests that pass on 10.15 pass on 14.70, a few exceptions such as browser_dbg-backgroundtask-debugging.js, as seen on try (look at dt2).

Looking at an opt log, we see this in the log:

[task 2024-12-13T20:44:23.076Z] 20:44:23     INFO - TEST-START | devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js
[task 2024-12-13T20:44:23.092Z] 20:44:23     INFO - GECKO(3434) | console.info: "launching background task" ({command:"/opt/worker/tasks/task_173411843997444/build/application/Firefox Nightly.app/Contents/MacOS/firefox", args:["--backgroundtask", "jsdebugger", "--jsdebugger", "--wait-for-jsdebugger"], extraEnv:{MOZ_BACKGROUNDTASKS_DEFAULT_PROFILE_PATH:"/var/folders/y9/jxv6__6x7cg41z0_600tb7hm0000jb/T/tmp6xqf7i51.mozrunner", XPCSHELL_TESTING_MODULES_URI:"file:////opt/worker/tasks/task_173411843997444/build/tests/modules/"}})
[task 2024-12-13T20:44:23.170Z] 20:44:23     INFO - GECKO(3434) | 3467> *** You are running in background task mode. ***
[task 2024-12-13T20:44:23.170Z] 20:44:23     INFO - GECKO(3434) | 3467> *** You are running in headless mode.
[task 2024-12-13T20:44:23.330Z] 20:44:23     INFO - GECKO(3434) | 3467> DevTools Server for Browser Toolbox listening on port: 49312
[task 2024-12-13T20:44:23.333Z] 20:44:23     INFO - GECKO(3434) | 3467> Starting Browser Toolbox /opt/worker/tasks/task_173411843997444/build/application/Firefox Nightly.app/Contents/MacOS/firefox -foreground -profile /var/folders/y9/jxv6__6x7cg41z0_600tb7hm0000jb/T/MozillaBackgroundTask-A472F630F8AFBE09-chrome_debugger_profile-jsdebugger -chrome chrome://devtools/content/framework/browser-toolbox/window.html
[task 2024-12-13T20:44:29.778Z] 20:44:29     INFO - GECKO(3434) | 3467> console.error: BackgroundTasksManager:
[task 2024-12-13T20:44:29.781Z] 20:44:29     INFO - GECKO(3434) | 3467>   Substitution set: resource://testing-common aliases file:////opt/worker/tasks/task_173411843997444/build/tests/modules/
[task 2024-12-13T20:44:29.945Z] 20:44:29     INFO - GECKO(3434) | 3467> console.error: BackgroundTasksManager:
[task 2024-12-13T20:44:29.946Z] 20:44:29     INFO - GECKO(3434) | 3467>   Substitution set: resource://testing-common aliases file:////opt/worker/tasks/task_173411843997444/build/tests/modules/
[task 2024-12-13T20:44:30.133Z] 20:44:30     INFO - GECKO(3434) | 3467> JavaScript warning: resource://devtools/server/actors/watcher.js, line 762: debuggee 'resource://devtools/server/actors/watcher/ParentProcessWatcherRegistry.sys.mjs:164' would run
[task 2024-12-13T20:44:30.875Z] 20:44:30     INFO - GECKO(3434) | 3467> 3469> console.info: "Toggling node SystemGlobal "
[task 2024-12-13T20:44:31.238Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "Toggling node Block "
[task 2024-12-13T20:44:31.271Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "Waiting for the debugger to pause "
[task 2024-12-13T20:44:31.271Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "Waiting for state change: paused "
[task 2024-12-13T20:44:31.272Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "--> The state was immediately correct (should rather do an immediate assertion?) "
[task 2024-12-13T20:44:31.272Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "Waiting for state change: fetched frames "
[task 2024-12-13T20:44:31.273Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "--> The state was immediately correct (should rather do an immediate assertion?) "
[task 2024-12-13T20:44:31.273Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "Waiting for state change: selected source "
[task 2024-12-13T20:44:31.274Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> console.info: "--> The state was immediately correct (should rather do an immediate assertion?) "
[task 2024-12-13T20:44:31.679Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> JavaScript error: resource://gre/modules/AsyncShutdown.sys.mjs, line 718: Error: Phase "quit-application-granted" is finished, it is too late to register completion condition "UserIdleBlocker"
[task 2024-12-13T20:44:31.682Z] 20:44:31     INFO - GECKO(3434) | 3467> 3469> JavaScript error: resource://devtools/client/shared/theme.js, line 82: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIObserverService.removeObserver]
[task 2024-12-13T20:44:31.759Z] 20:44:31     INFO - GECKO(3434) | 3467> console.error: "runBackgroundTask: will exit with exitCode: 0"
[task 2024-12-13T20:44:31.761Z] 20:44:31     INFO - GECKO(3434) | 3467> JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'
[task 2024-12-13T20:44:31.813Z] 20:44:31     INFO - GECKO(3434) | MEMORY STAT | vsize 45928MB | residentFast 437MB | heapAllocated 164MB
[task 2024-12-13T20:44:31.813Z] 20:44:31     INFO - TEST-OK | devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js | took 8736ms
[task 2024-12-13T20:44:31.826Z] 20:44:31     INFO - checking window state
[task 2024-12-13T20:44:31.826Z] 20:44:31     INFO - GECKO(3434) | must wait for focus
[task 2024-12-13T20:50:41.863Z] 20:50:41     INFO - TEST-UNEXPECTED-TIMEOUT | devtools/client/debugger/test/mochitest/browser_dbg-backgroundtask-debugging.js (finished) | application timed out after 370 seconds with no output
[task 2024-12-13T20:50:41.863Z] 20:50:41     INFO - TEST-INFO 
Blocks: 1922355

The severity field is not set for this bug.
:bomsy, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(hmanilla)
Severity: -- → S3
Flags: needinfo?(hmanilla)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.