# 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.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:3 Saturday 11 February 2023 16:50:11 +0000 (0:00:00.032) 0:00:00.032 ***** ok: [sut] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:8 Saturday 11 February 2023 16:50:11 +0000 (0:00:00.851) 0:00:00.884 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:50:12 +0000 (0:00:00.078) 0:00:00.962 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:50:12 +0000 (0:00:00.042) 0:00:01.005 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:50:12 +0000 (0:00:00.482) 0:00:01.488 ***** 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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:50:12 +0000 (0:00:00.081) 0:00:01.569 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:50:13 +0000 (0:00:01.181) 0:00:02.751 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:13 +0000 (0:00:00.042) 0:00:02.793 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.099653", "end": "2023-02-11 16:50:14.232031", "rc": 0, "start": "2023-02-11 16:50:14.132378" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:14 +0000 (0:00:00.431) 0:00:03.224 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:50:14 +0000 (0:00:00.059) 0:00:03.284 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1675934096.9566085, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1675933717.1659937, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:50:14 +0000 (0:00:00.394) 0:00:03.678 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "DEFAULT", "EMPTY", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:50:14 +0000 (0:00:00.057) 0:00:03.736 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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 }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.253) 0:00:03.989 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.058) 0:00:04.047 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.056) 0:00:04.104 ***** 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.151918", "end": "2023-02-11 16:50:15.539823", "rc": 0, "start": "2023-02-11 16:50:15.387905" } 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:61 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.427) 0:00:04.532 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.061) 0:00:04.594 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:15 +0000 (0:00:00.042) 0:00:04.637 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064944", "end": "2023-02-11 16:50:15.996628", "rc": 0, "start": "2023-02-11 16:50:15.931684" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.353) 0:00:04.990 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:14 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.051) 0:00:05.042 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:20 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.054) 0:00:05.097 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.058) 0:00:05.156 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.040) 0:00:05.196 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.451) 0:00:05.648 ***** 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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:50:16 +0000 (0:00:00.089) 0:00:05.737 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:50:17 +0000 (0:00:01.180) 0:00:06.917 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.045) 0:00:06.962 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064624", "end": "2023-02-11 16:50:18.288485", "rc": 0, "start": "2023-02-11 16:50:18.223861" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.328) 0:00:07.290 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.059) 0:00:07.350 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1675934096.9566085, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134215.4487674, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.267) 0:00:07.617 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "DEFAULT", "EMPTY", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.066) 0:00:07.683 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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 }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:50:18 +0000 (0:00:00.271) 0:00:07.955 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:50:19 +0000 (0:00:00.062) 0:00:08.017 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:50:19 +0000 (0:00:00.057) 0:00:08.075 ***** 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.270889", "end": "2023-02-11 16:50:19.636311", "rc": 0, "start": "2023-02-11 16:50:19.365422" } 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:61 Saturday 11 February 2023 16:50:19 +0000 (0:00:00.553) 0:00:08.629 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Saturday 11 February 2023 16:50:19 +0000 (0:00:00.074) 0:00:08.703 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:19 +0000 (0:00:00.050) 0:00:08.753 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065961", "end": "2023-02-11 16:50:20.084364", "rc": 0, "start": "2023-02-11 16:50:20.018403" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.324) 0:00:09.078 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:26 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.053) 0:00:09.131 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:34 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.082) 0:00:09.213 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.057) 0:00:09.271 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.046) 0:00:09.317 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.483) 0:00:09.800 ***** 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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:50:20 +0000 (0:00:00.088) 0:00:09.889 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:50:22 +0000 (0:00:01.214) 0:00:11.103 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:22 +0000 (0:00:00.041) 0:00:11.144 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066494", "end": "2023-02-11 16:50:22.471714", "rc": 0, "start": "2023-02-11 16:50:22.405220" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:22 +0000 (0:00:00.321) 0:00:11.465 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:50:22 +0000 (0:00:00.051) 0:00:11.517 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1676134219.4268243, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134215.4487674, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:50:22 +0000 (0:00:00.260) 0:00:11.778 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "DEFAULT", "EMPTY", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:50:22 +0000 (0:00:00.054) 0:00:11.832 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134219.548826, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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 }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.265) 0:00:12.098 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.082) 0:00:12.181 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.066) 0:00:12.247 ***** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.064880", "end": "2023-02-11 16:50:23.663989", "rc": 1, "start": "2023-02-11 16:50:23.599109" } 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:44 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.446) 0:00:12.694 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:53 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.069) 0:00:12.764 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.057) 0:00:12.821 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:50:23 +0000 (0:00:00.067) 0:00:12.889 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:50:24 +0000 (0:00:00.514) 0:00:13.404 ***** 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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:50:24 +0000 (0:00:00.092) 0:00:13.496 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:50:25 +0000 (0:00:01.193) 0:00:14.689 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:25 +0000 (0:00:00.047) 0:00:14.737 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065120", "end": "2023-02-11 16:50:26.123696", "rc": 0, "start": "2023-02-11 16:50:26.058576" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:26 +0000 (0:00:00.384) 0:00:15.121 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:50:26 +0000 (0:00:00.075) 0:00:15.197 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1676134219.4268243, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134215.4487674, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:50:26 +0000 (0:00:00.271) 0:00:15.469 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "DEFAULT", "EMPTY", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:50:26 +0000 (0:00:00.107) 0:00:15.577 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134219.548826, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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 }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:50:26 +0000 (0:00:00.338) 0:00:15.915 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.086) 0:00:16.002 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.088) 0:00:16.090 ***** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.081856", "end": "2023-02-11 16:50:27.464397", "rc": 1, "start": "2023-02-11 16:50:27.382541" } 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:63 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.367) 0:00:16.457 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:71 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.082) 0:00:16.540 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.074) 0:00:16.615 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:50:27 +0000 (0:00:00.057) 0:00:16.672 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:50:28 +0000 (0:00:00.513) 0:00:17.186 ***** 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.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:50:28 +0000 (0:00:00.101) 0:00:17.287 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:50:29 +0000 (0:00:01.256) 0:00:18.544 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:29 +0000 (0:00:00.095) 0:00:18.639 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064979", "end": "2023-02-11 16:50:29.983110", "rc": 0, "start": "2023-02-11 16:50:29.918131" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.349) 0:00:18.989 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.081) 0:00:19.070 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1676134219.4268243, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134215.4487674, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.304) 0:00:19.375 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "DEFAULT", "EMPTY", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.062) 0:00:19.438 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1676134219.548826, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.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 }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.317) 0:00:19.755 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.059) 0:00:19.815 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "SHA1", "ECDHE-ONLY", "OSPP", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:50:30 +0000 (0:00:00.062) 0:00:19.877 ***** 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.198986", "end": "2023-02-11 16:50:31.411975", "rc": 0, "start": "2023-02-11 16:50:31.212989" } 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:61 Saturday 11 February 2023 16:50:31 +0000 (0:00:00.543) 0:00:20.420 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Saturday 11 February 2023 16:50:31 +0000 (0:00:00.100) 0:00:20.521 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:50:31 +0000 (0:00:00.102) 0:00:20.623 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064657", "end": "2023-02-11 16:50:32.054802", "rc": 0, "start": "2023-02-11 16:50:31.990145" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.438) 0:00:21.061 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.059) 0:00:21.120 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.067) 0:00:21.188 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.102) 0:00:21.290 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.057) 0:00:21.347 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.060) 0:00:21.407 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.053) 0:00:21.461 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.081) 0:00:21.543 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.059) 0:00:21.602 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.058) 0:00:21.661 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.058) 0:00:21.720 ***** 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/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:84 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.103) 0:00:21.823 ***** 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=15 rescued=2 ignored=0 Saturday 11 February 2023 16:50:32 +0000 (0:00:00.107) 0:00:21.930 ***** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.26s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.21s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.19s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.18s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.18s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_update.yml:3 - linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.55s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.54s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.51s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.51s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.48s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.48s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.45s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.45s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.44s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/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.43s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.43s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 linux-system-roles.crypto_policies : Find base policies files ----------- 0.39s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.38s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.37s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---