# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_reboot.yml ***************************************************** 1 plays in /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:3 Saturday 28 January 2023 04:32:40 +0000 (0:00:00.014) 0:00:00.014 ****** ok: [sut] META: ran handlers TASK [Ensure we can set crypto policy including reboot of the system] ********** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:11 Saturday 28 January 2023 04:32:41 +0000 (0:00:01.081) 0:00:01.096 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 28 January 2023 04:32:41 +0000 (0:00:00.053) 0:00:01.150 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 28 January 2023 04:32:41 +0000 (0:00:00.035) 0:00:01.185 ****** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 28 January 2023 04:32:41 +0000 (0:00:00.439) 0:00:01.624 ****** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 28 January 2023 04:32:41 +0000 (0:00:00.054) 0:00:01.679 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 28 January 2023 04:32:43 +0000 (0:00:01.875) 0:00:03.555 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 28 January 2023 04:32:43 +0000 (0:00:00.049) 0:00:03.604 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.089309", "end": "2023-01-28 04:32:44.182253", "rc": 0, "start": "2023-01-28 04:32:44.092944" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.466) 0:00:04.071 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.030) 0:00:04.102 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1674812739.14482, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799875, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.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": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799878, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1674812186.195944, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.379) 0:00:04.481 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.049) 0:00:04.530 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167878, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.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": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167880, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.254) 0:00:04.785 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 28 January 2023 04:32:44 +0000 (0:00:00.051) 0:00:04.837 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.032) 0:00:04.869 ****** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "FUTURE" ], "delta": "0:00:00.191252", "end": "2023-01-28 04:32:45.431289", "rc": 0, "start": "2023-01-28 04:32:45.240037" } STDOUT: Setting system policy to FUTURE 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 [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:61 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.450) 0:00:05.320 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.039) 0:00:05.360 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.036) 0:00:05.396 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067878", "end": "2023-01-28 04:32:45.820961", "rc": 0, "start": "2023-01-28 04:32:45.753083" } STDOUT: FUTURE TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.313) 0:00:05.709 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } META: role_complete for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:19 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.036) 0:00:05.746 ****** RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 28 January 2023 04:32:45 +0000 (0:00:00.000) 0:00:05.746 ****** changed: [sut] => { "changed": true, "elapsed": 48, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 28 January 2023 04:33:35 +0000 (0:00:49.249) 0:00:54.996 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } META: ran handlers TASK [Check the current policy is FUTURE] ************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:22 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.059) 0:00:55.056 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:29 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.032) 0:00:55.088 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.054) 0:00:55.143 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.034) 0:00:55.178 ****** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.484) 0:00:55.662 ****** 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_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 28 January 2023 04:33:35 +0000 (0:00:00.053) 0:00:55.716 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 28 January 2023 04:33:38 +0000 (0:00:02.806) 0:00:58.522 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 28 January 2023 04:33:38 +0000 (0:00:00.032) 0:00:58.555 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.090232", "end": "2023-01-28 04:33:39.004338", "rc": 0, "start": "2023-01-28 04:33:38.914106" } STDOUT: FUTURE TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.337) 0:00:58.893 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.031) 0:00:58.925 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1674812739.14482, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799875, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.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": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1674880365.302511, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799878, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1674812186.195944, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 16799879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.246) 0:00:59.171 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.051) 0:00:59.223 ****** ok: [sut] => { "changed": false, "examined": 5, "files": [ { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167876, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167877, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167878, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167879, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.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": 1671096125.0, "ctime": 1674786634.6337686, "dev": 51715, "gid": 0, "gr_name": "root", "inode": 25167880, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1671096125.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.247) 0:00:59.471 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.050) 0:00:59.522 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 28 January 2023 04:33:39 +0000 (0:00:00.030) 0:00:59.553 ****** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.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.192113", "end": "2023-01-28 04:33:40.115379", "rc": 0, "start": "2023-01-28 04:33:39.923266" } 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 [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:61 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.453) 0:01:00.006 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.040) 0:01:00.046 ****** included: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.033) 0:01:00.080 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.068733", "end": "2023-01-28 04:33:40.508130", "rc": 0, "start": "2023-01-28 04:33:40.439397" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.318) 0:01:00.399 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for sut TASK [Flush handlers] ********************************************************** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:41 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.037) 0:01:00.436 ****** RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 28 January 2023 04:33:40 +0000 (0:00:00.000) 0:01:00.436 ****** changed: [sut] => { "changed": true, "elapsed": 47, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 28 January 2023 04:34:28 +0000 (0:00:48.319) 0:01:48.756 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 28 January 2023 04:34:28 +0000 (0:00:00.050) 0:01:48.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 28 January 2023 04:34:28 +0000 (0:00:00.041) 0:01:48.848 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:43 Saturday 28 January 2023 04:34:29 +0000 (0:00:00.048) 0:01:48.897 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=39 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Saturday 28 January 2023 04:34:29 +0000 (0:00:00.042) 0:01:48.939 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes -- 97.57s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.81s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.88s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.08s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:3 - fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.48s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.47s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.45s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.45s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.44s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.38s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.34s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.32s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.31s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.25s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.25s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.25s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag --- 0.11s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Restore policy to DEFAULT ----------------------------------------------- 0.05s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/tests/tests_reboot.yml:29 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /WORKDIR/dist-git-crypto_policies-weekly-ci-vjfv689t/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---