https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/16933
This new PR installed the package ansible-test
, then I can see the python-base-2.7
is installed due to dependency
(26/46) Installing: python-base-2.7.18-150000.48.1.x86_64 [.................done]
And later, the test failed:
# ansible-playbook -i hosts main.yaml --check ; echo C50rh-$?-
TASK [test : Install ed]
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named xml
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Shared connection to localhost closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"/home/bernhard/.ansible/tmp/ansible-tmp-1682471300.6237023-27986-220514846138454/AnsiballZ_zypper.py\", line 102, in <module>\r\n _ansiballz_main()\r\n File \"/home/bernhard/.ansible/tmp/ansible-tmp-1682471300.6237023-27986-220514846138454/AnsiballZ_zypper.py\", line 94, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/bernhard/.ansible/tmp/ansible-tmp-1682471300.6237023-27986-220514846138454/AnsiballZ_zypper.py\", line 40, in invoke_module\r\n runpy.run_module(mod_name='ansible.modules.packaging.os.zypper', init_globals=None, run_name='__main__', alter_sys=True)\r\n File \"/usr/lib64/python2.7/runpy.py\", line 188, in run_module\r\n fname, loader, pkg_name)\r\n File \"/usr/lib64/python2.7/runpy.py\", line 82, in _run_module_code\r\n mod_name, mod_fname, mod_loader, pkg_name)\r\n File \"/usr/lib64/python2.7/runpy.py\", line 72, in _run_code\r\n exec code in run_globals\r\n File \"/tmp/ansible_zypper_payload_32SxkM/ansible_zypper_payload.zip/ansible/modules/packaging/os/zypper.py\", line 195, in <module>\r\nImportError: No module named xml\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}