Skip to content
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

cmd/go: TestScript failures #66337

Open
gopherbot opened this issue Mar 15, 2024 · 81 comments
Open

cmd/go: TestScript failures #66337

gopherbot opened this issue Mar 15, 2024 · 81 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"

Issue created automatically to collect these failures.

Example (log):

vcs-test.golang.org rerouted to http://127.0.0.1:55618
https://vcs-test.golang.org rerouted to https://127.0.0.1:55619
go test proxy running at GOPROXY=http://127.0.0.1:55620/mod
--- FAIL: TestScript (1.26s)
    --- FAIL: TestScript/gotoolchain_loop (5.24s)
        script_test.go:136: 2024-03-15T11:17:42Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1876406220/tmpdir1229658131/gotoolchain_loop606090653
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.183s)
            # Toolchain target mismatch should be detected. (0.238s)
            # Toolchain loop should be detected. (3.799s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 15, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-15 10:25 darwin-amd64-race go@d98b4448 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55618
https://vcs-test.golang.org rerouted to https://127.0.0.1:55619
go test proxy running at GOPROXY=http://127.0.0.1:55620/mod
--- FAIL: TestScript (1.26s)
    --- FAIL: TestScript/gotoolchain_loop (5.24s)
        script_test.go:136: 2024-03-15T11:17:42Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1876406220/tmpdir1229658131/gotoolchain_loop606090653
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.183s)
            # Toolchain target mismatch should be detected. (0.238s)
            # Toolchain loop should be detected. (3.799s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-15 17:26 darwin-arm64-11 go@c2021c30 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53232
https://vcs-test.golang.org rerouted to https://127.0.0.1:53233
go test proxy running at GOPROXY=http://127.0.0.1:53234/mod
--- FAIL: TestScript (0.11s)
    --- FAIL: TestScript/mod_import_toolchain (0.21s)
        script_test.go:136: 2024-03-15T17:33:15Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-131516910/tmpdir1993443751/mod_import_toolchain1013587373
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.000s)
...
            [exit status 1]
            > stderr '^go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go get -u -v .
            [stderr]
            go: trying upgrade to example.net/a@v0.2.0
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./a2 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:33: go get -u -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-15 17:12 darwin-amd64-11_0 go@6f121623 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54044
https://vcs-test.golang.org rerouted to https://127.0.0.1:54045
go test proxy running at GOPROXY=http://127.0.0.1:54046/mod
--- FAIL: TestScript (0.52s)
    --- FAIL: TestScript/gotoolchain_local (14.30s)
        script_test.go:136: 2024-03-15T17:48:11Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1253627587/tmpdir2495506028/gotoolchain_local667399705
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            > go mod edit -go=1.999 -toolchain=go1.998
            > ! go install rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: downloading rsc.io/fortune v0.0.1
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:206: stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-15 15:45 darwin-amd64-longtest go@c764d56f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51026
https://vcs-test.golang.org rerouted to https://127.0.0.1:51027
go test proxy running at GOPROXY=http://127.0.0.1:51028/mod
--- FAIL: TestScript (0.77s)
    --- FAIL: TestScript/mod_download_exec_toolchain (1.54s)
        script_test.go:136: 2024-03-15T17:05:06Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1284454176/tmpdir2869747016/mod_download_exec_toolchain4042528477
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # First, test 'go mod download' outside of a module.
            #
            # There is no go.mod file into which we can record the selected toolchain,
            # so unfortunately these version switches won't be as reproducible as other
            # go commands, but that's still preferable to failing entirely or downloading
            # a module zip that we don't understand.
            # GOTOOLCHAIN=auto should run the newer toolchain (0.731s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.483s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.159s)
            # JSON output should be emitted exactly once,
            # and non-JSON output should go to stderr instead of stdout. (0.119s)
            > env GOTOOLCHAIN=auto
            > go mod download -json rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
            [stderr]
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_download_exec_toolchain.txt:37: go mod download -json rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-15 17:57 darwin-amd64-longtest go@c7065bb9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:50415
https://vcs-test.golang.org rerouted to https://127.0.0.1:50416
go test proxy running at GOPROXY=http://127.0.0.1:50417/mod
2024/03/16 01:53:20 http: TLS handshake error from 127.0.0.1:51425: EOF
--- FAIL: TestScript (0.89s)
    --- FAIL: TestScript/mod_import_toolchain (2.03s)
        script_test.go:136: 2024-03-16T05:52:21Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3370354345/tmpdir3515051482/mod_import_toolchain473857169
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
...
            [exit status 1]
            > stderr '^go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go get -u -v .
            [stderr]
            go: trying upgrade to example.net/a@v0.2.0
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./a2 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:33: go get -u -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 18:59 linux-amd64-longtest go@dc6a5cfc cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35153
https://vcs-test.golang.org rerouted to https://127.0.0.1:33331
go test proxy running at GOPROXY=http://127.0.0.1:38957/mod
2024/03/18 19:32:22 http: TLS handshake error from 127.0.0.1:54606: EOF
--- FAIL: TestScript (0.08s)
    --- FAIL: TestScript/mod_vendor_goversion (0.29s)
        script_test.go:136: 2024-03-18T19:31:46Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-115218394/tmpdir2661187807/mod_vendor_goversion262858291
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.284s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr
2024-03-18 18:59 linux-arm64-longtest go@dc6a5cfc cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:43985
https://vcs-test.golang.org rerouted to https://127.0.0.1:38123
go test proxy running at GOPROXY=http://127.0.0.1:37623/mod
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/mod_vendor_goversion (0.12s)
        script_test.go:136: 2024-03-18T19:24:04Z
        script_test.go:138: $WORK=/tmp/workdir/tmp/cmd-go-test-3705432578/tmpdir317156988/mod_vendor_goversion824774704
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.123s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr
2024-03-18 19:36 darwin-amd64-11_0 go@3c78ace2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53926
https://vcs-test.golang.org rerouted to https://127.0.0.1:53927
go test proxy running at GOPROXY=http://127.0.0.1:53928/mod
--- FAIL: TestScript (0.88s)
    --- FAIL: TestScript/gotoolchain_local (23.70s)
        script_test.go:136: 2024-03-18T20:14:17Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3214976403/tmpdir1784546370/gotoolchain_local2532624628
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            > stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist'
            matched: go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist
            > ! go run rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:210: stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist` in stderr
2024-03-18 19:36 linux-arm64-longtest go@3c78ace2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:42127
https://vcs-test.golang.org rerouted to https://127.0.0.1:43423
go test proxy running at GOPROXY=http://127.0.0.1:40049/mod
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/mod_vendor_goversion (0.13s)
        script_test.go:136: 2024-03-18T20:00:47Z
        script_test.go:138: $WORK=/tmp/workdir/tmp/cmd-go-test-3181204158/tmpdir887699383/mod_vendor_goversion1827233664
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.001s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.122s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 18:59 windows-amd64-longtest go@dc6a5cfc cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54838
https://vcs-test.golang.org rerouted to https://127.0.0.1:54839
go test proxy running at GOPROXY=http://127.0.0.1:54840/mod
--- FAIL: TestScript (0.15s)
    --- FAIL: TestScript/mod_vendor_goversion (0.75s)
        script_test.go:136: 2024-03-18T19:38:07Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-50164087\tmpdir2305958261\mod_vendor_goversion1200394254
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.513s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114\bad114.go:15:2: duplicate method `Y'
            	bad114\bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata\script\mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr
2024-03-18 19:33 windows-amd64-longtest go@0d7afc2e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54842
https://vcs-test.golang.org rerouted to https://127.0.0.1:54843
go test proxy running at GOPROXY=http://127.0.0.1:54844/mod
--- FAIL: TestScript (0.14s)
    --- FAIL: TestScript/mod_vendor_goversion (0.51s)
        script_test.go:136: 2024-03-18T20:07:49Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-479603521\tmpdir2057573344\mod_vendor_goversion3787578386
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.407s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114\bad114.go:15:2: duplicate method `Y'
            	bad114\bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata\script\mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr
2024-03-18 19:36 windows-amd64-longtest go@3c78ace2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54833
https://vcs-test.golang.org rerouted to https://127.0.0.1:54834
go test proxy running at GOPROXY=http://127.0.0.1:54835/mod
--- FAIL: TestScript (0.15s)
    --- FAIL: TestScript/mod_vendor_goversion (1.13s)
        script_test.go:136: 2024-03-18T20:17:46Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3271555795\tmpdir1150403749\mod_vendor_goversion595354801
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.777s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114\bad114.go:15:2: duplicate method `Y'
            	bad114\bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata\script\mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 19:33 linux-amd64-longtest-race go@0d7afc2e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35523
https://vcs-test.golang.org rerouted to https://127.0.0.1:45331
go test proxy running at GOPROXY=http://127.0.0.1:32803/mod
2024/03/18 20:41:26 http: TLS handshake error from 127.0.0.1:57658: EOF
--- FAIL: TestScript (1.20s)
    --- FAIL: TestScript/mod_vendor_goversion (1.65s)
        script_test.go:136: 2024-03-18T20:40:02Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-3447923058/tmpdir322977265/mod_vendor_goversion1419273536
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (1.643s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 18:59 darwin-amd64-longtest go@dc6a5cfc cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:50402
https://vcs-test.golang.org rerouted to https://127.0.0.1:50403
go test proxy running at GOPROXY=http://127.0.0.1:50404/mod
--- FAIL: TestScript (0.75s)
    --- FAIL: TestScript/mod_vendor_goversion (0.70s)
        script_test.go:136: 2024-03-18T20:31:23Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-420254100/tmpdir335055755/mod_vendor_goversion3495758972
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.635s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr
2024-03-18 19:33 darwin-amd64-longtest go@0d7afc2e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49934
https://vcs-test.golang.org rerouted to https://127.0.0.1:49935
go test proxy running at GOPROXY=http://127.0.0.1:49936/mod
--- FAIL: TestScript (0.59s)
    --- FAIL: TestScript/mod_vendor_goversion (0.61s)
        script_test.go:136: 2024-03-18T21:24:21Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-434177724/tmpdir2266381116/mod_vendor_goversion2598950780
        script_test.go:160: 
            # https://golang.org/issue/36876: As of Go 1.17, vendor/modules.txt should
            # indicate the language version used by each dependency. (0.000s)
            # Control case: without a vendor directory, need117 builds and bad114 doesn't. (0.591s)
            > go build example.net/need117
            > ! go build example.net/bad114
            [stderr]
            # example.net/bad114
            bad114/bad114.go:15:2: duplicate method `Y'
            	bad114/bad114.go:14:2: other declaration of `Y'
            [exit status 1]
            > stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$'
        script_test.go:160: FAIL: testdata/script/mod_vendor_goversion.txt:10: stderr '^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$': no match for `(?m)^bad114[/\\]bad114.go:15:2: duplicate method Y( .*)?$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 21:31 darwin-amd64-longtest go@1ed85ee2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:50299
https://vcs-test.golang.org rerouted to https://127.0.0.1:50300
go test proxy running at GOPROXY=http://127.0.0.1:50301/mod
--- FAIL: TestScript (0.77s)
    --- FAIL: TestScript/mod_download_exec_toolchain (0.48s)
        script_test.go:136: 2024-03-18T22:50:59Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4227815886/tmpdir917537972/mod_download_exec_toolchain3834639836
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # First, test 'go mod download' outside of a module.
            #
            # There is no go.mod file into which we can record the selected toolchain,
            # so unfortunately these version switches won't be as reproducible as other
            # go commands, but that's still preferable to failing entirely or downloading
            # a module zip that we don't understand.
            # GOTOOLCHAIN=auto should run the newer toolchain (0.347s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.101s)
            > env GOTOOLCHAIN=go1.21+auto
            > go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
            [stderr]
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_download_exec_toolchain.txt:19: go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 16:57 darwin-amd64-longtest go@af0ebdd4 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:64620
https://vcs-test.golang.org rerouted to https://127.0.0.1:64621
go test proxy running at GOPROXY=http://127.0.0.1:64622/mod
--- FAIL: TestScript (0.69s)
    --- FAIL: TestScript/mod_get_exec_toolchain (1.64s)
        script_test.go:136: 2024-03-19T08:13:31Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2216198847/tmpdir670005940/mod_get_exec_toolchain1910311725
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.449s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.354s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.161s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.140s)
            # go get go@1.22 should resolve to the latest 1.22 (0.410s)
            > env GOTOOLCHAIN=local
            > cp go.mod.new go.mod
            > ! go get go@1.22
            [stderr]
            go: updating go.mod requires go >= 1.22.9 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22.9 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22.9 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22
            [stderr]
            go: updating go.mod requires go >= 1.22.9; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:56: go get go@1.22: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-18 17:08 darwin-amd64-race go@b40dc30d cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55413
https://vcs-test.golang.org rerouted to https://127.0.0.1:55414
go test proxy running at GOPROXY=http://127.0.0.1:55415/mod
--- FAIL: TestScript (1.24s)
    --- FAIL: TestScript/gotoolchain_loop (13.59s)
        script_test.go:136: 2024-03-19T10:20:03Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3671564707/tmpdir3334957702/gotoolchain_loop3121962298
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.562s)
            # Toolchain target mismatch should be detected. (0.456s)
            # Toolchain loop should be detected. (11.517s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-19 11:31 darwin-amd64-longtest go@d14cf8f9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49737
https://vcs-test.golang.org rerouted to https://127.0.0.1:49738
go test proxy running at GOPROXY=http://127.0.0.1:49739/mod
--- FAIL: TestScript (0.95s)
    --- FAIL: TestScript/gotoolchain_loop (4.23s)
        script_test.go:136: 2024-03-19T13:01:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2248504016/tmpdir1224015970/gotoolchain_loop2800830234
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.270s)
            # Toolchain target mismatch should be detected. (0.144s)
            # Toolchain loop should be detected. (3.777s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-19 11:31 darwin-amd64-race go@d14cf8f9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54847
https://vcs-test.golang.org rerouted to https://127.0.0.1:54848
go test proxy running at GOPROXY=http://127.0.0.1:54849/mod
--- FAIL: TestScript (1.41s)
    --- FAIL: TestScript/gotoolchain_loop (9.22s)
        script_test.go:136: 2024-03-19T15:21:01Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3151341251/tmpdir4254090208/gotoolchain_loop894567363
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.133s)
            # Toolchain target mismatch should be detected. (0.154s)
            # Toolchain loop should be detected. (7.922s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
2024-03-19 11:34 darwin-amd64-13 go@207511a0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53908
https://vcs-test.golang.org rerouted to https://127.0.0.1:53909
go test proxy running at GOPROXY=http://127.0.0.1:53910/mod
--- FAIL: TestScript (0.89s)
    --- FAIL: TestScript/mod_get_exec_toolchain (5.31s)
        script_test.go:136: 2024-03-19T15:16:23Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1638348264/tmpdir2085799827/mod_get_exec_toolchain3660854918
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (1.266s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.771s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.352s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.222s)
            # go get go@1.22 should resolve to the latest 1.22 (1.020s)
            # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release. (0.497s)
            > env GOTOOLCHAIN=local
            > cp go.mod.new go.mod
            > ! go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22rc1 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:67: go get go@1.22rc1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-19 20:54 darwin-amd64-nocgo go@d2eb72fc cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55313
https://vcs-test.golang.org rerouted to https://127.0.0.1:55314
go test proxy running at GOPROXY=http://127.0.0.1:55315/mod
--- FAIL: TestScript (0.88s)
    --- FAIL: TestScript/gotoolchain_local (19.66s)
        script_test.go:136: 2024-03-19T21:21:43Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2145298227/tmpdir1148781499/gotoolchain_local1612756772
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            # go install m@v should handle queries (0.314s)
            # go run m@v should handle queries (0.137s)
            > ! go install rsc.io/fortune/nonexist@v0
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:243: stderr '^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-20 11:31 darwin-amd64-11_0 go@81a32eff cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53576
https://vcs-test.golang.org rerouted to https://127.0.0.1:53577
go test proxy running at GOPROXY=http://127.0.0.1:53578/mod
--- FAIL: TestScript (0.56s)
    --- FAIL: TestScript/mod_get_exec_toolchain (1.90s)
        script_test.go:136: 2024-03-20T12:09:28Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-204457557/tmpdir1099979081/mod_get_exec_toolchain1376445981
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (1.061s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.291s)
            > env GOTOOLCHAIN=go1.21+auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall
            [stderr]
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:17: go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall: signal: illegal instruction
2024-03-20 11:31 darwin-amd64-nocgo go@81a32eff cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55431
https://vcs-test.golang.org rerouted to https://127.0.0.1:55432
go test proxy running at GOPROXY=http://127.0.0.1:55433/mod
2024/03/20 04:59:56 http: TLS handshake error from 127.0.0.1:56288: EOF
--- FAIL: TestScript (0.54s)
    --- FAIL: TestScript/work_sync_toolchain (2.48s)
        script_test.go:136: 2024-03-20T12:01:20Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3612393760/tmpdir1891454444/work_sync_toolchain3106089042
        script_test.go:160: 
            # Create basic modules and work space. (1.224s)
...
            [exit status 1]
            > stderr '^go: cannot load module m1_22_0 listed in go.work file: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$'
            matched: go: cannot load module m1_22_0 listed in go.work file: m1_22_0/go.mod requires go >= 1.22.0 (running go 1.21; GOTOOLCHAIN=local)
            > stderr '^go: cannot load module m1_22_1 listed in go.work file: m1_22_1'${/}'go.mod requires go >= 1.22.1 \(running go 1.21; GOTOOLCHAIN=local\)$'
            matched: go: cannot load module m1_22_1 listed in go.work file: m1_22_1/go.mod requires go >= 1.22.1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go work sync
            [stderr]
            go: m1_22_1/go.mod requires go >= 1.22.1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/work_sync_toolchain.txt:34: go work sync: signal: illegal instruction
2024-03-21 09:29 darwin-amd64-13 go@f2685395 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54108
https://vcs-test.golang.org rerouted to https://127.0.0.1:54109
go test proxy running at GOPROXY=http://127.0.0.1:54110/mod
--- FAIL: TestScript (1.61s)
    --- FAIL: TestScript/mod_get_toolchain (5.04s)
        script_test.go:136: 2024-03-21T10:04:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1288866862/tmpdir643881704/mod_get_toolchain2385465518
        script_test.go:160: 
            # setup (0.000s)
            # go get go should use the latest Go 1.23 (0.204s)
...
            # go get toolchain@go1.24rc1 works (0.151s)
            # go get toolchain@latest finds go1.999testmod. (0.401s)
            # Bug fixes.
            # go get go@garbage should fail but not crash (0.270s)
            # go get go@go1.21.0 is OK - we silently correct to 1.21.0 (0.862s)
            > go get go@1.19
            [stderr]
            go: downgraded go 1.21 => 1.19
            > go get go@go1.21.0
        script_test.go:160: FAIL: testdata/script/mod_get_toolchain.txt:108: go get go@go1.21.0: signal: illegal instruction
2024-03-21 16:12 darwin-amd64-nocgo go@d9f97467 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56213
https://vcs-test.golang.org rerouted to https://127.0.0.1:56214
go test proxy running at GOPROXY=http://127.0.0.1:56215/mod
--- FAIL: TestScript (0.51s)
    --- FAIL: TestScript/gotoolchain_local (18.31s)
        script_test.go:136: 2024-03-21T16:33:40Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4283003102/tmpdir3977437959/gotoolchain_local3367965389
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
    --- FAIL: TestScript/work_init_toolchain (1.16s)
        script_test.go:136: 2024-03-21T16:34:29Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4283003102/tmpdir3977437959/work_init_toolchain2503073520
        script_test.go:160: 
            # Create basic modules and work space.
            # Note that toolchain lines in modules should be completely ignored. (0.251s)
            # work init writes the current Go version to the go line (0.121s)
            # work init with older modules should leave go 1.50 in the go.work. (0.077s)
            # work init with newer modules should bump go,
            # including updating to a newer toolchain as needed.
...
            [stderr]
            go: m1_22_0/go.mod requires go >= 1.22.0 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$'
            matched: go: m1_22_0/go.mod requires go >= 1.22.0 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go work init ./m1_22_0
            [stderr]
            go: m1_22_0/go.mod requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/work_init_toolchain.txt:31: go work init ./m1_22_0: signal: illegal instruction
2024-03-21 17:25 darwin-amd64-11_0 go@5e1e3a00 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54028
https://vcs-test.golang.org rerouted to https://127.0.0.1:54029
go test proxy running at GOPROXY=http://127.0.0.1:54030/mod
--- FAIL: TestScript (0.99s)
    --- FAIL: TestScript/mod_get_exec_toolchain (4.37s)
        script_test.go:136: 2024-03-21T17:59:06Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3159829874/tmpdir4120883073/mod_get_exec_toolchain87864031
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo122
            [stderr]
            go: rsc.io/needgo122@v0.0.1 requires go >= 1.22; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:94: go get rsc.io/needgo122: signal: illegal instruction
2024-03-21 20:26 darwin-amd64-13 go@5d29578f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53261
https://vcs-test.golang.org rerouted to https://127.0.0.1:53262
go test proxy running at GOPROXY=http://127.0.0.1:53263/mod
--- FAIL: TestScript (1.00s)
    --- FAIL: TestScript/gotoolchain_loop (15.34s)
        script_test.go:136: 2024-03-21T21:09:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-670272742/tmpdir3857788121/gotoolchain_loop2752593095
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.276s)
            # Toolchain target mismatch should be detected. (0.260s)
            # Toolchain loop should be detected. (14.742s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
2024-03-22 16:33 darwin-amd64-13 go@1c864333 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54430
https://vcs-test.golang.org rerouted to https://127.0.0.1:54431
go test proxy running at GOPROXY=http://127.0.0.1:54432/mod
--- FAIL: TestScript (0.96s)
    --- FAIL: TestScript/gotoolchain_loop (11.80s)
        script_test.go:136: 2024-03-22T17:11:17Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2130300430/tmpdir456534076/gotoolchain_loop2961667401
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.561s)
            # Toolchain target mismatch should be detected. (0.171s)
            # Toolchain loop should be detected. (11.062s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
2024-03-22 23:15 windows-amd64-longtest go@8aeec7c5 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54876
https://vcs-test.golang.org rerouted to https://127.0.0.1:54877
go test proxy running at GOPROXY=http://127.0.0.1:54878/mod
--- FAIL: TestScript (0.13s)
    --- FAIL: TestScript/test_deadline (6.81s)
        script_test.go:136: 2024-03-22T23:59:59Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-3434433580\tmpdir3996730765\test_deadline2858076296
        script_test.go:160: 
            > [short] skip
            [condition not met]
            > go test -timeout=0 -run=TestNoDeadline
            [stdout]
            PASS
            ok  	m	0.021s
            > go test -timeout=1m -run=TestDeadlineWithinMinute
            [stdout]
            PASS
            ok  	m	0.058s
            > go test -timeout=1m -run=TestSubtestDeadlineWithinMinute
            [stdout]
            PASS
            ok  	m	0.020s
        script_test.go:415: go was invoked but no counters were incremented
2024-03-23 04:07 darwin-amd64-13 go@83a6c13e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55282
https://vcs-test.golang.org rerouted to https://127.0.0.1:55283
go test proxy running at GOPROXY=http://127.0.0.1:55284/mod
--- FAIL: TestScript (0.67s)
    --- FAIL: TestScript/gotoolchain_local (11.75s)
        script_test.go:136: 2024-03-23T04:31:16Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4212379571/tmpdir3092629541/gotoolchain_local1388822893
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            # go run can handle unknown flag with argument. (0.184s)
            # go install m@v should handle queries (0.116s)
            > ! go install rsc.io/fortune/nonexist@v0.0
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0.0: module rsc.io/fortune@v0.0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:238: stderr '^go: rsc.io/fortune/nonexist@v0.0: module rsc.io/fortune@v0.0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0.0: module rsc.io/fortune@v0.0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist` in stderr
2024-03-25 09:38 darwin-amd64-12_0 go@c4792e60 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56097
https://vcs-test.golang.org rerouted to https://127.0.0.1:56098
go test proxy running at GOPROXY=http://127.0.0.1:56099/mod
--- FAIL: TestScript (0.69s)
    --- FAIL: TestScript/gotoolchain_net (0.79s)
        script_test.go:136: 2024-03-25T10:51:27Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2121331608/tmpdir425670566/gotoolchain_net1032306385
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.291s)
            # GOTOOLCHAIN from network (0.375s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction
2024-03-25 09:38 darwin-amd64-13 go@c4792e60 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54081
https://vcs-test.golang.org rerouted to https://127.0.0.1:54082
go test proxy running at GOPROXY=http://127.0.0.1:54083/mod
--- FAIL: TestScript (0.95s)
    --- FAIL: TestScript/gotoolchain_net (0.55s)
        script_test.go:136: 2024-03-25T10:32:07Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2079348008/tmpdir1796910997/gotoolchain_net3351619118
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.158s)
            # GOTOOLCHAIN from network (0.363s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 18:50 darwin-amd64-11_0 go@15b2f69a cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53950
https://vcs-test.golang.org rerouted to https://127.0.0.1:53951
go test proxy running at GOPROXY=http://127.0.0.1:53952/mod
--- FAIL: TestScript (0.49s)
    --- FAIL: TestScript/work_sync_toolchain (1.78s)
        script_test.go:136: 2024-03-25T19:21:13Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3282258750/tmpdir3608772538/work_sync_toolchain2518112496
        script_test.go:160: 
            # Create basic modules and work space. (0.826s)
            # work sync with older modules should leave go 1.50 in the go.work. (0.094s)
            # work sync with newer modules should update go 1.21 -> 1.22.1 and toolchain -> go1.22.9 in go.work (0.464s)
            # work sync with newer modules should update go 1.22.1 -> 1.24rc1 and drop toolchain (0.365s)
            > go work edit -use=./m1_24_rc0
            > go work sync
            [stderr]
            go: m1_24_rc0/go.mod requires go >= 1.24rc0; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/work_sync_toolchain.txt:41: go work sync: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 19:53 darwin-amd64-11_0 go@4c2b1e0f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53803
https://vcs-test.golang.org rerouted to https://127.0.0.1:53804
go test proxy running at GOPROXY=http://127.0.0.1:53805/mod
--- FAIL: TestScript (0.70s)
    --- FAIL: TestScript/gotoolchain_net (0.82s)
        script_test.go:136: 2024-03-25T20:49:22Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3014089056/tmpdir493073759/gotoolchain_net4291742540
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.002s)
            # GOTOOLCHAIN from network, does not exist (0.356s)
            # GOTOOLCHAIN from network (0.373s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 19:53 linux-amd64-longtest go@4c2b1e0f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:46145
https://vcs-test.golang.org rerouted to https://127.0.0.1:33113
go test proxy running at GOPROXY=http://127.0.0.1:36229/mod
--- FAIL: TestScript (0.09s)
    --- FAIL: TestScript/cover_sync_atomic_import (21.68s)
        script_test.go:136: 2024-03-25T20:28:20Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-1898031715/tmpdir439113417/cover_sync_atomic_import3565943856
        script_test.go:160: 
            > [short] skip
            [condition not met]
...
    --- FAIL: TestScript/build_runtime_gcflags (2.68s)
        script_test.go:136: 2024-03-25T20:29:07Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-1898031715/tmpdir439113417/build_runtime_gcflags164682946
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.000s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (2.587s)
...
            packagefile strings=$WORK/b053/_pkg_.a
            packagefile sync=$WORK/b022/_pkg_.a
            packagefile syscall=$WORK/b040/_pkg_.a
            packagefile testing=$WORK/b236/_pkg_.a
            packagefile time=$WORK/b044/_pkg_.a
            EOF
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b289/_pkg_.a -trimpath "$WORK/b289=>" -p vendor/golang.org/x/net/nettest -std -complete -buildid NtXQSPSWrG8fDYX-CZbt/NtXQSPSWrG8fDYX-CZbt -c=4 -l -nolocalimports -importcfg $WORK/b289/importcfg -pack /workdir/go/src/vendor/golang.org/x/net/nettest/conntest.go /workdir/go/src/vendor/golang.org/x/net/nettest/nettest.go /workdir/go/src/vendor/golang.org/x/net/nettest/nettest_unix.go
            /workdir/go/pkg/tool/linux_amd64/buildid -w $WORK/b289/_pkg_.a # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata/script/build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr
2024-03-25 21:01 linux-arm64-longtest go@e7bdc881 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:45451
https://vcs-test.golang.org rerouted to https://127.0.0.1:33251
go test proxy running at GOPROXY=http://127.0.0.1:46723/mod
2024/03/25 21:27:57 http: TLS handshake error from 127.0.0.1:50976: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_sync_atomic_import (5.79s)
        script_test.go:136: 2024-03-25T21:27:17Z
        script_test.go:138: $WORK=/tmp/workdir/tmp/cmd-go-test-3501166765/tmpdir2845445017/cover_sync_atomic_import3517424018
        script_test.go:160: 
            > [short] skip
...
    --- FAIL: TestScript/build_runtime_gcflags (1.09s)
        script_test.go:136: 2024-03-25T21:27:41Z
        script_test.go:138: $WORK=/tmp/workdir/tmp/cmd-go-test-3501166765/tmpdir2845445017/build_runtime_gcflags3687618208
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.000s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (1.049s)
...
            packagefile syscall=$WORK/b040/_pkg_.a
            EOF
            cd /tmp/workdir/tmp/cmd-go-test-3501166765/tmpdir2845445017/build_runtime_gcflags3687618208/gopath/src
            /tmp/workdir/go/pkg/tool/linux_arm64/compile -o $WORK/b287/_pkg_.a -trimpath "$WORK/b287=>" -p vendor/golang.org/x/sys/cpu -std -buildid _WGHoAxjMkN49OeCfwlY/_WGHoAxjMkN49OeCfwlY -symabis $WORK/b287/symabis -c=4 -l -nolocalimports -importcfg $WORK/b287/importcfg -pack -asmhdr $WORK/b287/go_asm.h /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/byteorder.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/cpu.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/cpu_arm64.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/endian_little.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/hwcap_linux.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/parse.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/runtime_auxv.go /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu/runtime_auxv_go121.go
            cd /tmp/workdir/go/src/vendor/golang.org/x/sys/cpu
            /tmp/workdir/go/pkg/tool/linux_arm64/asm -p vendor/golang.org/x/sys/cpu -trimpath "$WORK/b287=>" -I $WORK/b287/ -I /tmp/workdir/go/pkg/include -D GOOS_linux -D GOARCH_arm64 -o $WORK/b287/cpu_arm64.o ./cpu_arm64.s
            /tmp/workdir/go/pkg/tool/linux_arm64/pack r $WORK/b287/_pkg_.a $WORK/b287/cpu_arm64.o # internal
            /tmp/workdir/go/pkg/tool/linux_arm64/buildid -w $WORK/b287/_pkg_.a # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata/script/build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 19:53 windows-amd64-longtest go@4c2b1e0f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54837
https://vcs-test.golang.org rerouted to https://127.0.0.1:54838
go test proxy running at GOPROXY=http://127.0.0.1:54839/mod
--- FAIL: TestScript (0.15s)
    --- FAIL: TestScript/cover_sync_atomic_import (20.54s)
        script_test.go:136: 2024-03-25T20:31:12Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-997911870\tmpdir281074548\cover_sync_atomic_import1108924148
        script_test.go:160: 
            > [short] skip
            [condition not met]
...
    --- FAIL: TestScript/build_runtime_gcflags (27.24s)
        script_test.go:136: 2024-03-25T20:33:35Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-997911870\tmpdir281074548\build_runtime_gcflags3936911246
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.003s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (23.129s)
...
            packagefile strings=$WORK\b055\_pkg_.a
            packagefile sync=$WORK\b021\_pkg_.a
            packagefile syscall=$WORK\b042\_pkg_.a
            packagefile testing=$WORK\b236\_pkg_.a
            packagefile time=$WORK\b047\_pkg_.a
            EOF
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b291\\_pkg_.a" -trimpath "$WORK\\b291=>" -p vendor/golang.org/x/net/nettest -std -complete -buildid PsKPsOEwWZunAPdbeNVT/PsKPsOEwWZunAPdbeNVT -c=4 -l -nolocalimports -importcfg "$WORK\\b291\\importcfg" -pack "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\conntest.go" "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\nettest.go" "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\nettest_windows.go"
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b291\\_pkg_.a" # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata\script\build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr
2024-03-25 21:01 windows-amd64-longtest go@e7bdc881 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54857
https://vcs-test.golang.org rerouted to https://127.0.0.1:54858
go test proxy running at GOPROXY=http://127.0.0.1:54859/mod
--- FAIL: TestScript (0.14s)
    --- FAIL: TestScript/cover_sync_atomic_import (21.31s)
        script_test.go:136: 2024-03-25T21:39:38Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-123884205\tmpdir263695233\cover_sync_atomic_import2658454325
        script_test.go:160: 
            > [short] skip
            [condition not met]
...
    --- FAIL: TestScript/build_runtime_gcflags (22.22s)
        script_test.go:136: 2024-03-25T21:40:57Z
        script_test.go:138: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-123884205\tmpdir263695233\build_runtime_gcflags48454846
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.003s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (16.953s)
...
            packagefile strings=$WORK\b055\_pkg_.a
            packagefile sync=$WORK\b021\_pkg_.a
            packagefile syscall=$WORK\b042\_pkg_.a
            packagefile testing=$WORK\b236\_pkg_.a
            packagefile time=$WORK\b047\_pkg_.a
            EOF
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\compile.exe" -o "$WORK\\b291\\_pkg_.a" -trimpath "$WORK\\b291=>" -p vendor/golang.org/x/net/nettest -std -complete -buildid o956W3Vtp_6Y-80pE_09/o956W3Vtp_6Y-80pE_09 -c=4 -l -nolocalimports -importcfg "$WORK\\b291\\importcfg" -pack "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\conntest.go" "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\nettest.go" "C:\\workdir\\go\\src\\vendor\\golang.org\\x\\net\\nettest\\nettest_windows.go"
            "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\buildid.exe" -w "$WORK\\b291\\_pkg_.a" # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata\script\build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 21:01 linux-amd64-longtest-race go@e7bdc881 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:40897
https://vcs-test.golang.org rerouted to https://127.0.0.1:40757
go test proxy running at GOPROXY=http://127.0.0.1:42055/mod
2024/03/25 22:10:54 http: TLS handshake error from 127.0.0.1:52098: EOF
--- FAIL: TestScript (1.21s)
    --- FAIL: TestScript/cover_sync_atomic_import (15.80s)
        script_test.go:136: 2024-03-25T22:14:27Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-1041297279/tmpdir2066445057/cover_sync_atomic_import2891146388
        script_test.go:160: 
            > [short] skip
...
    --- FAIL: TestScript/build_runtime_gcflags (8.77s)
        script_test.go:136: 2024-03-25T22:15:40Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-1041297279/tmpdir2066445057/build_runtime_gcflags4270414852
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.000s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (8.579s)
...
            packagefile strings=$WORK/b053/_pkg_.a
            packagefile sync=$WORK/b022/_pkg_.a
            packagefile syscall=$WORK/b040/_pkg_.a
            packagefile testing=$WORK/b236/_pkg_.a
            packagefile time=$WORK/b044/_pkg_.a
            EOF
            /workdir/go/pkg/tool/linux_amd64/compile -o $WORK/b289/_pkg_.a -trimpath "$WORK/b289=>" -p vendor/golang.org/x/net/nettest -std -complete -buildid EPHvlSFWLc77FsPKZU8K/EPHvlSFWLc77FsPKZU8K -c=4 -l -nolocalimports -importcfg $WORK/b289/importcfg -pack /workdir/go/src/vendor/golang.org/x/net/nettest/conntest.go /workdir/go/src/vendor/golang.org/x/net/nettest/nettest.go /workdir/go/src/vendor/golang.org/x/net/nettest/nettest_unix.go
            /workdir/go/pkg/tool/linux_amd64/buildid -w $WORK/b289/_pkg_.a # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata/script/build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-25 19:53 darwin-amd64-longtest go@4c2b1e0f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49361
https://vcs-test.golang.org rerouted to https://127.0.0.1:49362
go test proxy running at GOPROXY=http://127.0.0.1:49363/mod
2024/03/25 17:58:15 http: TLS handshake error from 127.0.0.1:50683: EOF
2024/03/25 17:58:15 http: TLS handshake error from 127.0.0.1:50682: EOF
--- FAIL: TestScript (0.60s)
    --- FAIL: TestScript/cover_sync_atomic_import (34.97s)
        script_test.go:136: 2024-03-25T21:49:51Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-74333860/tmpdir1944871856/cover_sync_atomic_import1500996916
        script_test.go:160: 
...
    --- FAIL: TestScript/build_runtime_gcflags (11.56s)
        script_test.go:136: 2024-03-25T21:53:39Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-74333860/tmpdir1944871856/build_runtime_gcflags2631839425
        script_test.go:160: 
            > env GO111MODULE=off
            > [short] skip # rebuilds all of std
            [condition not met]
            # Set up fresh GOCACHE. (0.000s)
            # Verify the standard library (specifically runtime/internal/atomic) can be
            # built with -gcflags when -n is given. See golang.org/issue/29346. (11.127s)
...
            packagefile strings=$WORK/b052/_pkg_.a
            packagefile sync=$WORK/b021/_pkg_.a
            packagefile syscall=$WORK/b039/_pkg_.a
            packagefile testing=$WORK/b236/_pkg_.a
            packagefile time=$WORK/b043/_pkg_.a
            EOF
            /tmp/buildlet/go/pkg/tool/darwin_amd64/compile -o $WORK/b291/_pkg_.a -trimpath "$WORK/b291=>" -p vendor/golang.org/x/net/nettest -std -complete -buildid PuMbqnT1XZhgztYDmnec/PuMbqnT1XZhgztYDmnec -c=4 -shared -l -nolocalimports -importcfg $WORK/b291/importcfg -pack /tmp/buildlet/go/src/vendor/golang.org/x/net/nettest/conntest.go /tmp/buildlet/go/src/vendor/golang.org/x/net/nettest/nettest.go /tmp/buildlet/go/src/vendor/golang.org/x/net/nettest/nettest_unix.go
            /tmp/buildlet/go/pkg/tool/darwin_amd64/buildid -w $WORK/b291/_pkg_.a # internal
            > stderr 'compile.* runtime/internal/atomic .* -l'
        script_test.go:160: FAIL: testdata/script/build_runtime_gcflags.txt:11: stderr 'compile.* runtime/internal/atomic .* -l': no match for `(?m)compile.* runtime/internal/atomic .* -l` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-26 02:22 darwin-amd64-nocgo go@3659b875 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55065
https://vcs-test.golang.org rerouted to https://127.0.0.1:55066
go test proxy running at GOPROXY=http://127.0.0.1:55067/mod
--- FAIL: TestScript (0.64s)
    --- FAIL: TestScript/mod_get_exec_toolchain (10.06s)
        script_test.go:136: 2024-03-26T02:57:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2113431912/tmpdir1712087046/mod_get_exec_toolchain1800037327
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo124
            [stderr]
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:120: go get rsc.io/needgo124: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-26 03:12 darwin-amd64-race go@1f354a60 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53318
https://vcs-test.golang.org rerouted to https://127.0.0.1:53319
go test proxy running at GOPROXY=http://127.0.0.1:53320/mod
--- FAIL: TestScript (1.37s)
    --- FAIL: TestScript/gotoolchain_loop (8.36s)
        script_test.go:136: 2024-03-26T05:01:17Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1481527094/tmpdir225605714/gotoolchain_loop552918621
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.452s)
            # Toolchain target mismatch should be detected. (0.194s)
            # Toolchain loop should be detected. (6.700s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-26 03:12 darwin-amd64-longtest go@1f354a60 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:65222
https://vcs-test.golang.org rerouted to https://127.0.0.1:65223
go test proxy running at GOPROXY=http://127.0.0.1:65224/mod
2024/03/26 01:24:21 http: TLS handshake error from 127.0.0.1:49834: EOF
--- FAIL: TestScript (1.19s)
    --- FAIL: TestScript/gotoolchain_loop (2.42s)
        script_test.go:136: 2024-03-26T05:27:25Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-304401547/tmpdir3294451464/gotoolchain_loop2962149875
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.156s)
            # Toolchain target mismatch should be detected. (0.151s)
            # Toolchain loop should be detected. (2.108s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-26 06:18 darwin-amd64-race go@f6b93a4c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55183
https://vcs-test.golang.org rerouted to https://127.0.0.1:55184
go test proxy running at GOPROXY=http://127.0.0.1:55185/mod
--- FAIL: TestScript (1.37s)
    --- FAIL: TestScript/gotoolchain_loop (3.77s)
        script_test.go:136: 2024-03-26T07:30:43Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2108782031/tmpdir4085672874/gotoolchain_loop608313984
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.191s)
            # Toolchain target mismatch should be detected. (0.242s)
            # Toolchain loop should be detected. (2.322s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
2024-03-26 15:26 darwin-amd64-11_0 go@340f73ce cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53845
https://vcs-test.golang.org rerouted to https://127.0.0.1:53846
go test proxy running at GOPROXY=http://127.0.0.1:53847/mod
--- FAIL: TestScript (0.70s)
    --- FAIL: TestScript/gotoolchain_loop (11.16s)
        script_test.go:136: 2024-03-26T16:09:29Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-358328516/tmpdir3875656343/gotoolchain_loop595728525
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.411s)
            # Toolchain target mismatch should be detected. (0.230s)
            # Toolchain loop should be detected. (10.385s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-27 20:42 darwin-amd64-12_0 go@0c561209 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54589
https://vcs-test.golang.org rerouted to https://127.0.0.1:54590
go test proxy running at GOPROXY=http://127.0.0.1:54591/mod
--- FAIL: TestScript (0.66s)
    --- FAIL: TestScript/gotoolchain_net (0.53s)
        script_test.go:136: 2024-03-27T21:16:01Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-422825030/tmpdir4255064396/gotoolchain_net77607358
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.221s)
            # GOTOOLCHAIN from network (0.262s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-28 21:25 darwin-amd64-11_0 go@fae6eb5f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53555
https://vcs-test.golang.org rerouted to https://127.0.0.1:53556
go test proxy running at GOPROXY=http://127.0.0.1:53557/mod
--- FAIL: TestScript (0.28s)
    --- FAIL: TestScript/gotoolchain_loop (7.35s)
        script_test.go:136: 2024-03-28T22:12:50Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2380994578/tmpdir2114697816/gotoolchain_loop204948330
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.370s)
            # Toolchain target mismatch should be detected. (0.306s)
            # Toolchain loop should be detected. (6.371s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-28 21:25 darwin-amd64-12_0 go@77d9cb89 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54887
https://vcs-test.golang.org rerouted to https://127.0.0.1:54888
go test proxy running at GOPROXY=http://127.0.0.1:54889/mod
--- FAIL: TestScript (0.27s)
    --- FAIL: TestScript/gotoolchain_loop (2.83s)
        script_test.go:136: 2024-03-29T04:50:23Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1336179945/tmpdir1989637203/gotoolchain_loop4194581393
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.799s)
            # Toolchain target mismatch should be detected. (0.425s)
            # Toolchain loop should be detected. (1.361s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-15 17:34 darwin-amd64-13 go@beea7c1b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51899
https://vcs-test.golang.org rerouted to https://127.0.0.1:51900
go test proxy running at GOPROXY=http://127.0.0.1:51901/mod
--- FAIL: TestScript (1.07s)
    --- FAIL: TestScript/mod_get_exec_toolchain (2.59s)
        script_test.go:136: 2024-04-15T18:14:47Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-922673454/tmpdir3997804268/mod_get_exec_toolchain3399714391
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.635s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.516s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.124s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.147s)
            # go get go@1.22 should resolve to the latest 1.22 (0.612s)
            # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release. (0.420s)
            > env GOTOOLCHAIN=local
            > cp go.mod.new go.mod
            > ! go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22rc1 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:67: go get go@1.22rc1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-15 19:56 darwin-amd64-11_0 go@cf760ce2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54159
https://vcs-test.golang.org rerouted to https://127.0.0.1:54160
go test proxy running at GOPROXY=http://127.0.0.1:54161/mod
2024/04/15 16:39:14 http: TLS handshake error from 127.0.0.1:54763: EOF
--- FAIL: TestScript (0.83s)
    --- FAIL: TestScript/gotoolchain_net (0.33s)
        script_test.go:136: 2024-04-15T20:39:49Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1154451508/tmpdir465337514/gotoolchain_net2979665552
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.137s)
            # GOTOOLCHAIN from network (0.142s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-15 20:52 darwin-amd64-11_0 go@ca94e9e2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53586
https://vcs-test.golang.org rerouted to https://127.0.0.1:53587
go test proxy running at GOPROXY=http://127.0.0.1:53588/mod
--- FAIL: TestScript (0.64s)
    --- FAIL: TestScript/gotoolchain_local (8.43s)
        script_test.go:136: 2024-04-15T21:30:04Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1389910920/tmpdir3796781550/gotoolchain_local2863257768
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
            # See gotoolchain_net.txt and gotoolchain_path.txt for tests of network and PATH toolchains. (0.000s)
            # GOTOOLCHAIN=auto runs default toolchain without a go.mod or go.work (0.167s)
            # GOTOOLCHAIN=path runs default toolchain without a go.mod or go.work (0.093s)
            # GOTOOLCHAIN=asdf is a syntax error (0.145s)
            # GOTOOLCHAIN=version is used directly. (0.609s)
            # GOTOOLCHAIN=version+auto sets a minimum. (0.564s)
            # GOTOOLCHAIN=version+path sets a minimum too. (0.764s)
            # Create a go.mod file and test interactions with auto and path.
            # GOTOOLCHAIN=auto uses go line if newer than local toolchain. (3.273s)
            # GOTOOLCHAIN=path does the same. (2.484s)
            # GOTOOLCHAIN=min+auto with toolchain default uses min, not local (0.297s)
            > env GOTOOLCHAIN=go1.400+auto
            > go mod edit -go=1.300 -toolchain=default
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:104: go mod edit -go=1.300 -toolchain=default: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-15 22:43 darwin-amd64-nocgo go@1488bb6c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55400
https://vcs-test.golang.org rerouted to https://127.0.0.1:55401
go test proxy running at GOPROXY=http://127.0.0.1:55402/mod
--- FAIL: TestScript (0.38s)
    --- FAIL: TestScript/mod_get_exec_toolchain (7.57s)
        script_test.go:136: 2024-04-15T23:13:35Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2696340447/tmpdir2893245828/mod_get_exec_toolchain507841362
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo1223
            [stderr]
            go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:107: go get rsc.io/needgo1223: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-16 17:59 darwin-amd64-nocgo go@330bc950 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56132
https://vcs-test.golang.org rerouted to https://127.0.0.1:56133
go test proxy running at GOPROXY=http://127.0.0.1:56134/mod
--- FAIL: TestScript (0.67s)
    --- FAIL: TestScript/mod_import_toolchain (1.38s)
        script_test.go:136: 2024-04-16T18:40:21Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-533253360/tmpdir385489300/mod_import_toolchain3906309989
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.057s)
...
            go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go get -v .
            [stderr]
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./b1 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:24: go get -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-16 17:59 darwin-amd64-12_0 go@330bc950 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53775
https://vcs-test.golang.org rerouted to https://127.0.0.1:53776
go test proxy running at GOPROXY=http://127.0.0.1:53777/mod
--- FAIL: TestScript (0.57s)
    --- FAIL: TestScript/gotoolchain_local (11.18s)
        script_test.go:136: 2024-04-16T18:48:11Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3260502722/tmpdir4224419180/gotoolchain_local1418512961
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            # go install m@v and go run m@v should ignore go.mod and use m@v (0.650s)
            # go install should handle unknown flags to find m@v (0.124s)
            > ! go install -unknownflag rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^flag provided but not defined: -unknownflag'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:215: stderr '^flag provided but not defined: -unknownflag': no match for `(?m)^flag provided but not defined: -unknownflag` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-16 19:59 darwin-amd64-13 go@07496729 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54149
https://vcs-test.golang.org rerouted to https://127.0.0.1:54150
go test proxy running at GOPROXY=http://127.0.0.1:54151/mod
--- FAIL: TestScript (1.10s)
    --- FAIL: TestScript/gotoolchain_local (0.63s)
        script_test.go:136: 2024-04-16T20:39:46Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1335826243/tmpdir874284901/gotoolchain_local1525987199
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
            # See gotoolchain_net.txt and gotoolchain_path.txt for tests of network and PATH toolchains. (0.000s)
            # GOTOOLCHAIN=auto runs default toolchain without a go.mod or go.work (0.171s)
            # GOTOOLCHAIN=path runs default toolchain without a go.mod or go.work (0.098s)
            # GOTOOLCHAIN=asdf is a syntax error (0.145s)
            # GOTOOLCHAIN=version is used directly. (0.212s)
            > env GOTOOLCHAIN=go1.600
            > go version
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:25: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-16 21:06 darwin-amd64-12_0 go@15cec430 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55347
https://vcs-test.golang.org rerouted to https://127.0.0.1:55348
go test proxy running at GOPROXY=http://127.0.0.1:55349/mod
--- FAIL: TestScript (0.38s)
    --- FAIL: TestScript/work_sync_toolchain (1.19s)
        script_test.go:136: 2024-04-16T21:45:49Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3212279516/tmpdir3664422637/work_sync_toolchain3247182027
        script_test.go:160: 
            # Create basic modules and work space. (0.719s)
            # work sync with older modules should leave go 1.50 in the go.work. (0.096s)
...
            [exit status 1]
            > stderr '^go: cannot load module m1_22_0 listed in go.work file: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$'
            matched: go: cannot load module m1_22_0 listed in go.work file: m1_22_0/go.mod requires go >= 1.22.0 (running go 1.21; GOTOOLCHAIN=local)
            > stderr '^go: cannot load module m1_22_1 listed in go.work file: m1_22_1'${/}'go.mod requires go >= 1.22.1 \(running go 1.21; GOTOOLCHAIN=local\)$'
            matched: go: cannot load module m1_22_1 listed in go.work file: m1_22_1/go.mod requires go >= 1.22.1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go work sync
            [stderr]
            go: m1_22_1/go.mod requires go >= 1.22.1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/work_sync_toolchain.txt:34: go work sync: signal: illegal instruction
2024-04-16 21:06 darwin-amd64-nocgo go@15cec430 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55332
https://vcs-test.golang.org rerouted to https://127.0.0.1:55333
go test proxy running at GOPROXY=http://127.0.0.1:55334/mod
--- FAIL: TestScript (0.76s)
    --- FAIL: TestScript/gotoolchain_local (16.19s)
        script_test.go:136: 2024-04-16T21:42:27Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2025681262/tmpdir1044755745/gotoolchain_local3162837464
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            # go run cannot handle unknown boolean flags (0.570s)
            # go run can handle unknown flag with argument. (0.150s)
            > ! go run -unknown=flag rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^flag provided but not defined: -unknown'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:233: stderr '^flag provided but not defined: -unknown': no match for `(?m)^flag provided but not defined: -unknown` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-16 22:41 darwin-arm64-11 go@c51f6c62 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:58009
https://vcs-test.golang.org rerouted to https://127.0.0.1:58010
go test proxy running at GOPROXY=http://127.0.0.1:58011/mod
--- FAIL: TestScript (0.12s)
    --- FAIL: TestScript/gotoolchain_local (1.88s)
        script_test.go:136: 2024-04-16T22:47:48Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3443217970/tmpdir1836850148/gotoolchain_local2205825589
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            > go mod edit -go=1.999 -toolchain=go1.998
            > ! go install rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: downloading rsc.io/fortune v0.0.1
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:206: stderr '^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0.0.1: module rsc.io/fortune@v0.0.1 found, but does not contain package rsc.io/fortune/nonexist` in stderr
2024-04-18 15:37 darwin-amd64-13 go@4084bc1a cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52615
https://vcs-test.golang.org rerouted to https://127.0.0.1:52616
go test proxy running at GOPROXY=http://127.0.0.1:52617/mod
--- FAIL: TestScript (1.83s)
    --- FAIL: TestScript/gotoolchain_net (1.48s)
        script_test.go:136: 2024-04-18T16:21:16Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2506999648/tmpdir488041126/gotoolchain_net1433388459
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.324s)
            # GOTOOLCHAIN from network (0.394s)
            # GOTOOLCHAIN cached from network (0.344s)
            # GOTOOLCHAIN with GOSUMDB enabled but at a bad URL should operate in cache and not try badurl (0.311s)
            > env oldsumdb=$GOSUMDB
            > env GOSUMDB=$oldsumdb' http://badurl'
            > go version
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:30: go version: signal: illegal instruction
2024-04-18 15:40 darwin-amd64-race go@8d4abd78 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56036
https://vcs-test.golang.org rerouted to https://127.0.0.1:56037
go test proxy running at GOPROXY=http://127.0.0.1:56038/mod
--- FAIL: TestScript (1.26s)
    --- FAIL: TestScript/gotoolchain_loop (12.82s)
        script_test.go:136: 2024-04-19T07:27:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2931796650/tmpdir1403384876/gotoolchain_loop3524604784
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.096s)
            # Toolchain target mismatch should be detected. (0.235s)
            # Toolchain loop should be detected. (11.464s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [stderr]
            go: switching from go1.21.1 to go1.21.99 [depth 90]
            go: switching from go1.21.1 to go1.21.99 [depth 91]
            go: switching from go1.21.1 to go1.21.99 [depth 92]
            go: switching from go1.21.1 to go1.21.99 [depth 93]
            go: switching from go1.21.1 to go1.21.99 [depth 94]
            go: switching from go1.21.1 to go1.21.99 [depth 95]
            go: switching from go1.21.1 to go1.21.99 [depth 96]
            go: switching from go1.21.1 to go1.21.99 [depth 97]
            go: switching from go1.21.1 to go1.21.99 [depth 98]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 9 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-19 00:32 darwin-amd64-longtest go@a6390780 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52104
https://vcs-test.golang.org rerouted to https://127.0.0.1:52105
go test proxy running at GOPROXY=http://127.0.0.1:52106/mod
--- FAIL: TestScript (0.70s)
    --- FAIL: TestScript/gotoolchain_net (0.31s)
        script_test.go:136: 2024-04-19T01:50:31Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3306345832/tmpdir2190437135/gotoolchain_net381039953
        script_test.go:160: 
            # This test only checks that basic network lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt.
            # This test is sensitive to "new" Go experiments, so
            # update the environment to remove any existing GOEXPERIMENT
            # setting, see #62016 for more on this.  (0.000s)
            # GOTOOLCHAIN from network, does not exist (0.109s)
            # GOTOOLCHAIN from network (0.176s)
            > [!exec:/bin/sh] stop 'the fake proxy serves shell scripts instead of binaries'
            [condition not met]
            > env GOTOOLCHAIN=go1.999testmod
            > go version
            [stderr]
            go: downloading go1.999testmod (darwin/amd64)
        script_test.go:160: FAIL: testdata/script/gotoolchain_net.txt:19: go version: signal: illegal instruction
2024-04-19 15:02 darwin-amd64-race go@974b2011 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56490
https://vcs-test.golang.org rerouted to https://127.0.0.1:56491
go test proxy running at GOPROXY=http://127.0.0.1:56492/mod
--- FAIL: TestScript (1.28s)
    --- FAIL: TestScript/gotoolchain_loop (8.82s)
        script_test.go:136: 2024-04-19T15:53:05Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3284463900/tmpdir1872814300/gotoolchain_loop3958508177
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.104s)
            # Toolchain target mismatch should be detected. (0.105s)
            # Toolchain loop should be detected. (7.601s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [stderr]
            go: switching from go1.21.1 to go1.21.99 [depth 90]
            go: switching from go1.21.1 to go1.21.99 [depth 91]
            go: switching from go1.21.1 to go1.21.99 [depth 92]
            go: switching from go1.21.1 to go1.21.99 [depth 93]
            go: switching from go1.21.1 to go1.21.99 [depth 94]
            go: switching from go1.21.1 to go1.21.99 [depth 95]
            go: switching from go1.21.1 to go1.21.99 [depth 96]
            go: switching from go1.21.1 to go1.21.99 [depth 97]
            go: switching from go1.21.1 to go1.21.99 [depth 98]
            go: switching from go1.21.1 to go1.21.99 [depth 99]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
            > stderr -count=1 '^go: switching from go1.21.1 to go1.21.99 \[depth 100\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:18: stderr -count=1 '^go: switching from go1.21.1 to go1.21.99 \[depth 100\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 100\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-19 17:16 darwin-amd64-nocgo go@4324d5a8 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55037
https://vcs-test.golang.org rerouted to https://127.0.0.1:55038
go test proxy running at GOPROXY=http://127.0.0.1:55039/mod
--- FAIL: TestScript (0.20s)
    --- FAIL: TestScript/mod_import_toolchain (2.88s)
        script_test.go:136: 2024-04-20T00:35:20Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1220623465/tmpdir2604862480/mod_import_toolchain1064329894
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.001s)
...
            go: trying upgrade to example.net/a@v0.2.0
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./a2 requires go >= 1.22.0; switching to go1.22.9
            go: trying upgrade to example.net/a@v0.2.0
            go: trying upgrade to example.net/b@v0.1.0
            go: accepting indirect upgrade from go@1.20 to 1.22.0
            go: trying upgrade to example.net/c@v0.1.0
            go: trying upgrade to example.net/d@v0.2.0
            go: module ./d2 requires go >= 1.23.0; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:33: go get -u -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-19 17:15 darwin-amd64-race go@2ff89341 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55656
https://vcs-test.golang.org rerouted to https://127.0.0.1:55657
go test proxy running at GOPROXY=http://127.0.0.1:55658/mod
--- FAIL: TestScript (1.29s)
    --- FAIL: TestScript/gotoolchain_loop (10.78s)
        script_test.go:136: 2024-04-20T01:23:07Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2188608132/tmpdir1602474421/gotoolchain_loop3559653558
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.401s)
            # Toolchain target mismatch should be detected. (0.398s)
            # Toolchain loop should be detected. (8.944s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-19 21:11 darwin-amd64-12_0 go@7f76c00f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55538
https://vcs-test.golang.org rerouted to https://127.0.0.1:55539
go test proxy running at GOPROXY=http://127.0.0.1:55540/mod
--- FAIL: TestScript (0.73s)
    --- FAIL: TestScript/work_sync_toolchain (2.33s)
        script_test.go:136: 2024-04-19T21:53:03Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3302193627/tmpdir788457747/work_sync_toolchain371513976
        script_test.go:160: 
            # Create basic modules and work space. (1.008s)
            # work sync with older modules should leave go 1.50 in the go.work. (0.103s)
            # work sync with newer modules should update go 1.21 -> 1.22.1 and toolchain -> go1.22.9 in go.work (0.539s)
            # work sync with newer modules should update go 1.22.1 -> 1.24rc1 and drop toolchain (0.472s)
            > go work edit -use=./m1_24_rc0
            > go work sync
            [stderr]
            go: m1_24_rc0/go.mod requires go >= 1.24rc0; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/work_sync_toolchain.txt:41: go work sync: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 14:29 darwin-amd64-12_0 go@4bb67bc2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55211
https://vcs-test.golang.org rerouted to https://127.0.0.1:55212
go test proxy running at GOPROXY=http://127.0.0.1:55213/mod
--- FAIL: TestScript (0.41s)
    --- FAIL: TestScript/gotoolchain_loop (11.72s)
        script_test.go:136: 2024-04-22T15:11:37Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3669624732/tmpdir300134925/gotoolchain_loop4066485292
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.243s)
            # Toolchain target mismatch should be detected. (0.215s)
            # Toolchain loop should be detected. (11.253s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 17:58 darwin-amd64-12_0 go@654c3368 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54976
https://vcs-test.golang.org rerouted to https://127.0.0.1:54977
go test proxy running at GOPROXY=http://127.0.0.1:54978/mod
--- FAIL: TestScript (0.60s)
    --- FAIL: TestScript/gotoolchain_local (17.81s)
        script_test.go:136: 2024-04-22T18:32:33Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1077360341/tmpdir1592848770/gotoolchain_local325384485
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            > stderr '^flag provided but not defined: -unknownflag'
            matched: flag provided but not defined: -unknownflag
            > ! go install -unknownflag arg rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^flag provided but not defined: -unknownflag'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:219: stderr '^flag provided but not defined: -unknownflag': no match for `(?m)^flag provided but not defined: -unknownflag` in stderr
2024-04-22 18:14 darwin-amd64-12_0 go@a088e230 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55237
https://vcs-test.golang.org rerouted to https://127.0.0.1:55238
go test proxy running at GOPROXY=http://127.0.0.1:55239/mod
--- FAIL: TestScript (0.89s)
    --- FAIL: TestScript/mod_get_exec_toolchain (8.77s)
        script_test.go:136: 2024-04-22T18:47:29Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1788354292/tmpdir5722973/mod_get_exec_toolchain382923767
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo1223
            [stderr]
            go: rsc.io/needgo1223@v0.0.1 requires go >= 1.22.3; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:107: go get rsc.io/needgo1223: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 17:13 darwin-amd64-longtest go@ed2671aa cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51677
https://vcs-test.golang.org rerouted to https://127.0.0.1:51678
go test proxy running at GOPROXY=http://127.0.0.1:51679/mod
2024/04/22 14:37:03 http: TLS handshake error from 127.0.0.1:52566: EOF
2024/04/22 14:37:03 http: TLS handshake error from 127.0.0.1:52564: EOF
--- FAIL: TestScript (0.67s)
    --- FAIL: TestScript/mod_get_exec_toolchain (0.43s)
        script_test.go:136: 2024-04-22T18:37:17Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1850613235/tmpdir2940192592/mod_get_exec_toolchain1225653507
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.392s)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall
            [stderr]
            go: downloading rsc.io/needall v0.0.1
            go: downloading rsc.io/needgo122 v0.0.1
            go: downloading rsc.io/needgo123 v0.0.1
            go: downloading rsc.io/needgo121 v0.0.1
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:7: go get rsc.io/needgo121 rsc.io/needgo122 rsc.io/needgo123 rsc.io/needall: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 18:14 darwin-amd64-longtest go@a088e230 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51465
https://vcs-test.golang.org rerouted to https://127.0.0.1:51466
go test proxy running at GOPROXY=http://127.0.0.1:51467/mod
2024/04/22 15:46:51 http: TLS handshake error from 127.0.0.1:52989: EOF
--- FAIL: TestScript (1.08s)
    --- FAIL: TestScript/mod_get_exec_toolchain (5.05s)
        script_test.go:136: 2024-04-22T19:45:43Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3570669914/tmpdir1259178595/mod_get_exec_toolchain16552146
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
...
            > mkdir dir dir/dir
            > cp go.mod.new go.mod
            > cp go.mod.new dir/go.mod
            > cp go.mod.new dir/dir/go.mod
            > cp p.go dir/p.go
            > cp p.go dir/dir/p.go
            > go get -C dir rsc.io/needgo124
            [stderr]
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:132: go get -C dir rsc.io/needgo124: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 22:06 darwin-amd64-race go@5a3b6400 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54899
https://vcs-test.golang.org rerouted to https://127.0.0.1:54900
go test proxy running at GOPROXY=http://127.0.0.1:54901/mod
--- FAIL: TestScript (1.46s)
    --- FAIL: TestScript/gotoolchain_loop (15.83s)
        script_test.go:136: 2024-04-22T22:54:34Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1153810280/tmpdir3530432732/gotoolchain_loop2158966412
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.360s)
            # Toolchain target mismatch should be detected. (0.519s)
            # Toolchain loop should be detected. (13.925s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-22 18:14 darwin-amd64-nocgo go@a088e230 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54746
https://vcs-test.golang.org rerouted to https://127.0.0.1:54747
go test proxy running at GOPROXY=http://127.0.0.1:54748/mod
--- FAIL: TestScript (0.60s)
    --- FAIL: TestScript/mod_import_toolchain (1.04s)
        script_test.go:136: 2024-04-23T09:08:12Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1150083720/tmpdir1265392087/mod_import_toolchain2659132768
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.012s)
            # tidy reports needing 1.22.0 for b1 (0.331s)
            > env GOTOOLCHAIN=local
            > ! go mod tidy
            [stderr]
            go: found example.net/b in example.net/b v0.1.0
            go: example imports
            	example.net/b: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: example imports\n\texample.net/b: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example imports
            	example.net/b: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go mod tidy
            [stderr]
            go: found example.net/b in example.net/b v0.1.0
            go: module ./b1 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:14: go mod tidy: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-23 16:49 darwin-amd64-11_0 go@8d880da1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52579
https://vcs-test.golang.org rerouted to https://127.0.0.1:52580
go test proxy running at GOPROXY=http://127.0.0.1:52581/mod
--- FAIL: TestScript (0.49s)
    --- FAIL: TestScript/gotoolchain_loop (5.48s)
        script_test.go:136: 2024-04-23T17:22:16Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-478808973/tmpdir3633352811/gotoolchain_loop1074671666
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.150s)
            # Toolchain target mismatch should be detected. (0.279s)
            # Toolchain loop should be detected. (5.042s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-23 17:45 darwin-amd64-13 go@960fa9bf cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53869
https://vcs-test.golang.org rerouted to https://127.0.0.1:53870
go test proxy running at GOPROXY=http://127.0.0.1:53871/mod
--- FAIL: TestScript (1.00s)
    --- FAIL: TestScript/gotoolchain_loop (23.04s)
        script_test.go:136: 2024-04-23T18:35:17Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1449078351/tmpdir939600558/gotoolchain_loop54755224
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.614s)
            # Toolchain target mismatch should be detected. (0.529s)
            # Toolchain loop should be detected. (21.878s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-24 13:37 darwin-amd64-nocgo go@4792ca7b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56379
https://vcs-test.golang.org rerouted to https://127.0.0.1:56380
go test proxy running at GOPROXY=http://127.0.0.1:56381/mod
--- FAIL: TestScript (0.35s)
    --- FAIL: TestScript/gotoolchain_local (21.05s)
        script_test.go:136: 2024-04-24T14:09:26Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4029642953/tmpdir1017862694/gotoolchain_local3303983868
        script_test.go:160: 
            # This test uses the fake toolchain switch support in cmd/go/internal/toolchain.Switch
            # to exercise all the version selection logic without needing actual toolchains.
...
            # go run cannot handle unknown boolean flags (0.738s)
            # go run can handle unknown flag with argument. (0.158s)
            > ! go run -unknown=flag rsc.io/fortune/nonexist@v0.0.1
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^flag provided but not defined: -unknown'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:233: stderr '^flag provided but not defined: -unknown': no match for `(?m)^flag provided but not defined: -unknown` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-24 15:53 darwin-amd64-12_0 go@3aad2d07 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55290
https://vcs-test.golang.org rerouted to https://127.0.0.1:55291
go test proxy running at GOPROXY=http://127.0.0.1:55292/mod
--- FAIL: TestScript (0.45s)
    --- FAIL: TestScript/gotoolchain_loop (8.33s)
        script_test.go:136: 2024-04-24T21:01:01Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-403759340/tmpdir1235540426/gotoolchain_loop3788622509
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.277s)
            # Toolchain target mismatch should be detected. (0.145s)
            # Toolchain loop should be detected. (7.823s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-25 17:49 darwin-amd64-longtest go@fd99157f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51133
https://vcs-test.golang.org rerouted to https://127.0.0.1:51134
go test proxy running at GOPROXY=http://127.0.0.1:51135/mod
--- FAIL: TestScript (0.64s)
    --- FAIL: TestScript/mod_import_toolchain (1.42s)
        script_test.go:136: 2024-04-25T19:20:37Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-24210986/tmpdir3341052317/mod_import_toolchain849103854
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.004s)
...
            [exit status 1]
            > stderr '^go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example.net/a@v0.2.0: module ./a2 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go get -u -v .
            [stderr]
            go: trying upgrade to example.net/a@v0.2.0
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./a2 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:33: go get -u -v .: signal: illegal instruction
2024-04-25 18:50 darwin-amd64-race go@a8ba1636 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55303
https://vcs-test.golang.org rerouted to https://127.0.0.1:55304
go test proxy running at GOPROXY=http://127.0.0.1:55305/mod
--- FAIL: TestScript (1.29s)
    --- FAIL: TestScript/gotoolchain_loop (8.40s)
        script_test.go:136: 2024-04-25T19:55:11Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1648826288/tmpdir591767840/gotoolchain_loop4057650533
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.219s)
            # Toolchain target mismatch should be detected. (0.157s)
            # Toolchain loop should be detected. (6.940s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-26 13:32 darwin-amd64-longtest go@4370cfbd cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51981
https://vcs-test.golang.org rerouted to https://127.0.0.1:51982
go test proxy running at GOPROXY=http://127.0.0.1:51983/mod
--- FAIL: TestScript (0.62s)
    --- FAIL: TestScript/mod_download_exec_toolchain (0.62s)
        script_test.go:136: 2024-04-26T14:28:51Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-714950735/tmpdir2488516874/mod_download_exec_toolchain1640132846
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # First, test 'go mod download' outside of a module.
            #
            # There is no go.mod file into which we can record the selected toolchain,
            # so unfortunately these version switches won't be as reproducible as other
            # go commands, but that's still preferable to failing entirely or downloading
            # a module zip that we don't understand.
            # GOTOOLCHAIN=auto should run the newer toolchain (0.403s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.162s)
            > env GOTOOLCHAIN=go1.21+auto
            > go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
            [stderr]
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_download_exec_toolchain.txt:19: go mod download rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest: signal: illegal instruction
2024-04-26 13:32 darwin-amd64-race go@4370cfbd cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55152
https://vcs-test.golang.org rerouted to https://127.0.0.1:55153
go test proxy running at GOPROXY=http://127.0.0.1:55154/mod
--- FAIL: TestScript (1.36s)
    --- FAIL: TestScript/gotoolchain_loop (7.57s)
        script_test.go:136: 2024-04-26T14:17:45Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3220192015/tmpdir4244713784/gotoolchain_loop181164704
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.271s)
            # Toolchain target mismatch should be detected. (0.466s)
            # Toolchain loop should be detected. (5.808s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-26 22:13 darwin-amd64-11_0 go@9effeeab cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53890
https://vcs-test.golang.org rerouted to https://127.0.0.1:53891
go test proxy running at GOPROXY=http://127.0.0.1:53892/mod
--- FAIL: TestScript (0.98s)
    --- FAIL: TestScript/goline_order (2.58s)
        script_test.go:136: 2024-04-26T22:52:14Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2229473085/tmpdir563568279/goline_order1849460452
        script_test.go:160: 
            # Check that go lines are always >= go lines of dependencies.
            # Using too old a release cannot even complete module load. (0.132s)
            # If the offending module is not imported, it's not detected. (0.391s)
            # Adding the import produces the error.
            # Maybe this should auto-switch, but it requires more plumbing to get this error through,
            # and it's a misconfigured system that should not arise in practice, so not switching is fine. (0.108s)
            # go get go@1.21.2 fixes the error. (0.692s)
            # go get -tags usem1 fixes the error. (1.014s)
            # go get fixes the error. (0.187s)
            > cp go.mod.orig go.mod
            > go get
            [stderr]
            go: module ./m1 requires go >= 1.21.2; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/goline_order.txt:31: go get: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-26 22:55 darwin-amd64-12_0 go@1c470499 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55753
https://vcs-test.golang.org rerouted to https://127.0.0.1:55754
go test proxy running at GOPROXY=http://127.0.0.1:55755/mod
--- FAIL: TestScript (0.49s)
    --- FAIL: TestScript/work_use_toolchain (4.38s)
        script_test.go:136: 2024-04-26T23:33:18Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2116364559/tmpdir3345809656/work_use_toolchain1709104601
        script_test.go:160: 
            # Create basic modules and work space. (1.492s)
            # work use with older modules should leave go 1.50 in the go.work. (0.190s)
            # work use with newer modules should bump go and toolchain,
            # including updating to a newer toolchain as needed. (0.840s)
            # work use with an even newer module should bump go again. (0.296s)
            # work use with an even newer module should bump go and toolchain again. (1.514s)
            > env GOTOOLCHAIN=go1.22.9
            > ! go work use ./m1_24_rc0
            [stderr]
            go: m1_24_rc0/go.mod requires go >= 1.24rc0 (running go 1.22.9; GOTOOLCHAIN=go1.22.9)
            [exit status 1]
            > stderr '^go: m1_24_rc0'${/}'go.mod requires go >= 1.24rc0 \(running go 1.22.9; GOTOOLCHAIN=go1.22.9\)$'
            matched: go: m1_24_rc0/go.mod requires go >= 1.24rc0 (running go 1.22.9; GOTOOLCHAIN=go1.22.9)
            > env GOTOOLCHAIN=auto
            > go work use ./m1_24_rc0
            [stderr]
            go: m1_24_rc0/go.mod requires go >= 1.24rc0; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/work_use_toolchain.txt:48: go work use ./m1_24_rc0: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-29 13:58 darwin-amd64-12_0 go@a81c8b3b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56399
https://vcs-test.golang.org rerouted to https://127.0.0.1:56400
go test proxy running at GOPROXY=http://127.0.0.1:56401/mod
--- FAIL: TestScript (0.78s)
    --- FAIL: TestScript/gotoolchain_loop (3.87s)
        script_test.go:136: 2024-04-29T14:28:22Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2516770550/tmpdir3863211703/gotoolchain_loop1309077570
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.241s)
            # Toolchain target mismatch should be detected. (0.358s)
            # Toolchain loop should be detected. (3.256s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
2024-04-29 13:58 darwin-amd64-nocgo go@a81c8b3b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55394
https://vcs-test.golang.org rerouted to https://127.0.0.1:55395
go test proxy running at GOPROXY=http://127.0.0.1:55396/mod
--- FAIL: TestScript (0.26s)
    --- FAIL: TestScript/goline_order (1.36s)
        script_test.go:136: 2024-04-29T14:23:12Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-886113061/tmpdir2046733561/goline_order1546582688
        script_test.go:160: 
            # Check that go lines are always >= go lines of dependencies.
            # Using too old a release cannot even complete module load. (0.001s)
            # If the offending module is not imported, it's not detected. (0.107s)
            # Adding the import produces the error.
            # Maybe this should auto-switch, but it requires more plumbing to get this error through,
            # and it's a misconfigured system that should not arise in practice, so not switching is fine. (0.403s)
            # go get go@1.21.2 fixes the error. (0.504s)
            # go get -tags usem1 fixes the error. (0.178s)
            > cp go.mod.orig go.mod
            > go get -tags usem1
            [stderr]
            go: module ./m1 requires go >= 1.21.2; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/goline_order.txt:26: go get -tags usem1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-30 12:44 darwin-amd64-12_0 go@dc164ead cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55740
https://vcs-test.golang.org rerouted to https://127.0.0.1:55741
go test proxy running at GOPROXY=http://127.0.0.1:55742/mod
--- FAIL: TestScript (0.53s)
    --- FAIL: TestScript/mod_import_toolchain (0.94s)
        script_test.go:136: 2024-04-30T13:08:42Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3403233147/tmpdir2872740107/mod_import_toolchain608533128
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.002s)
            # tidy reports needing 1.22.0 for b1 (0.408s)
            > env GOTOOLCHAIN=local
            > ! go mod tidy
            [stderr]
            go: found example.net/b in example.net/b v0.1.0
            go: example imports
            	example.net/b: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: example imports\n\texample.net/b: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example imports
            	example.net/b: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go mod tidy
            [stderr]
            go: found example.net/b in example.net/b v0.1.0
            go: module ./b1 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:14: go mod tidy: signal: illegal instruction
2024-04-30 12:44 darwin-amd64-nocgo go@dc164ead cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55830
https://vcs-test.golang.org rerouted to https://127.0.0.1:55831
go test proxy running at GOPROXY=http://127.0.0.1:55832/mod
--- FAIL: TestScript (0.27s)
    --- FAIL: TestScript/mod_get_exec_toolchain (7.25s)
        script_test.go:136: 2024-04-30T13:06:15Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3675440060/tmpdir1447395605/mod_get_exec_toolchain148772804
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo122@v0.0.1 requires go >= 1.22 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo122
            [stderr]
            go: rsc.io/needgo122@v0.0.1 requires go >= 1.22; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:94: go get rsc.io/needgo122: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-30 19:45 darwin-amd64-longtest go@959e65c4 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52785
https://vcs-test.golang.org rerouted to https://127.0.0.1:52786
go test proxy running at GOPROXY=http://127.0.0.1:52787/mod
--- FAIL: TestScript (0.64s)
    --- FAIL: TestScript/mod_get_exec_toolchain (4.83s)
        script_test.go:136: 2024-04-30T21:09:40Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2966119858/tmpdir1986983050/mod_get_exec_toolchain2982159967
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: rsc.io/needgo124@v0.0.1 requires go >= 1.24 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get rsc.io/needgo124
            [stderr]
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:120: go get rsc.io/needgo124: signal: illegal instruction

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

1 participant