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 · 106 comments
Open

cmd/go: TestScript failures #66337

gopherbot opened this issue Mar 15, 2024 · 106 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
Contributor

#!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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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
Contributor 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

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-03 12:58 darwin-amd64-nocgo go@44b54b99 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55398
https://vcs-test.golang.org rerouted to https://127.0.0.1:55399
go test proxy running at GOPROXY=http://127.0.0.1:55400/mod
--- FAIL: TestScript (0.21s)
    --- FAIL: TestScript/gotoolchain_local (16.92s)
        script_test.go:136: 2024-05-03T13:23:54Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1769394905/tmpdir3794954339/gotoolchain_local3431695310
        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

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-03 16:41 darwin-amd64-11_0 go@44e48c7e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56774
https://vcs-test.golang.org rerouted to https://127.0.0.1:56775
go test proxy running at GOPROXY=http://127.0.0.1:56776/mod
--- FAIL: TestScript (0.50s)
    --- FAIL: TestScript/gotoolchain_loop (1.16s)
        script_test.go:136: 2024-05-03T17:09:34Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2337015328/tmpdir752464368/gotoolchain_loop3541008539
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.322s)
            # Toolchain target mismatch should be detected. (0.333s)
            # Toolchain loop should be detected. (0.423s)
            > 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-03 16:48 darwin-amd64-race go@10c035ac cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54992
https://vcs-test.golang.org rerouted to https://127.0.0.1:54993
go test proxy running at GOPROXY=http://127.0.0.1:54994/mod
--- FAIL: TestScript (1.37s)
    --- FAIL: TestScript/gotoolchain_loop (8.48s)
        script_test.go:136: 2024-05-03T18:05:41Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3529707796/tmpdir1449237362/gotoolchain_loop16094270
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.253s)
            # Toolchain target mismatch should be detected. (0.227s)
            # Toolchain loop should be detected. (6.975s)
            > 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-03 16:47 darwin-amd64-nocgo go@0bc093a1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55525
https://vcs-test.golang.org rerouted to https://127.0.0.1:55526
go test proxy running at GOPROXY=http://127.0.0.1:55527/mod
--- FAIL: TestScript (0.42s)
    --- FAIL: TestScript/mod_get_exec_toolchain (4.53s)
        script_test.go:136: 2024-05-04T04:26:55Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1504634607/tmpdir1235902611/mod_get_exec_toolchain1021064150
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.900s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.335s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.194s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.431s)
            # go get go@1.22 should resolve to the latest 1.22 (0.881s)
            > 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-06 20:33 darwin-amd64-longtest go@5a181c50 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52848
https://vcs-test.golang.org rerouted to https://127.0.0.1:52849
go test proxy running at GOPROXY=http://127.0.0.1:52850/mod
--- FAIL: TestScript (0.56s)
    --- FAIL: TestScript/gotoolchain_loop (0.80s)
        script_test.go:135: 2024-05-06T22:09:43Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-4288614036/tmpdir3671345147/gotoolchain_loop157034912
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.180s)
            # Toolchain target mismatch should be detected. (0.173s)
            # Toolchain loop should be detected. (0.436s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-07 18:03 darwin-amd64-11_0 go@9c4849bf cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54152
https://vcs-test.golang.org rerouted to https://127.0.0.1:54153
go test proxy running at GOPROXY=http://127.0.0.1:54154/mod
2024/05/07 14:40:37 http: TLS handshake error from 127.0.0.1:54953: EOF
--- FAIL: TestScript (0.85s)
    --- FAIL: TestScript/gotoolchain_loop (2.75s)
        script_test.go:135: 2024-05-07T18:41:20Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-3874610948/tmpdir3969159609/gotoolchain_loop3987897440
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.373s)
            # Toolchain target mismatch should be detected. (0.178s)
            # Toolchain loop should be detected. (2.181s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-07 18:48 darwin-amd64-nocgo go@5f5e9f4f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55218
https://vcs-test.golang.org rerouted to https://127.0.0.1:55219
go test proxy running at GOPROXY=http://127.0.0.1:55220/mod
--- FAIL: TestScript (0.79s)
    --- FAIL: TestScript/gotoolchain_local (14.23s)
        script_test.go:135: 2024-05-07T19:24:17Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-2713757825/tmpdir3542741965/gotoolchain_local3316760950
        script_test.go:159: 
            # 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 misconfiguration does not break go mod edit (1.093s)
            > go mod edit -go=1.600 -toolchain=default
            > go version
            [stdout]
            go version go1.500 (TESTGO_VERSION) darwin/amd64
            > stdout go1.500
            matched: go version go1.500 (TESTGO_VERSION) darwin/amd64
            > go mod edit -toolchain=none
            > go version
        script_test.go:159: FAIL: testdata/script/gotoolchain_local.txt:156: go version: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-07 18:42 darwin-amd64-longtest go@723d34f1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52478
https://vcs-test.golang.org rerouted to https://127.0.0.1:52479
go test proxy running at GOPROXY=http://127.0.0.1:52480/mod
--- FAIL: TestScript (0.80s)
    --- FAIL: TestScript/gotoolchain_loop (3.79s)
        script_test.go:135: 2024-05-08T01:22:50Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1825068938/tmpdir2844572810/gotoolchain_loop3861345823
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.156s)
            # Toolchain target mismatch should be detected. (0.256s)
            # Toolchain loop should be detected. (3.341s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-07 18:24 darwin-amd64-12_0 go@1e4de058 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54924
https://vcs-test.golang.org rerouted to https://127.0.0.1:54925
go test proxy running at GOPROXY=http://127.0.0.1:54926/mod
--- FAIL: TestScript (0.87s)
    --- FAIL: TestScript/gotoolchain_loop (3.62s)
        script_test.go:135: 2024-05-08T03:38:24Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-2894697214/tmpdir4106936380/gotoolchain_loop577675837
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.152s)
            # Toolchain target mismatch should be detected. (0.303s)
            # Toolchain loop should be detected. (3.129s)
            > 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:159: 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-05-07 18:36 darwin-amd64-race go@709d6d5d cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55426
https://vcs-test.golang.org rerouted to https://127.0.0.1:55427
go test proxy running at GOPROXY=http://127.0.0.1:55428/mod
--- FAIL: TestScript (1.31s)
    --- FAIL: TestScript/gotoolchain_loop (10.08s)
        script_test.go:135: 2024-05-08T03:10:30Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-2370441249/tmpdir4211079495/gotoolchain_loop1293989778
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.415s)
            # Toolchain target mismatch should be detected. (0.206s)
            # Toolchain loop should be detected. (8.432s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-07 20:08 darwin-amd64-12_0 go@4ed358b5 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53579
https://vcs-test.golang.org rerouted to https://127.0.0.1:53580
go test proxy running at GOPROXY=http://127.0.0.1:53581/mod
--- FAIL: TestScript (0.89s)
    --- FAIL: TestScript/gotoolchain_loop (11.29s)
        script_test.go:135: 2024-05-07T20:47:57Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-617132124/tmpdir566151398/gotoolchain_loop497531357
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
...
    --- FAIL: TestScript/work_sync_toolchain (2.49s)
        script_test.go:135: 2024-05-07T20:48:06Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-617132124/tmpdir566151398/work_sync_toolchain330049923
        script_test.go:159: 
            # Create basic modules and work space. (0.959s)
            # work sync with older modules should leave go 1.50 in the go.work. (0.135s)
            # work sync with newer modules should update go 1.21 -> 1.22.1 and toolchain -> go1.22.9 in go.work (0.554s)
            # work sync with newer modules should update go 1.22.1 -> 1.24rc1 and drop toolchain (0.714s)
            > 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:159: FAIL: testdata/script/work_sync_toolchain.txt:41: go work sync: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-08 19:04 darwin-amd64-12_0 go@4513f1a1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55175
https://vcs-test.golang.org rerouted to https://127.0.0.1:55176
go test proxy running at GOPROXY=http://127.0.0.1:55177/mod
--- FAIL: TestScript (0.51s)
    --- FAIL: TestScript/gotoolchain_loop (12.21s)
        script_test.go:135: 2024-05-08T19:41:11Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1105300241/tmpdir243083670/gotoolchain_loop3615741956
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.591s)
            # Toolchain target mismatch should be detected. (0.184s)
            # Toolchain loop should be detected. (11.384s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-08 17:52 darwin-amd64-12_0 go@36d32f68 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55352
https://vcs-test.golang.org rerouted to https://127.0.0.1:55353
go test proxy running at GOPROXY=http://127.0.0.1:55354/mod
--- FAIL: TestScript (1.18s)
    --- FAIL: TestScript/gotoolchain_local (27.01s)
        script_test.go:135: 2024-05-09T06:40:38Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1767731124/tmpdir2689783490/gotoolchain_local3365822317
        script_test.go:159: 
            # 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.326s)
            # go run m@v should handle queries (0.153s)
            > ! 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-08 17:47 darwin-amd64-race go@c3bd543c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55357
https://vcs-test.golang.org rerouted to https://127.0.0.1:55358
go test proxy running at GOPROXY=http://127.0.0.1:55359/mod
--- FAIL: TestScript (1.48s)
    --- FAIL: TestScript/gotoolchain_loop (12.27s)
        script_test.go:135: 2024-05-09T07:55:02Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-3535015989/tmpdir1551482984/gotoolchain_loop1376979145
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.371s)
            # Toolchain target mismatch should be detected. (0.515s)
            # Toolchain loop should be detected. (10.321s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-09 13:50 darwin-amd64-nocgo go@805f6b3f cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54793
https://vcs-test.golang.org rerouted to https://127.0.0.1:54794
go test proxy running at GOPROXY=http://127.0.0.1:54795/mod
2024/05/09 07:23:51 http: TLS handshake error from 127.0.0.1:55499: EOF
--- FAIL: TestScript (0.40s)
    --- FAIL: TestScript/gotoolchain_loop (17.92s)
        script_test.go:135: 2024-05-09T14:24:36Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1886541219/tmpdir1498459734/gotoolchain_loop1707636429
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.157s)
            # Toolchain target mismatch should be detected. (0.405s)
            # Toolchain loop should be detected. (17.205s)
            > 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]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:159: 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 3 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-09 22:40 darwin-amd64-race go@58561624 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54455
https://vcs-test.golang.org rerouted to https://127.0.0.1:54456
go test proxy running at GOPROXY=http://127.0.0.1:54457/mod
--- FAIL: TestScript (1.34s)
    --- FAIL: TestScript/gotoolchain_loop (12.97s)
        script_test.go:135: 2024-05-09T23:34:20Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-273890951/tmpdir3976500673/gotoolchain_loop96026561
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.304s)
            # Toolchain target mismatch should be detected. (0.176s)
            # Toolchain loop should be detected. (11.478s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [stderr]
            go: switching from go1.21.1 to go1.21.99 [depth 90]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:159: 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 1 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-09 22:42 darwin-amd64-race go@f4bb7b91 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55619
https://vcs-test.golang.org rerouted to https://127.0.0.1:55620
go test proxy running at GOPROXY=http://127.0.0.1:55621/mod
--- FAIL: TestScript (1.24s)
    --- FAIL: TestScript/gotoolchain_loop (8.18s)
        script_test.go:135: 2024-05-10T03:18:19Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1464991771/tmpdir3617816415/gotoolchain_loop4283042929
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.208s)
            # Toolchain target mismatch should be detected. (0.406s)
            # Toolchain loop should be detected. (6.552s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-10 13:44 darwin-amd64-race go@a548dee7 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55098
https://vcs-test.golang.org rerouted to https://127.0.0.1:55099
go test proxy running at GOPROXY=http://127.0.0.1:55100/mod
--- FAIL: TestScript (1.66s)
    --- FAIL: TestScript/gotoolchain_loop (5.78s)
        script_test.go:135: 2024-05-10T14:44:57Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1423886873/tmpdir91323051/gotoolchain_loop130085829
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.736s)
            # Toolchain target mismatch should be detected. (0.523s)
            # Toolchain loop should be detected. (3.450s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-10 21:16 darwin-amd64-nocgo go@cf6124f8 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55493
https://vcs-test.golang.org rerouted to https://127.0.0.1:55494
go test proxy running at GOPROXY=http://127.0.0.1:55495/mod
--- FAIL: TestScript (0.69s)
    --- FAIL: TestScript/gotoolchain_loop (20.71s)
        script_test.go:135: 2024-05-10T21:49:31Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-409799578/tmpdir845720795/gotoolchain_loop3703504756
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.738s)
            # Toolchain target mismatch should be detected. (0.250s)
            # Toolchain loop should be detected. (19.620s)
            > 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:159: 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-05-10 21:32 darwin-amd64-nocgo go@a0a6026b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56050
https://vcs-test.golang.org rerouted to https://127.0.0.1:56051
go test proxy running at GOPROXY=http://127.0.0.1:56052/mod
--- FAIL: TestScript (0.74s)
    --- FAIL: TestScript/goline_order (5.61s)
        script_test.go:135: 2024-05-10T22:21:57Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-3815550/tmpdir3419927307/goline_order3060263612
        script_test.go:159: 
            # 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.309s)
            # 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.531s)
            # go get go@1.21.2 fixes the error. (1.836s)
            # go get -tags usem1 fixes the error. (1.377s)
            # go get fixes the error. (1.016s)
            > cp go.mod.orig go.mod
            > go get
            [stderr]
            go: module ./m1 requires go >= 1.21.2; switching to go1.22.9
            go: upgraded go 1.21.1 => 1.21.2
            go: added toolchain go1.22.9
            > go list -deps -tags usem1
        script_test.go:159: FAIL: testdata/script/goline_order.txt:32: go list -deps -tags usem1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-08 16:12 darwin-amd64-race go@5be95e09 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54558
https://vcs-test.golang.org rerouted to https://127.0.0.1:54559
go test proxy running at GOPROXY=http://127.0.0.1:54560/mod
--- FAIL: TestScript (1.46s)
    --- FAIL: TestScript/gotoolchain_loop (10.83s)
        script_test.go:135: 2024-05-11T14:07:05Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-3882450836/tmpdir4235744613/gotoolchain_loop2885900618
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.329s)
            # Toolchain target mismatch should be detected. (0.521s)
            # Toolchain loop should be detected. (8.875s)
            > 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:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-13 15:04 darwin-amd64-13 go@ec711aaa cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54269
https://vcs-test.golang.org rerouted to https://127.0.0.1:54270
go test proxy running at GOPROXY=http://127.0.0.1:54271/mod
--- FAIL: TestScript (0.91s)
    --- FAIL: TestScript/mod_get_exec_toolchain (3.31s)
        script_test.go:135: 2024-05-13T15:48:31Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-1905216540/tmpdir2195538361/mod_get_exec_toolchain1440859542
        script_test.go:159: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.372s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.523s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.226s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.180s)
            # go get go@1.22 should resolve to the latest 1.22 (0.767s)
            # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release. (0.351s)
            > 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:159: FAIL: testdata/script/mod_get_exec_toolchain.txt:67: go get go@1.22rc1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-13 17:12 darwin-amd64-longtest go@a32e94d4 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:51308
https://vcs-test.golang.org rerouted to https://127.0.0.1:51309
go test proxy running at GOPROXY=http://127.0.0.1:51310/mod
--- FAIL: TestScript (0.50s)
    --- FAIL: TestScript/mod_get_exec_toolchain (0.47s)
        script_test.go:135: 2024-05-13T18:21:12Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-76566055/tmpdir2035672697/mod_get_exec_toolchain2811147168
        script_test.go:159: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.360s)
            > 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/needgo122 v0.0.1
            go: downloading rsc.io/needgo121 v0.0.1
            go: downloading rsc.io/needgo123 v0.0.1
            go: downloading rsc.io/needall v0.0.1
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:159: 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
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-13 21:38 darwin-amd64-12_0 go@a949ade5 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.60s)
    --- FAIL: TestScript/mod_import_toolchain (2.01s)
        script_test.go:135: 2024-05-14T05:07:12Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-630210902/tmpdir804728026/mod_import_toolchain884271520
        script_test.go:159: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.027s)
...
            [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:159: FAIL: testdata/script/mod_import_toolchain.txt:33: go get -u -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-13 21:22 darwin-amd64-11_0 go@7e196c04 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53668
https://vcs-test.golang.org rerouted to https://127.0.0.1:53669
go test proxy running at GOPROXY=http://127.0.0.1:53670/mod
--- FAIL: TestScript (0.76s)
    --- FAIL: TestScript/mod_get_exec_toolchain (1.78s)
        script_test.go:135: 2024-05-14T06:16:21Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-871176389/tmpdir3942935129/mod_get_exec_toolchain563052101
        script_test.go:159: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (0.583s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.226s)
            > 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:159: 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-05-13 21:38 darwin-amd64-11_0 go@a949ade5 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53791
https://vcs-test.golang.org rerouted to https://127.0.0.1:53792
go test proxy running at GOPROXY=http://127.0.0.1:53793/mod
--- FAIL: TestScript (1.14s)
    --- FAIL: TestScript/gotoolchain_loop (23.71s)
        script_test.go:135: 2024-05-14T05:22:23Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-2326123305/tmpdir3336774063/gotoolchain_loop364013562
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.382s)
            # Toolchain target mismatch should be detected. (0.518s)
            # Toolchain loop should be detected. (22.780s)
            > 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]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:159: 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 8 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-14 16:25 darwin-amd64-race go@c7c578cd cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54732
https://vcs-test.golang.org rerouted to https://127.0.0.1:54733
go test proxy running at GOPROXY=http://127.0.0.1:54734/mod
--- FAIL: TestScript (1.41s)
    --- FAIL: TestScript/gotoolchain_loop (12.92s)
        script_test.go:135: 2024-05-14T17:21:07Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-3061361465/tmpdir3226813689/gotoolchain_loop410798402
        script_test.go:159: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.269s)
            # Toolchain target mismatch should be detected. (0.420s)
            # Toolchain loop should be detected. (10.978s)
            > 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]
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:159: 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 7 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-05-14 21:57 darwin-amd64-12_0 go@b86527ec cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55378
https://vcs-test.golang.org rerouted to https://127.0.0.1:55379
go test proxy running at GOPROXY=http://127.0.0.1:55380/mod
--- FAIL: TestScript (1.44s)
    --- FAIL: TestScript/mod_get_exec_toolchain (10.53s)
        script_test.go:135: 2024-05-15T01:58:10Z
        script_test.go:137: $WORK=/tmp/buildlet/tmp/cmd-go-test-252898310/tmpdir2750329400/mod_get_exec_toolchain2800200362
        script_test.go:159: 
            > 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:159: 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