setnumcapabilities001: sendWakeup: invalid argument (Bad file descriptor)
This happened in https://gitlab.haskell.org/ghc/ghc/-/jobs/570822 on validate-x86_64-darwin
:
--- /dev/null 2021-02-04 23:40:24.000000000 -0800
+++ concurrent/should_run/setnumcapabilities001.run/setnumcapabilities001.run.stderr.normalised 2021-02-04 23:40:24.000000000 -0800
@@ -0,0 +1 @@
+setnumcapabilities001: sendWakeup: invalid argument (Bad file descriptor)
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'random']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'regex-compat']
Found CPU features: sse4_1 sse3 sse2 avx2 sse sse4_2 bmi1 avx1 bmi2
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'containers']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'ghc-prim']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'primitive']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'parallel']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'vector']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'stm']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'async']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'syb']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'QuickCheck']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'haskell98']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'transformers']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'network']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'utf8-string']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'unix']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'process']
['/Users/builder/Desktop/builds/V164sjj5/0/ghc/ghc/inplace/bin/ghc-pkg', '--no-user-package-db', 'describe', 'parsec']
=====> 100 of 7991 [0, 0, 0]
=====> 200 of 7991 [0, 0, 0]
=====> 300 of 7991 [0, 0, 0]
=====> 400 of 7991 [0, 0, 0]
=====> 400 of 7991 [0, 0, 0]
=====> 400 of 7991 [0, 0, 0]
=====> 400 of 7991 [0, 0, 0]
=====> 400 of 7991 [0, 0, 0]
*** fragile test T5611(normal) resulted in pass
*** fragile test T5611a(normal) resulted in pass
=====> 600 of 7991 [0, 0, 0]
*** fragile test hs_try_putmvar003(threaded1) resulted in pass
=====> 700 of 7991 [0, 0, 0]
*** fragile test concprog001(threaded2) resulted in pass
Actual stderr output differs from expected:
*** unexpected failure for setnumcapabilities001(threaded1)
I'm not sure which lines belong to the test case and which don't.