-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/build/env: host-linux-amd64-wasip1-wasm-wasmtime (Container Image: wasip1-wasm-wasmtime:latest) #61116
Comments
Change https://go.dev/cl/538897 mentions this issue: |
Start by adding them as post-submit builders, only in the main Go repo, and only at tip. Mostly so it's easier to see the generated code and iterate. Once they work, they'll be turned up in the remaining places. For golang/go#61116. For golang/go#61117. Change-Id: I72127713d1043acc800b2fc13a0fcccdf090aeba Reviewed-on: https://go-review.googlesource.com/c/build/+/538897 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]>
Change https://go.dev/cl/539435 mentions this issue: |
Change https://go.dev/cl/538699 mentions this issue: |
Change https://go.dev/cl/539417 mentions this issue: |
Change https://go.dev/cl/539419 mentions this issue: |
Change https://go.dev/cl/539418 mentions this issue: |
Tests in rlimit_test.go exist to test the behavior of automatically bumping RLIMIT_NOFILE on Unix implemented in rlimit.go (issue #46279), with darwin-specific behavior split out into rlimit_darwin.go and the rest left empty in rlimit_stub.go. Since the behavior happens only on Unix, it doesn't make sense to test it on other platforms. Copy rlimit.go's 'unix' build constraint to rlimit_test.go to accomplish that. Also simplify the build constraint in rlimit_stub.go while here, so that its maintenance is easier and it starts to match all non-darwin Unix GOOS values (previously, 'hurd' happened to be missed). In particular, this fixes a problem where TestOpenFileLimit was failing in some environments when testing the wasip1/wasm port. The RLIMIT_NOFILE bumping behavior isn't implemented there, so the test was testing the environment and not the Go project. Updates #46279. For #61116. Change-Id: Ic993f9cfc021d4cda4fe3d7fed8e2e180f78a2ca Reviewed-on: https://go-review.googlesource.com/c/go/+/539435 Reviewed-by: Johan Brandhorst-Satzkorn <[email protected]> Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
The latest version of Wasmtime, 14.0.4 as of writing this, offers a new CLI while also supporting the old CLI. Since this is known and tracked in issue #63718, silence the warning that otherwise causes many tests to fail. Since Wasmtime 13 and older don't pay attention to WASMTIME_NEW_CLI, this change increases compatibility of the script, letting it work with Wasmtime 9.0.1 as currently tested by the old cmd/coordinator, and with Wasmtime 14.0.4 as currently tested in the new LUCI infrastructure. The rest of the transition is left as future work. For #63718. For #61116. Change-Id: I77d4f74cc1d34a657e48dcaaceb6fbda7d1e9428 Cq-Include-Trybots: luci.golang.try:gotip-wasip1-wasm_wasmtime Reviewed-on: https://go-review.googlesource.com/c/go/+/538699 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Johan Brandhorst-Satzkorn <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Change https://go.dev/cl/539715 mentions this issue: |
The wazero and wasmtime packages are available in infra/3pp/tools as of crrev.com/c/4995549. In preparation of the switch soon to be done in crrev.com/c/4995558, prepend the "2@" package epoch (more context in crrev.com/c/2763964) that their version strings ended up with. Also factor out the comment explaining how to check the availability of a given version in CIPD, so we don't need to repeat it 3 times. For golang/go#61116. For golang/go#61117. Change-Id: I1c638aec1782b8d4f15724c0acc97f0323e5f70a Reviewed-on: https://go-review.googlesource.com/c/build/+/539715 TryBot-Bypass: Dmitri Shuralyov <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
The GOOS=wasip1 port is new to Go 1.21, so there's nothing to test on release-branch.go1.20. I'll also likely need to backport a test-only version of CL 539435 for it to work. For golang/go#61116. For golang/go#61117. Change-Id: I53d0b370a98059f2f4f721402a9e0f153df4f28b Reviewed-on: https://go-review.googlesource.com/c/build/+/539417 TryBot-Bypass: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
For golang/go#61116. For golang/go#61117. Change-Id: I90898bb976009086a617d56348becb5d9bdc747f Reviewed-on: https://go-review.googlesource.com/c/build/+/539418 Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]>
Change https://go.dev/cl/540615 mentions this issue: |
… rlimit_test.go Tests in rlimit_test.go exist to test the behavior of automatically bumping RLIMIT_NOFILE on Unix implemented in rlimit.go (issue #46279), with darwin-specific behavior split out into rlimit_darwin.go and the rest left empty in rlimit_stub.go. Since the behavior happens only on Unix, it doesn't make sense to test it on other platforms. Copy rlimit.go's 'unix' build constraint to rlimit_test.go to accomplish that. Leave out the simplification of the build constraint in rlimit_stub.go so that this CL remains a test-only fix. In particular, this fixes a problem where TestOpenFileLimit was failing in some environments when testing the wasip1/wasm port. The RLIMIT_NOFILE bumping behavior isn't implemented there, so the test was testing the environment and not the Go project. Updates #46279. For #61116. Fixes #63994. Change-Id: Ic993f9cfc021d4cda4fe3d7fed8e2e180f78a2ca Cq-Include-Trybots: luci.golang.try:go1.21-wasip1-wasm_wasmtime Reviewed-on: https://go-review.googlesource.com/c/go/+/539435 Reviewed-by: Johan Brandhorst-Satzkorn <[email protected]> Reviewed-by: Bryan Mills <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> (cherry picked from commit b7cbcf0) Reviewed-on: https://go-review.googlesource.com/c/go/+/540615 Reviewed-by: Heschi Kreinick <[email protected]> Auto-Submit: Heschi Kreinick <[email protected]>
This is the last step after turning it on in postsubmit everywhere. In the old build system, we've decided that just one of the multiple wasip1 builders is enough signal for trybots. We could propagate that decision here by putting wasip1-wasm_wazero (not wasip1-wasm_wasmtime) in some "don't include in pre-submit" list, but for now we choose to defer that kind of policy and configuration complexity until there's a concrete need. Fixes golang/go#61116. Fixes golang/go#61117. Change-Id: I54403eaf299f4c9a3d68f350323763670663f1b0 Reviewed-on: https://go-review.googlesource.com/c/build/+/539419 Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]>
This builder is turned up in LUCI, both in pre- and post-submit. |
No description provided.
The text was updated successfully, but these errors were encountered: