webnn: replace DataError with TypeError #46845
Merged
Community-TC Integration / wpt-chrome-dev-results
succeeded
Jun 20, 2024 in 7m 36s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in chrome.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome
FAIL [lstm] TypeError is expected if the shape of options.initialCellState is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The initial cell state operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
0:26.12 TEST_START: /webnn/validation_tests/triangular.https.any.html
0:26.31 TEST_END: Test OK. Subtests passed 3/3. Unexpected 0
0:26.31 TEST_START: /webnn/validation_tests/triangular.https.any.worker.html
0:26.55 TEST_END: Test OK. Subtests passed 3/3. Unexpected 0
0:26.55 INFO No more tests
0:26.55 INFO No more tests
0:26.55 pid:2184 [2201:2216:0620/155327.043867:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
0:26.57 pid:2184 [0620/155327.064851:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
0:26.57 pid:2184 [0620/155327.064894:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
0:26.58 pid:2184 [2201:2201:0620/155327.069327:ERROR:zygote_communication_linux.cc(292)] Failed to send GetTerminationStatus message to zygote
0:26.58 pid:2184 [2201:2201:0620/155327.069346:WARNING:zygote_communication_linux.cc(304)] Socket closed prematurely.
0:26.56 INFO Closing logging queue
0:26.56 INFO queue closed
0:26.68 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 62 checks (58 subtests, 4 tests)
Expected results: 34
Unexpected results: 28
subtest: 28 (28 fail)
Unexpected Results
------------------
/webnn/validation_tests/lstm.https.any.html
FAIL [lstm] TypeError is expected if hiddenSize equals to zero - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The hidden size must be greater than 0." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if hiddenSize is too large - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The hidden size is too large." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if steps equals to zero - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The steps must be greater than 0." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the data type is not one of the floating point types - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The data type of input must be one of the floating point types." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of input is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The input should be a 3-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if input.dimensions[0] is not equal to steps - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The input dimensions[0] must be equal to the steps." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of weight is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The weight operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of recurrentWeight is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The recurrent weight operand should be a 3-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the size of options.activations is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The activations should be a sequence of length 3." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of options.bias is not 2 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The bias operand should be a 2-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of options.recurrentBias.dimensions is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The bias operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the dataType of options.peepholeWeight is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The peephole weight operand data type doesn't match the input data type." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the dataType of options.initialHiddenState is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The initial hidden state operand data type doesn't match the input data type." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of options.initialCellState is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The initial cell state operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
/webnn/validation_tests/lstm.https.any.worker.html
FAIL [lstm] TypeError is expected if hiddenSize equals to zero - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The hidden size must be greater than 0." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if hiddenSize is too large - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The hidden size is too large." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if steps equals to zero - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The steps must be greater than 0." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the data type is not one of the floating point types - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The data type of input must be one of the floating point types." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of input is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The input should be a 3-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if input.dimensions[0] is not equal to steps - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The input dimensions[0] must be equal to the steps." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of weight is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The weight operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of recurrentWeight is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The recurrent weight operand should be a 3-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the size of options.activations is not 3 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The activations should be a sequence of length 3." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the rank of options.bias is not 2 - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The bias operand should be a 2-D tensor." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of options.recurrentBias.dimensions is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The bias operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the dataType of options.peepholeWeight is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The peephole weight operand data type doesn't match the input data type." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the dataType of options.initialHiddenState is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The initial hidden state operand data type doesn't match the input data type." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
FAIL [lstm] TypeError is expected if the shape of options.initialCellState is incorrect - assert_throws_js: function "() => builder.lstm(
input, weight, recurrentWeight, test.steps, test.hiddenSize,
options)" threw object "DataError: Failed to execute 'lstm' on 'MLGraphBuilder': The initial cell state operand shape is invalid." ("DataError") expected instance of function "function TypeError() { [native code] }" ("TypeError")
at Test.<anonymous> (https://web-platform.test:8443/webnn/validation_tests/lstm.https.any.js:336:9)
at Test.step (https://web-platform.test:8443/resources/testharness.js:2622:25)
at https://web-platform.test:8443/resources/testharness.js:738:36
at new Promise (<anonymous>)
0:26.68 INFO Got 2 unexpected results, with 0 unexpected passes
0:26.68 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:26.86 wptserve INFO Stopped http server on 127.0.0.1:8445
0:26.87 wptserve INFO Stopped http server on 127.0.0.1:8003
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:8444
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:8002
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:8446
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:8001
0:26.88 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:9000
0:26.88 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:26.88 wptserve INFO Stopped http server on 127.0.0.1:8443
0:27.09 wptserve INFO Stopped http server on 127.0.0.1:8000
0:27.17 INFO Removed font: Ahem.ttf
0:27.19 INFO Closing logging queue
0:27.19 INFO queue closed
0:27.19 INFO Tolerating 2 unexpected results
[taskcluster 2024-06-20 15:53:29.785Z] === Task Finished ===
[taskcluster 2024-06-20 15:53:30.749Z] Successful task run with exit code: 0 completed in 140.942 seconds
Loading