# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_no_auto_renew.yml ********************************************** 2 plays in /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml:2 Saturday 28 January 2023 18:36:21 +0000 (0:00:00.183) 0:00:00.183 ****** ok: [sut] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 28 January 2023 18:36:27 +0000 (0:00:05.370) 0:00:05.554 ****** included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.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/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 28 January 2023 18:36:27 +0000 (0:00:00.319) 0:00:05.873 ****** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 28 January 2023 18:36:29 +0000 (0:00:01.897) 0:00:07.771 ****** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 28 January 2023 18:36:30 +0000 (0:00:01.108) 0:00:08.879 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Saturday 28 January 2023 18:36:37 +0000 (0:00:06.818) 0:00:15.698 ****** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.17-2.el8.x86_64", "Installed: xmlrpc-c-1.51.0-8.el8.x86_64", "Installed: xmlrpc-c-client-1.51.0-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Saturday 28 January 2023 18:36:42 +0000 (0:00:05.327) 0:00:21.025 ****** 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/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Saturday 28 January 2023 18:36:45 +0000 (0:00:02.746) 0:00:23.772 ****** 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/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Saturday 28 January 2023 18:36:47 +0000 (0:00:02.304) 0:00:26.076 ****** 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": "systemd-journald.socket system.slice sysinit.target dbus.socket dbus.service network.target syslog.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/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 /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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Saturday 28 January 2023 18:36:54 +0000 (0:00:07.167) 0:00:33.243 ****** changed: [sut] => (item={'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } } MSG: Certificate requested (new). META: role_complete for sut META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml:17 Saturday 28 January 2023 18:37:03 +0000 (0:00:08.951) 0:00:42.259 ****** ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml:42 Saturday 28 January 2023 18:37:06 +0000 (0:00:02.322) 0:00:44.582 ****** included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_no_auto_renew.crt', 'key_path': '/etc/pki/tls/private/mycert_no_auto_renew.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': False}) included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/defaultcert.crt', 'key_path': '/etc/pki/tls/private/defaultcert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': True}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 28 January 2023 18:37:07 +0000 (0:00:01.174) 0:00:45.756 ****** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Saturday 28 January 2023 18:37:08 +0000 (0:00:00.636) 0:00:46.393 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Saturday 28 January 2023 18:37:11 +0000 (0:00:02.972) 0:00:49.365 ****** changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting pip Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB) Installing collected packages: pip Found existing installation: pip 9.0.3 Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 Successfully installed pip-21.3.1 STDERR: You are using pip version 21.3.1, however version 22.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. TASK [Install certreader] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 28 January 2023 18:37:19 +0000 (0:00:08.505) 0:00:57.871 ****** changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "cryptography<35", "certreader>=0.1.1" ], "name": [ "cryptography<35", "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting cryptography<35 Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB) Collecting certreader>=0.1.1 Downloading certreader-0.1.1.tar.gz (4.4 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting cffi>=1.12 Downloading cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB) Collecting pyasn1 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pyyaml Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) Using legacy 'setup.py install' for certreader, since package 'wheel' is not installed. Installing collected packages: pycparser, cffi, pyyaml, pyasn1, cryptography, certreader Running setup.py install for certreader: started Running setup.py install for certreader: finished with status 'done' Successfully installed certreader-0.1.1 cffi-1.15.1 cryptography-3.4.8 pyasn1-0.4.8 pycparser-2.21 pyyaml-6.0 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Saturday 28 January 2023 18:37:25 +0000 (0:00:05.843) 0:01:03.715 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931021.579296, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "68e35b2a2c19c220c8ea38abad6a7be5aebee41e", "ctime": 1674931021.574296, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 897, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931021.574296, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1877591076", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:31 Saturday 28 January 2023 18:37:36 +0000 (0:00:10.980) 0:01:14.695 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:37 Saturday 28 January 2023 18:37:37 +0000 (0:00:01.309) 0:01:16.005 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:47 Saturday 28 January 2023 18:37:39 +0000 (0:00:01.432) 0:01:17.437 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:53 Saturday 28 January 2023 18:37:40 +0000 (0:00:00.962) 0:01:18.399 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931021.4712942, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "22713975b3bf9a96340e1bc2ad37eb53cdf745c2", "ctime": 1674931021.574296, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8389123, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931021.574296, "nlink": 1, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3246893124", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:58 Saturday 28 January 2023 18:37:42 +0000 (0:00:02.737) 0:01:21.137 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:64 Saturday 28 January 2023 18:37:43 +0000 (0:00:00.884) 0:01:22.022 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Saturday 28 January 2023 18:37:45 +0000 (0:00:01.787) 0:01:23.809 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_no_auto_renew.crt" ], "delta": "0:00:00.327927", "end": "2023-01-28 18:37:53.081747", "rc": 0, "start": "2023-01-28 18:37:52.753820" } STDOUT: { "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "extensions": { "keyUsage": { "value": [ "digital_signature", "key_encipherment" ], "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "www.example.com" } ], "critical": false }, "extendedKeyUsage": { "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" } ], "critical": false }, "basicConstraints": { "value": { "ca": false }, "critical": true }, "subjectKeyIdentifier": { "value": "F0:73:0E:3C:E3:26:18:61:6E:82:8F:BB:6D:78:38:56:09:EF:77:F2", "critical": false }, "authorityKeyIdentifier": { "value": "EA:A2:03:D5:B1:EC:7B:B0:07:FF:9B:B0:6D:06:ED:8A:83:35:AF:0B", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8B:47:E4:0D:28:86:4A:4E:AF:B9:CA:73:67:F6:BC:B3:34:39:14:D1:57:6F:C7:CD:7E:23:9C:BB:70:E0:CD:D8:4E:37:94:2F:A8:45:55:44:5A:A0:DD:CE:BC:B8:BA:8B:C3:F2:64:B2:0D:F8:EC:6D:FA:9B:82:91:CF:98:B5:6B:B2:96:EB:68:C5:D9:BF:EB:61:E9:69:48:88:E0:A7:02:58:BF:60:1E:AB:BF:4E:1B:50:B1:CD:DD:17:83:88:54:67:1E:A6:91:28:6D:98:DA:DB:BC:AC:A7:06:A9:ED:D7:EF:E5:EC:44:91:17:27:B8:9D:98:73:54:B2:8D:94:3B:F6:08:E1:30:90:4C:90:90:C8:CD:A1:F7:57:64:CB:5C:4B:4E:38:BF:41:A4:81:9C:81:D0:00:CE:7D:3C:2E:C7:97:53:27:36:03:9D:3E:A8:39:3D:D2:2C:7E:BC:20:B5:F5:4A:1B:35:41:65:C8:1C:87:07:32:2D:67:93:FB:EC:EA:46:98:3E:C5:4B:8B:FD:26:2C:48:F1:24:54:A2:4D:04:9E:61:16:00:E1:2B:BE:CA:7D:BC:19:D7:2E:70:CC:CF:92:09:D9:EA:DE:54:37:50:36:62:49:37:1F:08:D4:3E:42:5F:9B:80:17:3C:30:E2:34:18:8A:62:36:96:D8" }, "key_size": 2048, "validity": { "not_valid_after": "2024-01-28 18:36:54", "not_valid_before": "2023-01-28 18:37:01" } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:79 Saturday 28 January 2023 18:37:53 +0000 (0:00:07.929) 0:01:31.739 ****** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "EA:A2:03:D5:B1:EC:7B:B0:07:FF:9B:B0:6D:06:ED:8A:83:35:AF:0B" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F0:73:0E:3C:E3:26:18:61:6E:82:8F:BB:6D:78:38:56:09:EF:77:F2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8B:47:E4:0D:28:86:4A:4E:AF:B9:CA:73:67:F6:BC:B3:34:39:14:D1:57:6F:C7:CD:7E:23:9C:BB:70:E0:CD:D8:4E:37:94:2F:A8:45:55:44:5A:A0:DD:CE:BC:B8:BA:8B:C3:F2:64:B2:0D:F8:EC:6D:FA:9B:82:91:CF:98:B5:6B:B2:96:EB:68:C5:D9:BF:EB:61:E9:69:48:88:E0:A7:02:58:BF:60:1E:AB:BF:4E:1B:50:B1:CD:DD:17:83:88:54:67:1E:A6:91:28:6D:98:DA:DB:BC:AC:A7:06:A9:ED:D7:EF:E5:EC:44:91:17:27:B8:9D:98:73:54:B2:8D:94:3B:F6:08:E1:30:90:4C:90:90:C8:CD:A1:F7:57:64:CB:5C:4B:4E:38:BF:41:A4:81:9C:81:D0:00:CE:7D:3C:2E:C7:97:53:27:36:03:9D:3E:A8:39:3D:D2:2C:7E:BC:20:B5:F5:4A:1B:35:41:65:C8:1C:87:07:32:2D:67:93:FB:EC:EA:46:98:3E:C5:4B:8B:FD:26:2C:48:F1:24:54:A2:4D:04:9E:61:16:00:E1:2B:BE:CA:7D:BC:19:D7:2E:70:CC:CF:92:09:D9:EA:DE:54:37:50:36:62:49:37:1F:08:D4:3E:42:5F:9B:80:17:3C:30:E2:34:18:8A:62:36:96:D8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "2024-01-28 18:36:54", "not_valid_before": "2023-01-28 18:37:01" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:83 Saturday 28 January 2023 18:37:55 +0000 (0:00:01.867) 0:01:33.606 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:91 Saturday 28 January 2023 18:37:56 +0000 (0:00:01.592) 0:01:35.199 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:99 Saturday 28 January 2023 18:37:57 +0000 (0:00:00.939) 0:01:36.138 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:106 Saturday 28 January 2023 18:37:59 +0000 (0:00:01.621) 0:01:37.759 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:118 Saturday 28 January 2023 18:38:00 +0000 (0:00:01.051) 0:01:38.810 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:132 Saturday 28 January 2023 18:38:02 +0000 (0:00:01.767) 0:01:40.578 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.070028", "end": "2023-01-28 18:38:03.824362", "rc": 0, "start": "2023-01-28 18:38:03.754334" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 Saturday 28 January 2023 18:38:04 +0000 (0:00:02.083) 0:01:42.662 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 28 January 2023 18:38:07 +0000 (0:00:02.804) 0:01:45.466 ****** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Saturday 28 January 2023 18:38:07 +0000 (0:00:00.613) 0:01:46.080 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Saturday 28 January 2023 18:38:10 +0000 (0:00:02.819) 0:01:48.900 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: pip in ./certificate-tests-venv/lib/python3.6/site-packages (21.3.1) TASK [Install certreader] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 28 January 2023 18:38:13 +0000 (0:00:02.440) 0:01:51.341 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "cryptography<35", "certreader>=0.1.1" ], "name": [ "cryptography<35", "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: cryptography<35 in ./certificate-tests-venv/lib/python3.6/site-packages (3.4.8) Requirement already satisfied: certreader>=0.1.1 in ./certificate-tests-venv/lib/python3.6/site-packages (0.1.1) Requirement already satisfied: cffi>=1.12 in ./certificate-tests-venv/lib/python3.6/site-packages (from cryptography<35) (1.15.1) Requirement already satisfied: pyasn1 in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (0.4.8) Requirement already satisfied: pyyaml in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (6.0) Requirement already satisfied: pycparser in ./certificate-tests-venv/lib/python3.6/site-packages (from cffi>=1.12->cryptography<35) (2.21) TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Saturday 28 January 2023 18:38:14 +0000 (0:00:01.728) 0:01:53.069 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931023.2843282, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "adc56fc2975f767a3331d3eb45cec6202e0524e5", "ctime": 1674931023.2803283, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 901, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931023.2803283, "nlink": 1, "path": "/etc/pki/tls/certs/defaultcert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "3704343743", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:31 Saturday 28 January 2023 18:38:17 +0000 (0:00:02.194) 0:01:55.264 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:37 Saturday 28 January 2023 18:38:18 +0000 (0:00:01.175) 0:01:56.439 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:47 Saturday 28 January 2023 18:38:19 +0000 (0:00:01.103) 0:01:57.542 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:53 Saturday 28 January 2023 18:38:20 +0000 (0:00:01.142) 0:01:58.685 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931023.222327, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "612f87b668d780cc1da0fa26c384ce008eae7c35", "ctime": 1674931023.279328, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8389970, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931023.279328, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1753377300", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:58 Saturday 28 January 2023 18:38:22 +0000 (0:00:01.876) 0:02:00.562 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:64 Saturday 28 January 2023 18:38:23 +0000 (0:00:00.990) 0:02:01.552 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Saturday 28 January 2023 18:38:26 +0000 (0:00:03.103) 0:02:04.655 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/defaultcert.crt" ], "delta": "0:00:00.321202", "end": "2023-01-28 18:38:28.173390", "rc": 0, "start": "2023-01-28 18:38:27.852188" } STDOUT: { "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "extensions": { "keyUsage": { "value": [ "digital_signature", "key_encipherment" ], "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "www.example.com" } ], "critical": false }, "extendedKeyUsage": { "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" } ], "critical": false }, "basicConstraints": { "value": { "ca": false }, "critical": true }, "subjectKeyIdentifier": { "value": "6F:0F:22:FF:63:DE:07:B9:C3:3E:77:A2:A3:51:96:D1:44:8F:B5:0C", "critical": false }, "authorityKeyIdentifier": { "value": "EA:A2:03:D5:B1:EC:7B:B0:07:FF:9B:B0:6D:06:ED:8A:83:35:AF:0B", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:09:B3:BF:18:37:EA:AF:DE:81:C4:55:06:E4:62:73:A2:8C:E9:D4:7F:FE:87:99:70:D8:49:EC:33:82:82:4F:74:56:1C:6F:8F:D5:DF:3D:53:B6:43:92:02:AB:35:39:08:88:CE:31:61:62:BD:EF:94:13:8E:F1:4D:38:12:8E:0B:BC:94:35:23:A8:7E:80:83:2D:0F:EA:DD:A2:43:3E:F4:7F:7F:7C:1A:38:E0:86:52:9B:4A:63:71:E6:66:72:F1:40:C6:0B:C1:F6:96:83:C9:68:26:8F:D2:2B:9D:F2:0F:E0:97:4F:90:34:3A:EA:FC:8E:4E:AA:0E:00:79:38:2B:6E:E1:6B:58:B5:4E:6D:22:8D:6B:9C:C1:C7:01:B2:C5:33:FE:2A:2E:C9:0F:D6:1F:76:18:5F:76:74:A5:CF:AF:4F:E4:4A:37:7F:4C:95:96:CC:EC:7B:F4:19:61:8C:D2:24:C3:60:05:2C:CB:F4:62:BC:6C:A7:16:B4:38:C1:3B:FB:66:6C:18:B4:CE:F1:52:A1:FA:AD:81:44:52:3B:46:8E:AC:BE:7A:CA:F8:FD:22:B8:85:AF:46:11:E6:E1:5B:96:81:A0:BF:3D:C1:16:C7:4F:98:B5:B5:98:E3:2C:CF:16:97:2F:93:89:CA:28:49:EB:30:31:4F:C0:37:69" }, "key_size": 2048, "validity": { "not_valid_after": "2024-01-28 18:36:54", "not_valid_before": "2023-01-28 18:37:03" } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:79 Saturday 28 January 2023 18:38:28 +0000 (0:00:02.281) 0:02:06.937 ****** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "EA:A2:03:D5:B1:EC:7B:B0:07:FF:9B:B0:6D:06:ED:8A:83:35:AF:0B" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "6F:0F:22:FF:63:DE:07:B9:C3:3E:77:A2:A3:51:96:D1:44:8F:B5:0C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:09:B3:BF:18:37:EA:AF:DE:81:C4:55:06:E4:62:73:A2:8C:E9:D4:7F:FE:87:99:70:D8:49:EC:33:82:82:4F:74:56:1C:6F:8F:D5:DF:3D:53:B6:43:92:02:AB:35:39:08:88:CE:31:61:62:BD:EF:94:13:8E:F1:4D:38:12:8E:0B:BC:94:35:23:A8:7E:80:83:2D:0F:EA:DD:A2:43:3E:F4:7F:7F:7C:1A:38:E0:86:52:9B:4A:63:71:E6:66:72:F1:40:C6:0B:C1:F6:96:83:C9:68:26:8F:D2:2B:9D:F2:0F:E0:97:4F:90:34:3A:EA:FC:8E:4E:AA:0E:00:79:38:2B:6E:E1:6B:58:B5:4E:6D:22:8D:6B:9C:C1:C7:01:B2:C5:33:FE:2A:2E:C9:0F:D6:1F:76:18:5F:76:74:A5:CF:AF:4F:E4:4A:37:7F:4C:95:96:CC:EC:7B:F4:19:61:8C:D2:24:C3:60:05:2C:CB:F4:62:BC:6C:A7:16:B4:38:C1:3B:FB:66:6C:18:B4:CE:F1:52:A1:FA:AD:81:44:52:3B:46:8E:AC:BE:7A:CA:F8:FD:22:B8:85:AF:46:11:E6:E1:5B:96:81:A0:BF:3D:C1:16:C7:4F:98:B5:B5:98:E3:2C:CF:16:97:2F:93:89:CA:28:49:EB:30:31:4F:C0:37:69" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "2024-01-28 18:36:54", "not_valid_before": "2023-01-28 18:37:03" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:83 Saturday 28 January 2023 18:38:29 +0000 (0:00:01.080) 0:02:08.017 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:91 Saturday 28 January 2023 18:38:31 +0000 (0:00:01.515) 0:02:09.533 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:99 Saturday 28 January 2023 18:38:31 +0000 (0:00:00.619) 0:02:10.153 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:106 Saturday 28 January 2023 18:38:32 +0000 (0:00:00.897) 0:02:11.050 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:118 Saturday 28 January 2023 18:38:33 +0000 (0:00:01.106) 0:02:12.156 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:132 Saturday 28 January 2023 18:38:35 +0000 (0:00:01.376) 0:02:13.533 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.069436", "end": "2023-01-28 18:38:36.756899", "rc": 0, "start": "2023-01-28 18:38:36.687463" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 Saturday 28 January 2023 18:38:36 +0000 (0:00:01.622) 0:02:15.155 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=52 changed=8 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Saturday 28 January 2023 18:38:38 +0000 (0:00:01.151) 0:02:16.306 ****** =============================================================================== Retrieve certificate file stats ---------------------------------------- 10.98s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 9.02s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Install the package, force upgrade -------------------------------------- 8.51s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Parse certificate ------------------------------------------------------- 7.93s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 fedora.linux_system_roles.certificate : Ensure provider service is running --- 7.17s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 6.82s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Install certreader ------------------------------------------------------ 5.84s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 5.37s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 5.33s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Verify key file owner and group ----------------------------------------- 3.10s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:64 Ensure python3 is installed --------------------------------------------- 2.97s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Ensure python3 is installed --------------------------------------------- 2.82s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Verify certificate auto-renew flag -------------------------------------- 2.80s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 2.75s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Retrieve key file stats ------------------------------------------------- 2.74s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:53 Install the package, force upgrade -------------------------------------- 2.49s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Gathering Facts --------------------------------------------------------- 2.32s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_no_auto_renew.yml:17 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 2.30s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Parse certificate ------------------------------------------------------- 2.28s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Retrieve certificate file stats ----------------------------------------- 2.19s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---