golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.99k stars 17.67k forks source link

cmd/go: TestScript/mod_get_hash failures #68508

Open gopherbot opened 3 months ago

gopherbot commented 3 months ago
#!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 commented 3 months ago

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