You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently the "docker" GitHub Action in mantle became very flaky. The failure is during installation of the python packages with apt-get:
#15 402.3 Setting up python3-wrapt (1.14.1-2+b2) ...
#15 403.3 Traceback (most recent call last):
#15 403.3 File "/usr/bin/py3compile", line 323, in <module>
#15 403.3 main()
#15 403.3 File "/usr/bin/py3compile", line 302, in main
#15 403.3 compile(files, versions,
#15 403.3 File "/usr/bin/py3compile", line 203, in compile
#15 403.3 interpreter.magic_number(version),
#15 403.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 403.3 File "/usr/share/python3/debpython/interpreter.py", line 233, in magic_number
#15 403.3 result = self._execute('import imp; print(imp.get_magic())', version)
#15 403.3 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#15 403.3 File "/usr/share/python3/debpython/interpreter.py", line 359, in _execute
#15 403.3 raise Exception('{} failed with status code {}'.format(command, output['returncode']))
#15 403.3 Exception: ('python3.11', '-c', 'import imp; print(imp.get_magic())') failed with status code -11
#15 403.4 dpkg: error processing package python3-wrapt (--configure):
#15 403.4 installed python3-wrapt package post-installation script subprocess returned error exit status 1
The above snippet means that calling python3.11 -c 'import imp; print(imp.get_magic())' resulted in SIGSEGV (signal 11) when configuring some python package.
What seems to be a working workaround is running apt-get install in a loop - flatcar/mantle#579
But it's obviously ugly.
Impact
Now, with the workaround, the action mostly works, but we don't want to keep having such solutions. Without it, CI tests were failing for arm64 builds because the mantle image doesn't exist, because the action for arm64 package failed.
Description
Recently the "docker" GitHub Action in mantle became very flaky. The failure is during installation of the python packages with apt-get:
The above snippet means that calling
python3.11 -c 'import imp; print(imp.get_magic())'
resulted in SIGSEGV (signal 11) when configuring some python package.What we have tried:
/usr/share/python3/debpython/interpreter.py
to avoid using the deprecatedimp
module - hack mantle#577What seems to be a working workaround is running
apt-get install
in a loop - flatcar/mantle#579But it's obviously ugly.
Impact
Now, with the workaround, the action mostly works, but we don't want to keep having such solutions. Without it, CI tests were failing for arm64 builds because the mantle image doesn't exist, because the action for arm64 package failed.
Environment and steps to reproduce
The text was updated successfully, but these errors were encountered: