-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bytes: Test killed with quit
on wasip1-wasm-wazero
#61071
Comments
Found new dashboard test flakes for:
2023-05-27 02:24 wasip1-wasm-wazero go@7ad92e95 bytes (log)
2023-05-31 16:25 wasip1-wasm-wazero go@d329fc5b bytes (log)
|
attn @golang/wasm |
Test killed with quit
on wasip1-wasm-wazero
wazero runs this package, but breaks compilation from run.. Also, it uses the short flag... $ cd $(gotip env GOROOT)
$ GOOS=wasip1 GOARCH=wasm gotip test -v -c -o bytes.test ./src/bytes
$ wazero run -mount=/:/ -env PWD=$PWD bytes.test -- -test.short -test.v If the runner is not using the
|
TL;DR; we may want to skip heavy, optimizable tests on wazero until its optimizing compiler is finished. Specifically, skip
$ wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" --singlepass bytes.test -- -test.v -test.run TestCompareBytes
=== RUN TestCompareBytes
--- PASS: TestCompareBytes (26.72s)
PASS
$ wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" bytes.test -- -test.v -test.run TestCompareBytes
=== RUN TestCompareBytes
--- PASS: TestCompareBytes (16.36s)
PASS |
I'd prefer not to add runtime specific checks into tests. It seems like the suggestion is that this test sometimes might just take too long to run on wazero (especially on machines that are already running other tests)? I think we can wait and revisit this once wazero has an optimizing compiler in place. |
@codefromthecrypt, by default the Go builders run the test with But it looks like Given that we now have much better |
Change https://go.dev/cl/507416 mentions this issue: |
thanks for thinking this through, folks! |
TestCompareBytes already took into account the -short testing flag, however, only if not run on one of the Go builders. This extra condition is no longer necessary as we have much better longtest coverage than we did when the check was added. Fixes golang#61071 Change-Id: I0fc716f4e7baa04019ee00608f223f27c931edcc Reviewed-on: https://go-review.googlesource.com/c/go/+/507416 Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> TryBot-Bypass: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: