# 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_settings.yml *************************************************** 1 plays in /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:13 Monday 26 February 2024 17:35:05 +0000 (0:00:00.013) 0:00:00.013 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:35:05 +0000 (0:00:00.030) 0:00:00.044 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:35:05 +0000 (0:00:00.013) 0:00:00.057 ******* ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:35:05 +0000 (0:00:00.369) 0:00:00.426 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:35:05 +0000 (0:00:00.187) 0:00:00.613 ******* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:35:05 +0000 (0:00:00.020) 0:00:00.634 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:35:05 +0000 (0:00:00.027) 0:00:00.661 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:35:06 +0000 (0:00:00.692) 0:00:01.354 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:35:06 +0000 (0:00:00.173) 0:00:01.527 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:35:06 +0000 (0:00:00.114) 0:00:01.641 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:35:06 +0000 (0:00:00.031) 0:00:01.673 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968890.1694133, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:35:06 +0000 (0:00:00.131) 0:00:01.805 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:35:06 +0000 (0:00:00.168) 0:00:01.973 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:35:06 +0000 (0:00:00.009) 0:00:01.983 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:35:07 +0000 (0:00:00.010) 0:00:01.993 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:35:07 +0000 (0:00:00.018) 0:00:02.011 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:35:07 +0000 (0:00:00.008) 0:00:02.020 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:35:07 +0000 (0:00:00.007) 0:00:02.027 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "3", "kernel": "non linux entry" } ] }, "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-bios-ueficu2t8p6o/tests/tests_settings.yml:29 Monday 26 February 2024 17:35:07 +0000 (0:00:00.184) 0:00:02.211 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:3 Monday 26 February 2024 17:35:07 +0000 (0:00:00.012) 0:00:02.224 ******* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:8 Monday 26 February 2024 17:35:07 +0000 (0:00:00.010) 0:00:02.234 ******* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "7e267bb07bdbe47e03dba2ca4fa87b806f2efdc0", "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64" }, "md5sum": "dec26597b8b86b04d30d24eff81c1a68", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "13857543321608a3ed2e7b1afae3062e18b3a59e", "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img" }, "md5sum": "d23a6ff78d6da2f095e3952bf5a3eca4", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20134014, "src": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:22 Monday 26 February 2024 17:35:07 +0000 (0:00:00.559) 0:00:02.793 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:35:07 +0000 (0:00:00.015) 0:00:02.809 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:35:07 +0000 (0:00:00.010) 0:00:02.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:35:07 +0000 (0:00:00.008) 0:00:02.828 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:35:07 +0000 (0:00:00.008) 0:00:02.837 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:35:07 +0000 (0:00:00.007) 0:00:02.844 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:35:07 +0000 (0:00:00.018) 0:00:02.863 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:35:08 +0000 (0:00:00.568) 0:00:03.431 ******* 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-3.10.0-1160.108.1.el7.x86_64_clone1 --initrd=/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:35:08 +0000 (0:00:00.299) 0:00:03.731 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:35:08 +0000 (0:00:00.112) 0:00:03.843 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:35:08 +0000 (0:00:00.013) 0:00:03.856 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968890.1694133, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d45f560efc7eafef37bf56677f0fab9fc0276c8b", "ctime": 1708443955.6511161, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 144314, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708443955.650116, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "version": "18446744071638590892", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:35:08 +0000 (0:00:00.127) 0:00:03.984 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:35:09 +0000 (0:00:00.120) 0:00:04.105 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:35:09 +0000 (0:00:00.008) 0:00:04.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:35:09 +0000 (0:00:00.007) 0:00:04.120 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:35:09 +0000 (0:00:00.007) 0:00:04.128 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:35:09 +0000 (0:00:00.007) 0:00:04.135 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:35:09 +0000 (0:00:00.007) 0:00:04.142 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:35:09 +0000 (0:00:00.005) 0:00:04.148 ******* 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.018947", "end": "2024-02-26 17:35:09.340618", "rc": 0, "start": "2024-02-26 17:35:09.321671" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8" 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_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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:35:09 +0000 (0:00:00.192) 0:00:04.341 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:35:09 +0000 (0:00:00.007) 0:00:04.349 ******* changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:35:47 +0000 (0:00:38.486) 0:00:42.836 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:35:47 +0000 (0:00:00.008) 0:00:42.844 ******* 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-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:41 Monday 26 February 2024 17:35:47 +0000 (0:00:00.010) 0:00:42.854 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:45 Monday 26 February 2024 17:35:47 +0000 (0:00:00.008) 0:00:42.862 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:35:47 +0000 (0:00:00.016) 0:00:42.878 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:35:47 +0000 (0:00:00.010) 0:00:42.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:35:47 +0000 (0:00:00.008) 0:00:42.898 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:35:47 +0000 (0:00:00.008) 0:00:42.907 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:35:47 +0000 (0:00:00.007) 0:00:42.914 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:35:47 +0000 (0:00:00.017) 0:00:42.931 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:35:48 +0000 (0:00:01.000) 0:00:43.932 ******* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:35:49 +0000 (0:00:00.136) 0:00:44.068 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:35:49 +0000 (0:00:00.113) 0:00:44.181 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:35:49 +0000 (0:00:00.013) 0:00:44.195 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968909.339302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708968909.3383021, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708968909.3373022, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744071773295288", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:35:49 +0000 (0:00:00.128) 0:00:44.323 ******* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:35:49 +0000 (0:00:00.120) 0:00:44.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:35:49 +0000 (0:00:00.008) 0:00:44.452 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:35:49 +0000 (0:00:00.007) 0:00:44.459 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:35:49 +0000 (0:00:00.008) 0:00:44.467 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:35:49 +0000 (0:00:00.007) 0:00:44.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:35:49 +0000 (0:00:00.007) 0:00:44.482 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } TASK [Verify that default bootloader is correct in bootloader_gather_facts] **** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:35 Monday 26 February 2024 17:35:49 +0000 (0:00:00.133) 0:00:44.616 ******* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.164307", "end": "2024-02-26 17:35:49.763870", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:35:49.599563" } STDOUT: /boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:46 Monday 26 February 2024 17:35:49 +0000 (0:00:00.270) 0:00:44.886 ******* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:53 Monday 26 February 2024 17:35:49 +0000 (0:00:00.009) 0:00:44.895 ******* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 26 February 2024 17:35:49 +0000 (0:00:00.033) 0:00:44.929 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 26 February 2024 17:35:49 +0000 (0:00:00.010) 0:00:44.939 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 26 February 2024 17:35:49 +0000 (0:00:00.008) 0:00:44.948 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 26 February 2024 17:35:49 +0000 (0:00:00.007) 0:00:44.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 26 February 2024 17:35:49 +0000 (0:00:00.007) 0:00:44.962 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 26 February 2024 17:35:49 +0000 (0:00:00.017) 0:00:44.980 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 26 February 2024 17:35:50 +0000 (0:00:00.554) 0:00:45.534 ******* 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 --update-kernel=0 --remove-args='ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 test=kernel'", "grubby --update-kernel=0 --args='console=tty0 print-fatal-signals=1 no_timer_check quiet'", "grubby --update-kernel=ALL --args=debug" ], "changed": true } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Monday 26 February 2024 17:35:50 +0000 (0:00:00.199) 0:00:45.734 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Monday 26 February 2024 17:35:50 +0000 (0:00:00.110) 0:00:45.844 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 Monday 26 February 2024 17:35:50 +0000 (0:00:00.013) 0:00:45.858 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708968909.339302, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cf43705221868bc9154ad25ed6cfdab53fc5c77a", "ctime": 1708968909.3383021, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 134061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1708968909.3373022, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 269, "uid": 0, "version": "18446744071773295288", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Monday 26 February 2024 17:35:50 +0000 (0:00:00.122) 0:00:45.981 ******* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 Monday 26 February 2024 17:35:51 +0000 (0:00:00.119) 0:00:46.100 ******* changed: [sut] => { "changed": true, "cmd": [ "grub2-mkconfig", "-o", "/boot/grub2/grub.cfg" ], "delta": "0:00:01.927739", "end": "2024-02-26 17:35:53.135009", "rc": 0, "start": "2024-02-26 17:35:51.207270" } STDERR: Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1 Found linux image: /boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img Found linux image: /boot/vmlinuz-3.10.0-1160.el7.x86_64 Found initrd image: /boot/initramfs-3.10.0-1160.el7.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9 Found initrd image: /boot/initramfs-0-rescue-2e16cc2d494340a0bb7faaba676a51a9.img done TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:58 Monday 26 February 2024 17:35:53 +0000 (0:00:02.034) 0:00:48.134 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:72 Monday 26 February 2024 17:35:53 +0000 (0:00:00.007) 0:00:48.142 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:84 Monday 26 February 2024 17:35:53 +0000 (0:00:00.007) 0:00:48.150 ******* 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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:92 Monday 26 February 2024 17:35:53 +0000 (0:00:00.007) 0:00:48.158 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 Monday 26 February 2024 17:35:53 +0000 (0:00:00.007) 0:00:48.165 ******* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 ", "default": false, "index": "0", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1", "root": "/dev/xvda1", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64_clone1) 7 (Core)" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 ", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.108.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.108.1.el7.x86_64) 7 (Core)" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 ", "default": false, "index": "2", "initrd": "/boot/initramfs-3.10.0-1160.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.el7.x86_64", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 ", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-2e16cc2d494340a0bb7faaba676a51a9.img", "kernel": "/boot/vmlinuz-0-rescue-2e16cc2d494340a0bb7faaba676a51a9", "root": "UUID=25792e2c-373b-4993-8774-83bb1b671f5d", "title": "CentOS Linux (0-rescue-2e16cc2d494340a0bb7faaba676a51a9) 7 (Core)" }, { "default": false, "index": "4", "kernel": "non linux entry" } ] }, "changed": false } RUNNING HANDLER [linux-system-roles.bootloader : Fix default kernel boot parameters] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Monday 26 February 2024 17:35:53 +0000 (0:00:00.123) 0:00:48.288 ******* 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.016831", "end": "2024-02-26 17:35:53.419512", "rc": 0, "start": "2024-02-26 17:35:53.402681" } STDOUT: args="ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 " GRUB_TIMEOUT=6 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 LANG=en_US.UTF-8" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="ro ro crashkernel=auto net.ifnames=0 rhgb quiet LANG=en_US.UTF-8 " GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Monday 26 February 2024 17:35:53 +0000 (0:00:00.128) 0:00:48.416 ******* included: /WORKDIR/git-bios-ueficu2t8p6o/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-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Monday 26 February 2024 17:35:53 +0000 (0:00:00.007) 0:00:48.424 ******* changed: [sut] => { "changed": true, "elapsed": 38, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Monday 26 February 2024 17:36:32 +0000 (0:00:38.887) 0:01:27.311 ******* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Monday 26 February 2024 17:36:32 +0000 (0:00:00.008) 0:01:27.320 ******* ok: [sut] => { "ansible_facts": { "bootloader_reboot_required": false }, "changed": false } META: ran handlers TASK [Ensure bootloader_reboot_required is set to false] *********************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:79 Monday 26 February 2024 17:36:32 +0000 (0:00:00.009) 0:01:27.329 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:83 Monday 26 February 2024 17:36:32 +0000 (0:00:00.008) 0:01:27.338 ******* fatal: [sut]: FAILED! => { "assertion": "(bootloader_facts | selectattr('index', 'search', cloned_kernel.index) | first).args | regex_search('^.*console=tty0 print-fatal-signals=1 no_timer_check quiet debug( |)$')", "changed": false, "evaluated_to": false } MSG: Assertion failed TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:174 Monday 26 February 2024 17:36:32 +0000 (0:00:00.009) 0:01:27.347 ******* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.108.1.el7.x86_64_clone1" ], "delta": "0:00:00.022755", "end": "2024-02-26 17:36:32.426670", "failed_when_result": false, "rc": 0, "start": "2024-02-26 17:36:32.403915" } to retry, use: --limit @/tmp/tests_settings.retry PLAY RECAP ********************************************************************* sut : ok=51 changed=10 unreachable=0 failed=1 skipped=35 rescued=0 ignored=0 Monday 26 February 2024 17:36:32 +0000 (0:00:00.141) 0:01:27.489 ******* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.89s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.49s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Regenerate grub config in /boot/grub2/grub.cfg --- 2.03s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:51 linux-system-roles.bootloader : Ensure required packages are installed --- 1.69s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 0.57s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Clone test_kernel kernel and initrd for test purposes ------------------- 0.56s /WORKDIR/git-bios-ueficu2t8p6o/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure required packages are installed --- 0.55s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.37s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.32s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:99 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.31s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.30s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.29s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:41 Verify that default bootloader is correct in bootloader_gather_facts ---- 0.27s /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:35 -------------------- linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:36 linux-system-roles.bootloader : Determine platform type ----------------- 0.23s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.20s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.19s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 linux-system-roles.bootloader : Check if system is ostree --------------- 0.19s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Remove cloned kernels --------------------------------------------------- 0.14s /WORKDIR/git-bios-ueficu2t8p6o/tests/tests_settings.yml:174 ------------------- linux-system-roles.bootloader : Fix default kernel boot parameters ------ 0.13s /WORKDIR/git-bios-ueficu2t8p6o/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---