# 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-kernelszlmsehyz/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-kernelszlmsehyz/tests/tests_add_rm.yml:11 Tuesday 02 January 2024 15:11:51 +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-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 02 January 2024 15:11:51 +0000 (0:00:00.024) 0:00:00.037 ******* included: /WORKDIR/git-add-remove-kernelszlmsehyz/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-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 02 January 2024 15:11:51 +0000 (0:00:00.010) 0:00:00.048 ******* ok: [sut] TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Tuesday 02 January 2024 15:11:51 +0000 (0:00:00.305) 0:00:00.353 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 02 January 2024 15:11:51 +0000 (0:00:00.027) 0:00:00.381 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 Tuesday 02 January 2024 15:11:52 +0000 (0:00:00.646) 0:00:01.027 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Tuesday 02 January 2024 15:11:52 +0000 (0:00:00.192) 0:00:01.220 ******* ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Tuesday 02 January 2024 15:11:52 +0000 (0:00:00.211) 0:00:01.431 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 Tuesday 02 January 2024 15:11:52 +0000 (0:00:00.203) 0:00:01.635 ******* 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-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Tuesday 02 January 2024 15:11:52 +0000 (0:00:00.027) 0:00:01.662 ******* 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-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Tuesday 02 January 2024 15:11:53 +0000 (0:00:00.025) 0:00:01.687 ******* 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-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Tuesday 02 January 2024 15:11:53 +0000 (0:00:00.014) 0:00:01.702 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 02 January 2024 15:11:53 +0000 (0:00:00.007) 0:00:01.709 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.105.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.105.1.el7.x86_64", "root": "UUID=e7521e1a-5d73-4b44-83df-731d31b91a9c", "title": "Red Hat Enterprise Linux Server (3.10.0-1160.105.1.el7.x86_64) 7.9 (Maipo)" }, { "args": "ro console=tty0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto", "default": false, "index": "1", "initrd": "/boot/initramfs-0-rescue-e5ddc1b7b2b8462bb2c9cbbbd174f637.img", "kernel": "/boot/vmlinuz-0-rescue-e5ddc1b7b2b8462bb2c9cbbbd174f637", "root": "UUID=e7521e1a-5d73-4b44-83df-731d31b91a9c", "title": "Red Hat Enterprise Linux Server (0-rescue-e5ddc1b7b2b8462bb2c9cbbbd174f637) 7.9 (Maipo)" }, { "default": false, "index": "2", "kernel": "non linux entry" } ] }, "changed": false } TASK [Set fact with kernel to use for clones] ********************************** task path: /WORKDIR/git-add-remove-kernelszlmsehyz/tests/tests_add_rm.yml:17 Tuesday 02 January 2024 15:11:53 +0000 (0:00:00.293) 0:00:02.002 ******* 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:11:53 +0000 (0:00:00.010) 0:00:02.013 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 0.65s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.31s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.29s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.21s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 linux-system-roles.bootloader : Determine platform type ----------------- 0.20s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.19s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 linux-system-roles.bootloader : Set boot loader configuration files ----- 0.03s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 linux-system-roles.bootloader : Generate boot loader password ----------- 0.03s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Get bootloader_facts ---------------------------------------------------- 0.02s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/tests_add_rm.yml:11 ------------- linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.01s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Set fact with kernel to use for clones ---------------------------------- 0.01s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/tests_add_rm.yml:17 ------------- linux-system-roles.bootloader : Set platform/version specific variables --- 0.01s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.01s /WORKDIR/git-add-remove-kernelszlmsehyz/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---