Bug 191005 - [GLIB] Several webgpu tests are failing
Summary: [GLIB] Several webgpu tests are failing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-27 18:22 PDT by Michael Catanzaro
Modified: 2020-11-23 00:53 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2018-10-27 18:22:55 PDT
webgpu/webgpu-enabled.html has been failing since it was added in r237239 "[WebGPU] Implement WebGPU bindings up through WebGPUDevice creation":

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-enabled-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-enabled-actual.txt
@@ -1,5 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS successfullyParsed is true
+CONSOLE MESSAGE: line 16: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
 
 TEST COMPLETE
Comment 1 Miguel Gomez 2018-11-15 07:35:04 PST
These webgpu tests are failing as well, all of them because we can't create a webgpu context. I guess we should disable those until we support that?

webgpu/render-pipelines.html [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/render-pipelines-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/render-pipelines-actual.txt
@@ -1,11 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS Successfully created WebGPURenderPipeline.
-PASS WebGPURenderPipeline with invalid WebGPURenderPipelineDescriptor was not created.
-PASS WebGPURenderPipeline with invalid shader module was not created.
-PASS WebGPURenderPipeline with invalid vertex shader stage was not created.
-PASS WebGPURenderPipeline with invalid vertex shader entry point was not created.
-PASS WebGPURenderPipeline with invalid WebGPUShaderStageEnum was not created.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
 PASS successfullyParsed is true
 
 TEST COMPLETE


webgpu/shader-modules.html [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/shader-modules-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/shader-modules-actual.txt
@@ -1,8 +1,7 @@
-PASS [object WebGPU] is defined.
-PASS Bad shader code should not create a module.
-PASS Incomplete shader code should not create a module.
-PASS Shader module created successfully.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
 PASS successfullyParsed is true
 
 TEST COMPLETE



webgpu/webgpu-basics.html [ Failure ]

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-basics-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/webgpu/webgpu-basics-actual.txt
@@ -1,5 +1,7 @@
-PASS [object WebGPU] is defined.
-All tests complete.
+CONSOLE MESSAGE: line 18: TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')
+FAIL Could not create WebGPU context!
+FAIL undefined should be defined. Was undefined
+FAIL [TypeError: undefined is not an object (evaluating 'window.webgpu.requestAdapter')]: See console!
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 2 Miguel Gomez 2018-11-29 06:53:51 PST
Four new webgpu tests are failing with the same "Could not create WebGPU context":

webgpu/command-buffers.html [ Failure ]
webgpu/queue-creation.html [ Failure ]
webgpu/render-passes.html [ Failure ]
webgpu/textures-textureviews.html [ Failure ]
Comment 3 Miguel Gomez 2019-01-10 07:32:54 PST
More webgpu failing tests:

webgpu/buffers.html [ Failure ]
webgpu/pipeline-layouts.html [ Failure ]
webgpu/render-command-encoding.html [ Failure ]
webgpu/simple-triangle-strip.html [ ImageOnlyFailure ]
webgpu/vertex-buffer-triangle-strip.html [ ImageOnlyFailure ]
Comment 4 Michael Catanzaro 2019-01-20 19:20:43 PST
I'm just going to skip all the webgpu tests.
Comment 5 Diego Pino 2020-11-23 00:53:03 PST
There are 252 tests under webgpu/. Currently there are "only" 25 tests failing, both for GTK and WPE. Half of those failures are timing outs in webgpu/whlsl/separate-shader-modules/ (those tests should be skipped). The other are text failures. I think we should enable the tests.