# 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-ci_k7dfh_k/.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-ci_k7dfh_k/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tests_many_self_signed.yml:2 Sunday 18 February 2024 02:39:53 +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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.713) 0:00:00.726 ******* included: /WORKDIR/git-weekly-ci_k7dfh_k/.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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.011) 0:00:00.738 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.017) 0:00:00.756 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.176) 0:00:00.933 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.013) 0:00:00.946 ******* 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=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Sunday 18 February 2024 02:39:54 +0000 (0:00:00.022) 0:00:00.969 ******* 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: search-disabled-repos\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--> Processing Dependency: python-enum34 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-enum34.noarch 0:1.0.4-1.el7 will be installed\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 rhel-Server 503 k\n python2-pyasn1 noarch 0.1.9-7.el7 rhel-Server 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 rhel-Server 218 k\n python-enum34 noarch 1.0.4-1.el7 rhel-Server 52 k\n python-idna noarch 2.4-1.el7 rhel-Server 94 k\n python-ply noarch 3.4-11.el7 rhel-Server 123 k\n python-pycparser noarch 2.14-1.el7 rhel-Server 105 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 1.0 MB/s | 1.2 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \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-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } MSG: http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Sunday 18 February 2024 02:49:58 +0000 (0:10:04.334) 0:10:05.304 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\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 rhel-Server 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 rhel-Server 33 k\n libtevent x86_64 0.9.39-1.el7 rhel-Server 41 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 rhel-Server 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 rhel-Server 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 929 kB/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: http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30002 milliseconds') Trying other mirror. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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. http://coprbe.devel.redhat.com/results/lpol/qa-tools/rhel-7-x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Sunday 18 February 2024 03:00:02 +0000 (0:10:03.522) 0:20:08.826 ******* 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Sunday 18 February 2024 03:00:02 +0000 (0:00:00.213) 0:20:09.040 ******* 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Sunday 18 February 2024 03:00:02 +0000 (0:00:00.152) 0:20:09.192 ******* 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": "dbus.service syslog.target network.target system.slice systemd-journald.socket basic.target", "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": "basic.target system.slice", "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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Sunday 18 February 2024 03:00:03 +0000 (0:00:00.534) 0:20:09.726 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Sunday 18 February 2024 03:00:05 +0000 (0:00:02.027) 0:20:11.754 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Sunday 18 February 2024 03:00:05 +0000 (0:00:00.035) 0:20:11.789 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Sunday 18 February 2024 03:00:05 +0000 (0:00:00.016) 0:20:11.806 ******* 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-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Sunday 18 February 2024 03:00:05 +0000 (0:00:00.016) 0:20:11.823 ******* 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-ci_k7dfh_k/tests/tests_many_self_signed.yml:18 Sunday 18 February 2024 03:00:05 +0000 (0:00:00.027) 0:20:11.850 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tests_many_self_signed.yml:50 Sunday 18 February 2024 03:00:05 +0000 (0:00:00.545) 0:20:12.395 ******* included: /WORKDIR/git-weekly-ci_k7dfh_k/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-ci_k7dfh_k/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-ci_k7dfh_k/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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.027) 0:20:12.422 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.007) 0:20:12.430 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.010) 0:20:12.441 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.010) 0:20:12.451 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.357) 0:20:12.809 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.008) 0:20:12.818 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225203.9375393, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "117adc787eced45140ab72cc2f671ab42c73287a", "ctime": 1708225203.9345393, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225203.9345393, "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": "18446744073347542095", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.132) 0:20:12.950 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.010) 0:20:12.961 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.020) 0:20:12.981 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.018) 0:20:12.999 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225203.8885407, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f7456efa1115a3f33fd2bad4a52b251289938008", "ctime": 1708225203.9345393, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225203.9345393, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "1379282797", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.134) 0:20:13.134 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.010) 0:20:13.144 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:00:06 +0000 (0:00:00.020) 0:20:13.164 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "0E:82:13:43:77:58:47:92:F7:7F:12:16:43:F3:4A:46:EA:5A:CA:BE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "53:29:B5:E4:E3:81:D7:BF:43:65:3C:32:87:53:9A:00:69:F5:E3:A7:1F:D7:C3:24:5E:C2:9D:F0:36:D6:B9:7F:4B:49:22:B4:A2:39:00:3E:FE:32:E2:99:A1:C9:21:0B:3A:26:85:9E:CE:98:56:60:5A:AF:DD:FB:CF:6A:21:CE:00:72:D3:AD:75:BC:71:F0:0C:B9:4E:E9:27:B6:60:70:B2:DB:CA:16:CC:14:54:6C:B3:9F:95:1F:D8:07:C8:7F:E1:A2:47:88:82:3C:48:14:B8:16:F1:A7:09:4D:E5:AE:C9:85:09:F8:E6:9C:BF:45:48:C2:75:D3:A2:B3:3F:E4:91:14:1D:6B:96:3B:47:CB:E7:E4:3A:FA:7F:36:B0:1C:0D:7B:B4:93:A7:26:2E:5C:06:5E:EF:3C:80:4A:C2:C8:F4:88:BC:B4:35:A0:3E:46:E8:FF:5A:97:05:1E:FD:71:F3:92:AE:14:EA:FB:CC:B8:1E:5A:AA:19:09:2A:F0:A5:7D:96:F5:9B:5E:B2:7D:75:2F:AE:8C:2C:B3:B8:87:B9:C7:C4:77:87:71:26:7B:2B:E8:89:78:83:6D:4C:38:51:CE:E3:03:D5:44:8D:28:13:4F:01:95:22:DF:9B:8C:24:E8:FD:E4:87:9F:39:7E:E6:7A:41:CD:26:7D:01:CF:D9" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030003Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.432) 0:20:13.597 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "0E:82:13:43:77:58:47:92:F7:7F:12:16:43:F3:4A:46:EA:5A:CA:BE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "53:29:B5:E4:E3:81:D7:BF:43:65:3C:32:87:53:9A:00:69:F5:E3:A7:1F:D7:C3:24:5E:C2:9D:F0:36:D6:B9:7F:4B:49:22:B4:A2:39:00:3E:FE:32:E2:99:A1:C9:21:0B:3A:26:85:9E:CE:98:56:60:5A:AF:DD:FB:CF:6A:21:CE:00:72:D3:AD:75:BC:71:F0:0C:B9:4E:E9:27:B6:60:70:B2:DB:CA:16:CC:14:54:6C:B3:9F:95:1F:D8:07:C8:7F:E1:A2:47:88:82:3C:48:14:B8:16:F1:A7:09:4D:E5:AE:C9:85:09:F8:E6:9C:BF:45:48:C2:75:D3:A2:B3:3F:E4:91:14:1D:6B:96:3B:47:CB:E7:E4:3A:FA:7F:36:B0:1C:0D:7B:B4:93:A7:26:2E:5C:06:5E:EF:3C:80:4A:C2:C8:F4:88:BC:B4:35:A0:3E:46:E8:FF:5A:97:05:1E:FD:71:F3:92:AE:14:EA:FB:CC:B8:1E:5A:AA:19:09:2A:F0:A5:7D:96:F5:9B:5E:B2:7D:75:2F:AE:8C:2C:B3:B8:87:B9:C7:C4:77:87:71:26:7B:2B:E8:89:78:83:6D:4C:38:51:CE:E3:03:D5:44:8D:28:13:4F:01:95:22:DF:9B:8C:24:E8:FD:E4:87:9F:39:7E:E6:7A:41:CD:26:7D:01:CF:D9" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030003Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.010) 0:20:13.607 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.019) 0:20:13.626 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.010) 0:20:13.637 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.017) 0:20:13.655 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.021) 0:20:13.677 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.020) 0:20:13.697 ******* 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.056173", "end": "2024-02-18 03:00:07.525395", "rc": 0, "start": "2024-02-18 03:00:07.469222" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.241) 0:20:13.938 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.019) 0:20:13.958 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.007) 0:20:13.965 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.010) 0:20:13.976 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.010) 0:20:13.987 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.379) 0:20:14.366 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:00:07 +0000 (0:00:00.008) 0:20:14.375 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225204.4485233, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1bd657877ab4fcec86f4088c103e8c79371e0cbc", "ctime": 1708225204.4455233, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225204.4455233, "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": "18446744073618409714", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.140) 0:20:14.516 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.011) 0:20:14.527 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.021) 0:20:14.548 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.018) 0:20:14.566 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225204.4035246, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "316965a61b1136e1560cb42ba5bce1107caba372", "ctime": 1708225204.4455233, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225204.4455233, "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": "416704888", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.142) 0:20:14.709 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.010) 0:20:14.720 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.020) 0:20:14.741 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "8C:7D:C1:E5:4A:2A:4A:AC:F9:7B:B3:4B:9E:6B:43:91:F1:D0:38:1F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:C9:CF:28:01:42:ED:75:2B:1C:A1:1E:68:67:68:31:2A:25:48:A7:F5:69:53:64:E1:9A:B8:94:0D:F1:69:E3:96:63:CA:A2:1E:13:66:05:CC:1A:5C:70:4B:38:E4:40:02:B2:7C:84:D0:54:15:15:CC:7A:33:CB:17:2F:35:3C:83:4A:9D:B8:EA:FC:C8:F4:38:9B:54:13:1E:2A:DF:54:7F:22:CC:28:C5:24:8B:BB:F6:90:C9:31:96:6E:98:3E:45:0F:5C:2E:6A:92:35:42:85:C5:84:67:24:AA:7A:CE:48:44:2C:8F:28:D6:C8:E9:4E:26:97:70:55:CF:3A:91:5C:DD:54:10:E2:23:C2:4B:FF:19:53:21:E4:53:84:17:2C:3C:AA:38:39:AC:C7:30:37:45:A9:44:7B:95:86:4C:34:7C:3B:93:46:C6:F2:7D:C4:62:FA:B4:9B:3F:61:78:A8:8A:61:46:28:B4:DE:CA:A1:A3:7B:46:77:60:C3:03:26:61:91:8E:14:D9:AE:9C:FF:20:D6:93:69:89:6E:E1:1B:32:5B:BE:F9:7F:16:2B:BC:54:18:4E:00:4D:91:5B:DE:0B:D2:A8:ED:A8:AC:39:E6:F9:79:21:AB:D4:F2:5D:78:6C:D7:FF:70:ED:B6:2F:1F:07:1A:62:E1:38:6C:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030004Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.212) 0:20:14.953 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "8C:7D:C1:E5:4A:2A:4A:AC:F9:7B:B3:4B:9E:6B:43:91:F1:D0:38:1F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:C9:CF:28:01:42:ED:75:2B:1C:A1:1E:68:67:68:31:2A:25:48:A7:F5:69:53:64:E1:9A:B8:94:0D:F1:69:E3:96:63:CA:A2:1E:13:66:05:CC:1A:5C:70:4B:38:E4:40:02:B2:7C:84:D0:54:15:15:CC:7A:33:CB:17:2F:35:3C:83:4A:9D:B8:EA:FC:C8:F4:38:9B:54:13:1E:2A:DF:54:7F:22:CC:28:C5:24:8B:BB:F6:90:C9:31:96:6E:98:3E:45:0F:5C:2E:6A:92:35:42:85:C5:84:67:24:AA:7A:CE:48:44:2C:8F:28:D6:C8:E9:4E:26:97:70:55:CF:3A:91:5C:DD:54:10:E2:23:C2:4B:FF:19:53:21:E4:53:84:17:2C:3C:AA:38:39:AC:C7:30:37:45:A9:44:7B:95:86:4C:34:7C:3B:93:46:C6:F2:7D:C4:62:FA:B4:9B:3F:61:78:A8:8A:61:46:28:B4:DE:CA:A1:A3:7B:46:77:60:C3:03:26:61:91:8E:14:D9:AE:9C:FF:20:D6:93:69:89:6E:E1:1B:32:5B:BE:F9:7F:16:2B:BC:54:18:4E:00:4D:91:5B:DE:0B:D2:A8:ED:A8:AC:39:E6:F9:79:21:AB:D4:F2:5D:78:6C:D7:FF:70:ED:B6:2F:1F:07:1A:62:E1:38:6C:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030004Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.011) 0:20:14.965 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.018) 0:20:14.983 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.010) 0:20:14.994 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.018) 0:20:15.012 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.020) 0:20:15.033 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.020) 0:20:15.054 ******* 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.055915", "end": "2024-02-18 03:00:08.826127", "rc": 0, "start": "2024-02-18 03:00:08.770212" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.184) 0:20:15.238 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:2 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.020) 0:20:15.259 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:9 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.009) 0:20:15.269 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:14 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.010) 0:20:15.279 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Sunday 18 February 2024 03:00:08 +0000 (0:00:00.010) 0:20:15.290 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:28 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.381) 0:20:15.671 ******* 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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:38 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.008) 0:20:15.680 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225205.2144992, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "430201ab4b3f60f40b99fca82ca39a91b7369b5e", "ctime": 1708225205.2114992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225205.2114992, "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": "473808124", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:43 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.141) 0:20:15.822 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:49 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.010) 0:20:15.833 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:59 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.020) 0:20:15.853 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:65 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.019) 0:20:15.872 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1708225205.1675007, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "83f9d81e6f98798c3d5df4883ec9b43c5a692808", "ctime": 1708225205.2114992, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 12604811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1708225205.2114992, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "1900716901", "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-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:70 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.140) 0:20:16.013 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:76 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.011) 0:20:16.024 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.020) 0:20:16.045 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "83:96:9A:96:E0:83:28:E5:CB:D1:5D:A6:75:E6:AC:9F:81:F9:BC:B3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:8D:D8:39:15:6C:55:F4:7E:5D:BB:B2:AC:72:8A:BE:E5:F0:0C:07:30:19:CA:D4:3B:D3:F1:CE:5F:8A:35:A3:5E:03:49:50:85:6C:4F:2B:5C:F3:70:54:3D:94:8C:A3:59:1E:0E:41:DB:F2:9E:6B:15:FE:13:8D:41:5E:0E:47:A8:A9:74:5E:3C:A4:B1:BE:9B:40:0D:CA:6C:57:E9:90:83:BD:E8:3B:51:E3:76:0C:C8:70:3B:AF:5D:4F:9C:06:65:39:41:1C:0E:07:5A:FE:C0:58:6D:4D:6A:AD:A8:29:1E:E6:1C:4C:AC:40:5A:2D:BE:1E:08:1F:B8:AC:FD:CC:D9:F8:59:F3:3B:D0:36:69:74:D1:A2:30:2E:40:CB:AC:9C:3F:B5:6A:32:8B:FA:A1:F3:52:B7:1B:B7:2C:A0:32:F1:2B:59:2C:E5:7D:95:51:F3:84:CF:8F:DA:2E:35:89:9D:A2:2A:76:53:AA:AE:9D:7B:CB:2D:99:4D:28:A3:25:02:88:13:EC:96:65:23:2B:0E:F2:6E:CF:B6:0A:4A:6D:A7:88:3B:FE:BA:A7:DE:2C:A1:E6:8D:10:C0:2E:87:3F:73:4B:C5:23:E2:02:45:F9:3A:45:38:D4:87:9C:5A:B7:46:D9:CB:3C:D9:2D:2D:B2:31:D8:6D:16:25:0B:AB:86" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030005Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:92 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.208) 0:20:16.253 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:89:DF:67:AC:4F:6D:61:74:1C:2C:9F:4C:A9:F0:A8:28:09:A4:D8" }, "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": "83:96:9A:96:E0:83:28:E5:CB:D1:5D:A6:75:E6:AC:9F:81:F9:BC:B3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:8D:D8:39:15:6C:55:F4:7E:5D:BB:B2:AC:72:8A:BE:E5:F0:0C:07:30:19:CA:D4:3B:D3:F1:CE:5F:8A:35:A3:5E:03:49:50:85:6C:4F:2B:5C:F3:70:54:3D:94:8C:A3:59:1E:0E:41:DB:F2:9E:6B:15:FE:13:8D:41:5E:0E:47:A8:A9:74:5E:3C:A4:B1:BE:9B:40:0D:CA:6C:57:E9:90:83:BD:E8:3B:51:E3:76:0C:C8:70:3B:AF:5D:4F:9C:06:65:39:41:1C:0E:07:5A:FE:C0:58:6D:4D:6A:AD:A8:29:1E:E6:1C:4C:AC:40:5A:2D:BE:1E:08:1F:B8:AC:FD:CC:D9:F8:59:F3:3B:D0:36:69:74:D1:A2:30:2E:40:CB:AC:9C:3F:B5:6A:32:8B:FA:A1:F3:52:B7:1B:B7:2C:A0:32:F1:2B:59:2C:E5:7D:95:51:F3:84:CF:8F:DA:2E:35:89:9D:A2:2A:76:53:AA:AE:9D:7B:CB:2D:99:4D:28:A3:25:02:88:13:EC:96:65:23:2B:0E:F2:6E:CF:B6:0A:4A:6D:A7:88:3B:FE:BA:A7:DE:2C:A1:E6:8D:10:C0:2E:87:3F:73:4B:C5:23:E2:02:45:F9:3A:45:38:D4:87:9C:5A:B7:46:D9:CB:3C:D9:2D:2D:B2:31:D8:6D:16:25:0B:AB:86" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250218030003Z", "not_valid_before": "20240218030005Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:96 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.011) 0:20:16.264 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:104 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.019) 0:20:16.284 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:112 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.010) 0:20:16.294 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:119 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.018) 0:20:16.312 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:130 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.021) 0:20:16.334 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 Sunday 18 February 2024 03:00:09 +0000 (0:00:00.020) 0:20:16.354 ******* 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.056201", "end": "2024-02-18 03:00:10.127908", "rc": 0, "start": "2024-02-18 03:00:10.071707" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:152 Sunday 18 February 2024 03:00:10 +0000 (0:00:00.185) 0:20:16.540 ******* 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:00:10 +0000 (0:00:00.023) 0:20:16.563 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed - 604.33s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed - 603.52s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.03s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 0.55s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tests_many_self_signed.yml:18 ------------ fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.53s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.43s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.38s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.38s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.36s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.21s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.21s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.21s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.19s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.18s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.18s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.15s /WORKDIR/git-weekly-ci_k7dfh_k/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.14s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.14s /WORKDIR/git-weekly-ci_k7dfh_k/tests/tasks/assert_certificate_parameters.yml:38 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---