-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
GoCommandcmd/gocmd/goNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.An issue that has been verified to require only test changes, not just a test failure.
Milestone
Description
#!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 niemeyer/gopkg#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.
dmitshur and a-hilaly
Metadata
Metadata
Assignees
Labels
GoCommandcmd/gocmd/goNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.An issue that has been verified to require only test changes, not just a test failure.
Type
Projects
Status
Active
Milestone
Relationships
Development
Select code repository
Activity
heschi commentedon Aug 17, 2022
In this particular case I think GitHub was down...
gopherbot commentedon Aug 17, 2022
Change https://go.dev/cl/424594 mentions this issue:
cmd/go: disable test cases that depend on gopkg.in
bcmills commentedon Aug 17, 2022
I've been having trouble with
-longtest
TryBots all day, and it's only thegopkg.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.)
cmd/go: skip test cases that depend on gopkg.in
bcmills commentedon Sep 14, 2022
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 commentedon Oct 25, 2022
https://storage.googleapis.com/go-build-log/1c70686c/linux-amd64-longtest_994f464f.log (a SlowBot)
gopherbot commentedon Oct 25, 2022
Found new dashboard test flakes for:
2022-09-09 00:28 linux-386-longtest go@3c33c3b3 cmd/go.TestScript (log)
2022-09-27 21:10 linux-386-longtest go@4360fd8d cmd/go.TestScript (log)
2022-09-27 21:14 linux-amd64-longtest go@3b5188ed cmd/go.TestScript (log)
— watchflakes
gopherbot commentedon Nov 17, 2022
Found new dashboard test flakes for:
2022-11-16 14:38 linux-amd64-longtest-race go@7c8c209b cmd/go.TestScript (log)
2022-11-16 16:25 linux-386-longtest go@38218f39 cmd/go.TestScript (log)
— watchflakes
24 remaining items
[release-branch.go1.20] cmd/go: remove tests that assume lack of new …
cmd/go: remove tests that assume lack of new versions of external mod…
[release-branch.go1.20] cmd/go: remove tests that assume lack of new …
gopherbot commentedon Mar 3, 2023
Change https://go.dev/cl/473276 mentions this issue:
cmd/go: declare net hosts in script tests
cmd/go: declare net hosts in script tests
dmitshur commentedon Nov 23, 2024
This hasn't happened in a while, and it's just being bumped from release to release. Moving to Backlog. (If someone starts working on this, feel free to move to the corresponding release milestone.)