The latest version of golangbuild fails to correctly wrap the "go test" invocation with "rdb.exe stream". The result is that instead of "rdb.exe", "go.exe" is being invoked instead. For example, see https://ci.chromium.org/b/8743332564145763297:

C:\b\s\w\ir\cache\tools\bin\rdb.exe stream -var goos:windows -var goarch:amd64 -var host_goos:windows -var host_goarch:amd64 -var builder:x_debug-gotip-windows-amd64 -var go_branch:master -tag bootstrap_version:1.20.6 -tag swarming_bot_id:golang-tryw-win10-us-west1-b-0-85le -- C:\b\s\w\ir\cache\tools\bin\result_adapter.exe go -v=false -dump-json C:\b\s\w\ir\x\w\go.testjson -- C:\b\s\w\ir\x\w\goroot\bin\go test -json -short ./...

go stream: unknown command
Run 'go help' for usage.

The change in CL 581695 for issue #66586 is a plausible culprit.

Comment From: gopherbot

Change https://go.dev/cl/596815 mentions this issue: main.star: pin golangbuild to version with working command wrapping

Comment From: dmitshur

As a mitigation to unbreak Windows builders, CL 596815 pins the previous golangbuild version.

Comment From: dmitshur

Filed #68314 for the root cause. I'll wait a bit to see how it goes there before coming back to this.

Comment From: dmitshur

Sent crrev.com/c/5730108 to work around the problem, to unblock golangbuild development while is go1.22.6 isn't released yet.

Comment From: gopherbot

Change https://go.dev/cl/600996 mentions this issue: main.star: unpin golangbuild version

Comment From: gopherbot

Closed by merging CL 600996 (commit golang/build@7475b5276ca754041910a6a38509ef32b4b75a98) to luci-config.