Closed Bug 1884895 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45051 - webnn: Migrated Blink Unit Tests for WebNN API constant interface into WPT

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45051 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45051
Details from upstream follow.

BruceDai <feng.dai@intel.com> wrote:

webnn: Migrated Blink Unit Tests for WebNN API constant interface into WPT

This CL adds WPT tests for
1)input(name, descriptor) interface,
2) constant(descriptor, bufferView) interface,
and removes these unit tests
3) MLGraphBuilderTest.InputTest,
4) MLGraphBuilderTest.ConstantTest.

Bug: 327337525, 327337526, 328026885
Change-Id: I95cba29fc189854650ba7ad3bdece4c2d1e26390

Reviewed-on: https://chromium-review.googlesource.com/5365030
WPT-Export-Revision: 8b3cb01092cb451137017348cb010147fa633cda

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 4 tests and 8 subtests

Status Summary

Firefox

OK : 4
PASS: 24
FAIL: 30

Chrome

OK : 4
PASS: 32
FAIL: 22

Safari

OK : 4
PASS: 24
FAIL: 30

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webnn/validation_tests/constant.https.any.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a 0-D scalar constant without presenting dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a 0-D scalar constant with empty dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with float32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int8 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint8 data type: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/constant.https.any.worker.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a 0-D scalar constant without presenting dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a 0-D scalar constant with empty dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with float32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint32 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with int8 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [constant] Test building a constant with uint8 data type: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/input.https.any.worker.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 0-D scalar input without presenting dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 0-D scalar input with empty dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 1-D input with int64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 2-D input without errors: FAIL (Chrome: PASS, Safari: FAIL)
  • /webnn/validation_tests/input.https.any.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
    • assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"): FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 0-D scalar input without presenting dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 0-D scalar input with empty dimensions: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 1-D input with int64 data type: FAIL (Chrome: PASS, Safari: FAIL)
    • [input] Test building a 2-D input without errors: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /webnn/validation_tests/constant.https.any.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
  • /webnn/validation_tests/constant.https.any.worker.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
  • /webnn/validation_tests/input.https.any.worker.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
  • /webnn/validation_tests/input.https.any.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6bd8382a758 [wpt PR 45051] - webnn: Migrated unit tests for input and constant interfaces into WPT, a=testonly https://hg.mozilla.org/integration/autoland/rev/ed9ef59f7c8a [wpt PR 45051] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.