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: TestGoGetDashTIssue8181 fails #17702

Closed
josharian opened this issue Oct 31, 2016 · 2 comments
Closed

cmd/go: TestGoGetDashTIssue8181 fails #17702

josharian opened this issue Oct 31, 2016 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@josharian
Copy link
Contributor

Broken out from #17472.

$ go test -run=TestGoGetDashTIssue8181 cmd/go
--- FAIL: TestGoGetDashTIssue8181 (8.95s)
	go_test.go:251: running testgo [get -v -t github.com/rsc/go-get-issue-8181/a github.com/rsc/go-get-issue-8181/b]
	go_test.go:270: standard error:
	go_test.go:271: github.com/rsc/go-get-issue-8181 (download)
		Fetching https://golang.org/x/build/cmd/cl?go-get=1
		Parsing meta tags from https://golang.org/x/build/cmd/cl?go-get=1 (status code 200)
		get "golang.org/x/build/cmd/cl": found meta tag main.metaImport{Prefix:"golang.org/x/build", VCS:"git", RepoRoot:"https://go.googlesource.com/build"} at https://golang.org/x/build/cmd/cl?go-get=1
		get "golang.org/x/build/cmd/cl": verifying non-authoritative meta tag
		Fetching https://golang.org/x/build?go-get=1
		Parsing meta tags from https://golang.org/x/build?go-get=1 (status code 200)
		golang.org/x/build (download)
		package golang.org/x/build/cmd/cl: import "golang.org/x/build/cmd/cl" is a program, not an importable package
		
	go_test.go:280: go [get -v -t github.com/rsc/go-get-issue-8181/a github.com/rsc/go-get-issue-8181/b] failed unexpectedly: exit status 1
FAIL
FAIL	cmd/go	10.931s
@josharian josharian added the NeedsFix The path to resolution is known, but the work has not been done. label Oct 31, 2016
@josharian josharian added this to the Go1.8 milestone Oct 31, 2016
@0xmohit
Copy link
Contributor

0xmohit commented Nov 1, 2016

This appears to be failing due to import of main package (the restriction was added for test code in 0f06d0a).

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/32616 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants