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

cmd/go: TestScript failures #66337

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

Comments

@gopherbot
Copy link

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

Issue created automatically to collect these failures.

Example (log):

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

watchflakes

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

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-28 21:25 darwin-amd64-11_0 go@84b190ad cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:53629
https://vcs-test.golang.org rerouted to https://127.0.0.1:53630
go test proxy running at GOPROXY=http://127.0.0.1:53631/mod
--- FAIL: TestScript (0.36s)
    --- FAIL: TestScript/gotoolchain_loop (19.50s)
        script_test.go:136: 2024-03-29T05:48:09Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3845989014/tmpdir1022720656/gotoolchain_loop466498644
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.255s)
            # Toolchain target mismatch should be detected. (0.243s)
            # Toolchain loop should be detected. (18.865s)
            > 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: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 8 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-27 18:23 darwin-amd64-race go@d4cc35c4 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54967
https://vcs-test.golang.org rerouted to https://127.0.0.1:54968
go test proxy running at GOPROXY=http://127.0.0.1:54969/mod
--- FAIL: TestScript (1.30s)
    --- FAIL: TestScript/gotoolchain_loop (13.85s)
        script_test.go:136: 2024-03-29T10:01:57Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2119747337/tmpdir99419714/gotoolchain_loop252096970
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (1.209s)
            # Toolchain target mismatch should be detected. (0.189s)
            # Toolchain loop should be detected. (12.425s)
            > 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]
            [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 6 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-29 14:36 darwin-amd64-11_0 go@d0051be8 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:57058
https://vcs-test.golang.org rerouted to https://127.0.0.1:57059
go test proxy running at GOPROXY=http://127.0.0.1:57060/mod
--- FAIL: TestScript (0.21s)
    --- FAIL: TestScript/gotoolchain_loop (4.25s)
        script_test.go:136: 2024-03-29T15:05:13Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-350405177/tmpdir4181685901/gotoolchain_loop4293087932
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.342s)
            # Toolchain target mismatch should be detected. (0.427s)
            # Toolchain loop should be detected. (3.466s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-29 23:09 linux-ppc64-sid-power10 go@89f7805c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:38329
https://vcs-test.golang.org rerouted to https://127.0.0.1:33959
go test proxy running at GOPROXY=http://127.0.0.1:36575/mod
--- FAIL: TestScript (0.12s)
    --- FAIL: TestScript/work_why_download_graph (0.04s)
        script_test.go:136: 2024-03-29T23:22:08Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-2464006488/tmpdir745246306/work_why_download_graph4191100938
        script_test.go:160: 
            # Test go mod download, why, and graph work in workspace mode.
            # TODO(bcmills): clarify the interaction with #44435 (0.036s)
...
    --- FAIL: TestScript/modfile_flag (0.10s)
        script_test.go:136: 2024-03-29T23:22:14Z
        script_test.go:138: $WORK=/workdir/tmp/cmd-go-test-2464006488/tmpdir745246306/modfile_flag2335780955
        script_test.go:160: 
            # Tests the behavior of the -modfile flag in commands that support it.
            # The go.mod file exists but should not be read or written.
            # Same with go.sum. (0.000s)
            # go mod init should create a new file, even though go.mod already exists. (0.014s)
            # 'go env GOMOD' should print the path to the real file.
            # 'go env' does not recognize the '-modfile' flag. (0.018s)
...
            [stderr]
            go: creating new go.mod: module m
            go: to add module requirements and sums:
            	go mod tidy
            > exists go.mod
            > go mod edit -require rsc.io/quote@v1.5.2
            > go mod download rsc.io/quote
            [stderr]
            go: rsc.io/quote@v1.5.2: verifying go.mod: rsc.io/quote@v1.5.2/go.mod: downloaded inconsistent tile
        script_test.go:160: FAIL: testdata/script/build_cache_disabled.txt:34: go mod download rsc.io/quote: exit status 1

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-29 21:55 darwin-amd64-12_0 go@7979c8f5 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54987
https://vcs-test.golang.org rerouted to https://127.0.0.1:54988
go test proxy running at GOPROXY=http://127.0.0.1:54989/mod
2024/03/29 23:11:10 http: TLS handshake error from 127.0.0.1:55511: EOF
--- FAIL: TestScript (0.68s)
    --- FAIL: TestScript/mod_get_exec_toolchain (2.49s)
        script_test.go:136: 2024-03-30T06:11:11Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3656252855/tmpdir3791123647/mod_get_exec_toolchain2177396474
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
...
            go: updating go.mod requires go >= 1.22.1 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22.1 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22.1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22.1
            [stderr]
            go: updating go.mod requires go >= 1.22.1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:80: go get go@1.22.1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-03-31 09:02 darwin-amd64-13 go@d49a14c6 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55427
https://vcs-test.golang.org rerouted to https://127.0.0.1:55428
go test proxy running at GOPROXY=http://127.0.0.1:55429/mod
--- FAIL: TestScript (0.84s)
    --- FAIL: TestScript/mod_get_exec_toolchain (5.55s)
        script_test.go:136: 2024-03-31T09:26:14Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-146407411/tmpdir383634763/mod_get_exec_toolchain4169674313
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            > mkdir dir dir/dir
            > cp go.mod.new go.mod
            > cp go.mod.new dir/go.mod
            > cp go.mod.new dir/dir/go.mod
            > cp p.go dir/p.go
            > cp p.go dir/dir/p.go
            > go get -C dir rsc.io/needgo124
            [stderr]
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:132: go get -C dir rsc.io/needgo124: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-01 14:34 darwin-amd64-12_0 go@7c89ad6a cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55461
https://vcs-test.golang.org rerouted to https://127.0.0.1:55462
go test proxy running at GOPROXY=http://127.0.0.1:55463/mod
--- FAIL: TestScript (0.67s)
    --- FAIL: TestScript/mod_get_exec_toolchain (5.07s)
        script_test.go:136: 2024-04-01T15:01:50Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-817934699/tmpdir2910840093/mod_get_exec_toolchain1726549392
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (1.428s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.257s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.108s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.104s)
            # go get go@1.22 should resolve to the latest 1.22 (0.792s)
            # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release. (0.943s)
            > env GOTOOLCHAIN=local
            > cp go.mod.new go.mod
            > ! go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22rc1 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:67: go get go@1.22rc1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-01 17:19 darwin-amd64-13 go@a4995244 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55922
https://vcs-test.golang.org rerouted to https://127.0.0.1:55923
go test proxy running at GOPROXY=http://127.0.0.1:55924/mod
--- FAIL: TestScript (0.65s)
    --- FAIL: TestScript/gotoolchain_loop (6.08s)
        script_test.go:136: 2024-04-01T17:44:08Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3000146464/tmpdir207184441/gotoolchain_loop119046504
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.200s)
            # Toolchain target mismatch should be detected. (0.490s)
            # Toolchain loop should be detected. (5.356s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-02 16:25 darwin-amd64-nocgo go@94dba612 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55147
https://vcs-test.golang.org rerouted to https://127.0.0.1:55148
go test proxy running at GOPROXY=http://127.0.0.1:55149/mod
--- FAIL: TestScript (0.32s)
    --- FAIL: TestScript/mod_get_exec_toolchain (4.87s)
        script_test.go:136: 2024-04-02T17:05:10Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-315317138/tmpdir777623367/mod_get_exec_toolchain330561737
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
            # GOTOOLCHAIN=auto should run the newer toolchain (1.133s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.595s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.183s)
            # GOTOOLCHAIN=local should NOT run the newer toolchain (0.464s)
            # go get go@1.22 should resolve to the latest 1.22 (0.816s)
            # go get go@1.22rc1 should use 1.22rc1 exactly, not a later release. (0.615s)
            > env GOTOOLCHAIN=local
            > cp go.mod.new go.mod
            > ! go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: updating go.mod requires go >= 1.22rc1 \(running go 1.21; GOTOOLCHAIN=local\)'
            matched: go: updating go.mod requires go >= 1.22rc1 (running go 1.21; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > cp go.mod.new go.mod
            > go get go@1.22rc1
            [stderr]
            go: updating go.mod requires go >= 1.22rc1; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:67: go get go@1.22rc1: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-02 21:49 darwin-arm64-11 go@e074fcc9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:60609
https://vcs-test.golang.org rerouted to https://127.0.0.1:60610
go test proxy running at GOPROXY=http://127.0.0.1:60611/mod
--- FAIL: TestScript (0.15s)
    --- FAIL: TestScript/gotoolchain_local (2.01s)
        script_test.go:136: 2024-04-02T21:57:33Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-25998160/tmpdir1265116485/gotoolchain_local1616926015
        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.035s)
            # go install m@v should handle queries (0.023s)
            > ! 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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-02 15:00 darwin-amd64-12_0 go@88b1d611 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55901
https://vcs-test.golang.org rerouted to https://127.0.0.1:55902
go test proxy running at GOPROXY=http://127.0.0.1:55903/mod
--- FAIL: TestScript (0.59s)
    --- FAIL: TestScript/mod_import_toolchain (2.04s)
        script_test.go:136: 2024-04-03T03:38:29Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4208957982/tmpdir1439562219/mod_import_toolchain1797999757
        script_test.go:160: 
            # This test verifies that 'go get' and 'go mod tidy' switch to a newer toolchain
            # if needed to process newly-reolved imports. (0.001s)
...
            go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            [exit status 1]
            > stderr '^go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 \(running go 1.21.0; GOTOOLCHAIN=local\)$'
            matched: go: example.net/b@v0.1.0: module ./b1 requires go >= 1.22.0 (running go 1.21.0; GOTOOLCHAIN=local)
            > env GOTOOLCHAIN=auto
            > go get -v .
            [stderr]
            go: trying upgrade to example.net/b@v0.1.0
            go: module ./b1 requires go >= 1.22.0; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/mod_import_toolchain.txt:24: go get -v .: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-04 22:54 darwin-amd64-12_0 go@99b65ae9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:56018
https://vcs-test.golang.org rerouted to https://127.0.0.1:56019
go test proxy running at GOPROXY=http://127.0.0.1:56020/mod
--- FAIL: TestScript (0.63s)
    --- FAIL: TestScript/gotoolchain_local (16.62s)
        script_test.go:136: 2024-04-05T04:37:21Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-553171578/tmpdir1102886279/gotoolchain_local401056602
        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.309s)
            # go install m@v should handle queries (0.135s)
            > ! 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

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-08 15:07 darwin-arm64-11 go@ddc6e165 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:61479
https://vcs-test.golang.org rerouted to https://127.0.0.1:61480
go test proxy running at GOPROXY=http://127.0.0.1:61481/mod
--- FAIL: TestScript (0.17s)
    --- FAIL: TestScript/mod_download_exec_toolchain (0.21s)
        script_test.go:136: 2024-04-08T15:14:08Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1590709960/tmpdir4167967411/mod_download_exec_toolchain2853492013
        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.099s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.050s)
            # GOTOOLCHAIN=go1.21 should NOT run the newer toolchain (0.023s)
            # JSON output should be emitted exactly once,
            # and non-JSON output should go to stderr instead of stdout. (0.024s)
            > env GOTOOLCHAIN=auto
            > go mod download -json rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest
            [stderr]
            go: rsc.io/needall@v0.0.1 requires go >= 1.23; switching to go1.23.9
        script_test.go:160: FAIL: testdata/script/mod_download_exec_toolchain.txt:37: go mod download -json rsc.io/needgo121@latest rsc.io/needgo122@latest rsc.io/needgo123@latest rsc.io/needall@latest: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-08 20:33 darwin-amd64-nocgo go@50a50590 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55308
https://vcs-test.golang.org rerouted to https://127.0.0.1:55309
go test proxy running at GOPROXY=http://127.0.0.1:55310/mod
--- FAIL: TestScript (0.35s)
    --- FAIL: TestScript/mod_get_exec_toolchain (8.41s)
        script_test.go:136: 2024-04-08T21:02:52Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-2872379948/tmpdir1715557540/mod_get_exec_toolchain4272343503
        script_test.go:160: 
            > env TESTGO_VERSION=go1.21
            > env TESTGO_VERSION_SWITCH=switch
...
            > mkdir dir dir/dir
            > cp go.mod.new go.mod
            > cp go.mod.new dir/go.mod
            > cp go.mod.new dir/dir/go.mod
            > cp p.go dir/p.go
            > cp p.go dir/dir/p.go
            > go get -C dir rsc.io/needgo124
            [stderr]
            go: rsc.io/needgo124@v0.0.1 requires go >= 1.24; switching to go1.24rc1
        script_test.go:160: FAIL: testdata/script/mod_get_exec_toolchain.txt:132: go get -C dir rsc.io/needgo124: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-08 21:43 darwin-amd64-11_0 go@e995aa95 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54150
https://vcs-test.golang.org rerouted to https://127.0.0.1:54151
go test proxy running at GOPROXY=http://127.0.0.1:54152/mod
--- FAIL: TestScript (0.58s)
    --- FAIL: TestScript/gotoolchain_loop (6.26s)
        script_test.go:136: 2024-04-08T22:31:06Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-1533231307/tmpdir3888601460/gotoolchain_loop1652410233
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.430s)
            # Toolchain target mismatch should be detected. (0.366s)
            # Toolchain loop should be detected. (5.451s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-08 21:03 darwin-amd64-longtest go@017478a9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49608
https://vcs-test.golang.org rerouted to https://127.0.0.1:49609
go test proxy running at GOPROXY=http://127.0.0.1:49610/mod
--- FAIL: TestScript (0.59s)
    --- FAIL: TestScript/work_goline_order (0.22s)
        script_test.go:136: 2024-04-08T22:43:18Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-242484867/tmpdir2860397137/work_goline_order1930560480
        script_test.go:160: 
            # Check that go line in go.work is always >= go line of used modules.
            # Using an old Go version, fails during module loading, but we rewrite the error to the
            # same one a switching version would use, without the auto-switch.
            # This is a misconfigured system that should not arise in practice. (0.184s)
            > env TESTGO_VERSION=go1.21.1
            > env TESTGO_VERSION_SWITCH=switch
            > cp go.work go.work.orig
            > ! go list
            [stderr]
            go: module . listed in go.work file requires go >= 1.21.2, but go.work lists go 1.21.1; to update it:
            	go work use
            [exit status 1]
            > stderr '^go: module . listed in go.work file requires go >= 1.21.2, but go.work lists go 1.21.1; to update it:\n\tgo work use$'
            matched: go: module . listed in go.work file requires go >= 1.21.2, but go.work lists go 1.21.1; to update it:
            	go work use
            > go work use
            [stderr]
            go: go.mod requires go >= 1.21.2; switching to go1.22.9
        script_test.go:160: FAIL: testdata/script/work_goline_order.txt:11: go work use: signal: illegal instruction

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-09 16:41 darwin-amd64-12_0 go@875332b8 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55403
https://vcs-test.golang.org rerouted to https://127.0.0.1:55404
go test proxy running at GOPROXY=http://127.0.0.1:55405/mod
--- FAIL: TestScript (0.82s)
    --- FAIL: TestScript/gotoolchain_loop (1.96s)
        script_test.go:136: 2024-04-10T01:35:52Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3964051754/tmpdir3635945277/gotoolchain_loop1605949902
        script_test.go:160: 
            > env GOTOOLCHAIN=auto
            > env TESTGO_VERSION=go1.21.1
            # Basic switch should work. (0.325s)
            # Toolchain target mismatch should be detected. (0.205s)
            # Toolchain loop should be detected. (1.404s)
            > env TESTGO_VERSION_SWITCH=loop
            > ! go version
            [signal: illegal instruction]
            > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
        script_test.go:160: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-10 18:52 darwin-amd64-nocgo go@5bba5b25 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:55884
https://vcs-test.golang.org rerouted to https://127.0.0.1:55885
go test proxy running at GOPROXY=http://127.0.0.1:55886/mod
--- FAIL: TestScript (0.81s)
    --- FAIL: TestScript/gotoolchain_local (23.51s)
        script_test.go:136: 2024-04-11T04:32:12Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-4122568088/tmpdir2934494794/gotoolchain_local3383083043
        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.279s)
            # go run m@v should handle queries (0.170s)
            > ! go install rsc.io/fortune/nonexist@v0
            [stderr]
            go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            [signal: illegal instruction]
            > stderr '^go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9$'
            matched: go: rsc.io/fortune@v0.0.1 requires go >= 1.21rc999; switching to go1.22.9
            > stderr '^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist'
        script_test.go:160: FAIL: testdata/script/gotoolchain_local.txt:243: stderr '^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist': no match for `(?m)^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist` in stderr

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-04-12 20:57 darwin-arm64-11 go@19626726 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:59145
https://vcs-test.golang.org rerouted to https://127.0.0.1:59146
go test proxy running at GOPROXY=http://127.0.0.1:59147/mod
--- FAIL: TestScript (0.17s)
    --- FAIL: TestScript/mod_download_exec_toolchain (0.16s)
        script_test.go:136: 2024-04-12T21:05:08Z
        script_test.go:138: $WORK=/tmp/buildlet/tmp/cmd-go-test-3350000369/tmpdir3691143846/mod_download_exec_toolchain3908448031
        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.092s)
            # GOTOOLCHAIN=min+auto should run the newer toolchain (0.052s)
            > 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

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