Closed Bug 1892251 Opened 10 months ago Closed 10 months ago

Perma toolkit/components/ml/tests/browser/browser_ml_engine.js | Test timed out - when Gecko 127 merges to beta on 2024-05-13

Categories

(Core :: Machine Learning, defect, P1)

defect

Tracking

()

VERIFIED FIXED
127 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox125 --- unaffected
firefox126 --- unaffected
firefox127 + verified

People

(Reporter: tszentpeteri, Assigned: tarek)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Central-as-beta simulation

How to run these simulations

Failure log:

[task 2024-04-18T13:03:22.498Z] 13:03:22     INFO - TEST-START | toolkit/components/ml/tests/browser/browser_ml_engine.js
[task 2024-04-18T13:03:22.515Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896, Main Thread] WARNING: Failed to clone data.: file /builds/worker/checkouts/gecko/dom/base/StructuredCloneHolder.cpp:198
[task 2024-04-18T13:03:22.519Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/StructuredCloneData.cpp:130
[task 2024-04-18T13:03:22.520Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/ipc/SharedMessageBody.cpp:51
[task 2024-04-18T13:03:22.521Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896, Main Thread] WARNING: 'aRv.Failed()', file /builds/worker/checkouts/gecko/dom/messagechannel/MessagePort.cpp:332
[task 2024-04-18T13:03:22.532Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 2e2bcc00 == 7 [pid = 2896] [id = 6]
[task 2024-04-18T13:03:22.537Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 15 (2f4824c0) [pid = 2896] [serial = 15] [outer = 0]
[task 2024-04-18T13:03:22.538Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (2e2bd800) [pid = 2896] [serial = 16] [outer = 2f4824c0]
[task 2024-04-18T13:03:22.542Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (307ce200) [pid = 2896] [serial = 17] [outer = 2f4824c0]
[task 2024-04-18T13:03:22.554Z] 13:03:22     INFO - GECKO(5656) | [Parent 2896: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (307cd600) [pid = 2896] [serial = 18] [outer = 2f4824c0]
[task 2024-04-18T13:03:22.591Z] 13:03:22     INFO - GECKO(5656) | [Child 6256: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL c592300 == 2 [pid = 6256] [id = 1]
[task 2024-04-18T13:03:22.603Z] 13:03:22     INFO - GECKO(5656) | [Child 6256: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (51e0dc0) [pid = 6256] [serial = 3] [outer = 0]
[task 2024-04-18T13:03:22.604Z] 13:03:22     INFO - GECKO(5656) | [Child 6256: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (c593200) [pid = 6256] [serial = 4] [outer = 51e0dc0]
[task 2024-04-18T13:03:22.609Z] 13:03:22     INFO - GECKO(5656) | [Child 6256, Main Thread] WARNING: Fallback to FallbackRenderer: file /builds/worker/checkouts/gecko/dom/ipc/BrowserChild.cpp:2678
[task 2024-04-18T13:03:22.614Z] 13:03:22     INFO - GECKO(5656) | [Child 6256: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (c594d00) [pid = 6256] [serial = 5] [outer = 51e0dc0]
[task 2024-04-18T13:03:22.637Z] 13:03:22     INFO - GECKO(5656) | console.log: ML: "Using runtime ort-wasm-simd.wasm@1.0" ({id:"2bdc23b1-f5de-4f77-b0f5-c8cce03c4feb", name:"ort-wasm-simd.wasm", version:"1.0", last_modified:1713445402518, schema:1713445402518})
[task 2024-04-18T13:03:22.650Z] 13:03:22     INFO - GECKO(5656) | console.log: Download requested: test-translation-wasm-0 ort-wasm-simd.wasm
[task 2024-04-18T13:03:22.654Z] 13:03:22     INFO - GECKO(5656) | console.log: Handling download: test-translation-wasm-0
[task 2024-04-18T13:03:22.684Z] 13:03:22     INFO - GECKO(5656) | there is no JSContext on the stack!
[task 2024-04-18T13:03:22.689Z] 13:03:22     INFO - GECKO(5656) | [6256] Hit MOZ_CRASH(Missing chrome or resource URLs: chrome://global/content/ml/transformers-dev.js) at /builds/worker/checkouts/gecko/netwerk/base/nsNetUtil.cpp:4120
[task 2024-04-18T13:03:22.809Z] 13:03:22     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2024-04-18T13:03:46.128Z] 13:03:46     INFO - GECKO(5656) | #01: mozilla::net::CheckForBrokenChromeURL(nsILoadInfo*, nsIURI*) [netwerk/base/nsNetUtil.cpp:4120]
<...>
[task 2024-04-18T13:04:00.768Z] 13:04:00     INFO - GECKO(5656) | [Child 9548: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (b6ae280) [pid = 9548] [serial = 7] [outer = 0] [url = moz-extension://5307bede-c940-4002-a16a-2f5f10049d08/_generated_background_page.html]
[task 2024-04-18T13:04:04.911Z] 13:04:04     INFO - GECKO(5656) | [Child 9548: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (d90c700) [pid = 9548] [serial = 14] [outer = 0] [url = moz-extension://5307bede-c940-4002-a16a-2f5f10049d08/_generated_background_page.html]
[task 2024-04-18T13:05:19.953Z] 13:05:19     INFO - GECKO(5656) | [Parent 2896, Jump List #2] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/widget/windows/WinUtils.cpp:950
[task 2024-04-18T13:05:19.963Z] 13:05:19     INFO - GECKO(5656) | [Parent 2896, Jump List #2] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012 (NS_ERROR_FILE_NOT_FOUND): file /builds/worker/checkouts/gecko/widget/windows/WinUtils.cpp:950
[task 2024-04-18T13:06:22.510Z] 13:06:22     INFO - TEST-INFO | started process screenshot
[task 2024-04-18T13:06:22.620Z] 13:06:22     INFO - TEST-INFO | screenshot: exit 0
[task 2024-04-18T13:06:22.628Z] 13:06:22     INFO - Buffered messages logged at 13:03:22
[task 2024-04-18T13:06:22.629Z] 13:06:22     INFO - Entering test bound test_ml_engine_basics
[task 2024-04-18T13:06:22.629Z] 13:06:22     INFO - Get the engine process
[task 2024-04-18T13:06:22.630Z] 13:06:22     INFO - Get summarizer
[task 2024-04-18T13:06:22.631Z] 13:06:22     INFO - Run the summarizer
[task 2024-04-18T13:06:22.631Z] 13:06:22     INFO - Wait for the pending downloads.
[task 2024-04-18T13:06:22.631Z] 13:06:22     INFO - Resolving 1 mocked downloads for "test-translation-wasm-0"
[task 2024-04-18T13:06:22.632Z] 13:06:22     INFO - Buffered messages logged at 13:04:52
[task 2024-04-18T13:06:22.633Z] 13:06:22     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-04-18T13:06:22.633Z] 13:06:22     INFO - Buffered messages finished
[task 2024-04-18T13:06:22.634Z] 13:06:22     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/ml/tests/browser/browser_ml_engine.js | Test timed out - 
[task 2024-04-18T13:06:22.635Z] 13:06:22     INFO - GECKO(5656) | Completed ShutdownLeaks collections in process 2896
[task 2024-04-18T13:06:22.636Z] 13:06:22     INFO - TEST-START | Shutdown
Flags: needinfo?(tziade)

Thanks, I did the simulation but it did not detect this one. I'll fix asap

Assignee: nobody → tziade
Flags: needinfo?(tziade)
Priority: -- → P1

I am thinking of not running the tests at all on beta, and also add a nice error if you try to use the API, wdyt?

Flags: needinfo?(gtatum)

Sounds good to me!

Flags: needinfo?(gtatum)
Pushed by tziade@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/480cbd22be53 Make sure the ML component tests runs on non-nightly r=gregtatum

The patch is working in today's beta-sim: link to the simulation

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: