These test failures happen at Go tip:
=== RUN TestExtractPackagesAndSymbols/windows/arm
# internal/runtime/syscall/windows
../../../../../goroot/src/internal/runtime/syscall/windows/asm_windows_arm.s:7: #include: open ../../../../../goroot/pkg/include/go_tls.h: no such file or directory
buildtest.go:82: /Users/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /Users/swarming/.swarming/w/ir/x/t/buildtest3731631477/src: exit status 1
--- FAIL: TestExtractPackagesAndSymbols/windows/arm (1.14s)
=== RUN TestStrippedBinary/windows/arm
# internal/runtime/syscall/windows
../../../../../goroot/src/internal/runtime/syscall/windows/asm_windows_arm.s:7: #include: open ../../../../../goroot/pkg/include/go_tls.h: no such file or directory
buildtest.go:82: /Users/swarming/.swarming/w/ir/x/w/goroot/bin/go build -o /Users/swarming/.swarming/w/ir/x/t/buildtest581480036/src -ldflags -s -w: exit status 1
--- FAIL: TestStrippedBinary/windows/arm (0.31s)
Example build: https://ci.chromium.org/b/8707158206618351665. See https://ci.chromium.org/p/golang/g/x-vuln-gotip-by-go/console?limit=200 for more.
Test failures started with CL 689156. (CC @qmuntal.)
CC @golang/vulndb, @golang/windows.
Comment From: gabyhelp
Related Issues
- x/vuln/internal/buildinfo: TestStrippedBinary failures #64364 (closed)
- build: build failure on x_sys-gotip-linux-amd64-misccompile #69317 (closed)
- misc/cgo/testtls: skip test if C toolchain exhibits known TLS bugs #24758 (closed)
- x/vuln/internal/vulncheck/internal/buildinfo: broken at tip #61511 (closed)
- x/vuln/internal/vulncheck/internal/buildinfo: TestExtractPackagesAndSymbols failures #59357 (closed)
- cmd/vendor/golang.org/x/arch/arm64/arm64asm: tests fail on tip #21486 (closed)
- Building packages and commands for windows/arm64.: unrecognized failures #58691 (closed)
- debug/pe: TestDefaultLinkerDWARF and TestExternalLinkerDWARF fail on windows/arm64 builder #46406 (closed)
- cmd/go: local failure in TestScript/build_trimpath_cgo #70669 (closed)
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Comment From: dmitshur
Oh, I just noticed the failure mode changed from older failures to most recent one, which makes the problem more apparent:
go: unsupported GOOS/GOARCH pair windows/arm
I didn't immediately realize the "arm" in the test name was specifically the arm
GOARCH (the 32-bit kind). The windows/arm (32-bit) port is removed in Go 1.26 (accepted proposal #71671). Sent CL 694215.