golang / go

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

cmd/go: remove test dependency on gopkg.in service #54503

Open bcmills opened 2 years ago

bcmills commented 2 years ago
#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && (`reading https://gopkg\.in` || `https fetch: Get "https://gopkg\.in`)

The gopkg.in service has occasional downtime (most recently https://github.com/niemeyer/gopkg/issues/78). Some of the cmd/go tests of gopkg.in modules are isolated from outages by the Go module proxy, but unfortunately others fail when the service is down.

As far as I can tell, the go-import metadata served by gopkg.in is mostly static. (It may add some value in serving up-to-date go-source metadata, but cmd/go does not depend on that metadata.) Since we're going to have a test-local HTTPS server anyway for #27494, perhaps we can migrate the gopkg.in tests to use that server with static go-import metadata instead.

heschi commented 2 years ago

In this particular case I think GitHub was down...

gopherbot commented 2 years ago

Change https://go.dev/cl/424594 mentions this issue: cmd/go: disable test cases that depend on gopkg.in

bcmills commented 2 years ago

I've been having trouble with -longtest TryBots all day, and it's only the gopkg.in tests that are flaking.

(It may be that the underlying problem is on GitHub's side, but it doesn't seem to affect the GitHub-only tests. And long-term we may want to reduce our dependence on those too.)

bcmills commented 1 year ago

greplogs -l -e 'FAIL: TestScript.*(?:\n\s+.*)*reading https://gopkg\.in' --since=2022-08-17 2022-09-09T01:04:57-76c94eb/linux-386-longtest 2022-09-09T01:04:57-76c94eb/linux-amd64-longtest 2022-09-09T00:28:56-3c33c3b/linux-386-longtest 2022-08-17T20:02:12-c7f870e/linux-386-longtest 2022-08-17T20:02:12-c7f870e/linux-amd64-longtest 2022-08-17T18:46:05-90466e1/linux-386-longtest 2022-08-17T18:34:10-ebda5a7/linux-amd64-longtest 2022-08-17T18:01:43-e1fd51e/linux-amd64-longtest 2022-08-17T17:47:37-bc80579/linux-amd64-longtest 2022-08-17T17:39:58-04d8c23/linux-amd64-longtest 2022-08-17T17:39:50-9b988c9/linux-386-longtest 2022-08-17T17:39:50-9b988c9/linux-amd64-longtest 2022-08-17T17:39:31-ce7aae5/linux-386-longtest 2022-08-17T17:39:31-ce7aae5/linux-amd64-longtest 2022-08-17T17:39:16-901b923/linux-386-longtest 2022-08-17T17:17:46-2a0327b/linux-386-longtest 2022-08-17T16:11:11-ea6cb02/linux-386-longtest 2022-08-17T16:08:04-bd1bff4/linux-amd64-longtest

bcmills commented 1 year ago

https://storage.googleapis.com/go-build-log/1c70686c/linux-amd64-longtest_994f464f.log (a SlowBot)

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && `reading https://gopkg\.in`
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-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

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && `reading https://gopkg\.in`
2022-11-16 14:38 linux-amd64-longtest-race go@7c8c209b cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:42431 https://vcs-test.golang.org rerouted to https://127.0.0.1:42193 go test proxy running at GOPROXY=http://127.0.0.1:43215/mod 2022/11/16 16:59:51 http: TLS handshake error from 127.0.0.1:36250: EOF 2022/11/16 16:59:51 http: TLS handshake error from 127.0.0.1:36246: EOF --- FAIL: TestScript (0.15s) --- FAIL: TestScript/mod_replace_gopkgin (15.04s) script_test.go:134: 2022-11-16T16:59:20Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-420504610/tmpdir530274409/mod_replace_gopkgin2406147624 script_test.go:154: # 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. (14.744s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1
2022-11-16 16:25 linux-386-longtest go@38218f39 cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:41359 https://vcs-test.golang.org rerouted to https://127.0.0.1:41029 go test proxy running at GOPROXY=http://127.0.0.1:40891/mod 2022/11/16 17:25:02 http: TLS handshake error from 127.0.0.1:58580: EOF 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55612: read tcp 127.0.0.1:41029->127.0.0.1:55612: read: connection reset by peer 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55610: EOF 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55652: EOF 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55674: EOF 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55708: EOF 2022/11/16 17:25:16 http: TLS handshake error from 127.0.0.1:55712: EOF ... --- FAIL: TestScript (0.04s) --- FAIL: TestScript/mod_replace_gopkgin (13.49s) script_test.go:134: 2022-11-16T17:25:04Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-2735996516/tmpdir123861510/mod_replace_gopkgin3862546341 script_test.go:154: # 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.424s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && `reading https://gopkg\.in`
2022-11-21 15:06 linux-amd64-longtest-race go@8614c525 cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:37895 https://vcs-test.golang.org rerouted to https://127.0.0.1:40789 go test proxy running at GOPROXY=http://127.0.0.1:46049/mod 2022/11/21 16:18:23 http: TLS handshake error from 127.0.0.1:39054: EOF 2022/11/21 16:18:24 http: TLS handshake error from 127.0.0.1:39122: EOF 2022/11/21 16:18:32 http: TLS handshake error from 127.0.0.1:34816: read tcp 127.0.0.1:40789->127.0.0.1:34816: read: connection reset by peer 2022/11/21 16:18:32 http: TLS handshake error from 127.0.0.1:34802: EOF 2022/11/21 16:18:32 http: TLS handshake error from 127.0.0.1:34834: EOF 2022/11/21 16:18:33 http: TLS handshake error from 127.0.0.1:34862: EOF 2022/11/21 16:18:33 http: TLS handshake error from 127.0.0.1:34850: EOF ... --- FAIL: TestScript (0.15s) --- FAIL: TestScript/mod_replace_gopkgin (14.05s) script_test.go:134: 2022-11-21T16:16:39Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-3904438487/tmpdir2680534702/mod_replace_gopkgin3937392997 script_test.go:154: # 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.702s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && `reading https://gopkg\.in`
2022-11-21 16:19 linux-amd64-longtest-race go@d7812ab3 cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:42539 https://vcs-test.golang.org rerouted to https://127.0.0.1:39171 go test proxy running at GOPROXY=http://127.0.0.1:36963/mod 2022/11/21 17:29:14 http: TLS handshake error from 127.0.0.1:60500: EOF 2022/11/21 17:29:38 http: TLS handshake error from 127.0.0.1:60610: read tcp 127.0.0.1:39171->127.0.0.1:60610: read: connection reset by peer 2022/11/21 17:29:39 http: TLS handshake error from 127.0.0.1:60662: EOF 2022/11/21 17:29:39 http: TLS handshake error from 127.0.0.1:60666: EOF 2022/11/21 17:29:39 http: TLS handshake error from 127.0.0.1:60672: EOF 2022/11/21 17:29:39 http: TLS handshake error from 127.0.0.1:60678: EOF 2022/11/21 17:29:39 http: TLS handshake error from 127.0.0.1:60692: EOF ... --- FAIL: TestScript (0.16s) --- FAIL: TestScript/mod_replace_gopkgin (14.74s) script_test.go:134: 2022-11-21T17:29:10Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-1215357709/tmpdir1583356980/mod_replace_gopkgin750093156 script_test.go:154: # 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. (14.351s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1

watchflakes

gopherbot commented 1 year ago

Change https://go.dev/cl/454503 mentions this issue: cmd/go: skip TestScript/mod_replace_gopkgin

bcmills commented 1 year ago

@gopherbot, please backport to Go 1.18 and 1.19. This test is very flaky lately, so we should at least backport a skip for it.

gopherbot commented 1 year ago

Backport issue(s) opened: #57057 (for 1.18), #57058 (for 1.19).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

gopherbot commented 1 year ago

Change https://go.dev/cl/454839 mentions this issue: [release-branch.go1.19] cmd/go: skip TestScript/mod_replace_gopkgin

gopherbot commented 1 year ago

Change https://go.dev/cl/454840 mentions this issue: [release-branch.go1.18] cmd/go: skip TestScript/mod_replace_gopkgin

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript" && `reading https://gopkg\.in`
2022-11-08 18:44 linux-amd64-longtest go@39ac1fbd cmd/go.TestScript (log) go test proxy running at GOPROXY=http://127.0.0.1:44901/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/mod_gopkg_unstable (10.80s) script_test.go:270: # (2022-11-08T19:24:57Z) > 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 ... --- FAIL: TestScript/mod_replace_gopkgin (23.03s) script_test.go:270: # (2022-11-08T19:24: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. (22.936s) > 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-11-16 16:42 linux-386-longtest go@0266671e cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:35139 https://vcs-test.golang.org rerouted to https://127.0.0.1:44915 go test proxy running at GOPROXY=http://127.0.0.1:38339/mod 2022/11/16 17:15:15 http: TLS handshake error from 127.0.0.1:56728: EOF 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56480: EOF 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56510: EOF 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56478: EOF 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56518: EOF 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56564: read tcp 127.0.0.1:44915->127.0.0.1:56564: read: connection reset by peer 2022/11/16 17:15:34 http: TLS handshake error from 127.0.0.1:56548: read tcp 127.0.0.1:44915->127.0.0.1:56548: read: connection reset by peer ... --- FAIL: TestScript (0.07s) --- FAIL: TestScript/mod_replace_gopkgin (14.15s) script_test.go:134: 2022-11-16T17:15:14Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-2516171915/tmpdir792770605/mod_replace_gopkgin1652296184 script_test.go:154: # 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. (14.006s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1
2022-11-29 15:41 linux-amd64-longtest go@8c0f9ed4 cmd/go.TestScript (log) vcs-test.golang.org rerouted to http://127.0.0.1:40551 https://vcs-test.golang.org rerouted to https://127.0.0.1:43957 go test proxy running at GOPROXY=http://127.0.0.1:39081/mod 2022/11/29 16:09:40 http: TLS handshake error from 127.0.0.1:43158: EOF 2022/11/29 16:09:40 http: TLS handshake error from 127.0.0.1:43174: read tcp 127.0.0.1:43957->127.0.0.1:43174: read: connection reset by peer 2022/11/29 16:09:40 http: TLS handshake error from 127.0.0.1:43194: read tcp 127.0.0.1:43957->127.0.0.1:43194: read: connection reset by peer 2022/11/29 16:09:41 http: TLS handshake error from 127.0.0.1:43282: read tcp 127.0.0.1:43957->127.0.0.1:43282: read: connection reset by peer --- FAIL: TestScript (0.07s) --- FAIL: TestScript/mod_replace_gopkgin (17.24s) script_test.go:134: 2022-11-29T16:09:05Z script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-895707498/tmpdir2456778667/mod_replace_gopkgin1175391017 script_test.go:154: # 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.022s) > cd 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) script_test.go:154: FAIL: mod_replace_gopkgin.txt:20: go list -m gopkg.in/src-d/go-git.v4: exit status 1

watchflakes

gopherbot commented 1 year ago

Change https://go.dev/cl/466857 mentions this issue: [release-branch.go1.19] cmd/go: skip test cases that depend on gopkg.in

gopherbot commented 1 year ago

Change https://go.dev/cl/466860 mentions this issue: cmd/go: remove tests that assume lack of new versions of external modules

gopherbot commented 1 year ago

Change https://go.dev/cl/466861 mentions this issue: [release-branch.go1.20] cmd/go: remove tests that assume lack of new versions of external modules

gopherbot commented 1 year ago

Change https://go.dev/cl/466862 mentions this issue: [release-branch.go1.19] cmd/go: remove tests that assume lack of new versions of external modules

gopherbot commented 1 year ago

Change https://go.dev/cl/473276 mentions this issue: cmd/go: declare net hosts in script tests