[Buildroot] [PATCH 1/2] support/testing: remove TestZfsUclibc
José Luis Salvador Rufo
salvador.joseluis at gmail.com
Sat Sep 13 17:42:40 UTC 2025
Hello all,
I would rather remove the Python command that checks the ARC stats than
remove the uClibc test entirely, as I have used it numerous times to check
future ZFS versions and to ensure that OpenZFS compiles correctly with
uClibc.
Greetings.
El sáb, 13 sept 2025, 19:33, Romain Naour <romain.naour at smile.fr> escribió:
> As reported on the mailing list [1] while investigating the
> TestZfsUclibc Gitlab-CI failure, the python 3.13 interpreter itsef
> segfault at runtime:
>
> Fatal Python error: _PyThreadState_Attach: non-NULL old thread state
> Python runtime state: preinitialized
> Thread 0xSegmentation fault
>
> This issue is related to the python 3.13 version bump [2] were several
> internal changes were added [3] to support PEP 703 [4].
> PEP 793 is about CPython’s global interpreter lock (“GIL”) removal
> for multi-threads support that requires a working C11 "thread_local"
> for thread-local storage [5].
>
> Remove TestZfsUclibc since this issue is not related to ZFS and since
> we are going to disable python3 package for aarch64 uClibc-ng
> toolchains.
>
> Keeping TestZfsUclibc is possible by using another architecture than
> aarch64. But it requires to update TestZfsBase.
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/11271124859
> (TestZfsUclibc)
>
> [1]
> https://lore.kernel.org/buildroot/7a4d245d-1556-43c9-8997-6b1f791afbfe@gmail.com/
> (TestZfsUclibc)
> [2] d63e207eb869063f82c867658676c2903beb08cb
> [3]
> https://github.com/python/cpython/commit/6e97a9647ae028facb392d12fc24973503693bd6
> [4] https://peps.python.org/pep-0703/
> [5] https://gcc.gnu.org/onlinedocs/gcc-15.1.0/gcc/Thread-Local.html
>
> Cc: José Luis Salvador Rufo <salvador.joseluis at gmail.com>
> Cc: Waldemar Brodkorb <wbx at openadk.org>
> Signed-off-by: Romain Naour <romain.naour at smile.fr>
> ---
> support/testing/tests/package/test_zfs.py | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/support/testing/tests/package/test_zfs.py
> b/support/testing/tests/package/test_zfs.py
> index 1b907ac4de..3833838e3a 100644
> --- a/support/testing/tests/package/test_zfs.py
> +++ b/support/testing/tests/package/test_zfs.py
> @@ -73,16 +73,6 @@ class TestZfsGlibc(TestZfsBase):
> TestZfsBase.base_test_run(self)
>
>
> -class TestZfsUclibc(TestZfsBase):
> - config = TestZfsBase.config + \
> - """
> - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y
> - """
> -
> - def test_run(self):
> - TestZfsBase.base_test_run(self)
> -
> -
> class TestZfsMusl(TestZfsBase):
> config = TestZfsBase.config + \
> """
> --
> 2.51.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20250913/3a03f841/attachment.htm>
More information about the buildroot
mailing list