system/python3: (aarch64) FTTFS: ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
Found on aarch64:
...
0:00:10 load avg: 7.28 [107/396/1] test_importlib failed (1 failure)
test test_importlib failed -- Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/test_threaded_import.py", line 260, in test_multiprocessing_pool_circular_import
script_helper.assert_python_ok(fn)
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/usr/src/packages/system/python3/src/Python-3.11.0/python', '-X', 'faulthandler', '-I', '/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/partial/pool_in_threads.py']
stdout:
---
---
stderr:
---
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/synchronize.py", line 28, in <module>
from _multiprocessing import SemLock, sem_unlink
ImportError: cannot import name 'SemLock' from '_multiprocessing' (/usr/src/packages/system/python3/src/Python-3.11.0/build/lib.linux-aarch64-3.11/_multiprocessing.cpython-311-aarch64-linux-musl.so)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/partial/pool_in_threads.py", line 9, in t
with multiprocessing.Pool(1):
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/context.py", line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/pool.py", line 191, in __init__
self._setup_queues()
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/pool.py", line 346, in _setup_queues
self._inqueue = self._ctx.SimpleQueue()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/context.py", line 113, in SimpleQueue
return SimpleQueue(ctx=self.get_context())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/queues.py", line 341, in __init__
self._rlock = ctx.Lock()
^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/context.py", line 67, in Lock
from .synchronize import Lock
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/multiprocessing/synchronize.py", line 30, in <module>
raise ImportError("This platform lacks a functioning sem_open" +
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
---
...
Definitely transient; did not occur the second time.