[wpt-sync] Sync PR 59565 - [AI WPTs] Split WPT tests to avoid timeouts
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox152 fixed)
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
75.77 KB,
text/plain
|
Details |
Sync web-platform-tests PR 59565 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59565
Details from upstream follow.
Isaac Ahouma <iahouma@google.com> wrote:
[AI WPTs] Split WPT tests to avoid timeouts
This CL resolves timeout regressions in the chrome_ai_wpt_tests suite by splitting large test files.
Key changes:
- Test Splitting: Split
language-model-prompt,language-model-response-json-schema, andusagetests into smaller, focused files to prevent timeouts on slow x64 bots.- Flexible Assertions: Added
assert_approx_equals(with a tolerance of 5) forcontextUsageto support slight token count variations across different models.- Helpers: Created shared
createColorGridCanvashelper inutil.jsand shared JSON schema helpers to avoid duplication.Bug: 459864801, 500479741, 507881464
Change-Id: I42e4e372135472b7f00ce85256f6a37e34055856
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7758933
Reviewed-by: Mike Wasserman \<msw@chromium.org>
Commit-Queue: Isaac Ahouma \<iahouma@google.com>
Cr-Commit-Position: refs/heads/main@{#1623675}
| Assignee | ||
Comment 1•13 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a87823818d3c3f3556fd5211160290bea50065e0
| Assignee | ||
Comment 2•12 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=22974cf9a3f513fb07e37a4992d70494b3226c57
| Assignee | ||
Comment 3•12 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 115 tests and 7 subtests
Status Summary
Firefox
OK : 108[GitHub] 110[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 2[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, GitHub] 3[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
FAIL : 348[Gecko-windows11-32-25h2-debug] 363[Gecko-windows11-64-25h2-debug] 367[GitHub] 377[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PRECONDITION_FAILED: 1
TIMEOUT : 1[Gecko-windows11-32-25h2-debug] 2[Gecko-windows11-64-25h2-debug] 3[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt, GitHub]
ERROR : 2[Gecko-windows11-32-25h2-debug] 3[Gecko-windows11-64-25h2-debug] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt, GitHub]
NOTRUN : 7[Gecko-windows11-32-25h2-debug] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt, GitHub]
Chrome
OK : 23
PASS : 85
FAIL : 16
PRECONDITION_FAILED: 10
TIMEOUT : 177
ERROR : 1
NOTRUN : 184
Safari
OK : 108
PASS : 2
FAIL : 367
PRECONDITION_FAILED: 1
TIMEOUT : 3
ERROR : 4
NOTRUN : 11
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 5•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2a0e07d0c851
https://hg.mozilla.org/mozilla-central/rev/506f139cd119
Description
•