-
Notifications
You must be signed in to change notification settings - Fork 18k
misc/cgo/test: TestCrossPackageTests started to fail on release branches #44055
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
Comments
I took a quick look at this, but I wasn't able to reproduce it by running The panic occurs in a place where we validate The panic would occur if the flags from |
I'm able to reproduce the problem about 50% of the line on a linux-386-longtest gomote by running, in the At least in one occasion, the error occurs when the test, which itself invokes The extraneous |
The problem is the introduction of |
It's fixed on tip by https://golang.org/cl/285873, which drops @jayconrod Since you already fixed this on tip, leaving for you to decide if we should backport that fix (which was for #43808 and only coincidentally fixes this bug). Let me know if I didn't explain the problem. |
Thank you for diagnosing this issue. CL 285952 and CL 285954 have been submitted now, which remove I believe this issue is resolved. We can reopen if we see this again, or if someone thinks there should be a test added to Go 1.16 or 1.17, if there's insufficient test coverage. |
The TestCrossPackageTests test is failing on the linux-386-longtest builder on the release-branch.go1.14 branch, from https://build.golang.org/?repo=&branch=release-branch.go1.14:
(Full log at https://build.golang.org/log/9e85634f5e633118d04a37b6ec4acc8af7a0ec06.)
It seems to have started after the most recent minor release, although there were some unrelated failures that may have masked when it first started. It doesn't seem to happen on the release-branch.go1.15 branch at https://build.golang.org/?repo=&branch=release-branch.go1.15. Update: It happened on release-branch.go1.15 branch too after CL 288112 was submitted.
However, it is happening on TryBots for both Go 1.15 and 1.14 release branches, see https://go-review.googlesource.com/c/go/+/288115/1#message-fc09f380d12c52f7cee4887d29ce110b4f7083b3 and https://go-review.googlesource.com/c/go/+/288112/2#message-74b2918d949d3bc7758e86c7a7a41db5e996b8de. (CC @neild.)
CC @rolandshoemaker, @ianlancetaylor, @jayconrod.
The text was updated successfully, but these errors were encountered: