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: test failures due to network #55164

Open
rsc opened this issue Sep 20, 2022 · 4 comments
Open

cmd/go: test failures due to network #55164

rsc opened this issue Sep 20, 2022 · 4 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@rsc
Copy link
Contributor

rsc commented Sep 20, 2022

#!watchflakes
post <- pkg ~ `^cmd/go` && (
	`Failed to connect to github.com port 443: Connection refused` ||
	`remote: Internal Server Error.` ||
	`error: RPC failed; HTTP 500` ||
	`GnuTLS recv error` ||
	`connect: network is unreachable` ||
	`502 Bad Gateway` ||
	`remote: Repository not found.` ||
	`vcs-test.golang.org`)

cmd/go's tests flake when the network is having trouble (or the servers on the other end are).
This should only happen on the longtest builders.
This issue gathers reports so we can watch the frequency.

@rsc rsc added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Sep 20, 2022
@gopherbot
Copy link

gopherbot commented Sep 20, 2022

Found new matching flaky dashboard failures for:

#!watchflakes
post <- pkg == "cmd/go" && (
	`Failed to connect to github.com port 443: Connection refused` ||
	`remote: Internal Server Error.` ||
	`error: RPC failed; HTTP 500` ||
	`GnuTLS recv error` ||
	`connect: network is unreachable` ||
	`502 Bad Gateway` ||
	`remote: Repository not found.` ||
	`fatal: unable to connect to vcs-test.golang.org:`)
2022-08-11 17:53 linux-386-longtest go@a526ec15 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:44603/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (12.82s)
        script_test.go:270: 
            # (2022-08-11T18:26:27Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (12.690s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure
2022-08-11 17:53 linux-amd64-longtest go@a526ec15 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:38525/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.65s)
        script_test.go:270: 
            # (2022-08-11T18:18:03Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
...
    --- FAIL: TestScript/mod_gopkg_unstable (10.79s)
        script_test.go:270: 
            # (2022-08-11T18:19:59Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
            go: added gopkg.in/dummy.v2-unstable v2.0.0
            > cp x.go.txt x.go
...
            > [!net] skip
            > [!exec:git] skip
            > env GOPROXY=direct
            > env GOSUMDB=off
            > go get gopkg.in/macaroon-bakery.v2-unstable/bakery
            [stderr]
            go: gopkg.in/macaroon-bakery.v2-unstable/bakery: unrecognized import path "gopkg.in/macaroon-bakery.v2-unstable": reading https://gopkg.in/macaroon-bakery.v2-unstable?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-macaroon-bakery/macaroon-bakery.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure
2022-08-17 15:12 linux-386-longtest go@16c2b361 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:46851/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (19.81s)
        script_test.go:270: 
            # (2022-08-17T15:46:44Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
...
    --- FAIL: TestScript/mod_gopkg_unstable (26.23s)
        script_test.go:270: 
            # (2022-08-17T15:47:31Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
            go: added gopkg.in/dummy.v2-unstable v2.0.0
            > cp x.go.txt x.go
...
            go: downloading golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
            go: downloading golang.org/x/net v0.0.0-20220812174116-3211cb980234
            go: downloading github.com/golang/protobuf v1.5.2
            go: downloading gopkg.in/errgo.v1 v1.0.1
            go: downloading gopkg.in/macaroon.v2 v2.1.0
            go: github.com/juju/loggo@v1.0.0 requires
            	gopkg.in/check.v1@v1.0.0-20160105164936-4f90aeace3a2: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure
2022-08-17 16:11 linux-386-longtest go@ea6cb02a cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:37491/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_gopkg_unstable (37.65s)
        script_test.go:270: 
            # (2022-08-17T16:49:38Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
...
            go: added google.golang.org/protobuf v1.26.0
            go: added gopkg.in/errgo.v1 v1.0.1
            go: added gopkg.in/macaroon-bakery.v2-unstable v2.0.0-20171026135619-38b77b89a624
            go: added gopkg.in/macaroon.v2 v2.1.0
            > go list -m all
            [stderr]
            go: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:16: unexpected command failure
2022-08-17 17:39 linux-amd64-longtest go@9b988c90 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:45977/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (16.20s)
        script_test.go:270: 
            # (2022-08-17T18:05:20Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
...
    --- FAIL: TestScript/mod_gopkg_unstable (58.80s)
        script_test.go:270: 
            # (2022-08-17T18:05:40Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
            go: added gopkg.in/dummy.v2-unstable v2.0.0
            > cp x.go.txt x.go
...
            	18:06:31.991705 http.c:715              <= Recv header: Content-Length: 207
            	18:06:31.991718 http.c:703              <= Recv header, 0000000041 bytes (0x00000029)
            	18:06:31.991722 http.c:715              <= Recv header: Content-Type: text/plain; charset=utf-8
            	18:06:31.991728 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
            	18:06:31.991732 http.c:715              <= Recv header:
            	18:06:31.991750 http.c:756              == Info: Connection #0 to host gopkg.in left intact
            	remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            	fatal: unable to access 'https://gopkg.in/check.v1/': The requested URL returned error: 502
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:16: unexpected command failure
2022-08-17 17:39 linux-amd64-longtest go@04d8c232 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:35563/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_gopkg_unstable (40.46s)
        script_test.go:270: 
            # (2022-08-17T18:05:45Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
...
            go: added google.golang.org/protobuf v1.26.0
            go: added gopkg.in/errgo.v1 v1.0.1
            go: added gopkg.in/macaroon-bakery.v2-unstable v2.0.0-20171026135619-38b77b89a624
            go: added gopkg.in/macaroon.v2 v2.1.0
            > go list -m all
            [stderr]
            go: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:16: unexpected command failure
2022-09-01 23:18 linux-amd64-longtest go@a74d46d8 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:42783/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/gopath_moved_repo (14.21s)
        script_test.go:282: 
            # (2022-09-01T23:45:35Z)
            # Test that 'go get -u' reports packages whose VCS configurations do not
            # match their import paths. (0.000s)
            # We need to execute a custom Go program to break the config files.
            #
            # git will ask for a username and password when we run 'go get -d -f -u',
...
            23:45:50.045526 http.c:715              <= Recv header: x-frame-options: DENY
            23:45:50.045531 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
            23:45:50.045536 http.c:715              <= Recv header:
            23:45:50.045566 http.c:756              == Info: Connection #0 to host github.com left intact
            remote: Repository not found.
            fatal: Authentication failed for 'https://github.com/rsc/pdfXXX/'
            package rsc.io/pdf: exit status 1
            [exit status 1]
            > [exec:git] stderr 'is a custom import path for'
            FAIL: testdata/script/gopath_moved_repo.txt:26: no match for `(?m)is a custom import path for` found in stderr
2022-09-06 11:14 linux-386-longtest go@1c504843 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:46597/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_invalid_version (34.21s)
        script_test.go:282: 
            # (2022-09-06T11:47:55Z)
            # Regression test for golang.org/issue/27173: if the user (or go.mod file)
            # requests a pseudo-version that does not match both the module path and commit
            # metadata, reject it with a helpful error message.
            #
            # TODO(bcmills): Replace the github.com/pierrec/lz4 examples with something
...
    --- FAIL: TestScript/get_insecure_env (4.04s)
        script_test.go:282: 
            # (2022-09-06T11:48:47Z)
            # GOPATH: Set up (0.000s)
            # GOPATH: Try go get -d of HTTP-only repo (should fail). (0.141s)
            # GOPATH: Try again with invalid GOINSECURE (should fail). (0.066s)
            # GOPATH: Try with correct GOINSECURE (should succeed). (3.837s)
            > env GOINSECURE=insecure.go-get-issue-15410.appspot.com/pkg/p
            > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
            [stderr]
...
            11:49:12.150329 http.c:756              == Info: GnuTLS recv error (-110): The TLS connection was non-properly terminated.
            ��b�
            11:49:12.150364 http.c:756              == Info: Failed receiving HTTP2 data
            b�
            11:49:12.150381 http.c:756              == Info: Failed sending HTTP2 data
            11:49:12.150389 http.c:756              == Info: Connection #0 to host github.com left intact
            fatal: unable to access 'https://github.com/rsc/sampler/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
            package rsc.io/sampler: exit status 128
            [exit status 1]
            FAIL: testdata/script/govcs.txt:153: unexpected command failure
2022-09-06 21:53 linux-386-longtest go@86f8b8d3 cmd/go.TestIssue11457 (log)
go test proxy running at GOPROXY=http://127.0.0.1:38493/mod
--- FAIL: TestIssue11457 (0.19s)
    go_test.go:1004: running testgo [get -d -u rsc.io/go-get-issue-11457]
    go_test.go:1004: standard error:
    go_test.go:1004: package rsc.io/go-get-issue-11457: unrecognized import path "rsc.io/go-get-issue-11457": https fetch: Get "https://rsc.io/go-get-issue-11457?go-get=1": dial tcp [2001:4860:4802:32::15]:443: connect: network is unreachable

    go_test.go:1004: go [get -d -u rsc.io/go-get-issue-11457] failed unexpectedly in /workdir/go/src/cmd/go: exit status 1
2022-09-07 05:37 linux-386-longtest go@c011270f cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:33035/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/govcs (0.38s)
        script_test.go:282: 
            # (2022-09-07T06:09:41Z)
            # GOVCS stops go get (0.048s)
            # public pattern works (0.015s)
            # private pattern works (0.007s)
            # other patterns work (for more patterns, see TestGOVCS) (0.026s)
            # bad patterns are reported (for more bad patterns, see TestGOVCSErrors) (0.035s)
            # bad GOVCS patterns do not stop commands that do not need to check VCS (0.124s)
            # svn is disallowed by default (0.011s)
            # fossil is disallowed by default (0.007s)
            # bzr is disallowed by default (0.006s)
            # git is OK by default (0.097s)
            > env GOVCS=
            > env GONOSUMDB='*'
            > [net] [exec:git] [!short] go get rsc.io/sampler
            [stderr]
            go: unrecognized import path "rsc.io/sampler": https fetch: Get "https://rsc.io/sampler?go-get=1": dial tcp [2001:4860:4802:32::15]:443: connect: network is unreachable
            [exit status 1]
            FAIL: testdata/script/govcs.txt:70: unexpected command failure
2022-09-09 00:28 linux-386-longtest go@3c33c3b3 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:32793/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.05s)
        script_test.go:282: 
            # (2022-09-09T01:03:47Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (12.894s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure
2022-09-09 01:04 linux-386-longtest go@76c94eb7 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:33995/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.07s)
        script_test.go:282: 
            # (2022-09-09T01:44:42Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (12.932s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure
2022-09-09 01:04 linux-amd64-longtest go@76c94eb7 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:38211/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (17.74s)
        script_test.go:282: 
            # (2022-09-09T01:36:29Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (17.655s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure
2022-09-15 20:02 linux-amd64-longtest go@a2973914 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:45665/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/govcs (0.46s)
        script_test.go:282: 
            # (2022-09-15T20:25:50Z)
            # GOVCS stops go get (0.023s)
            # public pattern works (0.025s)
            # private pattern works (0.015s)
            # other patterns work (for more patterns, see TestGOVCS) (0.049s)
            # bad patterns are reported (for more bad patterns, see TestGOVCSErrors) (0.023s)
            # bad GOVCS patterns do not stop commands that do not need to check VCS (0.074s)
            # svn is disallowed by default (0.021s)
            # fossil is disallowed by default (0.016s)
            # bzr is disallowed by default (0.017s)
            # git is OK by default (0.189s)
            > env GOVCS=
            > env GONOSUMDB='*'
            > [net] [exec:git] [!short] go get rsc.io/sampler
            [stderr]
            go: unrecognized import path "rsc.io/sampler": https fetch: Get "https://rsc.io/sampler?go-get=1": dial tcp [2001:4860:4802:38::15]:443: connect: network is unreachable
            [exit status 1]
            FAIL: testdata/script/govcs.txt:70: unexpected command failure

watchflakes

@gopherbot
Copy link

gopherbot commented Sep 20, 2022

Found new matching flaky dashboard failures for:

#!watchflakes
post <- pkg ~ `^cmd/go` && (
	`Failed to connect to github.com port 443: Connection refused` ||
	`remote: Internal Server Error.` ||
	`error: RPC failed; HTTP 500` ||
	`GnuTLS recv error` ||
	`connect: network is unreachable` ||
	`502 Bad Gateway` ||
	`remote: Repository not found.` ||
	`vcs-test.golang.org`)
2022-07-18 15:58 linux-amd64-longtest go@c0c1bbde cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/vcs-test.golang.org_go_mod_gitrepo1/v2.3.4+incompatible (30.02s)
        coderepo_test.go:599: repoStat("v2.3.4+incompatible"): unrecognized import path "vcs-test.golang.org/go/mod/gitrepo1": https fetch: Get "https://vcs-test.golang.org/go/mod/gitrepo1?go-get=1": dial tcp 35.184.38.56:443: i/o timeout, wanted "resolves to version v2.0.1+incompatible (v2.3.4 is not a tag)"
    --- FAIL: TestCodeRepo/vcs-test.golang.org_go_v2module_v2/v2.0.0 (30.01s)
        coderepo_test.go:603: repo.Stat("v2.0.0"): unrecognized import path "vcs-test.golang.org/go/v2module/v2": https fetch: Get "https://vcs-test.golang.org/go/v2module/v2?go-get=1": dial tcp 35.184.38.56:443: i/o timeout
    --- FAIL: TestCodeRepo/vcs-test.golang.org_go_mod_gitrepo1/master (27.21s)
        coderepo_test.go:603: repo.Stat("master"): unrecognized import path "vcs-test.golang.org/go/mod/gitrepo1": https fetch: Get "https://vcs-test.golang.org/go/mod/gitrepo1?go-get=1": dial tcp 35.184.38.56:443: i/o timeout
2022-07-19 20:07 linux-amd64-longtest go@176b63e7 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:46359/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/get_legacy (150.13s)
        script_test.go:270: 
            # (2022-07-19T20:32:30Z)
            # This test was converted from a test in vendor_test.go (which no longer exists).
            # That seems to imply that it's about vendoring semantics, but the test doesn't
            # use 'go -mod=vendor' (and none of the fetched repos have vendor folders).
            # The test still seems to be useful as a test of direct-mode go get. (150.126s)
            > [short] skip
...
            	/workdir/go/src/github.com/myitcv/vgo_example_compat/sub (from $GOROOT)
            	$WORK/tmp/d2/src/github.com/myitcv/vgo_example_compat/sub (from $GOPATH)
            cannot find package "github.com/myitcv/vgo_example_compat/v2" in any of:
            	/workdir/go/src/github.com/myitcv/vgo_example_compat/v2 (from $GOROOT)
            	$WORK/tmp/d2/src/github.com/myitcv/vgo_example_compat/v2 (from $GOPATH)
            cannot find package "github.com/myitcv/vgo_example_compat/v2/sub" in any of:
            	/workdir/go/src/github.com/myitcv/vgo_example_compat/v2/sub (from $GOROOT)
            	$WORK/tmp/d2/src/github.com/myitcv/vgo_example_compat/v2/sub (from $GOPATH)
            [exit status 1]
            FAIL: testdata/script/get_legacy.txt:43: unexpected command failure
2022-07-25 20:44 linux-amd64-longtest go@24dc27a3 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:38787/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_pseudo_cache (100.99s)
        script_test.go:270: 
            # (2022-07-25T21:09:09Z)
            # Regression test for golang.org/issue/27171: after resolving an older
            # pseudo-version of a commit, future resolution of that commit by hash should
            # choose the highest appropriate pseudo-version instead of the cached one. (13.233s)
            # If GOPROXY is 'off', lookups should use whatever pseudo-version is available. (0.009s)
            # If we can re-resolve the commit to a pseudo-version, fetching the commit by
...
    --- FAIL: TestScript/mod_invalid_version (131.15s)
        script_test.go:270: 
            # (2022-07-25T21:09:13Z)
            # Regression test for golang.org/issue/27173: if the user (or go.mod file)
            # requests a pseudo-version that does not match both the module path and commit
            # metadata, reject it with a helpful error message.
            #
            # TODO(bcmills): Replace the github.com/pierrec/lz4 examples with something
            # equivalent on vcs-test.golang.org.
            # An incomplete commit hash is not a valid semantic version,
...
            	21:09:42.770989 http.c:715              <= Recv header: x-xss-protection: 0
            	21:09:42.770991 http.c:703              <= Recv header, 0000000037 bytes (0x00000025)
            	21:09:42.770993 http.c:715              <= Recv header: date: Mon, 25 Jul 2022 21:09:42 GMT
            	21:09:42.770996 http.c:703              <= Recv header, 0000000002 bytes (0x00000002)
            	21:09:42.770998 http.c:715              <= Recv header:
            	21:11:24.308643 http.c:756              == Info: Connection #0 to host go.googlesource.com left intact
            	fatal: early EOF
            	fatal: index-pack failed
            [exit status 1]
            FAIL: testdata/script/mod_invalid_version.txt:24: unexpected command failure
2022-08-04 14:47 linux-386-longtest go@ab0a94c6 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:39145/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/gopath_moved_repo (3.81s)
        script_test.go:270: 
            # (2022-08-04T15:25:17Z)
            # Test that 'go get -u' reports packages whose VCS configurations do not
            # match their import paths. (0.000s)
            # We need to execute a custom Go program to break the config files.
            #
            # git will ask for a username and password when we run 'go get -d -f -u',
            # so we also need to set GIT_ASKPASS. Conveniently, a single binary can
            # perform both tasks! (0.735s)
            # Test that 'go get -u' reports moved git packages. (2.949s)
            # Test that 'go get -u' reports moved Mercurial packages. (0.128s)
            > [exec:hg] go get -d vcs-test.golang.org/go/custom-hg-hello
            [stderr]
            package vcs-test.golang.org/go/custom-hg-hello: unrecognized import path "vcs-test.golang.org/go/custom-hg-hello": https fetch: Get "https://vcs-test.golang.org/go/custom-hg-hello/?go-get=1": stream error: stream ID 3; INTERNAL_ERROR; received from peer
            [exit status 1]
            FAIL: testdata/script/gopath_moved_repo.txt:33: unexpected command failure
2022-08-08 17:29 linux-amd64-longtest go@9903ab54 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:42355/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/get_legacy (0.24s)
        script_test.go:270: 
            # (2022-08-08T17:53:22Z)
            # This test was converted from a test in vendor_test.go (which no longer exists).
            # That seems to imply that it's about vendoring semantics, but the test doesn't
            # use 'go -mod=vendor' (and none of the fetched repos have vendor folders).
            # The test still seems to be useful as a test of direct-mode go get. (0.243s)
            > [short] skip
...
            17:53:22.423466 http.c:715              => Send header:
            17:53:22.423499 http.c:756              == Info: We are completely uploaded and fine
            17:53:22.423868 http.c:756              == Info: HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
            17:53:22.423892 http.c:756              == Info: stopped the pause stream!
            17:53:22.423903 http.c:756              == Info: Connection #0 to host vcs-test.golang.org left intact
            error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
            fatal: the remote end hung up unexpectedly
            package vcs-test.golang.org/git/modlegacy1-old.git/p1: exit status 128
            [exit status 1]
            FAIL: testdata/script/get_legacy.txt:11: unexpected command failure
2022-08-12 18:15 linux-386-longtest go@b6f87b07 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.30s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (10.30s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2/abc?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
2022-08-17 15:12 linux-amd64-longtest go@16c2b361 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (10.36s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2/abc?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.10s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body)
2022-08-17 16:08 linux-386-longtest go@bd1bff4e cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_check.v1/20d25e280405 (12.55s)
        coderepo_test.go:603: repo.Stat("20d25e280405"): gopkg.in/check.v1@20d25e280405: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /workdir/tmp/gitrepo-test-2243804362/cache/vcs/9241c28341fcedca6a799ab7a465dd6924dc5d94044cbfabb75778817250adfc: exit status 128:
            	remote: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            	fatal: unable to access 'https://gopkg.in/check.v1/': The requested URL returned error: 502
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.10s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (10.31s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2/abc?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
2022-08-17 16:26 linux-amd64-longtest go@014f0e82 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/v2.1 (10.31s)
        coderepo_test.go:603: repo.Stat("v2.1"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/latest (9.65s)
        coderepo_test.go:603: repo.Stat("latest"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_check.v1/20d25e280405 (10.41s)
        coderepo_test.go:603: repo.Stat("20d25e280405"): unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.40s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-yaml/yaml.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-17 16:26 linux-amd64-longtest go@014f0e82 cmd/go/internal/modfetch.TestCodeRepoVersions (log)
--- FAIL: TestCodeRepoVersions (0.22s)
    --- FAIL: TestCodeRepoVersions/parallel (0.00s)
        --- FAIL: TestCodeRepoVersions/parallel/gopkg.in_natefinch_lumberjack.v2 (0.00s)
            coderepo_test.go:824: Versions(""): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
                	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-17 17:47 linux-386-longtest go@7e7ecf5c cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/latest (10.36s)
        coderepo_test.go:603: repo.Stat("latest"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/v2.1 (9.82s)
        coderepo_test.go:603: repo.Stat("v2.1"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-17 17:47 linux-386-longtest go@7e7ecf5c cmd/go/internal/modfetch.TestCodeRepoVersions (log)
--- FAIL: TestCodeRepoVersions (0.24s)
    --- FAIL: TestCodeRepoVersions/parallel (0.00s)
        --- FAIL: TestCodeRepoVersions/parallel/gopkg.in_natefinch_lumberjack.v2 (0.00s)
            coderepo_test.go:824: Versions(""): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
                	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-18 19:12 linux-386-longtest go@0eb56ca4 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:46133/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_invalid_version (32.24s)
        script_test.go:282: 
            # (2022-08-18T19:45:51Z)
            # Regression test for golang.org/issue/27173: if the user (or go.mod file)
            # requests a pseudo-version that does not match both the module path and commit
            # metadata, reject it with a helpful error message.
            #
            # TODO(bcmills): Replace the github.com/pierrec/lz4 examples with something
...
            # A +incompatible suffix is not allowed on a version that is actually compatible. (0.917s)
            # The pseudo-version for a commit after a tag with a non-matching major version
            # should instead be based on the last matching tag. (14.624s)
            > cp go.mod.orig go.mod
            > go mod edit -require github.com/pierrec/lz4@473cd7ce01a1
            > go list -m github.com/pierrec/lz4
            [stdout]
            github.com/pierrec/lz4 v0.0.0-20190131084431-473cd7ce01a1
            > stdout 'github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1'
            FAIL: testdata/script/mod_invalid_version.txt:186: no match for `(?m)github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1` found in stdout
2022-09-09 20:29 windows-amd64-longtest go@54182ff5 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:54144/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_proxy_errors (0.07s)
        script_test.go:282: 
            # (2022-09-09T21:03:34Z)
            # Server responses should be truncated to some reasonable number of lines.
            # (For now, exactly eight.) (0.041s)
            > ! go list -m vcs-test.golang.org/auth/ormanylines@latest
            [stderr]
            go: vcs-test.golang.org/auth/ormanylines@latest: unrecognized import path "vcs-test.golang.org/auth/ormanylines": https fetch: Get "https://vcs-test.golang.org/auth/ormanylines?go-get=1": dial tcp: lookup vcs-test.golang.org: getaddrinfow: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
            [exit status 1]
            > stderr '\tserver response:\n(.|\n)*\tline 8\n\t\[Truncated: too many lines.\]$'
            FAIL: testdata\script\mod_proxy_errors.txt:10: no match for `(?m)\tserver response:\n(.|\n)*\tline 8\n\t\[Truncated: too many lines.\]$` found in stderr
2022-09-15 21:10 linux-amd64-longtest go@e7a2014f cmd/go/internal/modload.TestQuery (log)
go: finding module for package golang.org/x/net/context
go: finding module for package golang.org/x/net
go: finding module for package golang.org/x/text
go: finding module for package github.com/rsc/quote/buggy
go: finding module for package github.com/rsc/quote
go: finding module for package golang.org/x/foo/bar
--- FAIL: TestQuery (0.00s)
    --- FAIL: TestQuery/vcs-test.golang.org_git_querytest.git/<v0.0.0//* (398.73s)
        query_test.go:209: Query(_, "vcs-test.golang.org/git/querytest.git", "<v0.0.0", "", *): module vcs-test.golang.org/git/querytest.git: git ls-remote -q origin in /workdir/tmp/modload-test-2371600252/pkg/mod/cache/vcs/472a2d737b08c24d053705e500bba7c89d07599cad59c74fa230c3b489f4f400: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
...
    --- FAIL: TestQuery/vcs-test.golang.org_git_querytest.git/patch/v1.9.10-pre1/* (398.73s)
        query_test.go:209: Query(_, "vcs-test.golang.org/git/querytest.git", "patch", "v1.9.10-pre1", *): module vcs-test.golang.org/git/querytest.git: git ls-remote -q origin in /workdir/tmp/modload-test-2371600252/pkg/mod/cache/vcs/472a2d737b08c24d053705e500bba7c89d07599cad59c74fa230c3b489f4f400: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
            	vcs-test.golang.org[0: 34.110.184.62]: errno=Connection timed out
            want v1.9.10-pre1
    --- FAIL: TestQuery/vcs-test.golang.org_git_querytest.git/upgrade/v1.9.10-pre2+metadata/* (398.73s)
        query_test.go:209: Query(_, "vcs-test.golang.org/git/querytest.git", "upgrade", "v1.9.10-pre2+metadata", *): module vcs-test.golang.org/git/querytest.git: git ls-remote -q origin in /workdir/tmp/modload-test-2371600252/pkg/mod/cache/vcs/472a2d737b08c24d053705e500bba7c89d07599cad59c74fa230c3b489f4f400: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
            	vcs-test.golang.org[0: 34.110.184.62]: errno=Connection timed out
            want v1.9.10-pre2.0.20190513201126-42abcb6df8ee
...
    --- FAIL: TestQuery/vcs-test.golang.org_git_querytest.git/ed5ffdaa//* (0.01s)
        query_test.go:209: Query(_, "vcs-test.golang.org/git/querytest.git", "ed5ffdaa", "", *): vcs-test.golang.org/git/querytest.git@ed5ffdaa: invalid version: git ls-remote -q origin in /workdir/tmp/modload-test-2371600252/pkg/mod/cache/vcs/472a2d737b08c24d053705e500bba7c89d07599cad59c74fa230c3b489f4f400: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
            	vcs-test.golang.org[0: 34.110.184.62]: errno=Connection timed out
            want v1.9.10-pre2.0.20191220134614-ed5ffdaa1f5e
    --- FAIL: TestQuery/vcs-test.golang.org_git_querytest.git/7a1b6bf//* (0.01s)
        query_test.go:209: Query(_, "vcs-test.golang.org/git/querytest.git", "7a1b6bf", "", *): vcs-test.golang.org/git/querytest.git@7a1b6bf: invalid version: git ls-remote -q origin in /workdir/tmp/modload-test-2371600252/pkg/mod/cache/vcs/472a2d737b08c24d053705e500bba7c89d07599cad59c74fa230c3b489f4f400: exit status 128:
            	fatal: unable to connect to vcs-test.golang.org:
            	vcs-test.golang.org[0: 34.110.184.62]: errno=Connection timed out
            want v0.1.0

watchflakes

@rsc rsc changed the title cmd/go: flaky tests due to network cmd/go: test failures due to network Sep 20, 2022
@gopherbot
Copy link

gopherbot commented Sep 21, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg ~ `^cmd/go` && (
	`Failed to connect to github.com port 443: Connection refused` ||
	`remote: Internal Server Error.` ||
	`error: RPC failed; HTTP 500` ||
	`GnuTLS recv error` ||
	`connect: network is unreachable` ||
	`502 Bad Gateway` ||
	`remote: Repository not found.` ||
	`vcs-test.golang.org`)
2022-08-17 13:56 linux-amd64-longtest go@d09c6ac4 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.10s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (10.10s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2/abc?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
2022-08-17 16:08 linux-amd64-longtest go@bd1bff4e cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:33573/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_gopkg_unstable (24.92s)
        script_test.go:270: 
            # (2022-08-17T16:31:45Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
...
            go: downloading golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa
            go: downloading golang.org/x/net v0.0.0-20220812174116-3211cb980234
            go: downloading github.com/golang/protobuf v1.5.2
            go: downloading gopkg.in/errgo.v1 v1.0.1
            go: downloading gopkg.in/macaroon.v2 v2.1.0
            go: github.com/juju/loggo@v1.0.0 requires
            	gopkg.in/check.v1@v1.0.0-20160105164936-4f90aeace3a2: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure
2022-08-17 16:11 linux-amd64-longtest go@ea6cb02a cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (11.15s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2/d670f940 (10.30s)
        coderepo_test.go:603: repo.Stat("d670f940"): unrecognized import path "gopkg.in/yaml.v2": reading https://gopkg.in/yaml.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body)
2022-08-17 16:26 linux-386-longtest go@014f0e82 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_yaml.v2_abc/ (10.36s)
        coderepo_test.go:599: repoStat(""): unrecognized import path "gopkg.in/yaml.v2/abc": reading https://gopkg.in/yaml.v2/abc?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: error reading from GitHub: net/http: request canceled (Client.Timeout exceeded while reading body), wanted "invalid module path \"gopkg.in/yaml.v2/abc\""
2022-08-17 17:17 linux-386-longtest go@2a0327b8 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:37317/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.57s)
        script_test.go:270: 
            # (2022-08-17T17:49:16Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
...
    --- FAIL: TestScript/mod_gopkg_unstable (45.88s)
        script_test.go:270: 
            # (2022-08-17T17:49:43Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
            go: added gopkg.in/dummy.v2-unstable v2.0.0
            > cp x.go.txt x.go
...
            go: added google.golang.org/protobuf v1.26.0
            go: added gopkg.in/errgo.v1 v1.0.1
            go: added gopkg.in/macaroon-bakery.v2-unstable v2.0.0-20171026135619-38b77b89a624
            go: added gopkg.in/macaroon.v2 v2.1.0
            > go list -m all
            [stderr]
            go: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:16: unexpected command failure
2022-08-17 17:19 linux-amd64-longtest go@edfeea01 cmd/go/internal/modfetch.TestCodeRepo (log)
--- FAIL: TestCodeRepo (0.00s)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/v2.1 (10.41s)
        coderepo_test.go:603: repo.Stat("v2.1"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    --- FAIL: TestCodeRepo/gopkg.in_natefinch_lumberjack.v2/latest (8.45s)
        coderepo_test.go:603: repo.Stat("latest"): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-17 17:19 linux-amd64-longtest go@edfeea01 cmd/go/internal/modfetch.TestCodeRepoVersions (log)
--- FAIL: TestCodeRepoVersions (0.25s)
    --- FAIL: TestCodeRepoVersions/parallel (0.00s)
        --- FAIL: TestCodeRepoVersions/parallel/gopkg.in_natefinch_lumberjack.v2 (0.00s)
            coderepo_test.go:824: Versions(""): unrecognized import path "gopkg.in/natefinch/lumberjack.v2": reading https://gopkg.in/natefinch/lumberjack.v2?go-get=1: 502 Bad Gateway
                	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/natefinch/lumberjack.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2022-08-17 17:39 linux-amd64-longtest go@ce7aae50 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:44427/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_gopkg_unstable (10.38s)
        script_test.go:270: 
            # (2022-08-17T18:05:21Z)
            > env GO111MODULE=on
            > cp go.mod.empty go.mod
            > go get gopkg.in/dummy.v2-unstable
            [stderr]
            go: downloading gopkg.in/dummy.v2-unstable v2.0.0
            go: added gopkg.in/dummy.v2-unstable v2.0.0
            > cp x.go.txt x.go
            > cp go.mod.empty go.mod
            > go list
            [stdout]
            m
            > [!net] skip
            > [!exec:git] skip
            > env GOPROXY=direct
            > env GOSUMDB=off
            > go get gopkg.in/macaroon-bakery.v2-unstable/bakery
            [stderr]
            go: gopkg.in/macaroon-bakery.v2-unstable/bakery: unrecognized import path "gopkg.in/macaroon-bakery.v2-unstable": reading https://gopkg.in/macaroon-bakery.v2-unstable?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-macaroon-bakery/macaroon-bakery.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure

watchflakes

@gopherbot
Copy link

gopherbot commented Sep 28, 2022

Found new dashboard test flakes for:

#!watchflakes
post <- pkg ~ `^cmd/go` && (
	`Failed to connect to github.com port 443: Connection refused` ||
	`remote: Internal Server Error.` ||
	`error: RPC failed; HTTP 500` ||
	`GnuTLS recv error` ||
	`connect: network is unreachable` ||
	`502 Bad Gateway` ||
	`remote: Repository not found.` ||
	`vcs-test.golang.org`)
2022-09-27 21:10 linux-386-longtest go@4360fd8d cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:43583/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.38s)
        script_test.go:282: 
            # (2022-09-27T22:25:00Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (13.259s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure
2022-09-27 21:14 linux-amd64-longtest go@3b5188ed cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:36693/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/mod_replace_gopkgin (13.01s)
        script_test.go:282: 
            # (2022-09-27T22:26:18Z)
            # Regression test for golang.org/issue/34254:
            # a clone of gopkg.in/[…].vN should be replaceable by
            # a fork hosted at corp.example.com/[…]/vN,
            # even if there is an explicit go.mod file containing the
            # gopkg.in path. (0.000s)
            # Replacing gopkg.in/[…].vN with a repository with a root go.mod file
            # specifying […].vN and a compatible version should succeed, even if
            # the replacement path is not a gopkg.in path. (12.818s)
            > cd 4-to-4
            $WORK/gopath/src/4-to-4
            > go list -m gopkg.in/src-d/go-git.v4
            [stderr]
            go: gopkg.in/src-d/go-git.v4@v4.13.1 requires
            	gopkg.in/check.v1@v1.0.0-20180628173108-788fd7840127: unrecognized import path "gopkg.in/check.v1": reading https://gopkg.in/check.v1?go-get=1: 502 Bad Gateway
            	server response: Cannot obtain refs from GitHub: cannot talk to GitHub: Get https://github.com/go-check/check.git/info/refs?service=git-upload-pack: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
            [exit status 1]
            FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure

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: Active
Development

No branches or pull requests

2 participants