# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-password-efirsg2dcmq/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_password.yml *************************************************** 1 plays in /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml:9 Monday 03 June 2024 16:37:15 +0000 (0:00:00.012) 0:00:00.012 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 16:37:15 +0000 (0:00:00.022) 0:00:00.035 *********** included: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 16:37:15 +0000 (0:00:00.009) 0:00:00.044 *********** ok: [sut] TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 16:37:16 +0000 (0:00:00.622) 0:00:00.666 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 16:37:16 +0000 (0:00:00.244) 0:00:00.911 *********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 16:37:16 +0000 (0:00:00.020) 0:00:00.932 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 16:37:16 +0000 (0:00:00.025) 0:00:00.957 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 16:37:16 +0000 (0:00:00.008) 0:00:00.966 *********** 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-efirsg2dcmq/tests/tests_password.yml:38 Monday 03 June 2024 16:37:18 +0000 (0:00:01.458) 0:00:02.425 *********** included: /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml for sut TASK [Assert failure] ********************************************************** task path: /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:6 Monday 03 June 2024 16:37:18 +0000 (0:00:00.011) 0:00:02.436 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [End execution on s390x host to avoid failures in clean up] *************** task path: /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:12 Monday 03 June 2024 16:37:18 +0000 (0:00:00.006) 0:00:02.443 *********** META: end_host conditional evaluated to False, continuing execution for sut skipping: [sut] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for sut" } MSG: end_host conditional evaluated to false, continuing execution for sut TASK [Fail if in a rescue block] *********************************************** task path: /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:17 Monday 03 June 2024 16:37:18 +0000 (0:00:00.002) 0:00:02.445 *********** fatal: [sut]: FAILED! => { "changed": false } MSG: {'results': [], 'rc': 1, 'failed': True, 'msg': "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist", 'invocation': {'module_args': {'name': ['grubby'], 'state': 'present', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'cacheonly': 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, 'sslverify': True, 'lock_timeout': 30, 'allowerasing': False, 'nobest': False, 'use_backend': 'auto', 'conf_file': None, 'disable_excludes': None, 'download_dir': None, 'list': None, 'releasever': None}}, '_ansible_no_log': None, 'changed': False} TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml:41 Monday 03 June 2024 16:37:18 +0000 (0:00:00.012) 0:00:02.458 *********** TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 Monday 03 June 2024 16:37:18 +0000 (0:00:00.026) 0:00:02.484 *********** included: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Monday 03 June 2024 16:37:18 +0000 (0:00:00.009) 0:00:02.494 *********** skipping: [sut] => { "changed": false, "false_condition": "__bootloader_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Check if system is ostree] ******** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Monday 03 June 2024 16:37:18 +0000 (0:00:00.016) 0:00:02.510 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 Monday 03 June 2024 16:37:18 +0000 (0:00:00.011) 0:00:02.521 *********** skipping: [sut] => { "changed": false, "false_condition": "not __bootloader_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Monday 03 June 2024 16:37:18 +0000 (0:00:00.010) 0:00:02.532 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__bootloader_vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.bootloader : Fail on s390x architecture] ******* task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Monday 03 June 2024 16:37:18 +0000 (0:00:00.018) 0:00:02.550 *********** skipping: [sut] => { "changed": false, "false_condition": "ansible_architecture == 's390x'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 Monday 03 June 2024 16:37:18 +0000 (0:00:00.010) 0:00:02.561 *********** 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 Monday 03 June 2024 16:37:19 +0000 (0:00:00.991) 0:00:03.553 *********** =============================================================================== fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 1.46s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure required packages are installed --- 0.99s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:13 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.62s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.24s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 Remove boot loader password --------------------------------------------- 0.03s /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml:41 ----------------- fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 Set boot loader password ------------------------------------------------ 0.02s /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml:9 ------------------ fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:20 fedora.linux_system_roles.bootloader : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:3 Fail if in a rescue block ----------------------------------------------- 0.01s /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:17 ----- Assert failure on s390x architecture ------------------------------------ 0.01s /WORKDIR/git-password-efirsg2dcmq/tests/tests_password.yml:38 ----------------- fedora.linux_system_roles.bootloader : Check if system is ostree -------- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:11 fedora.linux_system_roles.bootloader : Set flag to indicate system is ostree --- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/set_vars.yml:16 fedora.linux_system_roles.bootloader : Fail on s390x architecture ------- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:3 fedora.linux_system_roles.bootloader : Fail on s390x architecture ------- 0.01s /WORKDIR/git-password-efirsg2dcmq/.collection/ansible_collections/fedora/linux_system_roles/roles/bootloader/tasks/main.yml:6 Assert failure ---------------------------------------------------------- 0.01s /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:6 ------ End execution on s390x host to avoid failures in clean up --------------- 0.00s /WORKDIR/git-password-efirsg2dcmq/tests/tasks/assert_fail_on_s390x.yml:12 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---