# 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-kernelsqomr192n/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-kernelsqomr192n/tests/tests_add_rm.yml:11 Tuesday 02 January 2024 15:03:32 +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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Tuesday 02 January 2024 15:03:32 +0000 (0:00:00.026) 0:00:00.039 ******* included: /WORKDIR/git-add-remove-kernelsqomr192n/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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Tuesday 02 January 2024 15:03:32 +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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Tuesday 02 January 2024 15:03:33 +0000 (0:00:00.414) 0:00:00.465 ******* 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 : Ensure required packages are installed] *** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Tuesday 02 January 2024 15:03:33 +0000 (0:00:00.029) 0:00:00.495 ******* 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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 Tuesday 02 January 2024 15:03:36 +0000 (0:00:03.282) 0:00:03.777 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Tuesday 02 January 2024 15:03:36 +0000 (0:00:00.253) 0:00:04.031 ******* ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.262) 0:00:04.293 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.243) 0:00:04.537 ******* 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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.019) 0:00:04.557 ******* 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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.023) 0:00:04.581 ******* 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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.007) 0:00:04.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.007) 0:00:04.595 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet $tuned_params", "default": true, "id": "884fa989c81e4be5b8440e899e93daa3-4.18.0-527.el8.x86_64", "index": "0", "initrd": "/boot/initramfs-4.18.0-527.el8.x86_64.img $tuned_initrd", "kernel": "/boot/vmlinuz-4.18.0-527.el8.x86_64", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (4.18.0-527.el8.x86_64) 8" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "884fa989c81e4be5b8440e899e93daa3-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-884fa989c81e4be5b8440e899e93daa3.img", "kernel": "/boot/vmlinuz-0-rescue-884fa989c81e4be5b8440e899e93daa3", "root": "UUID=da79f52e-1ce0-4a28-8d6b-c397437b7ba0", "title": "CentOS Stream (0-rescue-884fa989c81e4be5b8440e899e93daa3) 8" } ] }, "changed": false } TASK [Set fact with kernel to use for clones] ********************************** task path: /WORKDIR/git-add-remove-kernelsqomr192n/tests/tests_add_rm.yml:17 Tuesday 02 January 2024 15:03:37 +0000 (0:00:00.405) 0:00:05.001 ******* 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:03:37 +0000 (0:00:00.006) 0:00:05.007 ******* =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 3.28s /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.41s /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.41s /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.26s /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.25s /WORKDIR/git-add-remove-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 linux-system-roles.bootloader : Determine platform type ----------------- 0.24s /WORKDIR/git-add-remove-kernelsqomr192n/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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Get bootloader_facts ---------------------------------------------------- 0.03s /WORKDIR/git-add-remove-kernelsqomr192n/tests/tests_add_rm.yml:11 ------------- linux-system-roles.bootloader : Generate boot loader password ----------- 0.02s /WORKDIR/git-add-remove-kernelsqomr192n/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-kernelsqomr192n/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-kernelsqomr192n/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-kernelsqomr192n/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-kernelsqomr192n/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Set fact with kernel to use for clones ---------------------------------- 0.01s /WORKDIR/git-add-remove-kernelsqomr192n/tests/tests_add_rm.yml:17 ------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---