The option test_collections is now set to true in staging, which makes CI test fail due to the lack of ruamel.yaml in RHEL-8. I'd think it depends on this bz...
Should we add a code to run-test to check whether the module ruamel.yaml is available - [0]? And proceed only if it is available to prevent this error?
Use cached CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2
+ git init --quiet /tmp/tmpu3q33ze4
+ GIT_TERMINAL_PROMPT=0 git -C /tmp/tmpu3q33ze4 fetch --quiet --depth=1 https://github.com/linux-system-roles/ci-testing pull/8/head
+ git -C /tmp/tmpu3q33ze4 checkout --quiet FETCH_HEAD
Traceback (most recent call last):
File "/test/run-tests", line 963, in handle_task
result = task.run(
File "/test/run-tests", line 429, in run
from lsr_role2collection import role2collection
File "/test/lsr_role2collection.py", line 36, in <module>
from ruamel.yaml import YAML
ModuleNotFoundError: No module named 'ruamel'
[0] It looks the method to check the availability is different among python2, python3 < 3.4, and python3 >= 3.4...
The option test_collections is now set to true in staging, which makes CI test fail due to the lack of ruamel.yaml in RHEL-8. I'd think it depends on this bz...
Should we add a code to run-test to check whether the module ruamel.yaml is available - [0]? And proceed only if it is available to prevent this error?
[0] It looks the method to check the availability is different among python2, python3 < 3.4, and python3 >= 3.4...