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 caching breaks when using -memprofile #23384

Closed
bradfitz opened this issue Jan 9, 2018 · 2 comments
Closed

cmd/go: test caching breaks when using -memprofile #23384

bradfitz opened this issue Jan 9, 2018 · 2 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Jan 9, 2018

Test caching fails during computing the buildid when using -test.memprofile the second time:

bradfitz@gdev:~/go/src/strings$ go version
go version devel +9044f01 Tue Jan 9 01:53:38 2018 +0000 linux/amd64
bradfitz@gdev:~/go/src/strings$ go clean -testcache
bradfitz@gdev:~/go/src/strings$ go test
PASS
ok      strings 0.374s
bradfitz@gdev:~/go/src/strings$ go test
PASS
ok      strings 0.383s
bradfitz@gdev:~/go/src/strings$ go test   -test.memprofile=prof2.mem
PASS
ok      strings 0.378s
bradfitz@gdev:~/go/src/strings$ go test   -test.memprofile=prof2.mem
exec: "DO NOT USE - link": executable file not found in $PATH
FAIL    strings 0.000s
@bradfitz bradfitz added NeedsFix The path to resolution is known, but the work has not been done. release-blocker labels Jan 9, 2018
@bradfitz bradfitz added this to the Go1.10 milestone Jan 9, 2018
@ianlancetaylor
Copy link
Contributor

Dup of #23150?

@bradfitz
Copy link
Contributor Author

bradfitz commented Jan 9, 2018

Probably. Will close this one and add metadata to that one.

@bradfitz bradfitz closed this as completed Jan 9, 2018
@golang golang locked and limited conversation to collaborators Jan 9, 2019
@rsc rsc removed their assignment Jun 23, 2022
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. release-blocker
Projects
None yet
Development

No branches or pull requests

4 participants