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: modfetch TestCodeRepo test fails #27042

Closed
ALTree opened this issue Aug 16, 2018 · 2 comments
Closed

cmd/go: modfetch TestCodeRepo test fails #27042

ALTree opened this issue Aug 16, 2018 · 2 comments
Labels
FrozenDueToAge modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@ALTree
Copy link
Member

ALTree commented Aug 16, 2018

$ gotip version
go version devel +dea36a6f75 Thu Aug 16 18:27:09 2018 +0000 linux/amd64
$ cd go/src/cmd/go/internal/modfetch

$ gotip test -run=TestCodeRepo/swtch.com_testmod
go: finding swtch.com/testmod v1.0.0
--- FAIL: TestCodeRepo (0.50s)
    --- FAIL: TestCodeRepo/swtch.com_testmod/v1.0.0 (0.50s)
        coderepo_test.go:372: info.Name = "", want "v1.0.0"
        coderepo_test.go:375: info.Short = "", want "v1.0.0"
FAIL
exit status 1
FAIL	cmd/go/internal/modfetch	0.556s

The failure also shows up on the longtest builder:
https://build.golang.org/log/323efedfa71344f4842b1965240875d16c199d50
but not on the others, since these tests are not run on -short.

@ALTree ALTree added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. modules labels Aug 16, 2018
@ALTree ALTree added this to the Go1.11 milestone Aug 16, 2018
@ALTree
Copy link
Member Author

ALTree commented Aug 17, 2018

Test failure bisected to CL 128355 (cmd/go: add go mod download).

@gopherbot
Copy link

Change https://golang.org/cl/129684 mentions this issue: cmd/go/internal/modfetch: correct TestCodeRepo expectation

@golang golang locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants