Skip to content

Add a copy of WebGPU CTS to wpt. - #27402

Merged
bors-servo merged 6 commits into
servo:masterfrom
kunalmohan:webgpu-cts
Aug 4, 2020
Merged

bors-servo merged 6 commits into
servo:masterfrom
kunalmohan:webgpu-cts

Conversation

@kunalmohan

Copy link
Copy Markdown
Contributor

The test suite is generated from glsl-dependent branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Vendor WebGPU CTS #27395 (GitHub issue number if applicable)
  • These changes do not require tests because we don't have tests for tests.

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @jgraham: tests/wpt/webgpu/tests/webgpu/common/framework/query/validQueryPart.js, tests/wpt/webgpu/tests/webgpu/webgpu/api/operation/command_buffer/render/basic.spec.js, tests/wpt/webgpu/tests/webgpu/common/framework/test_suite_listing.js, tests/wpt/webgpu/tests/webgpu/webgpu/api/validation/createPipelineLayout.spec.js, tests/wpt/webgpu/tests/webgpu/webgpu/api/validation/createView.spec.js and 99 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 25, 2020
@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 57ec89c with merge d78178c...

bors-servo added a commit that referenced this pull request Jul 25, 2020
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@kunalmohan

Copy link
Copy Markdown
Contributor Author

I haven't added an entry to include.ini. Should an entry be added there?

@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

Ah, yes, that will be necessary.

@kvark

kvark commented Jul 25, 2020

Copy link
Copy Markdown
Member

I don't know what Servo policy is. Including 30K lines in the repo seems quite a bit. Would Servo consider to have it as submodule instead?

@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

Submodules are a huge pain to work with. Vendoring the testsuite isn't a problem for us.

@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

@bors-servo try=wpt

bors-servo added a commit that referenced this pull request Jul 25, 2020
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 4614b81 with merge e3dcaf2...

@kunalmohan

Copy link
Copy Markdown
Contributor Author

/repo/tests/wpt/include.ini:4: Path in manifest was not found: /repo/tests/wpt/web-platform-tests/_webgpu

What should the entry in include.ini look like?

@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

Add an exception to the list in

if '_mozilla' in path or '_webgl' in path:
.

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jul 25, 2020
@kunalmohan

kunalmohan commented Jul 25, 2020 •

Copy link
Copy Markdown
Contributor Author

EXCEPTION: WebGPU device previously failed to initialize; not retrying
😕

@kvark

@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Jul 25, 2020
@kunalmohan kunalmohan added the S-tests-failed The changes caused existing tests to fail. label Jul 25, 2020
@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

More specifically:

  ▶ Unexpected subtest result in /_webgpu/webgpu/cts.html?q=webgpu:api,validation,setViewport:*:
  │ FAIL [expected PASS] webgpu:api,validation,setViewport:use_of_setViewport:x=0;y=0;width=1;height=1;minDepth=0;maxDepth=1
  └   → EXCEPTION: Received error from WebGPU thread: Failed to get webgpu adapter

@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

@bors-servo retry try=wpt-mac

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit c09678a with merge 5aad47a...

bors-servo added a commit that referenced this pull request Jul 25, 2020
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@jdm

jdm commented Jul 25, 2020

Copy link
Copy Markdown
Member

I assume Vulkan is the expected backend on Linux? What sort of libraries need to be installed to make use of it? We have a docker image that we can modify at https://github.com/servo/servo/blob/master/etc/taskcluster/docker/run.dockerfile.

@kunalmohan

Copy link
Copy Markdown
Contributor Author

I think libvulkan1 mesa-vulkan-drivers vulkan-utils ought to do it. Do we have access to a GPU on the CI?

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@kunalmohan

Copy link
Copy Markdown
Contributor Author

PASS [expected FAIL] /_webgpu/webgpu/webgpu/web-platform/reftests/canvas_clear.html

This is intermittent on my local system.

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 89bfe6a with merge 725933a...

bors-servo added a commit that referenced this pull request Aug 2, 2020
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@kunalmohan

Copy link
Copy Markdown
Contributor Author

@jdm What do you think about giving me "try" permissions now?:P

@jdm

jdm commented Aug 2, 2020

Copy link
Copy Markdown
Member

Make a pull request to https://github.com/servo/saltfs/blob/master/homu/files/cfg.toml#L202!

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 2, 2020
@jdm

jdm commented Aug 2, 2020

Copy link
Copy Markdown
Member

Huh, something about the filter-intermittents command is breaking when dealing with https://community-tc.services.mozilla.com/tasks/GKzclSq2Rwuj3B456LXrWg/runs/0/logs/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FGKzclSq2Rwuj3B456LXrWg%2Fruns%2F0%2Fartifacts%2Fpublic%2Fwebgpu-errorsummary.log. We can probably just ignore any JSON object that doesn't have a failure key, I guess?

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Aug 4, 2020
@jdm

jdm commented Aug 4, 2020

Copy link
Copy Markdown
Member

@bors-servo try=wpt-mac

@kunalmohan
kunalmohan requested a review from jdm August 4, 2020 16:13
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 75fb6ca with merge e2269ba...

bors-servo added a commit that referenced this pull request Aug 4, 2020
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
State: approved= try=True

@jdm

jdm commented Aug 4, 2020

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 75fb6ca has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 4, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 75fb6ca with merge 9fbdbdd...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Aug 4, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 9fbdbdd to master...

@bors-servo
bors-servo merged commit 9fbdbdd into servo:master Aug 4, 2020
@jdm

This comment has been minimized.

@kunalmohan
kunalmohan deleted the webgpu-cts branch August 4, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Vendor WebGPU CTS

5 participants