# 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-ciwhbis8tn/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-ciwhbis8tn/tests/tests_update.yml:3 Saturday 16 March 2024 04:44:46 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:8 Saturday 16 March 2024 04:44:47 +0000 (0:00:01.024) 0:00:01.037 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.026) 0:00:01.063 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.014) 0:00:01.077 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.018) 0:00:01.096 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.296) 0:00:01.393 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.020) 0:00:01.413 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 16 March 2024 04:44:47 +0000 (0:00:00.028) 0:00:01.441 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 16 March 2024 04:44:50 +0000 (0:00:02.731) 0:00:04.172 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:44:50 +0000 (0:00:00.012) 0:00:04.185 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067469", "end": "2024-03-16 04:44:50.566624", "rc": 0, "start": "2024-03-16 04:44:50.499155" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:44:50 +0000 (0:00:00.344) 0:00:04.530 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 16 March 2024 04:44:50 +0000 (0:00:00.019) 0:00:04.550 ******** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.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": 1710564279.6373127, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2688, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564275.0302682, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2757, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150632, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2149, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 16 March 2024 04:44:50 +0000 (0:00:00.281) 0:00:04.831 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "TEST-FEDORA39", "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "NEXT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 16 March 2024 04:44:50 +0000 (0:00:00.020) 0:00:04.852 ******** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.216) 0:00:05.068 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.019) 0:00:05.088 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.018) 0:00:05.106 ******** 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.255467", "end": "2024-03-16 04:44:51.621474", "rc": 0, "start": "2024-03-16 04:44:51.366007" } 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.478) 0:00:05.584 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.019) 0:00:05.604 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.012) 0:00:05.617 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.068105", "end": "2024-03-16 04:44:51.935515", "rc": 0, "start": "2024-03-16 04:44:51.867410" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.282) 0:00:05.899 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:14 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.018) 0:00:05.918 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:20 Saturday 16 March 2024 04:44:51 +0000 (0:00:00.019) 0:00:05.938 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.019) 0:00:05.957 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.011) 0:00:05.969 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.019) 0:00:05.988 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.019) 0:00:06.007 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.017) 0:00:06.025 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 16 March 2024 04:44:52 +0000 (0:00:00.029) 0:00:06.054 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 16 March 2024 04:44:54 +0000 (0:00:02.715) 0:00:08.769 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:44:54 +0000 (0:00:00.012) 0:00:08.782 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067805", "end": "2024-03-16 04:44:55.100450", "rc": 0, "start": "2024-03-16 04:44:55.032645" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.282) 0:00:09.064 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.018) 0:00:09.083 ******** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.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": 1710564279.6373127, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2688, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564275.0302682, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2757, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150632, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2149, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.219) 0:00:09.302 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "TEST-FEDORA39", "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "NEXT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.020) 0:00:09.322 ******** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.220) 0:00:09.542 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.019) 0:00:09.562 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 16 March 2024 04:44:55 +0000 (0:00:00.018) 0:00:09.580 ******** 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.364193", "end": "2024-03-16 04:44:56.208725", "rc": 0, "start": "2024-03-16 04:44:55.844532" } 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.591) 0:00:10.172 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.020) 0:00:10.193 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.012) 0:00:10.205 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067742", "end": "2024-03-16 04:44:56.522938", "rc": 0, "start": "2024-03-16 04:44:56.455196" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.281) 0:00:10.487 ******** 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-ciwhbis8tn/tests/tests_update.yml:26 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.018) 0:00:10.505 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:34 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.019) 0:00:10.525 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.014) 0:00:10.539 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.014) 0:00:10.553 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.018) 0:00:10.572 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.018) 0:00:10.590 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.017) 0:00:10.607 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 16 March 2024 04:44:56 +0000 (0:00:00.047) 0:00:10.655 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 16 March 2024 04:44:59 +0000 (0:00:02.708) 0:00:13.363 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:44:59 +0000 (0:00:00.013) 0:00:13.377 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.069322", "end": "2024-03-16 04:44:59.704859", "rc": 0, "start": "2024-03-16 04:44:59.635537" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:44:59 +0000 (0:00:00.292) 0:00:13.669 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 16 March 2024 04:44:59 +0000 (0:00:00.018) 0:00:13.688 ******** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.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": 1710564279.6373127, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2688, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564275.0302682, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2757, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150632, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2149, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 16 March 2024 04:44:59 +0000 (0:00:00.222) 0:00:13.910 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "TEST-FEDORA39", "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "NEXT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 16 March 2024 04:44:59 +0000 (0:00:00.020) 0:00:13.931 ******** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564295.91747, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.221) 0:00:14.152 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.020) 0:00:14.172 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.018) 0:00:14.191 ******** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.069847", "end": "2024-03-16 04:45:00.526842", "rc": 1, "start": "2024-03-16 04:45:00.456995" } 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-ciwhbis8tn/tests/tests_update.yml:44 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.297) 0:00:14.489 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:53 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.025) 0:00:14.515 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.014) 0:00:14.529 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.014) 0:00:14.543 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.020) 0:00:14.563 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.017) 0:00:14.581 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.018) 0:00:14.599 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 16 March 2024 04:45:00 +0000 (0:00:00.031) 0:00:14.630 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 16 March 2024 04:45:03 +0000 (0:00:02.778) 0:00:17.408 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:45:03 +0000 (0:00:00.014) 0:00:17.423 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.068869", "end": "2024-03-16 04:45:03.744831", "rc": 0, "start": "2024-03-16 04:45:03.675962" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:45:03 +0000 (0:00:00.287) 0:00:17.710 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 16 March 2024 04:45:03 +0000 (0:00:00.019) 0:00:17.730 ******** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.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": 1710564279.6373127, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2688, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564275.0302682, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2757, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150632, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2149, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.222) 0:00:17.952 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "TEST-FEDORA39", "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "NEXT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.021) 0:00:17.974 ******** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564295.91747, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.223) 0:00:18.197 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.019) 0:00:18.217 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.019) 0:00:18.237 ******** fatal: [sut]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.083196", "end": "2024-03-16 04:45:04.591483", "rc": 1, "start": "2024-03-16 04:45:04.508287" } 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-ciwhbis8tn/tests/tests_update.yml:63 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.317) 0:00:18.555 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:71 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.019) 0:00:18.575 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.022) 0:00:18.598 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.012) 0:00:18.610 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.018) 0:00:18.628 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.017) 0:00:18.646 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.018) 0:00:18.664 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 16 March 2024 04:45:04 +0000 (0:00:00.030) 0:00:18.695 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Saturday 16 March 2024 04:45:07 +0000 (0:00:02.852) 0:00:21.547 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:45:07 +0000 (0:00:00.012) 0:00:21.560 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.069492", "end": "2024-03-16 04:45:07.882737", "rc": 0, "start": "2024-03-16 04:45:07.813245" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:45:07 +0000 (0:00:00.288) 0:00:21.848 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Saturday 16 March 2024 04:45:07 +0000 (0:00:00.019) 0:00:21.867 ******** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150631, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.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": 1710564279.6373127, "ctime": 1709714653.9342697, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150630, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150634, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2688, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564275.0302682, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3013, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2757, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150632, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2998, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150633, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2149, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.224) 0:00:22.092 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "TEST-FEDORA39", "EMPTY", "FUTURE", "LEGACY", "DEFAULT", "NEXT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.019) 0:00:22.112 ******** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1710564295.91747, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1677628800.0, "ctime": 1709714653.9362698, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 150643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1677628800.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.220) 0:00:22.333 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.020) 0:00:22.353 ******** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "AD-SUPPORT", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "OSPP", "GOST" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.019) 0:00:22.372 ******** 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.218763", "end": "2024-03-16 04:45:08.861219", "rc": 0, "start": "2024-03-16 04:45:08.642456" } 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.453) 0:00:22.826 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.020) 0:00:22.847 ******** included: /WORKDIR/git-weekly-ciwhbis8tn/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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 16 March 2024 04:45:08 +0000 (0:00:00.012) 0:00:22.859 ******** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.069790", "end": "2024-03-16 04:45:09.183027", "rc": 0, "start": "2024-03-16 04:45:09.113237" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.287) 0:00:23.147 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.017) 0:00:23.165 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.020) 0:00:23.185 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.204 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.222 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.240 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.259 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.277 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.295 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.314 ******** 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-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.018) 0:00:23.332 ******** 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-ciwhbis8tn/tests/tests_update.yml:84 Saturday 16 March 2024 04:45:09 +0000 (0:00:00.021) 0:00:23.353 ******** 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 16 March 2024 04:45:09 +0000 (0:00:00.017) 0:00:23.371 ******** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.85s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.78s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.73s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.72s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.71s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-weekly-ciwhbis8tn/tests/tests_update.yml:3 ----------------------- linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.59s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.48s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.45s /WORKDIR/git-weekly-ciwhbis8tn/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.34s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.32s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.30s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Check if system is ostree ---------- 0.30s /WORKDIR/git-weekly-ciwhbis8tn/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.29s /WORKDIR/git-weekly-ciwhbis8tn/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.29s /WORKDIR/git-weekly-ciwhbis8tn/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.29s /WORKDIR/git-weekly-ciwhbis8tn/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.29s /WORKDIR/git-weekly-ciwhbis8tn/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.28s /WORKDIR/git-weekly-ciwhbis8tn/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.28s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.28s /WORKDIR/git-weekly-ciwhbis8tn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---