# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciyi8an6m7/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) 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_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml:2 Sunday 18 February 2024 03:19:18 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.913) 0:00:00.927 ******* included: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.012) 0:00:00.939 ******* skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.018) 0:00:00.958 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.191) 0:00:01.149 ******* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.014) 0:00:01.164 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Sunday 18 February 2024 03:19:19 +0000 (0:00:00.022) 0:00:01.187 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+4 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 5.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.6 MB/s | 1.1 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/6 \n Installing : python-ply-3.4-11.el7.noarch 2/6 \n Installing : python-pycparser-2.14-1.el7.noarch 3/6 \n Installing : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Installing : python-idna-2.4-1.el7.noarch 5/6 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n Verifying : python-idna-2.4-1.el7.noarch 1/6 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/6 \n Verifying : python-ply-3.4-11.el7.noarch 3/6 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/6 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 5/6 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 6/6 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-idna.noarch 0:2.4-1.el7 \n python-ply.noarch 0:3.4-11.el7 python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } MSG: https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30000 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30000 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Sunday 18 February 2024 03:29:26 +0000 (0:10:06.603) 0:10:07.790 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+4 Dependent packages)\n\nTotal download size: 843 k\nInstalled size: 3.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.2 MB/s | 843 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtalloc-2.1.16-1.el7.x86_64 1/5 \n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 2/5 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 3/5 \n Installing : libtevent-0.9.39-1.el7.x86_64 4/5 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 5/5 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/5 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 2/5 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 3/5 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/5 \n Verifying : libtevent-0.9.39-1.el7.x86_64 5/5 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } MSG: https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30000 milliseconds') Trying other mirror. https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds') Trying other mirror. lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Sunday 18 February 2024 03:39:29 +0000 (0:10:03.562) 0:20:11.353 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Sunday 18 February 2024 03:39:30 +0000 (0:00:00.230) 0:20:11.583 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Sunday 18 February 2024 03:39:30 +0000 (0:00:00.166) 0:20:11.750 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target dbus.service systemd-journald.socket basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Sunday 18 February 2024 03:39:30 +0000 (0:00:00.506) 0:20:12.257 ******* changed: [sut] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Sunday 18 February 2024 03:39:33 +0000 (0:00:02.586) 0:20:14.843 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Sunday 18 February 2024 03:39:33 +0000 (0:00:00.035) 0:20:14.879 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Sunday 18 February 2024 03:39:33 +0000 (0:00:00.017) 0:20:14.896 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Sunday 18 February 2024 03:39:33 +0000 (0:00:00.017) 0:20:14.914 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml:18 Sunday 18 February 2024 03:39:33 +0000 (0:00:00.029) 0:20:14.943 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml:50 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.535) 0:20:15.478 ******* included: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.027) 0:20:15.506 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.009) 0:20:15.515 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.010) 0:20:15.526 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.011) 0:20:15.537 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.389) 0:20:15.927 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.009) 0:20:15.936 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227571.715714, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c3594e9f555ddbf2bd968eff2f8bea81b61656a9", "ctime": 1708227571.711714, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227571.711714, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1102614153", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.146) 0:20:16.082 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.011) 0:20:16.093 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.021) 0:20:16.115 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.019) 0:20:16.134 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227571.6637142, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5e096a3f8f3a1e978c67531c5c347ca0ee393f08", "ctime": 1708227571.711714, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227571.711714, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1102614140", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.148) 0:20:16.283 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.010) 0:20:16.294 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:39:34 +0000 (0:00:00.021) 0:20:16.315 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "E7:DD:2D:33:B1:CB:E9:57:79:D5:29:59:2E:B7:E2:76:5C:C8:20:95" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "17:F4:D3:69:E6:70:0C:42:87:C9:C6:1B:7C:1A:DF:C9:BD:E2:64:00:05:A7:49:90:DF:04:1C:4F:99:A8:35:3A:E9:97:9F:0B:59:2F:C0:5F:32:F1:E5:D3:87:46:D4:75:2F:95:C5:7C:9B:4A:9B:34:F6:B8:89:1D:F1:60:B1:A9:7F:81:C5:12:D8:6E:FD:0F:39:D6:CA:50:B6:D8:3C:AE:F2:1A:38:2F:96:75:6A:6B:BA:49:89:0D:B9:19:33:D3:CA:D1:DE:F4:66:35:58:08:16:28:8C:B8:31:99:71:BD:97:52:21:46:4C:64:87:16:08:B5:B8:B4:A7:87:77:7B:EB:94:CF:C2:BF:B9:CB:7F:1F:04:7D:81:F1:03:B9:8A:EE:B9:CB:D6:83:56:31:A5:EB:B0:E1:7A:D4:81:E7:5A:2C:CD:A1:CD:31:24:2A:FD:5C:D7:C1:A8:4B:E4:D8:52:D0:BE:FF:66:61:94:F0:32:50:6D:BB:B6:71:B0:3A:27:B7:76:5C:31:10:72:A4:F0:36:AB:F6:E7:99:38:AF:27:B9:34:46:F3:F5:88:E5:DC:5A:A3:93:19:27:61:5E:E7:3E:A9:79:D9:05:3A:C2:21:93:53:FF:CA:D7:DD:19:F9:90:79:E8:06:BF:7F:06:9E:F8:73:E7:49:F6:51:23:41" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033931Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.447) 0:20:16.762 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "E7:DD:2D:33:B1:CB:E9:57:79:D5:29:59:2E:B7:E2:76:5C:C8:20:95" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "17:F4:D3:69:E6:70:0C:42:87:C9:C6:1B:7C:1A:DF:C9:BD:E2:64:00:05:A7:49:90:DF:04:1C:4F:99:A8:35:3A:E9:97:9F:0B:59:2F:C0:5F:32:F1:E5:D3:87:46:D4:75:2F:95:C5:7C:9B:4A:9B:34:F6:B8:89:1D:F1:60:B1:A9:7F:81:C5:12:D8:6E:FD:0F:39:D6:CA:50:B6:D8:3C:AE:F2:1A:38:2F:96:75:6A:6B:BA:49:89:0D:B9:19:33:D3:CA:D1:DE:F4:66:35:58:08:16:28:8C:B8:31:99:71:BD:97:52:21:46:4C:64:87:16:08:B5:B8:B4:A7:87:77:7B:EB:94:CF:C2:BF:B9:CB:7F:1F:04:7D:81:F1:03:B9:8A:EE:B9:CB:D6:83:56:31:A5:EB:B0:E1:7A:D4:81:E7:5A:2C:CD:A1:CD:31:24:2A:FD:5C:D7:C1:A8:4B:E4:D8:52:D0:BE:FF:66:61:94:F0:32:50:6D:BB:B6:71:B0:3A:27:B7:76:5C:31:10:72:A4:F0:36:AB:F6:E7:99:38:AF:27:B9:34:46:F3:F5:88:E5:DC:5A:A3:93:19:27:61:5E:E7:3E:A9:79:D9:05:3A:C2:21:93:53:FF:CA:D7:DD:19:F9:90:79:E8:06:BF:7F:06:9E:F8:73:E7:49:F6:51:23:41" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033931Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.011) 0:20:16.774 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.020) 0:20:16.795 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.011) 0:20:16.806 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.019) 0:20:16.826 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.022) 0:20:16.849 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.021) 0:20:16.871 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.053124", "end": "2024-02-18 03:39:35.735060", "rc": 0, "start": "2024-02-18 03:39:35.681936" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.247) 0:20:17.118 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.020) 0:20:17.138 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.008) 0:20:17.147 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.011) 0:20:17.158 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:39:35 +0000 (0:00:00.010) 0:20:17.169 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.386) 0:20:17.556 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.008) 0:20:17.565 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227572.2587137, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fe93559a93ca6428c13d93dbb6f3b767b5eef0d2", "ctime": 1708227572.2547138, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227572.2547138, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1102614189", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.148) 0:20:17.713 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.011) 0:20:17.724 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.020) 0:20:17.744 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.019) 0:20:17.764 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227572.2087138, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f9759f480b0052730231e8065cf467971504eff1", "ctime": 1708227572.2547138, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227572.2547138, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1102614176", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.146) 0:20:17.911 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.010) 0:20:17.922 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.021) 0:20:17.943 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "73:58:6C:A4:B4:EF:16:94:B1:6E:35:70:35:36:EF:49:22:C8:34:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "59:2C:36:6A:B3:8C:36:A2:4D:A1:E5:42:7A:57:88:81:9C:F0:69:CC:E3:83:3E:C6:6A:F4:49:BF:34:A1:C2:5A:3C:C4:55:97:18:3E:B1:0D:F8:89:58:14:32:FF:4B:9A:BF:BD:E0:6A:64:CD:3F:38:ED:9A:19:87:F7:6C:61:B4:5E:75:32:94:07:57:62:B5:B2:6D:42:46:C2:F6:4E:D7:A0:7C:0A:FB:9C:E7:25:ED:64:7C:30:5F:72:8F:B7:E3:D0:A5:7B:AC:74:5C:38:52:95:8E:67:16:A5:02:F7:22:E5:63:CE:20:4A:F3:F5:6E:49:BA:8F:68:AC:B1:DF:5B:E8:99:D6:81:BC:2E:2D:F8:3D:16:1F:47:95:8F:B6:E7:41:6F:31:15:7D:FB:2E:A1:CE:EE:4B:6C:02:82:69:EB:15:29:BC:3D:A7:C1:C5:D2:FC:00:FE:54:7D:1C:2F:24:22:8B:86:35:CA:FA:AC:48:D3:62:9D:55:1B:0E:D8:16:F8:D3:A8:B0:5B:0F:B2:9F:00:29:55:A9:D6:B6:B7:1C:1E:97:E3:09:15:FE:8F:56:BA:63:BE:56:63:8B:74:C7:8D:E6:D2:73:51:2B:1C:D1:07:13:A2:B8:C1:E4:65:7C:AA:17:D6:1B:B5:40:B1:AC:19:D0:4F:C9:7A:BC:F9:49" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033932Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.217) 0:20:18.161 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "73:58:6C:A4:B4:EF:16:94:B1:6E:35:70:35:36:EF:49:22:C8:34:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "59:2C:36:6A:B3:8C:36:A2:4D:A1:E5:42:7A:57:88:81:9C:F0:69:CC:E3:83:3E:C6:6A:F4:49:BF:34:A1:C2:5A:3C:C4:55:97:18:3E:B1:0D:F8:89:58:14:32:FF:4B:9A:BF:BD:E0:6A:64:CD:3F:38:ED:9A:19:87:F7:6C:61:B4:5E:75:32:94:07:57:62:B5:B2:6D:42:46:C2:F6:4E:D7:A0:7C:0A:FB:9C:E7:25:ED:64:7C:30:5F:72:8F:B7:E3:D0:A5:7B:AC:74:5C:38:52:95:8E:67:16:A5:02:F7:22:E5:63:CE:20:4A:F3:F5:6E:49:BA:8F:68:AC:B1:DF:5B:E8:99:D6:81:BC:2E:2D:F8:3D:16:1F:47:95:8F:B6:E7:41:6F:31:15:7D:FB:2E:A1:CE:EE:4B:6C:02:82:69:EB:15:29:BC:3D:A7:C1:C5:D2:FC:00:FE:54:7D:1C:2F:24:22:8B:86:35:CA:FA:AC:48:D3:62:9D:55:1B:0E:D8:16:F8:D3:A8:B0:5B:0F:B2:9F:00:29:55:A9:D6:B6:B7:1C:1E:97:E3:09:15:FE:8F:56:BA:63:BE:56:63:8B:74:C7:8D:E6:D2:73:51:2B:1C:D1:07:13:A2:B8:C1:E4:65:7C:AA:17:D6:1B:B5:40:B1:AC:19:D0:4F:C9:7A:BC:F9:49" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033932Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.011) 0:20:18.172 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.019) 0:20:18.192 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.012) 0:20:18.204 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.019) 0:20:18.224 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.022) 0:20:18.247 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:39:36 +0000 (0:00:00.022) 0:20:18.270 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.052182", "end": "2024-02-18 03:39:37.073004", "rc": 0, "start": "2024-02-18 03:39:37.020822" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.186) 0:20:18.456 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.021) 0:20:18.478 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.011) 0:20:18.489 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.011) 0:20:18.500 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.011) 0:20:18.512 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } lsrpackages: python2-cryptography TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.385) 0:20:18.898 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version != \"7\"", "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.008) 0:20:18.907 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227573.3737128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b625d60cbe91eb7cd2b22fec8205864fd5591784", "ctime": 1708227573.3697128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227573.3697128, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1102614226", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.148) 0:20:19.055 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.010) 0:20:19.066 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.021) 0:20:19.087 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.019) 0:20:19.107 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708227573.3237128, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d4c1b9e95927637515a9eb2178e9ab48ae3f04a6", "ctime": 1708227573.3697128, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 170115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708227573.3697128, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1102614213", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.149) 0:20:19.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.012) 0:20:19.269 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:39:37 +0000 (0:00:00.021) 0:20:19.290 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "01:81:7D:9E:24:A2:0A:B8:BD:BE:36:39:41:7D:C8:8E:82:BC:47:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:44:02:7B:20:EF:BA:0A:93:22:C8:C1:F0:99:78:C1:96:23:4A:80:BE:4C:B3:54:EE:A4:DB:4C:A2:2C:9D:1E:76:C0:82:6B:FF:B0:92:39:B7:53:A3:C1:01:69:E4:FA:EF:CD:1A:C0:1B:12:06:57:D1:4D:7A:86:8E:07:24:8F:1C:52:20:80:A5:50:92:C3:09:E9:3A:1D:68:D9:70:DE:4F:04:8D:84:42:4D:68:5B:EF:A5:29:02:77:90:EC:12:43:C5:21:97:11:C1:68:50:9B:F0:52:30:1E:26:9F:42:CB:FF:AE:4F:8D:14:3C:9C:1C:F4:9F:96:2B:E3:1E:04:FA:86:48:C3:7E:EC:26:96:C7:39:25:43:4F:C2:32:49:73:6C:B0:45:D3:E7:B7:CB:18:FE:48:36:21:04:1C:33:25:8C:27:BD:26:5D:BA:10:C3:41:1A:64:3C:F5:85:A8:F8:2C:E4:10:02:3D:39:30:F5:E1:F2:43:F6:7F:04:11:6C:31:8D:D9:A7:A5:0C:4A:87:3A:5D:A2:D3:F1:E2:B3:F5:D8:3B:93:55:2B:88:02:82:4A:19:8E:E5:A0:50:93:CC:BD:E5:76:53:B0:8E:C8:ED:A5:D6:74:AA:AE:8C:17:57:D6:56:99:43:AD:22:E5:1A:0B:47:10:8F:5E:73:09" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033933Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.218) 0:20:19.509 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "4E:92:02:5B:F0:0B:FE:CB:98:8A:C3:1E:DE:EB:D4:69:13:59:8B:52" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "01:81:7D:9E:24:A2:0A:B8:BD:BE:36:39:41:7D:C8:8E:82:BC:47:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:44:02:7B:20:EF:BA:0A:93:22:C8:C1:F0:99:78:C1:96:23:4A:80:BE:4C:B3:54:EE:A4:DB:4C:A2:2C:9D:1E:76:C0:82:6B:FF:B0:92:39:B7:53:A3:C1:01:69:E4:FA:EF:CD:1A:C0:1B:12:06:57:D1:4D:7A:86:8E:07:24:8F:1C:52:20:80:A5:50:92:C3:09:E9:3A:1D:68:D9:70:DE:4F:04:8D:84:42:4D:68:5B:EF:A5:29:02:77:90:EC:12:43:C5:21:97:11:C1:68:50:9B:F0:52:30:1E:26:9F:42:CB:FF:AE:4F:8D:14:3C:9C:1C:F4:9F:96:2B:E3:1E:04:FA:86:48:C3:7E:EC:26:96:C7:39:25:43:4F:C2:32:49:73:6C:B0:45:D3:E7:B7:CB:18:FE:48:36:21:04:1C:33:25:8C:27:BD:26:5D:BA:10:C3:41:1A:64:3C:F5:85:A8:F8:2C:E4:10:02:3D:39:30:F5:E1:F2:43:F6:7F:04:11:6C:31:8D:D9:A7:A5:0C:4A:87:3A:5D:A2:D3:F1:E2:B3:F5:D8:3B:93:55:2B:88:02:82:4A:19:8E:E5:A0:50:93:CC:BD:E5:76:53:B0:8E:C8:ED:A5:D6:74:AA:AE:8C:17:57:D6:56:99:43:AD:22:E5:1A:0B:47:10:8F:5E:73:09" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250218033931Z", "not_valid_before": "20240218033933Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.011) 0:20:19.521 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.020) 0:20:19.541 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.012) 0:20:19.554 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.019) 0:20:19.573 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.022) 0:20:19.595 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.020) 0:20:19.616 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.052364", "end": "2024-02-18 03:39:38.420711", "rc": 0, "start": "2024-02-18 03:39:38.368347" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.187) 0:20:19.804 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Sunday 18 February 2024 03:39:38 +0000 (0:00:00.025) 0:20:19.829 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed - 606.60s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed - 603.56s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.59s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 0.54s /WORKDIR/git-weekly-ciyi8an6m7/tests/tests_many_self_signed.yml:18 ------------ fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.51s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.45s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.39s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.39s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.39s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.23s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.22s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.22s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.19s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.19s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.19s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.17s /WORKDIR/git-weekly-ciyi8an6m7/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.15s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.15s /WORKDIR/git-weekly-ciyi8an6m7/tests/tasks/assert_certificate_parameters.yml:65 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---