Open Bug 1950943 Opened 18 days ago

Intermittent toolkit/components/ml/tests/browser/browser_ml_smart_tab_perf.js | Uncaught exception in test bound test_ml_smart_tab_embedding_peak_mem - at chrome://global/content/ml/ort.webgpu-dev.mjs:120 - Error: Error: no available backend found. ERR: [

Categories

(Core :: Machine Learning, defect, P5)

defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


task 2025-02-27T16:56:40.767Z] Get the engine process
[task 2025-02-27T16:56:40.767Z] GECKO(816) | console.error: "failed to asynchronously prepare wasm: CompileError: wasm validation error: at offset 5375336: table index out of range for table.get"
[task 2025-02-27T16:56:40.767Z] GECKO(816) | console.error: "Aborted(CompileError: wasm validation error: at offset 5375336: table index out of range for table.get)"
[task 2025-02-27T16:56:40.767Z] GECKO(816) | JavaScript error: chrome://global/content/ml/ort.webgpu-dev.mjs, line 120: Error: no available backend found. ERR: [wasm] RuntimeError: Aborted(CompileError: wasm validation error: at offset 5375336: table index out of range for table.get). Build with -sASSERTIONS for more info.
[task 2025-02-27T16:56:40.767Z] GECKO(816) | console.error: ML:EngineChild: "Could not initalize the engine" (new Error("Error: no available backend found. ERR: [wasm] RuntimeError: Aborted(CompileError: wasm validation error: at offset 5375336: table index out of range for table.get). Build with -sASSERTIONS for more info.", "chrome://global/content/ml/ort.webgpu-dev.mjs", 120))
[task 2025-02-27T16:56:40.767Z] TEST-UNEXPECTED-FAIL | toolkit/components/ml/tests/browser/browser_ml_smart_tab_perf.js | Uncaught exception in test bound test_ml_smart_tab_embedding_peak_mem - at chrome://global/content/ml/ort.webgpu-dev.mjs:120 - Error: Error: no available backend found. ERR: [wasm] RuntimeError: Aborted(CompileError: wasm validation error: at offset 5375336: table index out of range for table.get). Build with -sASSERTIONS for more info.
[task 2025-02-27T16:56:40.767Z] Stack trace:
[task 2025-02-27T16:56:40.767Z] postMessage@resource://gre/modules/PromiseWorker.sys.mjs:386:17
[task 2025-02-27T16:56:40.767Z] async*post@resource://gre/modules/PromiseWorker.sys.mjs:425:17
[task 2025-02-27T16:56:40.767Z] create@resource://gre/actors/MLEngineChild.sys.mjs:779:18
[task 2025-02-27T16:56:40.767Z] initializeInferenceEngine@resource://gre/actors/MLEngineChild.sys.mjs:362:28
[task 2025-02-27T16:56:40.767Z] async*EngineDispatcher@resource://gre/actors/MLEngineChild.sys.mjs:387:25
[task 2025-02-27T16:56:40.767Z] #onNewPortCreated@resource://gre/actors/MLEngineChild.sys.mjs:185:26
[task 2025-02-27T16:56:40.767Z] receiveMessage@resource://gre/actors/MLEngineChild.sys.mjs:116:37
[task 2025-02-27T16:56:40.767Z] JSActor query*setupPortCommunication@resource://gre/actors/MLEngineParent.sys.mjs:839:25
[task 2025-02-27T16:56:40.767Z] initialize@resource://gre/actors/MLEngineParent.sys.mjs:768:20
[task 2025-02-27T16:56:40.767Z] getEngine@resource://gre/actors/MLEngineParent.sys.mjs:183:37
[task 2025-02-27T16:56:40.767Z] initializeEngine@chrome://mochitests/content/browser/toolkit/components/ml/tests/browser/head.js:335:39
[task 2025-02-27T16:56:40.767Z] async*runInference@chrome://mochitests/content/browser/toolkit/components/ml/tests/browser/head.js:462:50
[task 2025-02-27T16:56:40.767Z] perfTest@chrome://mochitests/content/browser/toolkit/components/ml/tests/browser/head.js:650:25
[task 2025-02-27T16:56:40.767Z] async*testEmbedding@chrome://mochitests/content/browser/toolkit/components/ml/tests/browser/browser_ml_smart_tab_perf.js:126:9
[task 2025-02-27T16:56:40.767Z] test_ml_smart_tab_embedding_peak_mem@chrome://mochitests/content/browser/toolkit/components/ml/tests/browser/browser_ml_smart_tab_perf.js:142:9
[task 2025-02-27T16:56:40.767Z] handleTask@chrome://mochikit/content/browser-test.js:1170:26
[task 2025-02-27T16:56:40.767Z] _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1242:18
[task 2025-02-27T16:56:40.767Z] async*Tester_execTest@chrome://mochikit/content/browser-test.js:1383:14
[task 2025-02-27T16:56:40.767Z] nextTest/<@chrome://mochikit/content/browser-test.js:1159:14
[task 2025-02-27T16:56:40.767Z] SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2025-02-27T16:56:40.767Z] Leaving test bound test_ml_smart_tab_embedding_peak_mem
[task 2025-02-27T16:56:40.767Z] Console message: [JavaScript Error: "Error: no available backend found. ERR: [wasm] RuntimeError: Aborted(CompileError: wasm validation error: at offset 5375336: table index out of range for table.get). Build with -sASSERTIONS for more info." {file: "chrome://global/content/ml/ort.webgpu-dev.mjs" line: 120}]
[task 2025-02-27T16:56:40.767Z] GECKO(816) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2025-02-27T16:56:40.767Z] GECKO(816) | MEMORY STAT | vsize 17185MB | residentFast 383MB | heapAllocated 174MB
[task 2025-02-27T16:56:40.767Z] TEST-OK | toolkit/components/ml/tests/browser/browser_ml_smart_tab_perf.js | took 36177ms
You need to log in before you can comment on or make changes to this bug.