Skip to content

cmd/go: TestScript/mod_get_hash failures #68508

@gopherbot

Description

@gopherbot
#!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

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions