# 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-docsj1k3n3ge/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:13 Monday 26 February 2024 12:43:49 +0000 (0:00:00.012) 0:00:00.012 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:43:49 +0000 (0:00:00.025) 0:00:00.037 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:43:49 +0000 (0:00:00.012) 0:00:00.050 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:43:50 +0000 (0:00:01.300) 0:00:01.350 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:43:50 +0000 (0:00:00.258) 0:00:01.608 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:43:51 +0000 (0:00:00.019) 0:00:01.627 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:43:51 +0000 (0:00:00.027) 0:00:01.654 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:43:54 +0000 (0:00:03.052) 0:00:04.707 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:43:54 +0000 (0:00:00.267) 0:00:04.974 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:43:54 +0000 (0:00:00.188) 0:00:05.163 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:43:54 +0000 (0:00:00.032) 0:00:05.195 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435823.619, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:43:54 +0000 (0:00:00.207) 0:00:05.402 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:43:55 +0000 (0:00:00.253) 0:00:05.656 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708435825.835, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "394a564056f732de652dc8512ae176147ae68cd0", "ctime": 1708435825.835, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708435825.835, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1242571320", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:43:55 +0000 (0:00:00.208) 0:00:05.865 ******* changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:43:55 +0000 (0:00:00.193) 0:00:06.058 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:43:55 +0000 (0:00:00.012) 0:00:06.071 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:43:55 +0000 (0:00:00.007) 0:00:06.078 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:43:55 +0000 (0:00:00.007) 0:00:06.086 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } META: end_host conditional evaluated to false, continuing execution for sut META: ran handlers TASK [Clone kernel to Clone1] ************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:29 Monday 26 February 2024 12:43:56 +0000 (0:00:00.574) 0:00:06.660 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 12:43:56 +0000 (0:00:00.011) 0:00:06.672 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 12:43:56 +0000 (0:00:00.009) 0:00:06.681 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64" }, "md5sum": "903e178e5d1b463322f6b8ae00c3b0fd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14806856, "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.4-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img" }, "md5sum": "bbcf92602718082fcf4c07a5afba1476", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20390757, "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 12:43:57 +0000 (0:00:01.807) 0:00:08.489 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:43:57 +0000 (0:00:00.016) 0:00:08.506 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:43:57 +0000 (0:00:00.010) 0:00:08.517 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:43:57 +0000 (0:00:00.008) 0:00:08.525 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:43:57 +0000 (0:00:00.007) 0:00:08.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:43:57 +0000 (0:00:00.007) 0:00:08.540 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:43:57 +0000 (0:00:00.017) 0:00:08.558 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:44:00 +0000 (0:00:02.908) 0:00:11.466 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1 --initrd=/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:44:01 +0000 (0:00:00.421) 0:00:11.888 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:44:01 +0000 (0:00:00.189) 0:00:12.077 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:44:01 +0000 (0:00:00.014) 0:00:12.091 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951434.7508805, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1708435951.192, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165518, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708435823.046, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "2970916140", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:44:01 +0000 (0:00:00.211) 0:00:12.303 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:44:01 +0000 (0:00:00.196) 0:00:12.500 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951435.419857, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:44:02 +0000 (0:00:00.218) 0:00:12.718 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:44:02 +0000 (0:00:00.193) 0:00:12.912 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:44:02 +0000 (0:00:00.010) 0:00:12.922 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:44:02 +0000 (0:00:00.007) 0:00:12.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:44:02 +0000 (0:00:00.007) 0:00:12.937 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 12:44:02 +0000 (0:00:00.006) 0:00:12.944 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.151302", "end": "2024-02-26 12:44:02.717887", "rc": 0, "start": "2024-02-26 12:44:02.566585" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 12:44:02 +0000 (0:00:00.411) 0:00:13.355 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:44:02 +0000 (0:00:00.009) 0:00:13.365 ******* changed: [sut] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:44:44 +0000 (0:00:42.203) 0:00:55.568 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:44:44 +0000 (0:00:00.009) 0:00:55.578 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 12:44:44 +0000 (0:00:00.010) 0:00:55.588 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 12:44:44 +0000 (0:00:00.008) 0:00:55.597 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:44:44 +0000 (0:00:00.016) 0:00:55.613 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:44:45 +0000 (0:00:00.012) 0:00:55.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:44:45 +0000 (0:00:00.008) 0:00:55.634 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:44:45 +0000 (0:00:00.007) 0:00:55.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:44:45 +0000 (0:00:00.007) 0:00:55.649 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:44:45 +0000 (0:00:00.019) 0:00:55.669 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:44:51 +0000 (0:00:06.781) 0:01:02.450 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:44:52 +0000 (0:00:00.199) 0:01:02.649 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:44:52 +0000 (0:00:00.213) 0:01:02.863 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:44:52 +0000 (0:00:00.020) 0:01:02.883 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.7166016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708951442.7156017, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708951442.7156017, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2873266855", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:44:52 +0000 (0:00:00.254) 0:01:03.138 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:44:52 +0000 (0:00:00.194) 0:01:03.332 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.0546248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:44:52 +0000 (0:00:00.204) 0:01:03.536 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:44:53 +0000 (0:00:00.190) 0:01:03.727 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:44:53 +0000 (0:00:00.009) 0:01:03.736 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:44:53 +0000 (0:00:00.007) 0:01:03.744 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:44:53 +0000 (0:00:00.007) 0:01:03.751 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "0e16021be0504bc9b0be1895798d4f27-6.7.4-100.fc38.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:35 Monday 26 February 2024 12:44:53 +0000 (0:00:00.356) 0:01:04.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:47 Monday 26 February 2024 12:44:53 +0000 (0:00:00.010) 0:01:04.119 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:44:53 +0000 (0:00:00.019) 0:01:04.139 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:44:53 +0000 (0:00:00.010) 0:01:04.149 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:44:53 +0000 (0:00:00.008) 0:01:04.157 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:44:53 +0000 (0:00:00.007) 0:01:04.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:44:53 +0000 (0:00:00.007) 0:01:04.172 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:44:53 +0000 (0:00:00.017) 0:01:04.190 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:44:56 +0000 (0:00:02.882) 0:01:07.072 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:44:56 +0000 (0:00:00.436) 0:01:07.509 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:44:57 +0000 (0:00:00.186) 0:01:07.696 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:44:57 +0000 (0:00:00.017) 0:01:07.713 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.7166016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708951442.7156017, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708951442.7156017, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2873266855", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:44:57 +0000 (0:00:00.203) 0:01:07.917 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:44:57 +0000 (0:00:00.193) 0:01:08.110 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.0546248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:44:57 +0000 (0:00:00.205) 0:01:08.315 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:44:57 +0000 (0:00:00.191) 0:01:08.507 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:44:57 +0000 (0:00:00.016) 0:01:08.524 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:44:57 +0000 (0:00:00.013) 0:01:08.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:44:57 +0000 (0:00:00.007) 0:01:08.546 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:65 Monday 26 February 2024 12:44:58 +0000 (0:00:00.302) 0:01:08.848 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:71 Monday 26 February 2024 12:44:58 +0000 (0:00:00.010) 0:01:08.859 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 12:44:58 +0000 (0:00:00.014) 0:01:08.873 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 12:44:58 +0000 (0:00:00.009) 0:01:08.883 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.4-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "07e5eaee2ecbe02b351e23cdbc7954b6199e59a2", "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64" }, "md5sum": "903e178e5d1b463322f6b8ae00c3b0fd", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14806856, "src": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.4-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "8013b07b4ec317cde218ecb9881767196b88b0c7", "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img" }, "md5sum": "bbcf92602718082fcf4c07a5afba1476", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20390757, "src": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 12:44:59 +0000 (0:00:00.962) 0:01:09.845 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:44:59 +0000 (0:00:00.010) 0:01:09.856 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:44:59 +0000 (0:00:00.011) 0:01:09.868 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:44:59 +0000 (0:00:00.009) 0:01:09.878 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:44:59 +0000 (0:00:00.008) 0:01:09.886 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:44:59 +0000 (0:00:00.007) 0:01:09.893 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:44:59 +0000 (0:00:00.018) 0:01:09.911 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:45:02 +0000 (0:00:02.893) 0:01:12.804 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --add-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2 --initrd=/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:45:02 +0000 (0:00:00.416) 0:01:13.221 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:45:02 +0000 (0:00:00.186) 0:01:13.407 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:45:02 +0000 (0:00:00.022) 0:01:13.430 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.7166016, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708951442.7156017, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708951442.7156017, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "2873266855", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:45:03 +0000 (0:00:00.208) 0:01:13.638 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:45:03 +0000 (0:00:00.196) 0:01:13.835 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.0546248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:45:03 +0000 (0:00:00.208) 0:01:14.043 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:45:03 +0000 (0:00:00.192) 0:01:14.235 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:45:03 +0000 (0:00:00.008) 0:01:14.244 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:45:03 +0000 (0:00:00.007) 0:01:14.251 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:45:03 +0000 (0:00:00.008) 0:01:14.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 12:45:03 +0000 (0:00:00.007) 0:01:14.267 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.147592", "end": "2024-02-26 12:45:03.969829", "rc": 0, "start": "2024-02-26 12:45:03.822237" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 12:45:03 +0000 (0:00:00.338) 0:01:14.606 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:45:03 +0000 (0:00:00.009) 0:01:14.615 ******* changed: [sut] => { "changed": true, "elapsed": 42, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:45:46 +0000 (0:00:42.804) 0:01:57.420 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:45:46 +0000 (0:00:00.007) 0:01:57.428 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 12:45:46 +0000 (0:00:00.009) 0:01:57.437 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.168346", "end": "2024-02-26 12:45:47.259752", "rc": 0, "start": "2024-02-26 12:45:47.091406" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 12:45:47 +0000 (0:00:00.381) 0:01:57.819 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:45:47 +0000 (0:00:00.007) 0:01:57.827 ******* changed: [sut] => { "changed": true, "elapsed": 43, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:46:31 +0000 (0:00:44.610) 0:02:42.438 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:46:31 +0000 (0:00:00.008) 0:02:42.447 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 12:46:31 +0000 (0:00:00.010) 0:02:42.457 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 12:46:31 +0000 (0:00:00.009) 0:02:42.466 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:46:31 +0000 (0:00:00.017) 0:02:42.483 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:46:31 +0000 (0:00:00.012) 0:02:42.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:46:31 +0000 (0:00:00.009) 0:02:42.505 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:46:31 +0000 (0:00:00.008) 0:02:42.513 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:46:31 +0000 (0:00:00.007) 0:02:42.520 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:46:31 +0000 (0:00:00.018) 0:02:42.538 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:46:39 +0000 (0:00:07.633) 0:02:50.172 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:46:39 +0000 (0:00:00.190) 0:02:50.362 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:46:39 +0000 (0:00:00.186) 0:02:50.549 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:46:39 +0000 (0:00:00.015) 0:02:50.565 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951547.2582705, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708951547.2572706, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708951547.2572706, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1564957248", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:46:40 +0000 (0:00:00.234) 0:02:50.800 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:46:40 +0000 (0:00:00.193) 0:02:50.993 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.0546248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:46:40 +0000 (0:00:00.207) 0:02:51.200 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:46:40 +0000 (0:00:00.191) 0:02:51.391 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:46:40 +0000 (0:00:00.009) 0:02:51.401 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:46:40 +0000 (0:00:00.007) 0:02:51.408 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:46:40 +0000 (0:00:00.007) 0:02:51.416 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" }, { "args": "test=kernel", "default": false, "id": "0e16021be0504bc9b0be1895798d4f27-6.7.4-100.fc38.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:77 Monday 26 February 2024 12:46:41 +0000 (0:00:00.352) 0:02:51.768 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:84 Monday 26 February 2024 12:46:41 +0000 (0:00:00.009) 0:02:51.778 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 12:46:41 +0000 (0:00:00.024) 0:02:51.803 ******* included: /WORKDIR/git-docsj1k3n3ge/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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 12:46:41 +0000 (0:00:00.009) 0:02:51.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 12:46:41 +0000 (0:00:00.008) 0:02:51.821 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 12:46:41 +0000 (0:00:00.007) 0:02:51.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 12:46:41 +0000 (0:00:00.007) 0:02:51.836 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 12:46:41 +0000 (0:00:00.018) 0:02:51.855 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 12:46:44 +0000 (0:00:02.856) 0:02:54.712 ******* NOTIFIED HANDLER linux-system-roles.bootloader : Fix default kernel boot parameters for sut NOTIFIED HANDLER linux-system-roles.bootloader : Reboot system for sut changed: [sut] => { "actions": [ "grubby --remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 12:46:44 +0000 (0:00:00.437) 0:02:55.150 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 12:46:44 +0000 (0:00:00.184) 0:02:55.334 ******* 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 : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 12:46:44 +0000 (0:00:00.013) 0:02:55.348 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951547.2582705, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1708951547.2572706, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 151600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708951547.2572706, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1564957248", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 12:46:44 +0000 (0:00:00.201) 0:02:55.550 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Monday 26 February 2024 12:46:45 +0000 (0:00:00.192) 0:02:55.742 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708951442.0546248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "299a76081cd60076299351762a8cb119928c15cf", "ctime": 1708951435.419857, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708951435.419857, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2219851077", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 Monday 26 February 2024 12:46:45 +0000 (0:00:00.206) 0:02:55.949 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Monday 26 February 2024 12:46:45 +0000 (0:00:00.193) 0:02:56.143 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Monday 26 February 2024 12:46:45 +0000 (0:00:00.010) 0:02:56.153 ******* 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-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:86 Monday 26 February 2024 12:46:45 +0000 (0:00:00.007) 0:02:56.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Monday 26 February 2024 12:46:45 +0000 (0:00:00.008) 0:02:56.170 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "a823f1da5e3e44a39c34659ce84102fb-6.7.4-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.4-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.4-100.fc38.x86_64", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (6.7.4-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "a823f1da5e3e44a39c34659ce84102fb-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-a823f1da5e3e44a39c34659ce84102fb.img", "kernel": "/boot/vmlinuz-0-rescue-a823f1da5e3e44a39c34659ce84102fb", "root": "UUID=517e8efe-c126-4915-b889-dd0e107b9400", "title": "Fedora Linux (0-rescue-a823f1da5e3e44a39c34659ce84102fb) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:94 Monday 26 February 2024 12:46:45 +0000 (0:00:00.299) 0:02:56.470 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-docsj1k3n3ge/tests/tests_add_rm.yml:100 Monday 26 February 2024 12:46:45 +0000 (0:00:00.017) 0:02:56.487 ******* changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1" ], "delta": "0:00:00.048989", "end": "2024-02-26 12:46:46.089289", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-02-26 12:46:46.040300" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone1 is incorrect MSG: non-zero return code changed: [sut] => (item=2) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2" ], "delta": "0:00:00.048501", "end": "2024-02-26 12:46:46.320276", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-02-26 12:46:46.271775" } STDERR: The param /boot/vmlinuz-6.7.4-100.fc38.x86_64_clone2 is incorrect MSG: non-zero return code RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 12:46:46 +0000 (0:00:00.468) 0:02:56.956 ******* changed: [sut] => { "changed": true, "cmd": "set -o pipefail\ngrubby --info=DEFAULT | awk '/^args/ {print $0}'\ncat /etc/default/grub\neval $(grubby --info=DEFAULT | awk '/^args/ {print $0}')\nsed -i -e \"s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\\\"$args\\\"|\" /etc/default/grub\ncat /etc/default/grub", "delta": "0:00:00.118068", "end": "2024-02-26 12:46:46.628410", "rc": 0, "start": "2024-02-26 12:46:46.510342" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 12:46:46 +0000 (0:00:00.308) 0:02:57.265 ******* included: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml for sut RUNNING HANDLER [linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 12:46:46 +0000 (0:00:00.007) 0:02:57.272 ******* changed: [sut] => { "changed": true, "elapsed": 41, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 12:47:29 +0000 (0:00:42.540) 0:03:39.813 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 12:47:29 +0000 (0:00:00.008) 0:03:39.821 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=100 changed=16 unreachable=0 failed=0 skipped=52 rescued=0 ignored=0 Monday 26 February 2024 12:47:29 +0000 (0:00:00.009) 0:03:39.831 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 44.61s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 42.80s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 42.54s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 42.20s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 17.47s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 5.80s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.88s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 2.86s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 1.81s /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:8 ---------------------- linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 1.30s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.28s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:93 Clone test_kernel kernel and initrd for test purposes ------------------- 0.96s /WORKDIR/git-docsj1k3n3ge/tests/tasks/clone_kernel.yml:8 ---------------------- linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.84s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.75s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.70s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.66s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.64s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.62s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 linux-system-roles.bootloader : Determine platform type ----------------- 0.59s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.58s /WORKDIR/git-docsj1k3n3ge/tests/roles/linux-system-roles.bootloader/tasks/main.yml:55 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---