# 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_password.yml *************************************************** 1 plays in /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:9 Monday 11 March 2024 13:42:26 +0000 (0:00:00.012) 0:00:00.012 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 11 March 2024 13:42:26 +0000 (0:00:00.025) 0:00:00.037 ********** included: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 13:42:26 +0000 (0:00:00.011) 0:00:00.049 ********** ok: [sut] TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 11 March 2024 13:42:26 +0000 (0:00:00.678) 0:00:00.727 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 11 March 2024 13:42:26 +0000 (0:00:00.263) 0:00:00.990 ********** ok: [sut] => { "ansible_facts": { "__bootloader_is_ostree": false }, "changed": false } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 11 March 2024 13:42:27 +0000 (0:00:00.018) 0:00:01.009 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 11 March 2024 13:42:27 +0000 (0:00:00.027) 0:00:01.037 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 11 March 2024 13:42:30 +0000 (0:00:03.036) 0:00:04.073 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Monday 11 March 2024 13:42:30 +0000 (0:00:00.210) 0:00:04.284 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Monday 11 March 2024 13:42:30 +0000 (0:00:00.014) 0:00:04.298 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Monday 11 March 2024 13:42:30 +0000 (0:00:00.013) 0:00:04.312 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Monday 11 March 2024 13:42:30 +0000 (0:00:00.196) 0:00:04.509 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Monday 11 March 2024 13:42:30 +0000 (0:00:00.025) 0:00:04.534 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 11 March 2024 13:42:30 +0000 (0:00:00.211) 0:00:04.745 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164543.7632155, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1710164543.7632155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1710164543.7632155, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2246762395", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Monday 11 March 2024 13:42:30 +0000 (0:00:00.215) 0:00:04.961 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 11 March 2024 13:42:30 +0000 (0:00:00.008) 0:00:04.970 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Monday 11 March 2024 13:42:31 +0000 (0:00:00.255) 0:00:05.226 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Monday 11 March 2024 13:42:31 +0000 (0:00:00.194) 0:00:05.420 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 11 March 2024 13:42:31 +0000 (0:00:00.265) 0:00:05.686 ********** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Monday 11 March 2024 13:42:32 +0000 (0:00:00.522) 0:00:06.208 ********** changed: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Monday 11 March 2024 13:42:32 +0000 (0:00:00.593) 0:00:06.802 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Monday 11 March 2024 13:42:32 +0000 (0:00:00.007) 0:00:06.809 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:15 Monday 11 March 2024 13:42:32 +0000 (0:00:00.009) 0:00:06.819 ********** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.003346", "end": "2024-03-11 13:42:32.997408", "failed_when_result": false, "rc": 0, "start": "2024-03-11 13:42:32.994062" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.CC4A5D30796E68DB53D5CDB47F21115290726F043B30D632A409F515E5E617C56267AD2B864F91D7CEBF084E98AE8A46F76CAB4A30485A96BE9D61F46383D0E8.516729C3AABD1050CE2E55851677FB6BF9B8C45EE95FE0E7AAAA729C8AB6BF7B71D7955E118A40754B8C46DE79387FEEE2DA38FEE799AC5698EC6E76F8AF463A TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:23 Monday 11 March 2024 13:42:33 +0000 (0:00:00.201) 0:00:07.021 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 11 March 2024 13:42:33 +0000 (0:00:00.019) 0:00:07.041 ********** included: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 13:42:33 +0000 (0:00:00.008) 0:00:07.050 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Check if system is ostree] *************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 11 March 2024 13:42:33 +0000 (0:00:00.008) 0:00:07.058 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 11 March 2024 13:42:33 +0000 (0:00:00.007) 0:00:07.065 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 11 March 2024 13:42:33 +0000 (0:00:00.008) 0:00:07.074 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 11 March 2024 13:42:33 +0000 (0:00:00.018) 0:00:07.092 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 11 March 2024 13:42:36 +0000 (0:00:02.993) 0:00:10.085 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Monday 11 March 2024 13:42:36 +0000 (0:00:00.206) 0:00:10.292 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Monday 11 March 2024 13:42:36 +0000 (0:00:00.011) 0:00:10.303 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Monday 11 March 2024 13:42:36 +0000 (0:00:00.013) 0:00:10.317 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Monday 11 March 2024 13:42:36 +0000 (0:00:00.190) 0:00:10.507 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Monday 11 March 2024 13:42:36 +0000 (0:00:00.014) 0:00:10.521 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 11 March 2024 13:42:36 +0000 (0:00:00.206) 0:00:10.727 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164550.9222324, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1710164543.7632155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1710164543.7632155, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2246762395", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Monday 11 March 2024 13:42:36 +0000 (0:00:00.216) 0:00:10.944 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 11 March 2024 13:42:36 +0000 (0:00:00.010) 0:00:10.954 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Monday 11 March 2024 13:42:37 +0000 (0:00:00.205) 0:00:11.160 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Monday 11 March 2024 13:42:37 +0000 (0:00:00.201) 0:00:11.361 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 11 March 2024 13:42:37 +0000 (0:00:00.195) 0:00:11.557 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Monday 11 March 2024 13:42:37 +0000 (0:00:00.011) 0:00:11.568 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Monday 11 March 2024 13:42:37 +0000 (0:00:00.007) 0:00:11.576 ********** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Monday 11 March 2024 13:42:37 +0000 (0:00:00.269) 0:00:11.845 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:29 Monday 11 March 2024 13:42:37 +0000 (0:00:00.009) 0:00:11.855 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:34 Monday 11 March 2024 13:42:38 +0000 (0:00:00.191) 0:00:12.047 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:38 Monday 11 March 2024 13:42:38 +0000 (0:00:00.010) 0:00:12.057 ********** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Monday 11 March 2024 13:42:38 +0000 (0:00:00.021) 0:00:12.078 ********** included: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Monday 11 March 2024 13:42:38 +0000 (0:00:00.011) 0:00:12.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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 Monday 11 March 2024 13:42:38 +0000 (0:00:00.009) 0:00:12.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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:17 Monday 11 March 2024 13:42:38 +0000 (0:00:00.007) 0:00:12.106 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:21 Monday 11 March 2024 13:42:38 +0000 (0:00:00.007) 0:00:12.114 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Monday 11 March 2024 13:42:38 +0000 (0:00:00.017) 0:00:12.131 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.bootloader : Get stat of /etc/default/grub] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Monday 11 March 2024 13:42:41 +0000 (0:00:02.932) 0:00:15.064 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get bootloader args of the default kernel] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:21 Monday 11 March 2024 13:42:41 +0000 (0:00:00.210) 0:00:15.274 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Generate /etc/default/grub] ************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:28 Monday 11 March 2024 13:42:41 +0000 (0:00:00.009) 0:00:15.283 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 Monday 11 March 2024 13:42:41 +0000 (0:00:00.008) 0:00:15.292 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:43 Monday 11 March 2024 13:42:41 +0000 (0:00:00.191) 0:00:15.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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 Monday 11 March 2024 13:42:41 +0000 (0:00:00.015) 0:00:15.500 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164542.644213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65375c9d7916928165c702c8dcb2c96c01b575b3", "ctime": 1709715077.4092698, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 165972, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1709714949.6522698, "nlink": 1, "path": "/etc/default/grub", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 273, "uid": 0, "version": "3580653129", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg] ******** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Monday 11 March 2024 13:42:41 +0000 (0:00:00.209) 0:00:15.709 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1710164550.9222324, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 16, "charset": "us-ascii", "checksum": "a6a11b7e2b5151d3f9c3521f9c8e3111cae7882c", "ctime": 1710164543.7632155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 262285, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1710164543.7632155, "nlink": 1, "path": "/boot/grub2/grub.cfg", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 6760, "uid": 0, "version": "2246762395", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.bootloader : Use a general grub conf path if UEFI path is a stub] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:64 Monday 11 March 2024 13:42:41 +0000 (0:00:00.212) 0:00:15.922 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 Monday 11 March 2024 13:42:41 +0000 (0:00:00.009) 0:00:15.931 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 Monday 11 March 2024 13:42:42 +0000 (0:00:00.216) 0:00:16.148 ********** ok: [sut] => { "changed": false } TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 Monday 11 March 2024 13:42:42 +0000 (0:00:00.199) 0:00:16.348 ********** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Generate boot loader password] *********** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 Monday 11 March 2024 13:42:42 +0000 (0:00:00.198) 0:00:16.547 ********** 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-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 Monday 11 March 2024 13:42:42 +0000 (0:00:00.010) 0:00:16.557 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.bootloader : Remove boot loader password configuration] *** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 Monday 11 March 2024 13:42:42 +0000 (0:00:00.010) 0:00:16.567 ********** ok: [sut] => { "changed": false, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:125 Monday 11 March 2024 13:42:42 +0000 (0:00:00.218) 0:00:16.786 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=40 changed=3 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 Monday 11 March 2024 13:42:42 +0000 (0:00:00.009) 0:00:16.796 ********** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 5.93s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 3.04s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.68s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.59s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:110 linux-system-roles.bootloader : Generate boot loader password ----------- 0.52s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:98 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.49s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:118 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.43s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.42s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.42s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.42s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 linux-system-roles.bootloader : Update boot loader timeout configuration in /boot/grub2/grub.cfg --- 0.40s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:80 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.39s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Determine platform type ----------------- 0.38s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:38 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.27s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:88 linux-system-roles.bootloader : Check if system is ostree --------------- 0.26s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:12 linux-system-roles.bootloader : Update boot loader timeout configuration in /etc/default/grub --- 0.26s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:71 linux-system-roles.bootloader : Get stat of /boot/grub2/grub.cfg -------- 0.22s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:54 linux-system-roles.bootloader : Get stat of /etc/default/grub ----------- 0.21s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/roles/linux-system-roles.bootloader/tasks/main.yml:13 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.20s /WORKDIR/git-ostree-add-default-grubnvkcw_zi/tests/tests_password.yml:15 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---