# 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-weekly-ci65jnmymx/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:3 Saturday 06 January 2024 04:46:51 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:8 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.694) 0:00:00.707 ****** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.029) 0:00:00.737 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.016) 0:00:00.753 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.019) 0:00:00.773 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.257) 0:00:01.031 ****** ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.021) 0:00:01.053 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 06 January 2024 04:46:52 +0000 (0:00:00.028) 0:00:01.081 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 06 January 2024 04:46:55 +0000 (0:00:03.028) 0:00:04.110 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:46:55 +0000 (0:00:00.012) 0:00:04.123 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057847", "end": "2024-01-06 04:46:55.909821", "rc": 0, "start": "2024-01-06 04:46:55.851974" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:46:55 +0000 (0:00:00.304) 0:00:04.427 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 06 January 2024 04:46:55 +0000 (0:00:00.018) 0:00:04.445 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1702394879.191, "ctime": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712885, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712886, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712887, "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": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712888, "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": 1690903086.0, "ctime": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712889, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.248) 0:00:04.694 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.019) 0:00:04.713 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683242, "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": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683243, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683244, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683245, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683246, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.189) 0:00:04.903 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.020) 0:00:04.924 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.017) 0:00:04.941 ****** 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.157776", "end": "2024-01-06 04:46:56.779320", "rc": 0, "start": "2024-01-06 04:46:56.621544" } 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.356) 0:00:05.297 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.019) 0:00:05.316 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:46:56 +0000 (0:00:00.012) 0:00:05.329 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057796", "end": "2024-01-06 04:46:57.052078", "rc": 0, "start": "2024-01-06 04:46:56.994282" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.240) 0:00:05.569 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:14 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.018) 0:00:05.588 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:20 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.019) 0:00:05.607 ****** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.019) 0:00:05.627 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.011) 0:00:05.639 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.016) 0:00:05.656 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.017) 0:00:05.673 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.017) 0:00:05.691 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 06 January 2024 04:46:57 +0000 (0:00:00.028) 0:00:05.719 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 06 January 2024 04:47:00 +0000 (0:00:02.916) 0:00:08.636 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.011) 0:00:08.648 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058529", "end": "2024-01-06 04:47:00.383872", "rc": 0, "start": "2024-01-06 04:47:00.325343" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.254) 0:00:08.902 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.018) 0:00:08.921 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1702394879.191, "ctime": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712885, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712886, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712887, "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": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712888, "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": 1704516416.6743994, "ctime": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712889, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.189) 0:00:09.110 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.019) 0:00:09.130 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683242, "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": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683243, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683244, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683245, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683246, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.191) 0:00:09.321 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.024) 0:00:09.346 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 06 January 2024 04:47:00 +0000 (0:00:00.024) 0:00:09.370 ****** 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.139682", "end": "2024-01-06 04:47:01.202421", "rc": 0, "start": "2024-01-06 04:47:01.062739" } 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.349) 0:00:09.720 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.019) 0:00:09.739 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.012) 0:00:09.751 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058519", "end": "2024-01-06 04:47:01.481429", "rc": 0, "start": "2024-01-06 04:47:01.422910" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.248) 0:00:09.999 ****** 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-weekly-ci65jnmymx/tests/tests_update.yml:26 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.018) 0:00:10.018 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:34 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.018) 0:00:10.037 ****** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.013) 0:00:10.050 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.012) 0:00:10.063 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.016) 0:00:10.080 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.015) 0:00:10.096 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.016) 0:00:10.113 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 06 January 2024 04:47:01 +0000 (0:00:00.028) 0:00:10.141 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 06 January 2024 04:47:04 +0000 (0:00:02.913) 0:00:13.054 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:04 +0000 (0:00:00.012) 0:00:13.067 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057872", "end": "2024-01-06 04:47:04.795142", "rc": 0, "start": "2024-01-06 04:47:04.737270" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:04 +0000 (0:00:00.245) 0:00:13.312 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 06 January 2024 04:47:04 +0000 (0:00:00.018) 0:00:13.331 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1704516421.115254, "ctime": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712885, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712886, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712887, "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": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712888, "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": 1704516416.6743994, "ctime": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712889, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.190) 0:00:13.522 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.019) 0:00:13.541 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683242, "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": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683243, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683244, "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": 1704516421.1282537, "ctime": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683245, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683246, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.187) 0:00:13.729 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.020) 0:00:13.749 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.018) 0:00:13.767 ****** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.058077", "end": "2024-01-06 04:47:05.504640", "rc": 1, "start": "2024-01-06 04:47:05.446563" } 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-weekly-ci65jnmymx/tests/tests_update.yml:44 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.253) 0:00:14.021 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:53 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.019) 0:00:14.040 ****** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.013) 0:00:14.054 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.012) 0:00:14.066 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.017) 0:00:14.084 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.016) 0:00:14.101 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.015) 0:00:14.117 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 06 January 2024 04:47:05 +0000 (0:00:00.050) 0:00:14.167 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 06 January 2024 04:47:08 +0000 (0:00:02.921) 0:00:17.088 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:08 +0000 (0:00:00.012) 0:00:17.101 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057140", "end": "2024-01-06 04:47:08.825318", "rc": 0, "start": "2024-01-06 04:47:08.768178" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:08 +0000 (0:00:00.242) 0:00:17.344 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 06 January 2024 04:47:08 +0000 (0:00:00.018) 0:00:17.362 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1704516421.115254, "ctime": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712885, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712886, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712887, "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": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712888, "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": 1704516416.6743994, "ctime": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712889, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.186) 0:00:17.549 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.019) 0:00:17.568 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683242, "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": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683243, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683244, "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": 1704516421.1282537, "ctime": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683245, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683246, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.186) 0:00:17.755 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.019) 0:00:17.775 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.018) 0:00:17.793 ****** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.070997", "end": "2024-01-06 04:47:09.544429", "rc": 1, "start": "2024-01-06 04:47:09.473432" } 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-weekly-ci65jnmymx/tests/tests_update.yml:63 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.268) 0:00:18.061 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:71 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.019) 0:00:18.080 ****** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.021) 0:00:18.101 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.011) 0:00:18.113 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.018) 0:00:18.131 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.017) 0:00:18.149 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.018) 0:00:18.168 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 06 January 2024 04:47:09 +0000 (0:00:00.028) 0:00:18.196 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 06 January 2024 04:47:12 +0000 (0:00:02.935) 0:00:21.132 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:12 +0000 (0:00:00.011) 0:00:21.144 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058818", "end": "2024-01-06 04:47:12.871040", "rc": 0, "start": "2024-01-06 04:47:12.812222" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:12 +0000 (0:00:00.244) 0:00:21.388 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 06 January 2024 04:47:12 +0000 (0:00:00.018) 0:00:21.407 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1704516421.115254, "ctime": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712885, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712886, "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": 1702394849.298, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712887, "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": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712888, "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": 1704516416.6743994, "ctime": 1702394849.299, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6712889, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.189) 0:00:21.597 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.019) 0:00:21.616 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683242, "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": 1702394849.3, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683243, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683244, "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": 1704516421.1282537, "ctime": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683245, "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": 1702394849.301, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 683246, "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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.191) 0:00:21.807 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.019) 0:00:21.827 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "AD-SUPPORT", "OSPP", "NO-SHA1", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.018) 0:00:21.845 ****** 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.159965", "end": "2024-01-06 04:47:13.682957", "rc": 0, "start": "2024-01-06 04:47:13.522992" } 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.355) 0:00:22.200 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.019) 0:00:22.220 ****** included: /WORKDIR/git-weekly-ci65jnmymx/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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.012) 0:00:22.232 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058035", "end": "2024-01-06 04:47:13.960946", "rc": 0, "start": "2024-01-06 04:47:13.902911" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.246) 0:00:22.479 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 06 January 2024 04:47:13 +0000 (0:00:00.016) 0:00:22.495 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.018) 0:00:22.514 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.018) 0:00:22.532 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.550 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.567 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.585 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.603 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.016) 0:00:22.619 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.016) 0:00:22.636 ****** 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-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.654 ****** 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-weekly-ci65jnmymx/tests/tests_update.yml:84 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.020) 0:00:22.675 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=73 changed=3 unreachable=0 failed=0 skipped=28 rescued=2 ignored=0 Saturday 06 January 2024 04:47:14 +0000 (0:00:00.017) 0:00:22.693 ****** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.03s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.94s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.92s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.92s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.91s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.69s /WORKDIR/git-weekly-ci65jnmymx/tests/tests_update.yml:3 ----------------------- linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.36s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.36s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.35s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.30s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.27s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Check if system is ostree ---------- 0.26s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.25s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.25s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Find base policies files ----------- 0.25s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.25s /WORKDIR/git-weekly-ci65jnmymx/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.25s /WORKDIR/git-weekly-ci65jnmymx/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.25s /WORKDIR/git-weekly-ci65jnmymx/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.24s /WORKDIR/git-weekly-ci65jnmymx/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.24s /WORKDIR/git-weekly-ci65jnmymx/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---