# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_password.yml *************************************************** 1 plays in /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:9 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.013) 0:00:00.013 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.031) 0:00:00.044 ********** included: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:02:58 +0000 (0:00:00.013) 0:00:00.057 ********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.547) 0:00:00.605 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.288) 0:00:00.893 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.019) 0:00:00.912 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.028) 0:00:00.940 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:02:59 +0000 (0:00:00.016) 0:00:00.957 ********** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist TASK [Assert failure on s390x architecture] ************************************ task path: /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:38 Tuesday 04 June 2024 07:03:00 +0000 (0:00:01.148) 0:00:02.105 ********** included: /WORKDIR/git-password-efievyz72gc/tests/tasks/assert_fail_on_s390x.yml for sut TASK [Assert failure] ********************************************************** task path: /WORKDIR/git-password-efievyz72gc/tests/tasks/assert_fail_on_s390x.yml:6 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.012) 0:00:02.118 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: end_host conditional evaluated to false, continuing execution for sut TASK [Fail if in a rescue block] *********************************************** task path: /WORKDIR/git-password-efievyz72gc/tests/tasks/assert_fail_on_s390x.yml:17 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.027) 0:00:02.146 ********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'msg': "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist", 'results': [], 'rc': 1, 'failed': True, 'invocation': {'module_args': {'name': ['grubby'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, '_ansible_no_log': False, 'changed': False} TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:41 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.011) 0:00:02.157 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.023) 0:00:02.181 ********** included: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml for sut TASK [linux-system-roles.bootloader : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.010) 0:00:02.191 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Tuesday 04 June 2024 07:03:00 +0000 (0:00:00.010) 0:00:02.202 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Tuesday 04 June 2024 07:03:01 +0000 (0:00:00.015) 0:00:02.217 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Tuesday 04 June 2024 07:03:01 +0000 (0:00:00.015) 0:00:02.233 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Fail on s390x architecture] ************** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 04 June 2024 07:03:01 +0000 (0:00:00.023) 0:00:02.256 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Tuesday 04 June 2024 07:03:01 +0000 (0:00:00.025) 0:00:02.282 ********** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist to retry, use: --limit @/tmp/tests_password.retry PLAY RECAP ********************************************************************* sut : ok=6 changed=0 unreachable=0 failed=2 skipped=8 rescued=1 ignored=0 Tuesday 04 June 2024 07:03:02 +0000 (0:00:01.071) 0:00:03.353 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 1.15s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 1.07s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.55s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Check if system is ostree --------------- 0.29s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Set boot loader password ------------------------------------------------ 0.03s /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:9 ------------------ linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Assert failure ---------------------------------------------------------- 0.03s /WORKDIR/git-password-efievyz72gc/tests/tasks/assert_fail_on_s390x.yml:6 ------ linux-system-roles.bootloader : Fail on s390x architecture -------------- 0.03s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Remove boot loader password --------------------------------------------- 0.02s /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:41 ----------------- linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Fail on s390x architecture -------------- 0.02s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Check if system is ostree --------------- 0.02s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Assert failure on s390x architecture ------------------------------------ 0.01s /WORKDIR/git-password-efievyz72gc/tests/tests_password.yml:38 ----------------- Fail if in a rescue block ----------------------------------------------- 0.01s /WORKDIR/git-password-efievyz72gc/tests/tasks/assert_fail_on_s390x.yml:17 ----- linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.01s /WORKDIR/git-password-efievyz72gc/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---