# 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-civ3a665y1/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-civ3a665y1/tests/tests_update.yml:3 Saturday 17 February 2024 05:51:20 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:8 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.783) 0:00:00.796 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.027) 0:00:00.824 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.014) 0:00:00.839 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.018) 0:00:00.857 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.258) 0:00:01.115 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.020) 0:00:01.136 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 17 February 2024 05:51:21 +0000 (0:00:00.028) 0:00:01.164 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 17 February 2024 05:55:24 +0000 (0:04:02.709) 0:04:03.874 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 05:55:24 +0000 (0:00:00.013) 0:04:03.887 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058783", "end": "2024-02-17 05:55:24.718679", "rc": 0, "start": "2024-02-17 05:55:24.659896" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 05:55:24 +0000 (0:00:00.314) 0:04:04.201 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 17 February 2024 05:55:24 +0000 (0:00:00.018) 0:04:04.220 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1707816029.352, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843009, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843010, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843011, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843012, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843013, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.262) 0:04:04.482 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "LEGACY", "DEFAULT", "EMPTY", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.019) 0:04:04.502 ***** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664753, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664754, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664755, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664756, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664757, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.198) 0:04:04.701 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.025) 0:04:04.726 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.020) 0:04:04.747 ***** 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.123827", "end": "2024-02-17 05:55:25.595075", "rc": 0, "start": "2024-02-17 05:55:25.471248" } 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.329) 0:04:05.077 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.021) 0:04:05.098 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.012) 0:04:05.111 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.059236", "end": "2024-02-17 05:55:25.877729", "rc": 0, "start": "2024-02-17 05:55:25.818493" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.248) 0:04:05.359 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:14 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.020) 0:04:05.379 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:20 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.020) 0:04:05.400 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.019) 0:04:05.419 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.012) 0:04:05.431 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 17 February 2024 05:55:25 +0000 (0:00:00.019) 0:04:05.451 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 17 February 2024 05:55:26 +0000 (0:00:00.018) 0:04:05.470 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 17 February 2024 05:55:26 +0000 (0:00:00.018) 0:04:05.489 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 17 February 2024 05:55:26 +0000 (0:00:00.030) 0:04:05.520 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 17 February 2024 05:59:28 +0000 (0:04:02.607) 0:08:08.127 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 05:59:28 +0000 (0:00:00.012) 0:08:08.139 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057154", "end": "2024-02-17 05:59:28.901383", "rc": 0, "start": "2024-02-17 05:59:28.844229" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 05:59:28 +0000 (0:00:00.243) 0:08:08.383 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 17 February 2024 05:59:28 +0000 (0:00:00.018) 0:08:08.402 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1707816029.352, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843009, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843010, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843011, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843012, "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": 1708149325.524564, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843013, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.193) 0:08:08.595 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "LEGACY", "DEFAULT", "EMPTY", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.023) 0:08:08.619 ***** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664753, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664754, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664755, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664756, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664757, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.187) 0:08:08.806 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.020) 0:08:08.827 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.018) 0:08:08.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 changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.125404", "end": "2024-02-17 05:59:29.687099", "rc": 0, "start": "2024-02-17 05:59:29.561695" } 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.323) 0:08:09.169 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.020) 0:08:09.190 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.012) 0:08:09.202 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058804", "end": "2024-02-17 05:59:29.967187", "rc": 0, "start": "2024-02-17 05:59:29.908383" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 05:59:29 +0000 (0:00:00.247) 0:08:09.449 ***** 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-civ3a665y1/tests/tests_update.yml:26 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.018) 0:08:09.468 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:34 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.019) 0:08:09.488 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.014) 0:08:09.502 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.012) 0:08:09.514 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.019) 0:08:09.534 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.018) 0:08:09.553 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.018) 0:08:09.571 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 17 February 2024 05:59:30 +0000 (0:00:00.030) 0:08:09.601 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 17 February 2024 06:03:32 +0000 (0:04:02.477) 0:12:12.079 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 06:03:32 +0000 (0:00:00.013) 0:12:12.093 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058281", "end": "2024-02-17 06:03:32.865007", "rc": 0, "start": "2024-02-17 06:03:32.806726" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 06:03:32 +0000 (0:00:00.253) 0:12:12.346 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 17 February 2024 06:03:32 +0000 (0:00:00.019) 0:12:12.366 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1708149569.6144075, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843009, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843010, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843011, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843012, "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": 1708149325.524564, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843013, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.192) 0:12:12.559 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "LEGACY", "DEFAULT", "EMPTY", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.021) 0:12:12.580 ***** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664753, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664754, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664755, "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": 1708149569.627407, "ctime": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664756, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664757, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.191) 0:12:12.772 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.020) 0:12:12.793 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.018) 0:12:12.811 ***** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.057156", "end": "2024-02-17 06:03:33.584359", "rc": 1, "start": "2024-02-17 06:03:33.527203" } 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-civ3a665y1/tests/tests_update.yml:44 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.253) 0:12:13.065 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:53 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.019) 0:12:13.085 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.014) 0:12:13.099 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.012) 0:12:13.112 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.020) 0:12:13.132 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.019) 0:12:13.151 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.018) 0:12:13.170 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 17 February 2024 06:03:33 +0000 (0:00:00.033) 0:12:13.203 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 17 February 2024 06:07:36 +0000 (0:04:02.526) 0:16:15.730 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.013) 0:16:15.744 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058755", "end": "2024-02-17 06:07:36.508316", "rc": 0, "start": "2024-02-17 06:07:36.449561" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.247) 0:16:15.991 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.019) 0:16:16.011 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1708149569.6144075, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843009, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843010, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843011, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843012, "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": 1708149325.524564, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843013, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.191) 0:16:16.203 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "LEGACY", "DEFAULT", "EMPTY", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.020) 0:16:16.223 ***** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664753, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664754, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664755, "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": 1708149569.627407, "ctime": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664756, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664757, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.188) 0:16:16.412 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.020) 0:16:16.433 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 17 February 2024 06:07:36 +0000 (0:00:00.018) 0:16:16.451 ***** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.071297", "end": "2024-02-17 06:07:37.241204", "rc": 1, "start": "2024-02-17 06:07:37.169907" } 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-civ3a665y1/tests/tests_update.yml:63 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.270) 0:16:16.722 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:71 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.021) 0:16:16.743 ***** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.022) 0:16:16.765 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.012) 0:16:16.777 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.019) 0:16:16.797 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.018) 0:16:16.815 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.026) 0:16:16.842 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 17 February 2024 06:07:37 +0000 (0:00:00.035) 0:16:16.878 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 17 February 2024 06:11:40 +0000 (0:04:02.644) 0:20:19.523 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.012) 0:20:19.535 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.060024", "end": "2024-02-17 06:11:40.305936", "rc": 0, "start": "2024-02-17 06:11:40.245912" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.254) 0:20:19.789 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.019) 0:20:19.809 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1708149569.6144075, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843009, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843010, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843011, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843012, "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": 1708149325.524564, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6843013, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.196) 0:20:20.006 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "LEGACY", "DEFAULT", "EMPTY", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.020) 0:20:20.027 ***** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664753, "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": 1707815999.331, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664754, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664755, "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": 1708149569.627407, "ctime": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664756, "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": 1707815999.332, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 664757, "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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.197) 0:20:20.224 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.021) 0:20:20.245 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "NO-SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 17 February 2024 06:11:40 +0000 (0:00:00.019) 0:20:20.265 ***** 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.158758", "end": "2024-02-17 06:11:41.148042", "rc": 0, "start": "2024-02-17 06:11:40.989284" } 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.367) 0:20:20.633 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.022) 0:20:20.655 ***** included: /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.014) 0:20:20.669 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.060317", "end": "2024-02-17 06:11:41.439691", "rc": 0, "start": "2024-02-17 06:11:41.379374" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.252) 0:20:20.922 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.017) 0:20:20.939 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.020) 0:20:20.959 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.018) 0:20:20.978 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.018) 0:20:20.997 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.018) 0:20:21.016 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.019) 0:20:21.035 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.019) 0:20:21.055 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.019) 0:20:21.075 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.018) 0:20:21.094 ***** 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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.019) 0:20:21.113 ***** 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-civ3a665y1/tests/tests_update.yml:84 Saturday 17 February 2024 06:11:41 +0000 (0:00:00.023) 0:20:21.137 ***** 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 17 February 2024 06:11:41 +0000 (0:00:00.020) 0:20:21.157 ***** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed - 242.71s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed - 242.64s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed - 242.61s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed - 242.53s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed - 242.48s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.78s /WORKDIR/git-weekly-civ3a665y1/tests/tests_update.yml:3 ----------------------- linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.37s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.33s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.32s /WORKDIR/git-weekly-civ3a665y1/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.31s /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Find base policies files ----------- 0.26s /WORKDIR/git-weekly-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 linux-system-roles.crypto_policies : Check if system is ostree ---------- 0.26s /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/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-civ3a665y1/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.25s /WORKDIR/git-weekly-civ3a665y1/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-civ3a665y1/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-civ3a665y1/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-civ3a665y1/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-civ3a665y1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---