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/gotoolchain_loop failures #66898

Open
gopherbot opened this issue Apr 18, 2024 · 3 comments
Open

cmd/go: TestScript/gotoolchain_loop failures #66898

gopherbot opened this issue Apr 18, 2024 · 3 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/gotoolchain_loop"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/gotoolchain_loop
=== PAUSE TestScript/gotoolchain_loop
=== CONT  TestScript/gotoolchain_loop
    script_test.go:136: 2024-04-04T00:59:05Z
    script_test.go:138: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1564537401/tmpdir2522228014/gotoolchain_loop2746227893
    script_test.go:160: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1564537401/tmpdir2522228014/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
--- FAIL: TestScript/gotoolchain_loop (10.41s)
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist

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 Apr 18, 2024
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/gotoolchain_loop"
2024-04-03 22:46 gotip-darwin-amd64-nocgo go@4b2db7f6 cmd/go.TestScript/gotoolchain_loop (log)
=== RUN   TestScript/gotoolchain_loop
=== PAUSE TestScript/gotoolchain_loop
=== CONT  TestScript/gotoolchain_loop
    script_test.go:136: 2024-04-04T00:59:05Z
    script_test.go:138: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1564537401/tmpdir2522228014/gotoolchain_loop2746227893
    script_test.go:160: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1564537401/tmpdir2522228014/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
--- FAIL: TestScript/gotoolchain_loop (10.41s)
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io/fortune/nonexist v0.0.1: file does not exist
go proxy: no archive rsc.io v0.0.1: file does not exist

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/gotoolchain_loop"
2024-04-26 21:32 gotip-darwin-arm64_12 go@b439f328 cmd/go.TestScript/gotoolchain_loop (log)
=== RUN   TestScript/gotoolchain_loop
=== PAUSE TestScript/gotoolchain_loop
=== CONT  TestScript/gotoolchain_loop
    script_test.go:136: 2024-04-26T21:42:22Z
    script_test.go:138: $WORK=/Volumes/Work/s/w/ir/x/t/cmd-go-test-1297698536/tmpdir598516421/gotoolchain_loop493012610
    script_test.go:160: 
        PATH=/Volumes/Work/s/w/ir/x/t/cmd-go-test-1297698536/tmpdir598516421/testbin:/Volumes/Work/s/w/ir/x/w/goroot/bin:/Volumes/Work/s/w/ir/x/w/goroot/bin:/Volumes/Work/s/w/ir/x/w/goroot/bin:/Volumes/Work/s/w/ir/cache/tools/bin:/Volumes/Work/s/w/ir/bbagent_utility_packages:/Volumes/Work/s/w/ir/bbagent_utility_packages/bin:/Volumes/Work/s/w/ir/cipd_bin_packages:/Volumes/Work/s/w/ir/cipd_bin_packages/bin:/Volumes/Work/s/w/ir/cipd_bin_packages/cpython3:/Volumes/Work/s/w/ir/cipd_bin_packages/cpython3/bin:/Volumes/Work/s/w/ir/cache/cipd_client:/Volumes/Work/s/w/ir/cache/cipd_client/bin:/Volumes/Work/s/cipd_cache/bin:/opt/infra-tools:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/git/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        [exit status 1]
        > stderr '^go: toolchain go1.21.1 invoked to provide go1.21.99$'
        matched: go: toolchain go1.21.1 invoked to provide go1.21.99
        # Toolchain loop should be detected. (0.993s)
        > 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
--- FAIL: TestScript/gotoolchain_loop (1.18s)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/gotoolchain_loop"
2024-05-09 22:12 gotip-darwin-amd64_11 go@95a3779e cmd/go.TestScript/gotoolchain_loop (log)
=== RUN   TestScript/gotoolchain_loop
=== PAUSE TestScript/gotoolchain_loop
=== CONT  TestScript/gotoolchain_loop
    script_test.go:135: 2024-05-09T22:22:55Z
    script_test.go:137: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1016166277/tmpdir3685436726/gotoolchain_loop3652534469
    script_test.go:159: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-1016166277/tmpdir3685436726/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        [exit status 1]
        > stderr '^go: toolchain go1.21.1 invoked to provide go1.21.99$'
        matched: go: toolchain go1.21.1 invoked to provide go1.21.99
        # Toolchain loop should be detected. (0.707s)
        > env TESTGO_VERSION_SWITCH=loop
        > ! go version
        [signal: illegal instruction]
        > stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$'
    script_test.go:159: FAIL: testdata/script/gotoolchain_loop.txt:17: stderr -count=10 '^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$': found 0 matches for `(?m)^go: switching from go1.21.1 to go1.21.99 \[depth 9[0-9]\]$` in stderr
--- FAIL: TestScript/gotoolchain_loop (0.84s)

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