Closed Bug 1917822 Opened 1 year ago Closed 1 year ago

Add mozilla::dom::TimeoutManager to WorkerGlobalScope

Categories

(Core :: DOM: Workers, task)

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: aiunusov, Assigned: aiunusov)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → aiunusov
Attachment #9423846 - Attachment description: WIP: Bug 1917822 - Add mozilla::dom::TimeoutManager to WorkerGlobalScope, r=smaug → Bug 1917822 - Add mozilla::dom::TimeoutManager to WorkerGlobalScope, r=smaug
Status: NEW → ASSIGNED
Pushed by aiunusov@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44ad5970f84c Add mozilla::dom::TimeoutManager to WorkerGlobalScope, r=smaug

Backed out for causing mass failures.

[task 2024-10-01T16:50:08.278Z] 16:50:08     INFO - TEST-START | toolkit/mozapps/extensions/test/browser/browser_dragdrop.js
[task 2024-10-01T16:50:08.278Z] 16:50:08     INFO - TEST-SKIP | toolkit/mozapps/extensions/test/browser/browser_dragdrop.js | took 0ms
[task 2024-10-01T16:50:08.279Z] 16:50:08     INFO - Running manifest: browser/base/content/test/fullscreen/browser.toml
[task 2024-10-01T16:50:08.443Z] 16:50:08     INFO - PID 815 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2024-10-01T16:50:08.443Z] 16:50:08     INFO - 
[task 2024-10-01T16:50:08.483Z] 16:50:08     INFO - Increasing default timeout to 90 seconds (asan or debug)
[task 2024-10-01T16:50:08.487Z] 16:50:08     INFO - MochitestServer : launching ['/opt/worker/tasks/task_172780129267702/build/tests/bin/xpcshell', '-g', '/opt/worker/tasks/task_172780129267702/build/application/Firefox NightlyDebug.app/Contents/Resources', '-e', "const _PROFILE_PATH = '/var/folders/9y/g98kq9jn4gg8dkkd4tldh4dh000014/T/tmpwdo8rhll.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false; const _HTTPD_PATH = '/opt/worker/tasks/task_172780129267702/build/tests/bin/components';", '-f', '/opt/worker/tasks/task_172780129267702/build/tests/mochitest/server.js']
[task 2024-10-01T16:50:08.487Z] 16:50:08     INFO - runtests.py | Server pid: 817
[task 2024-10-01T16:50:08.488Z] 16:50:08     INFO - runtests.py | Websocket server pid: 818
[task 2024-10-01T16:50:08.492Z] 16:50:08     INFO - runtests.py | SSL tunnel pid: 819
[task 2024-10-01T16:50:08.662Z] 16:50:08     INFO -  Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2024-10-01T16:50:08.663Z] 16:50:08     INFO -  [Parent 817, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:467
[task 2024-10-01T16:50:08.693Z] 16:50:08     INFO - use http3 server: 0
[task 2024-10-01T16:50:08.695Z] 16:50:08     INFO - runtests.py | Running with scheme: http
[task 2024-10-01T16:50:08.695Z] 16:50:08     INFO - runtests.py | Running with e10s: True
[task 2024-10-01T16:50:08.695Z] 16:50:08     INFO - runtests.py | Running with fission: True
[task 2024-10-01T16:50:08.696Z] 16:50:08     INFO - runtests.py | Running with cross-origin iframes: False
[task 2024-10-01T16:50:08.696Z] 16:50:08     INFO - runtests.py | Running with socketprocess_e10s: True
[task 2024-10-01T16:50:08.696Z] 16:50:08     INFO - runtests.py | Running tests: start.
[task 2024-10-01T16:50:08.696Z] 16:50:08     INFO - 
[task 2024-10-01T16:50:08.703Z] 16:50:08     INFO - Application command: /opt/worker/tasks/task_172780129267702/build/application/Firefox NightlyDebug.app/Contents/MacOS/firefox -marionette -foreground -profile /var/folders/9y/g98kq9jn4gg8dkkd4tldh4dh000014/T/tmpwdo8rhll.mozrunner
[task 2024-10-01T16:50:08.707Z] 16:50:08     INFO - runtests.py | Application pid: 820
[task 2024-10-01T16:50:08.708Z] 16:50:08     INFO - TEST-INFO | started process GECKO(820)
[task 2024-10-01T16:50:08.756Z] 16:50:08     INFO - GECKO(820) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/9y/g98kq9jn4gg8dkkd4tldh4dh000014/T/tmpwdo8rhll.mozrunner/runtests_leaks.log
[task 2024-10-01T16:50:09.618Z] 16:50:09     INFO - GECKO(820) | [WARN  rkv::backend::impl_safe::environment] `load_ratio()` is irrelevant for this storage backend.
[task 2024-10-01T16:50:09.812Z] 16:50:09     INFO - GECKO(820) | GL_VENDOR: Intel Inc.
[task 2024-10-01T16:50:09.812Z] 16:50:09     INFO - GECKO(820) | mVendor: Intel
[task 2024-10-01T16:50:09.813Z] 16:50:09     INFO - GECKO(820) | GL_RENDERER: Intel(R) UHD Graphics 630
[task 2024-10-01T16:50:09.813Z] 16:50:09     INFO - GECKO(820) | mRenderer: Unknown
[task 2024-10-01T16:50:09.813Z] 16:50:09     INFO - GECKO(820) | mIsMesa: 0
[task 2024-10-01T16:50:09.831Z] 16:50:09     INFO - GECKO(820) | 1727801409831	Marionette	INFO	Marionette enabled
[task 2024-10-01T16:50:09.842Z] 16:50:09     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 139a05800 == 1 [pid = 820] [id = 0]
[task 2024-10-01T16:50:09.843Z] 16:50:09     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (12aaf6400) [pid = 820] [serial = 1] [outer = 0]
[task 2024-10-01T16:50:09.849Z] 16:50:09     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (139a0f400) [pid = 820] [serial = 2] [outer = 12aaf6400]
[task 2024-10-01T16:50:09.929Z] 16:50:09     INFO - GECKO(820) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/9y/g98kq9jn4gg8dkkd4tldh4dh000014/T/tmpwdo8rhll.mozrunner/runtests_leaks_socket_pid824.log
[task 2024-10-01T16:50:11.648Z] 16:50:11     INFO - GECKO(820) | 1727801411647	Marionette	TRACE	Received observer notification final-ui-startup
[task 2024-10-01T16:50:11.785Z] 16:50:11     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 139a0b400 == 2 [pid = 820] [id = 1]
[task 2024-10-01T16:50:11.786Z] 16:50:11     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (12aaf5200) [pid = 820] [serial = 3] [outer = 0]
[task 2024-10-01T16:50:11.786Z] 16:50:11     INFO - GECKO(820) | [Parent 820: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (139a0bc00) [pid = 820] [serial = 4] [outer = 12aaf5200]
[task 2024-10-01T16:50:11.806Z] 16:50:11     INFO - GECKO(820) | 1727801411805	Marionette	INFO	Listening on port 2828
[task 2024-10-01T16:50:11.810Z] 16:50:11     INFO - GECKO(820) | 1727801411809	Marionette	DEBUG	Marionette is listening
[task 2024-10-01T16:50:11.936Z] 16:50:11     INFO - GECKO(820) | 1727801411935	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:49286
[task 2024-10-01T16:50:11.988Z] 16:50:11     INFO - GECKO(820) | 1727801411987	Marionette	DEBUG	Closed connection 0
[task 2024-10-01T16:50:11.988Z] 16:50:11     INFO - GECKO(820) | 1727801411987	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:49287
[task 2024-10-01T16:50:12.002Z] 16:50:12     INFO - GECKO(820) | [820] Assertion failure: IsAtomic<int32_t>::value || NS_IsMainThread() (Non-atomic static pref 'dom.timeout.foreground_throttling_max_budget' being accessed on background thread by getter), at /builds/worker/workspace/obj-build/dist/include/mozilla/StaticPrefList_dom.h:2121
[task 2024-10-01T16:50:12.005Z] 16:50:12     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2024-10-01T16:50:12.373Z] 16:50:12     INFO - runtests.py | Waiting for browser...
[task 2024-10-01T16:50:36.891Z] 16:50:36     INFO - GECKO(820) | #01: mozilla::dom::TimeoutManager::TimeoutManager(nsIGlobalObject&, unsigned int) [dom/base/TimeoutManager.cpp:426]
[task 2024-10-01T16:50:36.891Z] 16:50:36     INFO - GECKO(820) | #02: mozilla::dom::WorkerGlobalScopeBase::WorkerGlobalScopeBase(mozilla::dom::WorkerPrivate*, mozilla::UniquePtr<mozilla::dom::ClientSource, mozilla::DefaultDelete<mozilla::dom::ClientSource> >) [dom/workers/WorkerScope.cpp:248]
[task 2024-10-01T16:50:36.892Z] 16:50:36     INFO - GECKO(820) | #03: mozilla::dom::DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope(mozilla::dom::WorkerPrivate*, mozilla::UniquePtr<mozilla::dom::ClientSource, mozilla::DefaultDelete<mozilla::dom::ClientSource> >, nsTString<char16_t> const&) [dom/workers/WorkerScope.cpp:920]
[task 2024-10-01T16:50:36.893Z] 16:50:36     INFO - GECKO(820) | #04: mozilla::dom::WorkerPrivate::GetOrCreateGlobalScope(JSContext*) [dom/workers/WorkerPrivate.cpp:6091]
[task 2024-10-01T16:50:36.893Z] 16:50:36     INFO - GECKO(820) | #05: mozilla::dom::(anonymous namespace)::CompileScriptRunnable::WorkerRun(JSContext*, mozilla::dom::WorkerPrivate*) [dom/workers/WorkerPrivate.cpp:379]
[task 2024-10-01T16:50:36.893Z] 16:50:36     INFO - GECKO(820) | #06: mozilla::dom::WorkerThreadRunnable::Run() [dom/workers/WorkerRunnable.cpp:443]
[task 2024-10-01T16:50:36.894Z] 16:50:36     INFO - GECKO(820) | #07: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1150]
[task 2024-10-01T16:50:36.894Z] 16:50:36     INFO - GECKO(820) | #08: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:480]
[task 2024-10-01T16:50:36.895Z] 16:50:36     INFO - GECKO(820) | #09: mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [dom/workers/WorkerPrivate.cpp:3590]
[task 2024-10-01T16:50:36.895Z] 16:50:36     INFO - GECKO(820) | #10: mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() [dom/workers/RuntimeService.cpp:2155]
[task 2024-10-01T16:50:36.895Z] 16:50:36     INFO - GECKO(820) | #11: nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:1150]
[task 2024-10-01T16:50:36.896Z] 16:50:36     INFO - GECKO(820) | #12: NS_ProcessNextEvent(nsIThread*, bool) [xpcom/threads/nsThreadUtils.cpp:480]
[task 2024-10-01T16:50:36.896Z] 16:50:36     INFO - GECKO(820) | #13: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) [ipc/glue/MessagePump.cpp:300]
[task 2024-10-01T16:50:36.897Z] 16:50:36     INFO - GECKO(820) | #14: MessageLoop::Run() [ipc/chromium/src/base/message_loop.cc:346]
[task 2024-10-01T16:50:36.897Z] 16:50:36     INFO - GECKO(820) | #15: nsThread::ThreadFunc(void*) [xpcom/threads/nsThread.cpp:368]
[task 2024-10-01T16:50:37.122Z] 16:50:37     INFO - GECKO(820) | #16: _pt_root [nsprpub/pr/src/pthreads/ptthread.c:204]
[task 2024-10-01T16:50:37.124Z] 16:50:37     INFO - GECKO(820) | #17: _pthread_start [/usr/lib/system/libsystem_pthread.dylib + 0x6109]
[task 2024-10-01T16:50:37.124Z] 16:50:37     INFO - GECKO(820) | [Socket 824, IPC I/O Child] WARNING: [89B1DD4625187801.498FD6BFBD4CBDED]: Dropping message '<null>'; no connection to unknown peer 1.1: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:364
[task 2024-10-01T16:50:37.125Z] 16:50:37     INFO - GECKO(820) | [Socket 824, Main Thread] WARNING: Shutting down Socket process early due to a crash!: file /builds/worker/checkouts/gecko/netwerk/ipc/SocketProcessChild.cpp:234
[task 2024-10-01T16:50:37.125Z] 16:50:37     INFO - TEST-INFO | Main app process: exit 1
Flags: needinfo?(aiunusov)
Flags: needinfo?(aiunusov)
Pushed by aiunusov@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/46e9627c6413 Add mozilla::dom::TimeoutManager to WorkerGlobalScope, r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
Regressions: 1923983
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: