# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.6/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.6.8 (default, Oct 26 2022, 09:13:21) [GCC 8.5.0 20210514 (Red Hat 8.5.0-17)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Saturday 11 February 2023 16:43:23 +0000 (0:00:00.048) 0:00:00.048 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Saturday 11 February 2023 16:43:23 +0000 (0:00:00.085) 0:00:00.133 ***** ok: [sut] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Saturday 11 February 2023 16:43:24 +0000 (0:00:01.002) 0:00:01.136 ***** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Saturday 11 February 2023 16:43:25 +0000 (0:00:00.156) 0:00:01.292 ***** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Saturday 11 February 2023 16:43:26 +0000 (0:00:01.498) 0:00:02.791 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:43:26 +0000 (0:00:00.069) 0:00:02.860 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.104485", "end": "2023-02-11 16:43:27.102231", "rc": 0, "start": "2023-02-11 16:43:26.997746" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:43:27 +0000 (0:00:00.529) 0:00:03.389 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Saturday 11 February 2023 16:43:27 +0000 (0:00:00.059) 0:00:03.449 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1675934096.9566085, "ctime": 1675899262.8778203, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398539, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398540, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1675933717.1659937, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8398543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 Saturday 11 February 2023 16:43:27 +0000 (0:00:00.458) 0:00:03.907 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "EMPTY", "LEGACY", "FUTURE", "DEFAULT", "FIPS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 Saturday 11 February 2023 16:43:27 +0000 (0:00:00.117) 0:00:04.025 ***** ok: [sut] => { "changed": false, "examined": 6, "files": [ { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807981, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807982, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807983, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807984, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807985, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671086896.0, "ctime": 1675899262.8788204, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 16807986, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671086896.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.345) 0:00:04.371 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "ECDHE-ONLY", "SHA1", "OSPP", "AD-SUPPORT-LEGACY", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.064) 0:00:04.436 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "ECDHE-ONLY", "SHA1", "OSPP", "AD-SUPPORT-LEGACY", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.280) 0:00:04.716 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:61 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.113) 0:00:04.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.196) 0:00:05.026 ***** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Saturday 11 February 2023 16:43:28 +0000 (0:00:00.049) 0:00:05.076 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.061162", "end": "2023-02-11 16:43:29.107114", "rc": 0, "start": "2023-02-11 16:43:29.045952" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Saturday 11 February 2023 16:43:29 +0000 (0:00:00.323) 0:00:05.399 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: ran handlers TASK [Check the current policy is DEFAULT and common variables] **************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_default.yml:14 Saturday 11 February 2023 16:43:29 +0000 (0:00:00.088) 0:00:05.488 ***** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=15 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 11 February 2023 16:43:29 +0000 (0:00:00.379) 0:00:05.868 ***** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.50s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 1.00s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.53s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.46s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:14 Check the current policy is DEFAULT and common variables ---------------- 0.38s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/tests_default.yml:14 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.35s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:29 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.32s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.28s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:44 linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.20s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:61 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.16s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set available base policies fact --- 0.12s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:22 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.11s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:50 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.09s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.09s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : Gather facts ----------------------- 0.07s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.06s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:37 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.06s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Update facts after applying policy --- 0.05s /WORKDIR/dist-git-crypto_policies-weekly-ci-szv_j6w2/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---