-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
x/tools/gopls/internal/regtest/diagnostics: TestIssue37978 failures due to unmet location of "http.MethodGet"
on netbsd
#53040
Comments
Let's skip the test for now. |
Sounds reasonable. Do we want to go ahead and add a skip, or leave it running to see whether the failure mode is specific to NetBSD? |
Let's just skip on GOOS=netbsd. |
Reading the logs (thanks bcmills@ - I couldn't find these logs using fetchlogs/greplogs myself - such a rare failure) ... What this test does is basically
But, in this trace 2022-05-19T21:15:04-904e24e-34507e8/netbsd-amd64-9_0 we see two diagnostics work started ("Calculating file diagnostics...").
The second failure trace shows the same. Smells like a real issue. |
Since this involves going from unparseable header to parseable header, it may have actually been resolved by https://go.dev/cl/407501. But actually, in one of those build results I see a goroutine running What's that doing? Is the (sorry for the brain dump, need to move on and wanted to capture my brief investigation) |
@findleyr There are two test failures in the log. I think the goroutines in the dump were in the middle of loading packages for the second test. "TestCutAndPaste/experimental".
The real failure is the previous test "TestIssue37978/experimental" which failed eventually with Then, this "TestCutAndPaste/experimental" started which brought down by the test's timeout ( |
Given @hyangah's analysis, CL 407501 seems to fit the bill for a fix. Shall we close this issue until/unless we see another one of these failures? |
Closing and waiting to see if this reoccurs SGTM. I'm not entirely convinced by my argument: I notice now from the logs that the diagnostic has source "syntax", not "go list". Still, I think we wouldn't have invalidated metadata before, and now we would, so it seems plausible that there was a race that has been fixed. |
greplogs -l -e 'FAIL: TestIssue37978 .*(\n[ ]+.*)*\(location of "http.MethodGet"\)' --since=2022-02-01
2022-05-19T21:15:04-904e24e-34507e8/netbsd-amd64-9_0
2022-05-17T03:26:28-814e0d7-41b9d8c/netbsd-386-9_0
Given the small number of occurrences so far, it's not clear to me whether this issue is specific to NetBSD.
(CC @findleyr @suzmue)
The text was updated successfully, but these errors were encountered: