# 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_update.yml ***************************************************** 1 plays in /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:3 Monday 29 July 2024 18:55:06 +0000 (0:00:00.013) 0:00:00.013 *********** ok: [sut] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:8 Monday 29 July 2024 18:55:07 +0000 (0:00:00.673) 0:00:00.687 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 29 July 2024 18:55:07 +0000 (0:00:00.029) 0:00:00.717 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 18:55:07 +0000 (0:00:00.016) 0:00:00.733 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 29 July 2024 18:55:07 +0000 (0:00:00.018) 0:00:00.752 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 29 July 2024 18:55:07 +0000 (0:00:00.247) 0:00:01.000 *********** ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [linux-system-roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:23 Monday 29 July 2024 18:55:07 +0000 (0:00:00.021) 0:00:01.021 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:28 Monday 29 July 2024 18:55:07 +0000 (0:00:00.182) 0:00:01.203 *********** ok: [sut] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:32 Monday 29 July 2024 18:55:07 +0000 (0:00:00.021) 0:00:01.225 *********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 29 July 2024 18:55:07 +0000 (0:00:00.053) 0:00:01.278 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:19 Monday 29 July 2024 18:55:10 +0000 (0:00:02.475) 0:00:03.754 *********** skipping: [sut] => {} TASK [linux-system-roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 29 July 2024 18:55:10 +0000 (0:00:00.019) 0:00:03.773 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Monday 29 July 2024 18:55:10 +0000 (0:00:00.019) 0:00:03.792 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Monday 29 July 2024 18:55:10 +0000 (0:00:00.019) 0:00:03.811 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:10 +0000 (0:00:00.012) 0:00:03.823 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050487", "end": "2024-07-29 18:55:10.601726", "rc": 0, "start": "2024-07-29 18:55:10.551239" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:10 +0000 (0:00:00.292) 0:00:04.116 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 Monday 29 July 2024 18:55:10 +0000 (0:00:00.020) 0:00:04.136 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722279298.526717, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279294.470675, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:48 Monday 29 July 2024 18:55:10 +0000 (0:00:00.242) 0:00:04.378 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FIPS", "LEGACY", "FUTURE", "DEFAULT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:55 Monday 29 July 2024 18:55:10 +0000 (0:00:00.021) 0:00:04.399 *********** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:63 Monday 29 July 2024 18:55:11 +0000 (0:00:00.173) 0:00:04.573 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:70 Monday 29 July 2024 18:55:11 +0000 (0:00:00.021) 0:00:04.594 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 Monday 29 July 2024 18:55:11 +0000 (0:00:00.018) 0:00:04.613 *********** NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.101685", "end": "2024-07-29 18:55:11.379920", "rc": 0, "start": "2024-07-29 18:55:11.278235" } STDOUT: Setting system policy to LEGACY Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:88 Monday 29 July 2024 18:55:11 +0000 (0:00:00.282) 0:00:04.896 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:96 Monday 29 July 2024 18:55:11 +0000 (0:00:00.021) 0:00:04.917 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:11 +0000 (0:00:00.012) 0:00:04.929 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049183", "end": "2024-07-29 18:55:11.634841", "rc": 0, "start": "2024-07-29 18:55:11.585658" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:11 +0000 (0:00:00.219) 0:00:05.149 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:14 Monday 29 July 2024 18:55:11 +0000 (0:00:00.018) 0:00:05.168 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:20 Monday 29 July 2024 18:55:11 +0000 (0:00:00.020) 0:00:05.189 *********** ok: [sut] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:28 Monday 29 July 2024 18:55:11 +0000 (0:00:00.020) 0:00:05.209 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 29 July 2024 18:55:11 +0000 (0:00:00.021) 0:00:05.231 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 18:55:11 +0000 (0:00:00.012) 0:00:05.243 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 29 July 2024 18:55:11 +0000 (0:00:00.019) 0:00:05.263 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 29 July 2024 18:55:11 +0000 (0:00:00.018) 0:00:05.282 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:23 Monday 29 July 2024 18:55:11 +0000 (0:00:00.019) 0:00:05.302 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:28 Monday 29 July 2024 18:55:11 +0000 (0:00:00.022) 0:00:05.324 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:32 Monday 29 July 2024 18:55:11 +0000 (0:00:00.019) 0:00:05.343 *********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 29 July 2024 18:55:11 +0000 (0:00:00.030) 0:00:05.374 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:19 Monday 29 July 2024 18:55:14 +0000 (0:00:02.395) 0:00:07.769 *********** skipping: [sut] => {} TASK [linux-system-roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 29 July 2024 18:55:14 +0000 (0:00:00.019) 0:00:07.789 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Monday 29 July 2024 18:55:14 +0000 (0:00:00.018) 0:00:07.808 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Monday 29 July 2024 18:55:14 +0000 (0:00:00.018) 0:00:07.827 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:14 +0000 (0:00:00.011) 0:00:07.838 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049273", "end": "2024-07-29 18:55:14.546130", "rc": 0, "start": "2024-07-29 18:55:14.496857" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:14 +0000 (0:00:00.223) 0:00:08.062 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 Monday 29 July 2024 18:55:14 +0000 (0:00:00.020) 0:00:08.082 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722279298.526717, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279294.470675, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:48 Monday 29 July 2024 18:55:14 +0000 (0:00:00.170) 0:00:08.253 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FIPS", "LEGACY", "FUTURE", "DEFAULT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:55 Monday 29 July 2024 18:55:14 +0000 (0:00:00.022) 0:00:08.275 *********** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:63 Monday 29 July 2024 18:55:14 +0000 (0:00:00.169) 0:00:08.445 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:70 Monday 29 July 2024 18:55:14 +0000 (0:00:00.023) 0:00:08.468 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 Monday 29 July 2024 18:55:14 +0000 (0:00:00.019) 0:00:08.488 *********** NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.107511", "end": "2024-07-29 18:55:15.258346", "rc": 0, "start": "2024-07-29 18:55:15.150835" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:88 Monday 29 July 2024 18:55:15 +0000 (0:00:00.285) 0:00:08.773 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:96 Monday 29 July 2024 18:55:15 +0000 (0:00:00.022) 0:00:08.796 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:15 +0000 (0:00:00.011) 0:00:08.807 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048686", "end": "2024-07-29 18:55:15.512220", "rc": 0, "start": "2024-07-29 18:55:15.463534" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:15 +0000 (0:00:00.219) 0:00:09.027 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:34 Monday 29 July 2024 18:55:15 +0000 (0:00:00.018) 0:00:09.046 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:42 Monday 29 July 2024 18:55:15 +0000 (0:00:00.022) 0:00:09.068 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 29 July 2024 18:55:15 +0000 (0:00:00.017) 0:00:09.085 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 18:55:15 +0000 (0:00:00.012) 0:00:09.098 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 29 July 2024 18:55:15 +0000 (0:00:00.018) 0:00:09.116 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 29 July 2024 18:55:15 +0000 (0:00:00.017) 0:00:09.134 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:23 Monday 29 July 2024 18:55:15 +0000 (0:00:00.017) 0:00:09.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:28 Monday 29 July 2024 18:55:15 +0000 (0:00:00.018) 0:00:09.171 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:32 Monday 29 July 2024 18:55:15 +0000 (0:00:00.018) 0:00:09.189 *********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 29 July 2024 18:55:15 +0000 (0:00:00.030) 0:00:09.220 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:19 Monday 29 July 2024 18:55:18 +0000 (0:00:02.401) 0:00:11.622 *********** skipping: [sut] => {} TASK [linux-system-roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 29 July 2024 18:55:18 +0000 (0:00:00.018) 0:00:11.641 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Monday 29 July 2024 18:55:18 +0000 (0:00:00.018) 0:00:11.660 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Monday 29 July 2024 18:55:18 +0000 (0:00:00.017) 0:00:11.678 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:18 +0000 (0:00:00.011) 0:00:11.689 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053602", "end": "2024-07-29 18:55:18.397032", "rc": 0, "start": "2024-07-29 18:55:18.343430" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:18 +0000 (0:00:00.224) 0:00:11.913 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 Monday 29 July 2024 18:55:18 +0000 (0:00:00.019) 0:00:11.933 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722279298.526717, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279294.470675, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:48 Monday 29 July 2024 18:55:18 +0000 (0:00:00.170) 0:00:12.103 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FIPS", "LEGACY", "FUTURE", "DEFAULT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:55 Monday 29 July 2024 18:55:18 +0000 (0:00:00.022) 0:00:12.126 *********** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279315.2078912, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:63 Monday 29 July 2024 18:55:18 +0000 (0:00:00.170) 0:00:12.296 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:70 Monday 29 July 2024 18:55:18 +0000 (0:00:00.021) 0:00:12.317 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 Monday 29 July 2024 18:55:18 +0000 (0:00:00.020) 0:00:12.337 *********** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.049726", "end": "2024-07-29 18:55:19.051593", "rc": 1, "start": "2024-07-29 18:55:19.001867" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:52 Monday 29 July 2024 18:55:19 +0000 (0:00:00.227) 0:00:12.565 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:61 Monday 29 July 2024 18:55:19 +0000 (0:00:00.020) 0:00:12.586 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 29 July 2024 18:55:19 +0000 (0:00:00.015) 0:00:12.602 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 18:55:19 +0000 (0:00:00.012) 0:00:12.614 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 29 July 2024 18:55:19 +0000 (0:00:00.043) 0:00:12.658 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 29 July 2024 18:55:19 +0000 (0:00:00.019) 0:00:12.677 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:23 Monday 29 July 2024 18:55:19 +0000 (0:00:00.017) 0:00:12.694 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:28 Monday 29 July 2024 18:55:19 +0000 (0:00:00.018) 0:00:12.713 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:32 Monday 29 July 2024 18:55:19 +0000 (0:00:00.018) 0:00:12.732 *********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 29 July 2024 18:55:19 +0000 (0:00:00.029) 0:00:12.761 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:19 Monday 29 July 2024 18:55:21 +0000 (0:00:02.377) 0:00:15.139 *********** skipping: [sut] => {} TASK [linux-system-roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 29 July 2024 18:55:21 +0000 (0:00:00.019) 0:00:15.158 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Monday 29 July 2024 18:55:21 +0000 (0:00:00.021) 0:00:15.180 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Monday 29 July 2024 18:55:21 +0000 (0:00:00.020) 0:00:15.200 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:21 +0000 (0:00:00.013) 0:00:15.214 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048380", "end": "2024-07-29 18:55:21.919280", "rc": 0, "start": "2024-07-29 18:55:21.870900" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:21 +0000 (0:00:00.223) 0:00:15.437 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 Monday 29 July 2024 18:55:21 +0000 (0:00:00.019) 0:00:15.457 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722279298.526717, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279294.470675, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:48 Monday 29 July 2024 18:55:22 +0000 (0:00:00.170) 0:00:15.628 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FIPS", "LEGACY", "FUTURE", "DEFAULT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:55 Monday 29 July 2024 18:55:22 +0000 (0:00:00.021) 0:00:15.649 *********** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279315.2078912, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:63 Monday 29 July 2024 18:55:22 +0000 (0:00:00.172) 0:00:15.822 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:70 Monday 29 July 2024 18:55:22 +0000 (0:00:00.022) 0:00:15.844 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 Monday 29 July 2024 18:55:22 +0000 (0:00:00.020) 0:00:15.865 *********** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.060915", "end": "2024-07-29 18:55:22.592796", "rc": 1, "start": "2024-07-29 18:55:22.531881" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:71 Monday 29 July 2024 18:55:22 +0000 (0:00:00.242) 0:00:16.107 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:79 Monday 29 July 2024 18:55:22 +0000 (0:00:00.022) 0:00:16.130 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 29 July 2024 18:55:22 +0000 (0:00:00.025) 0:00:16.155 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 18:55:22 +0000 (0:00:00.013) 0:00:16.168 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 29 July 2024 18:55:22 +0000 (0:00:00.020) 0:00:16.189 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 29 July 2024 18:55:22 +0000 (0:00:00.018) 0:00:16.208 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:23 Monday 29 July 2024 18:55:22 +0000 (0:00:00.018) 0:00:16.227 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:28 Monday 29 July 2024 18:55:22 +0000 (0:00:00.018) 0:00:16.245 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:32 Monday 29 July 2024 18:55:22 +0000 (0:00:00.020) 0:00:16.266 *********** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 29 July 2024 18:55:22 +0000 (0:00:00.030) 0:00:16.297 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:19 Monday 29 July 2024 18:55:25 +0000 (0:00:02.372) 0:00:18.669 *********** skipping: [sut] => {} TASK [linux-system-roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 29 July 2024 18:55:25 +0000 (0:00:00.019) 0:00:18.688 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Monday 29 July 2024 18:55:25 +0000 (0:00:00.018) 0:00:18.707 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Monday 29 July 2024 18:55:25 +0000 (0:00:00.018) 0:00:18.725 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:25 +0000 (0:00:00.010) 0:00:18.736 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051962", "end": "2024-07-29 18:55:25.442809", "rc": 0, "start": "2024-07-29 18:55:25.390847" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:25 +0000 (0:00:00.224) 0:00:18.960 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 Monday 29 July 2024 18:55:25 +0000 (0:00:00.021) 0:00:18.982 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722279298.526717, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279294.470675, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:48 Monday 29 July 2024 18:55:25 +0000 (0:00:00.177) 0:00:19.160 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FIPS", "LEGACY", "FUTURE", "DEFAULT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:55 Monday 29 July 2024 18:55:25 +0000 (0:00:00.021) 0:00:19.181 *********** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722279315.2078912, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:63 Monday 29 July 2024 18:55:25 +0000 (0:00:00.175) 0:00:19.356 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:70 Monday 29 July 2024 18:55:25 +0000 (0:00:00.021) 0:00:19.378 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "OSPP", "NO-SHA1", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 Monday 29 July 2024 18:55:25 +0000 (0:00:00.020) 0:00:19.398 *********** NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.130883", "end": "2024-07-29 18:55:26.196021", "rc": 0, "start": "2024-07-29 18:55:26.065138" } STDOUT: Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:88 Monday 29 July 2024 18:55:26 +0000 (0:00:00.315) 0:00:19.714 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:96 Monday 29 July 2024 18:55:26 +0000 (0:00:00.021) 0:00:19.735 *********** included: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 18:55:26 +0000 (0:00:00.011) 0:00:19.747 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051399", "end": "2024-07-29 18:55:26.454497", "rc": 0, "start": "2024-07-29 18:55:26.403098" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 18:55:26 +0000 (0:00:00.223) 0:00:19.970 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 29 July 2024 18:55:26 +0000 (0:00:00.017) 0:00:19.988 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 29 July 2024 18:55:26 +0000 (0:00:00.021) 0:00:20.009 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 29 July 2024 18:55:26 +0000 (0:00:00.020) 0:00:20.029 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 29 July 2024 18:55:26 +0000 (0:00:00.021) 0:00:20.051 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 29 July 2024 18:55:26 +0000 (0:00:00.021) 0:00:20.072 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 29 July 2024 18:55:26 +0000 (0:00:00.020) 0:00:20.093 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 29 July 2024 18:55:26 +0000 (0:00:00.020) 0:00:20.114 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 29 July 2024 18:55:26 +0000 (0:00:00.019) 0:00:20.134 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 29 July 2024 18:55:26 +0000 (0:00:00.021) 0:00:20.155 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 29 July 2024 18:55:26 +0000 (0:00:00.019) 0:00:20.175 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:92 Monday 29 July 2024 18:55:26 +0000 (0:00:00.022) 0:00:20.197 *********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=76 changed=3 unreachable=0 failed=0 skipped=51 rescued=2 ignored=0 Monday 29 July 2024 18:55:26 +0000 (0:00:00.019) 0:00:20.217 *********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.48s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.40s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.40s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.38s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.37s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-support_transactional_updaterzq837i_/tests/tests_update.yml:3 ---- linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.32s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.29s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.29s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.28s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 linux-system-roles.crypto_policies : Check if system is ostree ---------- 0.25s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.24s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 linux-system-roles.crypto_policies : Find base policies files ----------- 0.24s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:40 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.23s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:76 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.22s /WORKDIR/git-support_transactional_updaterzq837i_/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---