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/mod_get_hash failures #68508

Open
gopherbot opened this issue Jul 18, 2024 · 1 comment
Open

cmd/go: TestScript/mod_get_hash failures #68508

gopherbot opened this issue Jul 18, 2024 · 1 comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/mod_get_hash
=== PAUSE TestScript/mod_get_hash
=== CONT  TestScript/mod_get_hash
    script_test.go:135: 2024-07-17T15:20:43Z
    script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2066926295/tmpdir2198761154/mod_get_hash3183523533
    script_test.go:159: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2066926295/tmpdir2198761154/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        [stdout]
        golang.org/x/time v0.0.0-20170424234030-8be79e1e0910
        # fetch other commit hash, even with a non-standard ref, is not OK (0.166s)
        > ! go list -m golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a # refs/changes/24/41624/3
        [stderr]
        go: golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a: unrecognized import path "golang.org/x/time": reading https://golang.org/x/time?go-get=1: 500 Internal Server Error
        [exit status 1]
        > stderr 'unknown revision'
    script_test.go:159: FAIL: testdata/script/mod_get_hash.txt:12: stderr 'unknown revision': no match for `(?m)unknown revision` in stderr
--- FAIL: TestScript/mod_get_hash (10.92s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/mod_get_hash"
2024-07-17 15:08 gotip-linux-amd64-longtest go@fc51e502 cmd/go.TestScript/mod_get_hash (log)
=== RUN   TestScript/mod_get_hash
=== PAUSE TestScript/mod_get_hash
=== CONT  TestScript/mod_get_hash
    script_test.go:135: 2024-07-17T15:20:43Z
    script_test.go:137: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2066926295/tmpdir2198761154/mod_get_hash3183523533
    script_test.go:159: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2066926295/tmpdir2198761154/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/home/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        [stdout]
        golang.org/x/time v0.0.0-20170424234030-8be79e1e0910
        # fetch other commit hash, even with a non-standard ref, is not OK (0.166s)
        > ! go list -m golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a # refs/changes/24/41624/3
        [stderr]
        go: golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a: unrecognized import path "golang.org/x/time": reading https://golang.org/x/time?go-get=1: 500 Internal Server Error
        [exit status 1]
        > stderr 'unknown revision'
    script_test.go:159: FAIL: testdata/script/mod_get_hash.txt:12: stderr 'unknown revision': no match for `(?m)unknown revision` in stderr
--- FAIL: TestScript/mod_get_hash (10.92s)

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