-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
runtime/pprof: test failures on freebsd-arm-paulzhol due to too few samples #52656
Comments
High chance it's swapping. If it's a single test, and it is just sleeping, it could be a BTW, tried
|
Thanks. We can let the builder sit for a while and then recheck whether this failure mode is still occurring. (FWIW, it isn't necessary to run |
I still see these failures after removing much of the memory presure caused by the |
It looks like the test function is explicitly retrying with longer and longer attempts to try to coax the scheduler into actually running the threads: But it also appears that |
Change https://go.dev/cl/406614 mentions this issue: |
I don't think these tests need to be isolated — the properties they're checking for appear to be reasonable, even under load. However, I do think it's reasonable to eliminate the apparently-arbitrary limit on the profile duration. |
greplogs -l -e 'pprof_test.go:\d+: too few samples' --since=2022-03-10
2022-05-02T04:48:54-7a22c8a/freebsd-arm-paulzhol (
TestTimeVDSO
)2022-05-02T04:45:15-d872374/freebsd-arm-paulzhol (
TestCPUProfile
,TestCPUProfileInlining
)2022-05-01T00:05:20-edab07d/freebsd-arm-paulzhol (
TestMathBigDivide
,TestCPUProfileLabel
)2022-04-30T00:14:28-11a650b/freebsd-arm-paulzhol (
TestCPUProfile
,TestCPUProfileMultithreaded
,TestMorestack
)The last similar failures in the logs before then were from #51568, which still appears to be fixed. This builder is very slow — is it possible that it is swapping so hard that it is unable to profile a running process reliably?
attn @paulzhol; CC @prattmic @rhysh
The text was updated successfully, but these errors were encountered: