# 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_add_rm.yml ***************************************************** 1 plays in /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/tests_add_rm.yml:11 Tuesday 02 January 2024 15:00:52 +0000 (0:00:00.013) 0:00:00.013 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 02 January 2024 15:00:52 +0000 (0:00:00.026) 0:00:00.040 ******* included: /WORKDIR/git-add-remove-kernelsfv_10ck2/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-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 02 January 2024 15:00:52 +0000 (0:00:00.011) 0:00:00.051 ******* ok: [sut] TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Tuesday 02 January 2024 15:00:54 +0000 (0:00:02.420) 0:00:02.472 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 02 January 2024 15:00:54 +0000 (0:00:00.032) 0:00:02.505 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 Tuesday 02 January 2024 15:00:57 +0000 (0:00:03.146) 0:00:05.651 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.277) 0:00:05.929 ******* ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.274) 0:00:06.204 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.253) 0:00:06.457 ******* ok: [sut] => { "ansible_facts": { "__bootloader_grub_conf": "/boot/grub2/grub.cfg", "__bootloader_user_conf": "/boot/grub2/user.cfg" }, "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.021) 0:00:06.478 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.025) 0:00:06.504 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.009) 0:00:06.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 02 January 2024 15:00:58 +0000 (0:00:00.007) 0:00:06.521 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "3f4aff2c3bb740bba51164bd518a0125-6.6.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.6.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.6.4-100.fc38.x86_64", "root": "UUID=2901de93-8301-4c46-916e-b9984031cd94", "title": "Fedora Linux (6.6.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "3f4aff2c3bb740bba51164bd518a0125-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-3f4aff2c3bb740bba51164bd518a0125.img", "kernel": "/boot/vmlinuz-0-rescue-3f4aff2c3bb740bba51164bd518a0125", "root": "UUID=2901de93-8301-4c46-916e-b9984031cd94", "title": "Fedora Linux (0-rescue-3f4aff2c3bb740bba51164bd518a0125) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Set fact with kernel to use for clones] ********************************** task path: /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/tests_add_rm.yml:17 Tuesday 02 January 2024 15:00:59 +0000 (0:00:00.572) 0:00:07.093 ******* fatal: [sut]: FAILED! => {} MSG: Unexpected templating type error occurred on ({{ bootloader_facts | selectattr('initrd', 'defined') | last }}): 'generator' object is not reversible to retry, use: --limit @/tmp/tests_add_rm.retry PLAY RECAP ********************************************************************* sut : ok=8 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Tuesday 02 January 2024 15:00:59 +0000 (0:00:00.006) 0:00:07.100 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 3.15s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 2.42s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.57s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.28s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.28s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 linux-system-roles.bootloader : Determine platform type ----------------- 0.25s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Get bootloader_facts ---------------------------------------------------- 0.03s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/tests_add_rm.yml:11 ------------- linux-system-roles.bootloader : Generate boot loader password ----------- 0.03s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Set fact with kernel to use for clones ---------------------------------- 0.01s /WORKDIR/git-add-remove-kernelsfv_10ck2/tests/tests_add_rm.yml:17 ------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---