From: Paul E. Murphy Date: Thu, 31 Oct 2024 16:49:44 +0000 (-0500) Subject: os: skip TestPipeThreads on aix X-Git-Tag: go1.24rc1~519 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b79314289b93e3377f349b1d65c6b2073ac4e6ad;p=gostls13.git os: skip TestPipeThreads on aix 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 Run-TryBot: Paul Murphy Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot LUCI-TryBot-Result: Go LUCI Reviewed-by: Carlos Amedee --- diff --git a/src/os/os_test.go b/src/os/os_test.go index 5b1c8ba2f0..4470acd83b 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -2626,6 +2626,8 @@ func TestRemoveAllRace(t *testing.T) { // Test that reading from a pipe doesn't use up a thread. func TestPipeThreads(t *testing.T) { switch runtime.GOOS { + case "aix": + t.Skip("skipping on aix; issue 70131") case "illumos", "solaris": t.Skip("skipping on Solaris and illumos; issue 19111") case "windows":