Skip to content

cmd/go: TestScript/goauth_netrc failures #76564

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/goauth_netrc
=== PAUSE TestScript/goauth_netrc
=== CONT  TestScript/goauth_netrc
    script_test.go:139: 2025-11-20T17:53:53Z
    script_test.go:141: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-4195792363/tmpdir1063020070/goauth_netrc3230250093
2025/11/20 18:53:53 serving /?go-get=1
2025/11/20 18:53:53 serving /auth/or401?go-get=1
2025/11/20 18:53:53 or401.txt:
> handle auth
> modzip vcs-test.golang.org/auth/or401/@v/v0.0.0-20190405155051-52df474c8a8b.zip vcs-test.golang.org/auth/or401@v0.0.0-20190405155051-52df474c8a8b .moddir
...
        # Without credentials, downloading a module from a path that requires HTTPS
        # basic auth should fail. (11.962s)
        > env NETRC=$WORK/empty
        > ! go get vcs-test.golang.org/auth/or401
        [stderr]
        go: unrecognized import path "vcs-test.golang.org/auth/or401": https fetch: Get "https://127.0.0.1:54033/auth/or401?go-get=1": net/http: TLS handshake timeout
        [exit status 1]
        > stderr '^\tserver response: ACCESS DENIED, buddy$'
    script_test.go:163: FAIL: testdata/script/goauth_netrc.txt:46: stderr '^\tserver response: ACCESS DENIED, buddy$': no match for `(?m)^\tserver response: ACCESS DENIED, buddy$` in stderr
--- FAIL: TestScript/goauth_netrc (13.09s)

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