# 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-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml PLAY [Test creating, modifying, and removing kernels] ************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:13 Thursday 18 April 2024 14:50:36 +0000 (0:00:00.026) 0:00:00.026 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:50:39 +0000 (0:00:02.271) 0:00:02.297 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:50:39 +0000 (0:00:00.018) 0:00:02.316 ******** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:50:42 +0000 (0:00:03.590) 0:00:05.906 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:50:43 +0000 (0:00:00.430) 0:00:06.336 ******** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:50:43 +0000 (0:00:00.025) 0:00:06.361 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:50:43 +0000 (0:00:00.036) 0:00:06.398 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:50:43 +0000 (0:00:00.020) 0:00:06.419 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:50:46 +0000 (0:00:03.493) 0:00:09.913 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714950.2492697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.213) 0:00:10.126 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.013) 0:00:10.139 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.010) 0:00:10.149 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.194) 0:00:10.344 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.019) 0:00:10.363 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451847.0408833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.211) 0:00:10.575 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1709714952.5172698, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "2c25d374a246a79be8609c93956b7d4f3a868167", "ctime": 1709714952.5172698, "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": 1709714952.5172698, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6787, "uid": 0, "version": "1881590344", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.214) 0:00:10.790 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:50:47 +0000 (0:00:00.011) 0:00:10.801 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.287) 0:00:11.089 ******** changed: [sut] => { "changed": true } MSG: 6 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.200) 0:00:11.290 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.279) 0:00:11.569 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.012) 0:00:11.582 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.010) 0:00:11.592 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.010) 0:00:11.602 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "fa33b09558f34f6cbf52cce9ef726148-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa33b09558f34f6cbf52cce9ef726148.img", "kernel": "/boot/vmlinuz-0-rescue-fa33b09558f34f6cbf52cce9ef726148", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (0-rescue-fa33b09558f34f6cbf52cce9ef726148) 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-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:29 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.396) 0:00:11.998 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:3 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.018) 0:00:12.017 ******** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:8 Thursday 18 April 2024 14:50:48 +0000 (0:00:00.013) 0:00:12.030 ******** changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.7-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "731040d50dfdcefdedd2e90f2abbed27d77d301a", "dest": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone1", "src": "/boot/vmlinuz-6.7.7-100.fc38.x86_64" }, "md5sum": "4a3423b45d234592037e86e3cb971436", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14794568, "src": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.7-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "973966e0f94c84aa73f4f96211e7b69bc91e0bee", "dest": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone1", "src": "/boot/initramfs-6.7.7-100.fc38.x86_64.img" }, "md5sum": "a5d47dd3be3e99778541dd1c93c81c11", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20400330, "src": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:22 Thursday 18 April 2024 14:50:50 +0000 (0:00:01.097) 0:00:13.128 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.024) 0:00:13.153 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.015) 0:00:13.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.011) 0:00:13.180 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.011) 0:00:13.191 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.010) 0:00:13.201 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.026) 0:00:13.228 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:50:50 +0000 (0:00:00.011) 0:00:13.239 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:50:53 +0000 (0:00:03.131) 0:00:16.370 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451847.0408833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.211) 0:00:16.582 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.012) 0:00:16.595 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.011) 0:00:16.607 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.195) 0:00:16.802 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.020) 0:00:16.822 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451847.0408833, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:50:53 +0000 (0:00:00.214) 0:00:17.037 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451848.2168813, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:50:54 +0000 (0:00:00.214) 0:00:17.252 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:50:54 +0000 (0:00:00.014) 0:00:17.266 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:50:54 +0000 (0:00:00.210) 0:00:17.477 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:50:54 +0000 (0:00:00.203) 0:00:17.680 ******** 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.7-100.fc38.x86_64_clone1 --initrd=/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.425) 0:00:18.106 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.011) 0:00:18.118 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.010) 0:00:18.128 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.009) 0:00:18.138 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.008) 0:00:18.147 ******** 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.148861", "end": "2024-04-18 14:50:55.607918", "rc": 0, "start": "2024-04-18 14:50:55.459057" } 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.530) 0:00:18.677 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 14:50:55 +0000 (0:00:00.012) 0:00:18.690 ******** changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 14:51:37 +0000 (0:00:41.443) 0:01:00.134 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.011) 0:01:00.145 ******** 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-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:41 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.013) 0:01:00.158 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:45 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.012) 0:01:00.171 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.046) 0:01:00.217 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.014) 0:01:00.232 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.012) 0:01:00.244 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.010) 0:01:00.254 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.011) 0:01:00.265 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.025) 0:01:00.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:51:37 +0000 (0:00:00.009) 0:01:00.301 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:51:43 +0000 (0:00:06.471) 0:01:06.772 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:51:43 +0000 (0:00:00.235) 0:01:07.008 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:51:43 +0000 (0:00:00.012) 0:01:07.021 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:51:43 +0000 (0:00:00.011) 0:01:07.032 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.194) 0:01:07.226 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.018) 0:01:07.244 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.210) 0:01:07.455 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451854.1648722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.215) 0:01:07.670 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.012) 0:01:07.683 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:51:44 +0000 (0:00:00.202) 0:01:07.885 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.198) 0:01:08.083 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.199) 0:01:08.282 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.013) 0:01:08.295 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.010) 0:01:08.305 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.010) 0:01:08.315 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "fa33b09558f34f6cbf52cce9ef726148-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa33b09558f34f6cbf52cce9ef726148.img", "kernel": "/boot/vmlinuz-0-rescue-fa33b09558f34f6cbf52cce9ef726148", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (0-rescue-fa33b09558f34f6cbf52cce9ef726148) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet test=kernel", "default": false, "id": "7f5a2b49355e459d85a98604a9435f6d-6.7.7-100.fc38.x86_64_clone1", "index": "2", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone1", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone1", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Clone1" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:35 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.359) 0:01:08.675 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone1 kernel with 3 kernel keys] ********************************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:47 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.014) 0:01:08.689 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.031) 0:01:08.721 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.014) 0:01:08.736 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.011) 0:01:08.747 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.010) 0:01:08.758 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.010) 0:01:08.768 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.026) 0:01:08.795 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:51:45 +0000 (0:00:00.011) 0:01:08.806 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:51:48 +0000 (0:00:03.123) 0:01:11.930 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.210) 0:01:12.140 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.013) 0:01:12.154 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.010) 0:01:12.164 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.196) 0:01:12.361 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.020) 0:01:12.381 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.212) 0:01:12.594 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451854.1648722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.215) 0:01:12.809 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.012) 0:01:12.821 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:51:49 +0000 (0:00:00.203) 0:01:13.024 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.201) 0:01:13.226 ******** 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.7-100.fc38.x86_64_clone1" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.454) 0:01:13.680 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.012) 0:01:13.693 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.012) 0:01:13.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.010) 0:01:13.716 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "fa33b09558f34f6cbf52cce9ef726148-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa33b09558f34f6cbf52cce9ef726148.img", "kernel": "/boot/vmlinuz-0-rescue-fa33b09558f34f6cbf52cce9ef726148", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (0-rescue-fa33b09558f34f6cbf52cce9ef726148) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone1 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:65 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.312) 0:01:14.029 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Clone kernel to Clone2] ************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:71 Thursday 18 April 2024 14:51:50 +0000 (0:00:00.016) 0:01:14.045 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:3 Thursday 18 April 2024 14:51:51 +0000 (0:00:00.022) 0:01:14.068 ******** ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:8 Thursday 18 April 2024 14:51:51 +0000 (0:00:00.013) 0:01:14.082 ******** changed: [sut] => (item={'src': '/boot/vmlinuz-6.7.7-100.fc38.x86_64', 'dest': '/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "731040d50dfdcefdedd2e90f2abbed27d77d301a", "dest": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone2", "src": "/boot/vmlinuz-6.7.7-100.fc38.x86_64" }, "md5sum": "4a3423b45d234592037e86e3cb971436", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 14794568, "src": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-6.7.7-100.fc38.x86_64.img', 'dest': '/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone2'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "973966e0f94c84aa73f4f96211e7b69bc91e0bee", "dest": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone2", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone2", "src": "/boot/initramfs-6.7.7-100.fc38.x86_64.img" }, "md5sum": "a5d47dd3be3e99778541dd1c93c81c11", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20400330, "src": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone2] **************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:22 Thursday 18 April 2024 14:51:51 +0000 (0:00:00.940) 0:01:15.022 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:51:51 +0000 (0:00:00.016) 0:01:15.039 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.014) 0:01:15.054 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.012) 0:01:15.066 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.011) 0:01:15.077 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.010) 0:01:15.087 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.028) 0:01:15.115 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:51:52 +0000 (0:00:00.011) 0:01:15.127 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:51:55 +0000 (0:00:03.124) 0:01:18.252 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.210) 0:01:18.462 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.013) 0:01:18.476 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.011) 0:01:18.487 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.193) 0:01:18.680 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.019) 0:01:18.700 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451855.6068697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451855.6058698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451855.6048698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "1364212050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:51:55 +0000 (0:00:00.211) 0:01:18.911 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451854.1648722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.211) 0:01:19.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.012) 0:01:19.135 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.202) 0:01:19.337 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.199) 0:01:19.537 ******** 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.7-100.fc38.x86_64_clone2 --initrd=/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone2 --title=Clone2 --args=test=kernel" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.427) 0:01:19.965 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.012) 0:01:19.977 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.010) 0:01:19.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.010) 0:01:19.997 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 14:51:56 +0000 (0:00:00.007) 0:01:20.005 ******** 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.147946", "end": "2024-04-18 14:51:57.281671", "rc": 0, "start": "2024-04-18 14:51:57.133725" } 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 14:51:57 +0000 (0:00:00.345) 0:01:20.350 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 14:51:57 +0000 (0:00:00.010) 0:01:20.361 ******** changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 14:52:38 +0000 (0:00:40.880) 0:02:01.242 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 14:52:38 +0000 (0:00:00.010) 0:02:01.253 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 14:52:38 +0000 (0:00:00.011) 0:02:01.264 ******** 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.154996", "end": "2024-04-18 14:52:37.601339", "rc": 0, "start": "2024-04-18 14:52:37.446343" } 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 14:52:38 +0000 (0:00:00.368) 0:02:01.633 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 14:52:38 +0000 (0:00:00.011) 0:02:01.644 ******** changed: [sut] => { "changed": true, "elapsed": 40, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 14:53:19 +0000 (0:00:41.076) 0:02:42.721 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.010) 0:02:42.732 ******** 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-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:41 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.014) 0:02:42.746 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:45 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.011) 0:02:42.758 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.028) 0:02:42.786 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.014) 0:02:42.800 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.010) 0:02:42.811 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.012) 0:02:42.823 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.010) 0:02:42.834 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.026) 0:02:42.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:53:19 +0000 (0:00:00.010) 0:02:42.871 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:53:26 +0000 (0:00:06.523) 0:02:49.395 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451957.6000755, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451957.5980754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451957.5980754, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "828283112", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:53:26 +0000 (0:00:00.236) 0:02:49.631 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:53:26 +0000 (0:00:00.012) 0:02:49.644 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:53:26 +0000 (0:00:00.012) 0:02:49.657 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:53:26 +0000 (0:00:00.194) 0:02:49.851 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:53:26 +0000 (0:00:00.018) 0:02:49.870 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451957.6000755, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451957.5980754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451957.5980754, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "828283112", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.211) 0:02:50.082 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451854.1648722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.212) 0:02:50.294 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.011) 0:02:50.306 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.202) 0:02:50.508 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.200) 0:02:50.709 ******** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.200) 0:02:50.910 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.013) 0:02:50.923 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.012) 0:02:50.936 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:53:27 +0000 (0:00:00.010) 0:02:50.946 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "fa33b09558f34f6cbf52cce9ef726148-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa33b09558f34f6cbf52cce9ef726148.img", "kernel": "/boot/vmlinuz-0-rescue-fa33b09558f34f6cbf52cce9ef726148", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (0-rescue-fa33b09558f34f6cbf52cce9ef726148) 38 (Thirty Eight)" }, { "args": "test=kernel", "default": false, "id": "7f5a2b49355e459d85a98604a9435f6d-6.7.7-100.fc38.x86_64_clone2", "index": "2", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img_clone2", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone2", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Clone2" } ] }, "changed": false } TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:77 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.360) 0:02:51.307 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove Clone2 kernel with kernel path] *********************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:84 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.014) 0:02:51.322 ******** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.042) 0:02:51.365 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.014) 0:02:51.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.014) 0:02:51.394 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.011) 0:02:51.406 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.012) 0:02:51.418 ******** 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.085) 0:02:51.504 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Thursday 18 April 2024 14:53:28 +0000 (0:00:00.013) 0:02:51.517 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Thursday 18 April 2024 14:53:31 +0000 (0:00:03.218) 0:02:54.735 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451957.6000755, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451957.5980754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451957.5980754, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "828283112", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Thursday 18 April 2024 14:53:31 +0000 (0:00:00.213) 0:02:54.949 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Thursday 18 April 2024 14:53:31 +0000 (0:00:00.012) 0:02:54.962 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Thursday 18 April 2024 14:53:31 +0000 (0:00:00.009) 0:02:54.972 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.198) 0:02:55.170 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.017) 0:02:55.188 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451957.6000755, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ab82c1aa5fb3a99221134fa04b24db43399d87df", "ctime": 1713451957.5980754, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1713451957.5980754, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 276, "uid": 0, "version": "828283112", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.218) 0:02:55.406 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1713451854.1648722, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1713451848.2168813, "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": 1713451848.2168813, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "3393696673", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.215) 0:02:55.622 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.012) 0:02:55.634 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:87 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.202) 0:02:55.837 ******** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 Thursday 18 April 2024 14:53:32 +0000 (0:00:00.203) 0:02:56.040 ******** 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.7-100.fc38.x86_64_clone2" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.448) 0:02:56.489 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:117 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.012) 0:02:56.502 ******** 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.010) 0:02:56.512 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.011) 0:02:56.523 ******** ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": true, "id": "fa33b09558f34f6cbf52cce9ef726148-6.7.7-100.fc38.x86_64", "index": "0", "initrd": "/boot/initramfs-6.7.7-100.fc38.x86_64.img", "kernel": "/boot/vmlinuz-6.7.7-100.fc38.x86_64", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (6.7.7-100.fc38.x86_64) 38 (Thirty Eight)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "id": "fa33b09558f34f6cbf52cce9ef726148-0-rescue", "index": "1", "initrd": "/boot/initramfs-0-rescue-fa33b09558f34f6cbf52cce9ef726148.img", "kernel": "/boot/vmlinuz-0-rescue-fa33b09558f34f6cbf52cce9ef726148", "root": "UUID=7edc224a-9332-4cda-9c64-11dd8d1c6cdc", "title": "Fedora Linux (0-rescue-fa33b09558f34f6cbf52cce9ef726148) 38 (Thirty Eight)" } ] }, "changed": false } TASK [Verify that Clone2 kernel is removed] ************************************ task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:94 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.309) 0:02:56.832 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:103 Thursday 18 April 2024 14:53:33 +0000 (0:00:00.014) 0:02:56.846 ******** changed: [sut] => (item=1) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-6.7.7-100.fc38.x86_64_clone1" ], "delta": "0:00:00.049197", "end": "2024-04-18 14:53:34.023113", "failed_when_result": false, "item": 1, "rc": 1, "start": "2024-04-18 14:53:33.973916" } STDERR: The param /boot/vmlinuz-6.7.7-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.7-100.fc38.x86_64_clone2" ], "delta": "0:00:00.049127", "end": "2024-04-18 14:53:34.261520", "failed_when_result": false, "item": 2, "rc": 1, "start": "2024-04-18 14:53:34.212393" } STDERR: The param /boot/vmlinuz-6.7.7-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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Thursday 18 April 2024 14:53:34 +0000 (0:00:00.483) 0:02:57.330 ******** 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.118049", "end": "2024-04-18 14:53:34.580040", "rc": 0, "start": "2024-04-18 14:53:34.461991" } 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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Thursday 18 April 2024 14:53:34 +0000 (0:00:00.320) 0:02:57.650 ******** included: /WORKDIR/git-refactor-with-mockv6w6j6lh/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-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Thursday 18 April 2024 14:53:34 +0000 (0:00:00.012) 0:02:57.662 ******** changed: [sut] => { "changed": true, "elapsed": 39, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Thursday 18 April 2024 14:54:14 +0000 (0:00:40.135) 0:03:37.798 ******** skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Thursday 18 April 2024 14:54:14 +0000 (0:00:00.010) 0:03:37.808 ******** ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=107 changed=16 unreachable=0 failed=0 skipped=80 rescued=0 ignored=0 Thursday 18 April 2024 14:54:14 +0000 (0:00:00.012) 0:03:37.821 ******** =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.44s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 41.08s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.88s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 40.14s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure required packages are installed -- 16.49s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 6.26s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 3.59s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Ensure required packages are installed --- 3.22s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 3.12s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Get bootloader_facts ---------------------------------------------------- 2.27s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tests_add_rm.yml:13 ------------- linux-system-roles.bootloader : Collect bootloader facts ---------------- 1.12s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:132 Clone test_kernel kernel and initrd for test purposes ------------------- 1.10s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:8 -------- Clone test_kernel kernel and initrd for test purposes ------------------- 0.94s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/tasks/clone_kernel.yml:8 -------- linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.88s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.85s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.69s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:78 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.69s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.68s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:95 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.64s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.63s /WORKDIR/git-refactor-with-mockv6w6j6lh/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---