# 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-weekly-cicl37ep2v/tests/tests_settings.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Skip on s390x architecture] ********************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:13 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.013) 0:00:00.014 ********* included: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/skip_on_s390x.yml for sut TASK [Gather architecture facts] *********************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/skip_on_s390x.yml:3 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.021) 0:00:00.035 ********* ok: [sut] META: end_host conditional evaluated to false, continuing execution for sut TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:16 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.434) 0:00:00.470 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.032) 0:00:00.503 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.015) 0:00:00.518 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:17:58 +0000 (0:00:00.010) 0:00:00.529 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.191) 0:00:00.720 ********* ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.013) 0:00:00.734 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.021) 0:00:00.755 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.009) 0:00:00.765 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.453) 0:00:01.219 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083859.7932181, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "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": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.130) 0:00:01.349 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.010) 0:00:01.360 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.009) 0:00:01.369 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.114) 0:00:01.484 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:17:59 +0000 (0:00:00.017) 0:00:01.502 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083859.7932181, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "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": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.131) 0:00:01.633 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083860.2242184, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "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": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.136) 0:00:01.769 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004305", "end": "2024-06-22 19:18:00.394665", "rc": 0, "start": "2024-06-22 19:18:00.390360" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.179) 0:00:01.948 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.011) 0:00:01.960 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.172) 0:00:02.133 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.124) 0:00:02.257 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.167) 0:00:02.425 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.010) 0:00:02.436 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.009) 0:00:02.445 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:18:00 +0000 (0:00:00.009) 0:00:02.454 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "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=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "2", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 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-weekly-cicl37ep2v/tests/tests_settings.yml:32 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.220) 0:00:02.675 ********* included: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml for sut TASK [Set fact with the default kernel to use for clones] ********************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:3 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.016) 0:00:02.691 ********* ok: [sut] => { "ansible_facts": { "test_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" } }, "changed": false } TASK [Clone test_kernel kernel and initrd for test purposes] ******************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:8 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.013) 0:00:02.704 ********* changed: [sut] => (item={'src': '/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64', 'dest': '/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "bcc96d540663b9b1764e12a7ab21389e0b9ceb0e", "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64" }, "md5sum": "8d408037538856fa5672cf3f9da1ff35", "mode": "0755", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 7051880, "src": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "state": "file", "uid": 0 } changed: [sut] => (item={'src': '/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img', 'dest': '/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1'}) => { "ansible_loop_var": "item", "changed": true, "checksum": "a48b0c90c9b0dce76f2e1f4a861b7f3b00714982", "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "gid": 0, "group": "root", "item": { "dest": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img" }, "md5sum": "dd570b9af2ecb0d8f046a071cd868a55", "mode": "0600", "owner": "root", "secontext": "system_u:object_r:boot_t:s0", "size": 20160196, "src": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "state": "file", "uid": 0 } TASK [Create kernel Clone1] **************************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:22 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.642) 0:00:03.347 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.020) 0:00:03.368 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.012) 0:00:03.380 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.010) 0:00:03.391 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.009) 0:00:03.400 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.009) 0:00:03.410 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.021) 0:00:03.431 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:18:01 +0000 (0:00:00.009) 0:00:03.441 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.395) 0:00:03.836 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083859.7932181, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "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": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.140) 0:00:03.977 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.010) 0:00:03.987 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.008) 0:00:03.996 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.119) 0:00:04.116 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.016) 0:00:04.132 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083859.7932181, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8ab49c3273c7b6cc2f0f05364b562bad28973dd5", "ctime": 1718881011.4856503, "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": 1718881011.4826503, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 286, "uid": 0, "version": "22411331", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.134) 0:00:04.266 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083860.2242184, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "7d8dd2e2e9cc294b8a73fa9034b2304cde587a08", "ctime": 1718881171.2176502, "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": 1718880548.6706502, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5032, "uid": 0, "version": "22411319", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.136) 0:00:04.403 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004326", "end": "2024-06-22 19:18:02.974979", "rc": 0, "start": "2024-06-22 19:18:02.970653" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:18:02 +0000 (0:00:00.124) 0:00:04.528 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:18:03 +0000 (0:00:00.012) 0:00:04.541 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:18:03 +0000 (0:00:00.124) 0:00:04.666 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:18:03 +0000 (0:00:00.135) 0:00:04.802 ********* 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 --initrd=/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 --add-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 --title=Clone1 --args=test=kernel --copy-default" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:18:04 +0000 (0:00:01.040) 0:00:05.842 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.010) 0:00:05.853 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.008) 0:00:05.861 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.008) 0:00:05.869 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.008) 0:00:05.878 ********* 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.018837", "end": "2024-06-22 19:18:04.465494", "rc": 0, "start": "2024-06-22 19:18:04.446657" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.137) 0:00:06.016 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 22 June 2024 19:18:04 +0000 (0:00:00.008) 0:00:06.025 ********* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 22 June 2024 19:18:42 +0000 (0:00:38.080) 0:00:44.106 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.011) 0:00:44.117 ********* 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-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:41 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.013) 0:00:44.130 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get bootloader_facts] **************************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:45 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.012) 0:00:44.143 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.024) 0:00:44.167 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.012) 0:00:44.180 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.012) 0:00:44.192 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.009) 0:00:44.202 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.009) 0:00:44.211 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.067) 0:00:44.278 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:18:42 +0000 (0:00:00.010) 0:00:44.289 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.559) 0:00:44.849 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4642344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1719083884.4632342, "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": 1719083884.4622343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073103856769", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.139) 0:00:44.988 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.010) 0:00:44.998 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.009) 0:00:45.008 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.125) 0:00:45.133 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.016) 0:00:45.149 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4642344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1719083884.4632342, "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": 1719083884.4622343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073103856769", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.132) 0:00:45.282 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4502342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1719083884.287234, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1719083884.287234, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073103856765", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:18:43 +0000 (0:00:00.140) 0:00:45.422 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004224", "end": "2024-06-22 19:18:43.992594", "rc": 0, "start": "2024-06-22 19:18:43.988370" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.124) 0:00:45.546 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.011) 0:00:45.558 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.122) 0:00:45.680 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.126) 0:00:45.806 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.118) 0:00:45.925 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.010) 0:00:45.935 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.009) 0:00:45.944 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.009) 0:00:45.954 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8", "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=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 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-weekly-cicl37ep2v/tests/tests_settings.yml:38 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.142) 0:00:46.097 ********* ok: [sut] => { "changed": false, "cmd": [ "grubby", "--default-kernel" ], "delta": "0:00:00.224225", "end": "2024-06-22 19:18:44.884908", "failed_when_result": false, "rc": 0, "start": "2024-06-22 19:18:44.660683" } STDOUT: /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 TASK [Set fact with the test clone] ******************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:49 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.346) 0:00:46.443 ********* ok: [sut] => { "ansible_facts": { "cloned_kernel": { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 test=kernel", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" } }, "changed": false } TASK [Replace configuration with settings using kernel index] ****************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:56 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.010) 0:00:46.454 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.029) 0:00:46.483 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.011) 0:00:46.494 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.010) 0:00:46.505 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.009) 0:00:46.514 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:18:44 +0000 (0:00:00.009) 0:00:46.523 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.021) 0:00:46.545 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.009) 0:00:46.555 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.370) 0:00:46.925 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4642344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1719083884.4632342, "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": 1719083884.4622343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073103856769", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.131) 0:00:47.056 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.010) 0:00:47.067 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.009) 0:00:47.076 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.116) 0:00:47.193 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.015) 0:00:47.208 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4642344, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "357716d173bd9fd9cdb1871ec82de2c0a39ffaa0", "ctime": 1719083884.4632342, "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": 1719083884.4622343, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 306, "uid": 0, "version": "18446744073103856769", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.133) 0:00:47.341 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083884.4502342, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "8872cc65b1d7aed66393f0f22505dce4b94dfa33", "ctime": 1719083884.287234, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172592, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1719083884.287234, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5845, "uid": 0, "version": "18446744073103856765", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:18:45 +0000 (0:00:00.135) 0:00:47.477 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004318", "end": "2024-06-22 19:18:46.046498", "rc": 0, "start": "2024-06-22 19:18:46.042180" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.124) 0:00:47.601 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.011) 0:00:47.612 ********* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.127) 0:00:47.739 ********* changed: [sut] => { "changed": true } MSG: 2 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.123) 0:00:47.863 ********* 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 LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 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 : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.211) 0:00:48.075 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.010) 0:00:48.086 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.010) 0:00:48.097 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.009) 0:00:48.107 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check quiet debug", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.132) 0:00:48.239 ********* 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.017764", "end": "2024-06-22 19:18:46.823283", "rc": 0, "start": "2024-06-22 19:18:46.805519" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=6 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8" 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 serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.136) 0:00:48.375 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 22 June 2024 19:18:46 +0000 (0:00:00.011) 0:00:48.386 ********* changed: [sut] => { "changed": true, "elapsed": 37, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 22 June 2024 19:19:24 +0000 (0:00:37.413) 0:01:25.800 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.010) 0:01:25.811 ********* 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-weekly-cicl37ep2v/tests/tests_settings.yml:82 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.012) 0:01:25.823 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:86 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.010) 0:01:25.834 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:94 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.011) 0:01:25.846 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.010767", "end": "2024-06-22 19:19:23.931785", "failed_when_result": false, "rc": 0, "start": "2024-06-22 19:19:23.921018" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=6 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=6 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check quiet debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Change some settings using kernel title] ********************************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:102 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.194) 0:01:26.040 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.036) 0:01:26.076 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.012) 0:01:26.089 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.010) 0:01:26.099 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.009) 0:01:26.109 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.009) 0:01:26.118 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.023) 0:01:26.142 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:19:24 +0000 (0:00:00.010) 0:01:26.152 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.710) 0:01:26.863 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083926.8214579, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de800bbed0b64727c4aa5b2453aa9164fb432a0", "ctime": 1719083926.8214579, "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": 1719083926.8214579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072717798079", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.198) 0:01:27.062 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.010) 0:01:27.072 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.009) 0:01:27.082 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.119) 0:01:27.202 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.015) 0:01:27.217 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083964.9325194, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de800bbed0b64727c4aa5b2453aa9164fb432a0", "ctime": 1719083926.8214579, "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": 1719083926.8214579, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "18446744072717798079", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.143) 0:01:27.360 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083926.6724577, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "19be27240128143f668efcc6c1cdce759aec813f", "ctime": 1719083926.5194576, "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": 1719083926.5194576, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5821, "uid": 0, "version": "18446744072717798072", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:19:25 +0000 (0:00:00.135) 0:01:27.496 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004458", "end": "2024-06-22 19:19:25.521786", "rc": 0, "start": "2024-06-22 19:19:25.517328" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.127) 0:01:27.623 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.012) 0:01:27.636 ********* changed: [sut] => { "changed": true } MSG: 1 replacements made TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.129) 0:01:27.766 ********* changed: [sut] => { "changed": true } MSG: 2 replacements made TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.125) 0:01:27.891 ********* 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=TITLE=Clone1 --remove-args='quiet debug'" ], "changed": true } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.167) 0:01:28.059 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.010) 0:01:28.070 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.009) 0:01:28.079 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.009) 0:01:28.088 ********* ok: [sut] => { "ansible_facts": { "bootloader_facts": [ { "args": "console=tty0 print-fatal-signals=1 no_timer_check", "default": false, "index": "0", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "Clone1" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "default": true, "index": "1", "initrd": "/boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img", "kernel": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug", "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=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)" }, { "args": "ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug", "default": false, "index": "3", "initrd": "/boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img", "kernel": "/boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6", "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "title": "CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:4 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.132) 0:01:28.221 ********* 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.017919", "end": "2024-06-22 19:19:26.259944", "rc": 0, "start": "2024-06-22 19:19:26.242025" } STDOUT: args="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console serial" GRUB_CMDLINE_LINUX="ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug" GRUB_DISABLE_RECOVERY="true" RUNNING HANDLER [linux-system-roles.bootloader : Reboot system] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/handlers/main.yml:15 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.138) 0:01:28.359 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 Saturday 22 June 2024 19:19:26 +0000 (0:00:00.009) 0:01:28.369 ********* changed: [sut] => { "changed": true, "elapsed": 36, "rebooted": true } RUNNING HANDLER [linux-system-roles.bootloader : Notify about reboot] ********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:7 Saturday 22 June 2024 19:20:03 +0000 (0:00:37.003) 0:02:05.372 ********* skipping: [sut] => {} RUNNING HANDLER [linux-system-roles.bootloader : Set bootloader_reboot_required] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:14 Saturday 22 June 2024 19:20:03 +0000 (0:00:00.010) 0:02:05.383 ********* 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-weekly-cicl37ep2v/tests/tests_settings.yml:120 Saturday 22 June 2024 19:20:03 +0000 (0:00:00.012) 0:02:05.395 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:124 Saturday 22 June 2024 19:20:03 +0000 (0:00:00.010) 0:02:05.406 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:132 Saturday 22 June 2024 19:20:03 +0000 (0:00:00.011) 0:02:05.417 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.007175", "end": "2024-06-22 19:20:03.552361", "failed_when_result": false, "rc": 0, "start": "2024-06-22 19:20:03.545186" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Set existing variable using kernel path, should report not changed] ****** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:140 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.183) 0:02:05.601 ********* TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.041) 0:02:05.642 ********* included: /WORKDIR/git-weekly-cicl37ep2v/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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.012) 0:02:05.654 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.010) 0:02:05.665 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.009) 0:02:05.674 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.009) 0:02:05.684 ********* 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 : Fail on s390x architecture] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.020) 0:02:05.704 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.009) 0:02:05.714 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "grubby-8.28-26.el7.x86_64 providing grubby is already installed" ] } lsrpackages: grubby TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.541) 0:02:06.256 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083966.2585201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "38b462f2631aec94e954c7051f2532ad7ed0352c", "ctime": 1719083966.2575202, "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": 1719083966.2575202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1380645778", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.140) 0:02:06.396 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:35 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.010) 0:02:06.407 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:45 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.009) 0:02:06.416 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:50 Saturday 22 June 2024 19:20:04 +0000 (0:00:00.118) 0:02:06.534 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.014) 0:02:06.549 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083966.2585201, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "38b462f2631aec94e954c7051f2532ad7ed0352c", "ctime": 1719083966.2575202, "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": 1719083966.2575202, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 312, "uid": 0, "version": "1380645778", "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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.131) 0:02:06.681 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719083966.10852, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "f03bd424e1ac4f0de727aa5aa036ca85e8678fba", "ctime": 1719083965.95652, "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": 1719083965.95652, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 5809, "uid": 0, "version": "1380645771", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.145) 0:02:06.827 ********* ok: [sut] => { "changed": false, "cmd": "grep \"configfile\" /boot/grub2/grub.cfg || true", "delta": "0:00:00.004483", "end": "2024-06-22 19:20:04.912131", "rc": 0, "start": "2024-06-22 19:20:04.907648" } TASK [linux-system-roles.bootloader : Use a general grub and user conf path if UEFI path has a stub config] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.127) 0:02:06.955 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.011) 0:02:06.966 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.124) 0:02:07.091 ********* ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.124) 0:02:07.215 ********* ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:115 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.153) 0:02:07.369 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:127 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.010) 0:02:07.380 ********* 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-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:135 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.009) 0:02:07.389 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.009) 0:02:07.398 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Ensure bootloader_reboot_required is not set to true] ******************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:157 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.009) 0:02:07.407 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify settings] ********************************************************* task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:161 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.008) 0:02:07.416 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify boot loader timeout configuration] ******************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:169 Saturday 22 June 2024 19:20:05 +0000 (0:00:00.011) 0:02:07.428 ********* ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/grub.cfg" ], "delta": "0:00:00.003243", "end": "2024-06-22 19:20:05.509394", "failed_when_result": false, "rc": 0, "start": "2024-06-22 19:20:05.506151" } STDOUT: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub2-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### set pager=1 if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="${saved_entry}" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=4 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=4 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/00_tuned ### set tuned_params="" set tuned_initrd="" ### END /etc/grub.d/00_tuned ### ### BEGIN /etc/grub.d/01_users ### if [ -f ${prefix}/user.cfg ]; then source ${prefix}/user.cfg if [ -n "${GRUB2_PASSWORD}" ]; then set superusers="root" export superusers password_pbkdf2 root ${GRUB2_PASSWORD} fi fi ### END /etc/grub.d/01_users ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Clone1' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 console=tty0 print-fatal-signals=1 no_timer_check initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img_clone1 } menuentry 'CentOS Linux (3.10.0-1160.119.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.119.1.el7.x86_64.img } menuentry 'CentOS Linux (3.10.0-1160.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-3.10.0-1160.el7.x86_64 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb LANG=en_US.UTF-8 console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-3.10.0-1160.el7.x86_64.img } menuentry 'CentOS Linux (0-rescue-7af355d356d341589d7764f759493cb6) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7af355d356d341589d7764f759493cb6-advanced-c7b7d6a5-fd01-4b9b-bcca-153eaff9d312' { load_video insmod gzio insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 else search --no-floppy --fs-uuid --set=root c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 fi linux16 /boot/vmlinuz-0-rescue-7af355d356d341589d7764f759493cb6 root=UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312 ro crashkernel=auto net.ifnames=0 rhgb console=tty0 console=ttyS0,115200n8 debug initrd16 /boot/initramfs-0-rescue-7af355d356d341589d7764f759493cb6.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### TASK [Remove cloned kernels] *************************************************** task path: /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:177 Saturday 22 June 2024 19:20:06 +0000 (0:00:00.128) 0:02:07.556 ********* changed: [sut] => { "changed": true, "cmd": [ "grubby", "--remove-kernel=/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64_clone1" ], "delta": "0:00:00.015804", "end": "2024-06-22 19:20:05.653945", "failed_when_result": false, "rc": 0, "start": "2024-06-22 19:20:05.638141" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=102 changed=15 unreachable=0 failed=0 skipped=69 rescued=0 ignored=0 Saturday 22 June 2024 19:20:06 +0000 (0:00:00.134) 0:02:07.691 ********* =============================================================================== linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 38.08s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.41s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Reboot system when bootloader_reboot_ok is true -- 37.00s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/reboot.yml:3 linux-system-roles.bootloader : Ensure boot loader settings ------------- 1.04s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Ensure required packages are installed --- 1.01s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 0.71s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Clone test_kernel kernel and initrd for test purposes ------------------- 0.64s /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/clone_kernel.yml:8 ----------------- linux-system-roles.bootloader : Ensure required packages are installed --- 0.54s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Gather architecture facts ----------------------------------------------- 0.43s /WORKDIR/git-weekly-cicl37ep2v/tests/tasks/skip_on_s390x.yml:3 ---------------- linux-system-roles.bootloader : Ensure required packages are installed --- 0.40s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Ensure required packages are installed --- 0.37s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Collect bootloader facts ---------------- 0.36s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:142 Verify that default bootloader is correct in bootloader_gather_facts ---- 0.35s /WORKDIR/git-weekly-cicl37ep2v/tests/tests_settings.yml:38 -------------------- linux-system-roles.bootloader : Verify if there is a stab config in /boot/grub2/grub.cfg --- 0.30s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.29s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.29s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:105 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.28s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:66 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.27s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:20 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.26s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:61 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.25s /WORKDIR/git-weekly-cicl37ep2v/tests/roles/linux-system-roles.bootloader/tasks/main.yml:97 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---