Axii pipeline fails due to rich python module installation
Bug Report
Summary and Bug Description
In the recent Axii release pipeline, the jobs module-lint
and e2e-jammy
failed (https://git.h2t.iar.kit.edu/sw/armarx/meta/axii/-/pipelines/18721). Both job logs show
Current Behavior
Pipeline aborts.
Expected Behavior
Pipeline succeeds.
Steps to Reproduce
Trigger release pipeline of Axii.
Diagnosis
Output of axii self report
# not applicable; is docker within CI pipeline
More Relevant Logs or Screenshots
From log of `module-lint` job
Collecting rich==12.6.0 (from -r /builds/sw/armarx/meta/axii/requirements/common.txt (line 3))
Downloading rich-12.6.0-py3-none-any.whl.metadata (18 kB)
[...]
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
unknown package:
Expected sha256 3605d34ba6291b9194c46035e228d6d01f39d120cf5ecc70301c11e7900fed21
Got e7626b5afd66d3a08d5ccb02e954de91f42a43d1729cc97790affeeb5d2730d8
--------------------------------------------------------------------------------------
Installing Axii by running 'axii self install --no-auto-detect --bash'.
--------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/builds/sw/armarx/meta/axii/armarx_setup/__init__.py", line 7, in <module>
from rich.console import Console
ModuleNotFoundError: No module named 'rich'
--------------------------------------------------------------------------------------
Run axii --help
--------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/builds/sw/armarx/meta/axii/armarx_setup/__init__.py", line 7, in <module>
from rich.console import Console
ModuleNotFoundError: No module named 'rich'
Uploading artifacts for failed job 00:01
Uploading artifacts...
WARNING: axii_module_quality.json: no matching files. Ensure that the artifact path is relative to the working directory (/builds/sw/armarx/meta/axii)
ERROR: No files to upload
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1
From log of `e2e-jammy` log
Collecting rich==12.6.0 (from -r /builds/sw/armarx/meta/axii/requirements/common.txt (line 3))
Downloading rich-12.6.0-py3-none-any.whl.metadata (18 kB)
[...]
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
unknown package:
Expected sha256 3605d34ba6291b9194c46035e228d6d01f39d120cf5ecc70301c11e7900fed21
Got e7626b5afd66d3a08d5ccb02e954de91f42a43d1729cc97790affeeb5d2730d8
--------------------------------------------------------------------------------------
Installing Axii by running 'axii self install --no-auto-detect --bash'.
--------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/builds/sw/armarx/meta/axii/armarx_setup/__init__.py", line 7, in <module>
from rich.console import Console
ModuleNotFoundError: No module named 'rich'
--------------------------------------------------------------------------------------
Run axii --help
--------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/builds/sw/armarx/meta/axii/armarx_setup/__init__.py", line 7, in <module>
from rich.console import Console
ModuleNotFoundError: No module named 'rich'
Uploading artifacts for failed job 00:00
Uploading artifacts...
WARNING: report.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/sw/armarx/meta/axii)
ERROR: No files to upload
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1
Edited by Tilman Daab