-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
os: TestPipeThreads failing sporadically on aix-ppc64 #70131
Comments
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
The log https://build.golang.org/log/f58a9df223e4f6179ce1ec967c5ec8fa219cdefa shows 39 threads waiting in It's at least possible that with many CPUs the reading threads are being created faster than the kernel is deciding that there is no data to read and returning |
That seems to agree with what I am seeing. I am curious why it started failing consistently during CI only recently. Does the scheduler restrict thread creation? |
Change https://go.dev/cl/623817 mentions this issue: |
The test uses the unusual But I have no idea why it started failing more frequently recently. |
This tests fails sporadically on the aix-ppc64 CI. I suspect this is an aix performance related issue. Skip the test. AIX seems slow to perform a non-blocking reading on a pipe, and this results in too many threads being created. This happens as far back as go1.22, where I stopped looking. On the GCC farm machine gcc119, The failure rate seemed coupled to GOMAXPROCS; about 1% for <=8, up to 40%+ for >=30 for all releases tested. For #70131 Change-Id: If002b55e5a4586d10cc7876d7c25259e61b17163 Reviewed-on: https://go-review.googlesource.com/c/go/+/623817 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Paul Murphy <murp@ibm.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
Go version
master
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
The tests fails consistently on aix systems with GOMAXPROC >= 8. It fails sporadically with smaller values, as is seen with aix-ppc64 CI. This CI log seems like the first of the recent failures. However, it is reproducible prior to the 1.23 release.
What did you expect to see?
The test passes consistently.
The text was updated successfully, but these errors were encountered: