libphobos: Disable libphobos.phobos/std/concurrency.d on macOS 13+ [PR111628]
Checks
| Context |
Check |
Description |
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-arm-bootstrap |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_check--master-arm |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_simplebootstrap_build--master-aarch64-bootstrap |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_gcc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
The libphobos.phobos_shared/std/concurrency.d test just hangs on macOS
13 and beyond and isn't even termintated after the testsuite timeout is
exceeded. Thus, more and more concurrency.exe processes keep
accumulating, consuming CPU time for nothing.
To avoid this, this patch skips the test on macOS 13+. The static test
SEGVs immediately instead, but I'm skipping it too for symmetry.
Tested no macOS 15 (where it becomes UNSUPPORTED) and 12 (where it still
PASSes).
I have no idea what happens on Darwin/arm64, so currently the skipping
is restricted to Darwin/x86_64.
Ok for trunk?
Rainer
Comments
Thanks Rainer.
This is fine until the cause is identified.
Iain.
On 10 February 2025 13:28:00 CET, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
>The libphobos.phobos_shared/std/concurrency.d test just hangs on macOS
>13 and beyond and isn't even termintated after the testsuite timeout is
>exceeded. Thus, more and more concurrency.exe processes keep
>accumulating, consuming CPU time for nothing.
>
>To avoid this, this patch skips the test on macOS 13+. The static test
>SEGVs immediately instead, but I'm skipping it too for symmetry.
>
>Tested no macOS 15 (where it becomes UNSUPPORTED) and 12 (where it still
>PASSes).
>
>I have no idea what happens on Darwin/arm64, so currently the skipping
>is restricted to Darwin/x86_64.
>
>Ok for trunk?
>
> Rainer
>
>--
>-----------------------------------------------------------------------------
>Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
>2025-02-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> PR d/111628
> * testsuite/libphobos.phobos/phobos.exp (libphobos_skip_tests):
> Add libphobos.phobos/std/concurrency.d on macOS 13+.
> * testsuite/libphobos.phobos_shared/phobos_shared.exp
> (libphobos_skip_tests): Likewise for
> libphobos.phobos_shared/std/concurrency.d
>
# HG changeset patch
# Parent 5a9fb5a372714eb68c3657870884a3b8b47cc268
libphobos: Disable libphobos.phobos/std/concurrency.d on macOS 13+ [PR111628]
@@ -37,6 +37,8 @@ set libphobos_skip_tests {
# Skip curl tests if library is not available
{ libphobos.phobos/etc/c/curl.d { ! libcurl_available } }
{ libphobos.phobos/std/net/curl.d { ! libcurl_available } }
+ # Skip concurrency.d test: SEGVs or hangs on macOS 13+ (PR d/111628).
+ { libphobos.phobos/std/concurrency.d { x86_64-apple-darwin2[2-9]* } }
}
# Initialize dg.
@@ -37,6 +37,8 @@ set libphobos_skip_tests {
# Skip curl tests if library is not available
{ libphobos.phobos_shared/etc/c/curl.d { ! libcurl_available } }
{ libphobos.phobos_shared/std/net/curl.d { ! libcurl_available } }
+ # Skip concurrency.d test: SEGVs or hangs on macOS 13+ (PR d/111628).
+ { libphobos.phobos_shared/std/concurrency.d { x86_64-apple-darwin2[2-9]* } }
}
# Initialize dg.