# 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-weekly-cin_eat_1h/tests/tests_password.yml PLAY [Test bootloader_settings variable] *************************************** META: ran handlers TASK [Set boot loader password] ************************************************ task path: /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:7 Saturday 09 December 2023 14:08:13 +0000 (0:00:00.012) 0:00:00.012 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 09 December 2023 14:08:13 +0000 (0:00:00.024) 0:00:00.037 ***** included: /WORKDIR/git-weekly-cin_eat_1h/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-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 09 December 2023 14:08:13 +0000 (0:00:00.011) 0:00:00.049 ***** ok: [sut] TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Saturday 09 December 2023 14:08:13 +0000 (0:00:00.455) 0:00:00.504 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.4.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 09 December 2023 14:08:13 +0000 (0:00:00.028) 0:00:00.532 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 Saturday 09 December 2023 14:08:14 +0000 (0:00:01.173) 0:00:01.706 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Saturday 09 December 2023 14:08:14 +0000 (0:00:00.230) 0:00:01.936 ***** ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Saturday 09 December 2023 14:08:15 +0000 (0:00:00.240) 0:00:02.177 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 Saturday 09 December 2023 14:08:15 +0000 (0:00:00.222) 0:00:02.399 ***** 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 : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Saturday 09 December 2023 14:08:15 +0000 (0:00:00.020) 0:00:02.420 ***** 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-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Saturday 09 December 2023 14:08:15 +0000 (0:00:00.533) 0:00:02.953 ***** 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-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.564) 0:00:03.518 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.007) 0:00:03.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get contents of /boot/grub2/user.cfg] ************************************ task path: /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:13 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.008) 0:00:03.534 ***** ok: [sut] => { "changed": false, "cmd": [ "cat", "/boot/grub2/user.cfg" ], "delta": "0:00:00.002913", "end": "2023-12-09 14:08:16.710125", "failed_when_result": false, "rc": 0, "start": "2023-12-09 14:08:16.707212" } STDOUT: GRUB2_PASSWORD=grub.pbkdf2.sha512.10000.855FDE83F4DB10D171C5C2829EF751EA071E8CBE958C1D5D48B55AEAAFB3CCBC2D8B25FACEF87EA22882E018DCCF7DD6E018517BD3FC2003E04F2798D9316C8D.925F1F0C4EDA5E73309BC5985DEC54C1CA6A43C93F80D58B34DECAF26C6886357D1EBF49F30FD1A9A1DDE65236D9ABD44870FCBE1C16C0BABCA9048DCB2D062E TASK [Remove boot loader password] ********************************************* task path: /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:21 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.182) 0:00:03.717 ***** TASK [linux-system-roles.bootloader : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:3 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.015) 0:00:03.733 ***** included: /WORKDIR/git-weekly-cin_eat_1h/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-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.008) 0:00:03.741 ***** 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-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.008) 0:00:03.749 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.4.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.bootloader : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 Saturday 09 December 2023 14:08:16 +0000 (0:00:00.017) 0:00:03.767 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: grubby TASK [linux-system-roles.bootloader : Ensure boot loader settings] ************* task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 Saturday 09 December 2023 14:08:17 +0000 (0:00:01.105) 0:00:04.873 ***** ok: [sut] => { "actions": [], "changed": false } TASK [linux-system-roles.bootloader : Update boot loader timeout configuration] *** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.176) 0:00:05.049 ***** ok: [sut] => { "backup": "", "changed": false } TASK [linux-system-roles.bootloader : Determine platform type] ***************** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.182) 0:00:05.232 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.bootloader : Set boot loader configuration files] ***** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.176) 0:00:05.408 ***** 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 : Generate boot loader password] *********** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.013) 0:00:05.422 ***** 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-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.009) 0:00:05.431 ***** 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-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.007) 0:00:05.438 ***** changed: [sut] => { "changed": true, "path": "/boot/grub2/user.cfg", "state": "absent" } TASK [linux-system-roles.bootloader : Collect bootloader facts] **************** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:74 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.252) 0:00:05.691 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of /boot/grub2/user.cfg] **************************************** task path: /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:27 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.009) 0:00:05.701 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Verify that user conf doesn't exist] ************************************* task path: /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:32 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.178) 0:00:05.879 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=19 changed=3 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Saturday 09 December 2023 14:08:18 +0000 (0:00:00.009) 0:00:05.889 ***** =============================================================================== linux-system-roles.bootloader : Ensure required packages are installed --- 1.17s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Ensure required packages are installed --- 1.11s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:6 linux-system-roles.bootloader : Put boot loader password to /boot/grub2/user.cfg --- 0.56s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:59 linux-system-roles.bootloader : Generate boot loader password ----------- 0.53s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:47 linux-system-roles.bootloader : Ensure ansible_facts used by role ------- 0.46s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:3 linux-system-roles.bootloader : Remove boot loader password configuration --- 0.25s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:67 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.24s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.23s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 linux-system-roles.bootloader : Determine platform type ----------------- 0.22s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Update boot loader timeout configuration --- 0.18s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:18 Get contents of /boot/grub2/user.cfg ------------------------------------ 0.18s /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:13 -------------------- Get stat of /boot/grub2/user.cfg ---------------------------------------- 0.18s /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:27 -------------------- linux-system-roles.bootloader : Determine platform type ----------------- 0.18s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:25 linux-system-roles.bootloader : Ensure boot loader settings ------------- 0.18s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:11 linux-system-roles.bootloader : Set platform/version specific variables --- 0.03s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Set boot loader password ------------------------------------------------ 0.02s /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:7 --------------------- linux-system-roles.bootloader : Set boot loader configuration files ----- 0.02s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 linux-system-roles.bootloader : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/set_vars.yml:9 Remove boot loader password --------------------------------------------- 0.02s /WORKDIR/git-weekly-cin_eat_1h/tests/tests_password.yml:21 -------------------- linux-system-roles.bootloader : Set boot loader configuration files ----- 0.01s /WORKDIR/git-weekly-cin_eat_1h/tests/roles/linux-system-roles.bootloader/tasks/main.yml:30 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---