# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_no_auto_renew.yml ********************************************** 2 plays in /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:2 Saturday 13 July 2024 13:32:46 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.669) 0:00:00.683 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for sut TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.010) 0:00:00.694 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.017) 0:00:00.712 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.245) 0:00:00.957 ********* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.021) 0:00:00.979 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 13 July 2024 13:32:47 +0000 (0:00:00.031) 0:00:01.010 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 13 July 2024 13:32:51 +0000 (0:00:03.985) 0:00:04.996 ********* 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-client-1.51.0-9.el8.x86_64", "Installed: xmlrpc-c-1.51.0-9.el8.x86_64" ] } lsrpackages: certmonger TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 13 July 2024 13:32:55 +0000 (0:00:04.206) 0:00:09.203 ********* 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 [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 13 July 2024 13:32:56 +0000 (0:00:00.290) 0:00:09.494 ********* 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 [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 13 July 2024 13:32:56 +0000 (0:00:00.207) 0:00:09.701 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target systemd-journald.socket dbus.socket basic.target system.slice sysinit.target dbus.service network.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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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": "system.slice sysinit.target dbus.socket", "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": "22405", "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 [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 13 July 2024 13:32:56 +0000 (0:00:00.648) 0:00:10.349 ********* 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). TASK [linux-system-roles.certificate : Slurp the contents of the files] ******** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 13 July 2024 13:32:58 +0000 (0:00:01.252) 0:00:11.601 ********* skipping: [sut] => (item=['cert', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Create return data] ********************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.032) 0:00:11.634 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.019) 0:00:11.654 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.019) 0:00:11.674 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:17 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.023) 0:00:11.698 ********* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:42 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.480) 0:00:12.178 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.035) 0:00:12.213 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.008) 0:00:12.222 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.018) 0:00:12.240 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.018) 0:00:12.259 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:32:58 +0000 (0:00:00.018) 0:00:12.277 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:33:01 +0000 (0:00:02.455) 0:00:14.733 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720877577.625488, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4bce59a544910d3baa51542cf94bae60c518de3a", "ctime": 1720877577.6224883, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894939, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720877577.6224883, "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": "2461865859", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.197) 0:00:14.930 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.020) 0:00:14.951 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.021) 0:00:14.972 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.020) 0:00:14.993 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720877577.5744903, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7ac2d5e9c735c9e0f9708f782d0e90c97012c99a", "ctime": 1720877577.6224883, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720877577.6224883, "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": "1174528058", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.203) 0:00:15.196 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.019) 0:00:15.216 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:33:01 +0000 (0:00:00.021) 0:00:15.237 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BD:09:6A:BF:B7:E6:5E:4A:FD:3B:32:B0:08:29:E7:6D:24:BD:20:FF" }, "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": "9C:D8:26:88:98:BA:32:2C:25:62:ED:F3:30:DD:57:CD:58:EB:2A:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:D1:0C:76:C3:97:13:75:4C:3F:6E:94:5B:2F:85:66:3E:6C:9E:5A:8D:42:B2:10:DF:DE:89:A4:5E:F3:6B:4F:FE:50:2C:49:B8:E4:BB:7B:09:65:8B:96:B2:33:87:BC:08:73:5C:41:53:66:E6:1B:A1:0C:C7:F8:5F:73:25:92:39:AC:BF:CA:B9:E8:F2:7E:BE:6C:7F:7E:DE:FB:79:17:1E:2A:33:25:C7:A1:5A:09:08:8D:30:0B:2A:79:F6:81:DE:99:AC:4D:F1:19:47:0A:C9:40:5D:56:54:00:00:72:9E:21:B0:9F:C3:0C:17:3D:AF:26:1B:EA:BC:4A:78:64:7D:0A:C0:2E:35:9D:CD:09:EC:A4:61:14:FF:C3:2C:7B:8C:0C:55:74:80:D6:D3:90:9E:EF:49:26:61:56:56:5C:16:27:2C:B3:F1:7B:68:8C:94:CD:24:6D:DC:0E:B8:84:28:A0:AA:CD:3C:43:58:BA:1C:B6:1D:3F:D3:AB:B8:16:34:00:DF:20:7A:2A:BC:32:4D:70:87:07:5E:82:F9:A8:BE:1D:57:D1:C8:1F:95:A3:05:24:76:76:8D:2A:0C:F4:31:99:9C:11:32:BC:17:EF:A6:D0:7C:3F:05:C6:6F:96:02:66:80:84:51:94:56:83:22:89:6B:43:C9:1A:AE:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713133257Z", "not_valid_before": "20240713133257Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.433) 0:00:15.671 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BD:09:6A:BF:B7:E6:5E:4A:FD:3B:32:B0:08:29:E7:6D:24:BD:20:FF" }, "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": "9C:D8:26:88:98:BA:32:2C:25:62:ED:F3:30:DD:57:CD:58:EB:2A:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:D1:0C:76:C3:97:13:75:4C:3F:6E:94:5B:2F:85:66:3E:6C:9E:5A:8D:42:B2:10:DF:DE:89:A4:5E:F3:6B:4F:FE:50:2C:49:B8:E4:BB:7B:09:65:8B:96:B2:33:87:BC:08:73:5C:41:53:66:E6:1B:A1:0C:C7:F8:5F:73:25:92:39:AC:BF:CA:B9:E8:F2:7E:BE:6C:7F:7E:DE:FB:79:17:1E:2A:33:25:C7:A1:5A:09:08:8D:30:0B:2A:79:F6:81:DE:99:AC:4D:F1:19:47:0A:C9:40:5D:56:54:00:00:72:9E:21:B0:9F:C3:0C:17:3D:AF:26:1B:EA:BC:4A:78:64:7D:0A:C0:2E:35:9D:CD:09:EC:A4:61:14:FF:C3:2C:7B:8C:0C:55:74:80:D6:D3:90:9E:EF:49:26:61:56:56:5C:16:27:2C:B3:F1:7B:68:8C:94:CD:24:6D:DC:0E:B8:84:28:A0:AA:CD:3C:43:58:BA:1C:B6:1D:3F:D3:AB:B8:16:34:00:DF:20:7A:2A:BC:32:4D:70:87:07:5E:82:F9:A8:BE:1D:57:D1:C8:1F:95:A3:05:24:76:76:8D:2A:0C:F4:31:99:9C:11:32:BC:17:EF:A6:D0:7C:3F:05:C6:6F:96:02:66:80:84:51:94:56:83:22:89:6B:43:C9:1A:AE:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713133257Z", "not_valid_before": "20240713133257Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.021) 0:00:15.693 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.022) 0:00:15.715 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.021) 0:00:15.736 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.021) 0:00:15.757 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.024) 0:00:15.781 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.025) 0:00:15.807 ********* 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.053837", "end": "2024-07-13 13:33:02.737309", "rc": 0, "start": "2024-07-13 13:33:02.683472" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.314) 0:00:16.122 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.022) 0:00:16.144 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.008) 0:00:16.153 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.026) 0:00:16.179 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.021) 0:00:16.201 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:33:02 +0000 (0:00:00.023) 0:00:16.224 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:33:05 +0000 (0:00:02.579) 0:00:18.804 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720877578.1524644, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "32e652d71b666a46b8b03a2c67cb61e4e88fdd22", "ctime": 1720877578.1494646, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894943, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720877578.1494646, "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": "3215803055", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.197) 0:00:19.001 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.020) 0:00:19.022 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.023) 0:00:19.045 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.022) 0:00:19.067 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720877578.1054666, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "63d24d2a93ad6bd9beda939a3e9a482f041586e2", "ctime": 1720877578.1494646, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720877578.1494646, "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": "2882008044", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.200) 0:00:19.268 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.020) 0:00:19.289 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:33:05 +0000 (0:00:00.022) 0:00:19.312 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BD:09:6A:BF:B7:E6:5E:4A:FD:3B:32:B0:08:29:E7:6D:24:BD:20:FF" }, "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": "73:37:A6:54:75:47:8A:78:24:09:66:D5:38:87:33:98:6D:2A:C7:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "78:F9:5C:97:84:52:91:B3:2E:1E:28:63:56:3F:D9:34:96:13:CA:2A:73:AB:CB:7C:DD:E5:57:05:37:F5:93:3E:10:76:B4:03:7D:7D:AF:D7:CE:37:0E:BC:9D:92:75:E2:73:09:58:F4:CC:20:D5:BB:21:75:99:4A:51:6C:C9:C6:74:46:D0:F3:2E:A7:BA:69:9D:2B:33:DE:06:BA:A9:D0:0F:9D:6F:74:07:52:FD:4B:81:BB:18:1C:80:60:62:1F:77:89:C8:0D:31:82:EE:D4:42:E7:5D:DF:FB:44:8B:FE:DD:F8:AD:DB:4F:22:9F:07:08:F0:10:62:6A:DA:34:02:77:26:A5:EB:C6:56:02:4F:57:04:F0:21:8E:5E:14:1E:1B:4E:17:0C:E3:E1:D2:DF:19:CC:24:9B:62:D2:9F:F9:C0:BD:E5:9B:B8:DE:38:4F:E0:8C:DE:6B:5E:0B:BA:5B:79:6F:F9:2E:05:20:73:34:4A:B3:33:7C:B7:98:58:24:3A:11:C3:0A:39:BC:DB:C8:9B:94:79:DB:0E:F2:1A:9D:51:B0:95:68:FB:04:F4:FD:7E:06:92:44:D1:2D:4E:7B:48:78:9E:F6:3F:D3:13:86:F4:BE:FD:45:9B:A5:00:3F:3D:1A:23:0E:CD:17:6F:4A:21:02:3D:34:8C:48:34:E5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713133257Z", "not_valid_before": "20240713133258Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.261) 0:00:19.573 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BD:09:6A:BF:B7:E6:5E:4A:FD:3B:32:B0:08:29:E7:6D:24:BD:20:FF" }, "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": "73:37:A6:54:75:47:8A:78:24:09:66:D5:38:87:33:98:6D:2A:C7:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "78:F9:5C:97:84:52:91:B3:2E:1E:28:63:56:3F:D9:34:96:13:CA:2A:73:AB:CB:7C:DD:E5:57:05:37:F5:93:3E:10:76:B4:03:7D:7D:AF:D7:CE:37:0E:BC:9D:92:75:E2:73:09:58:F4:CC:20:D5:BB:21:75:99:4A:51:6C:C9:C6:74:46:D0:F3:2E:A7:BA:69:9D:2B:33:DE:06:BA:A9:D0:0F:9D:6F:74:07:52:FD:4B:81:BB:18:1C:80:60:62:1F:77:89:C8:0D:31:82:EE:D4:42:E7:5D:DF:FB:44:8B:FE:DD:F8:AD:DB:4F:22:9F:07:08:F0:10:62:6A:DA:34:02:77:26:A5:EB:C6:56:02:4F:57:04:F0:21:8E:5E:14:1E:1B:4E:17:0C:E3:E1:D2:DF:19:CC:24:9B:62:D2:9F:F9:C0:BD:E5:9B:B8:DE:38:4F:E0:8C:DE:6B:5E:0B:BA:5B:79:6F:F9:2E:05:20:73:34:4A:B3:33:7C:B7:98:58:24:3A:11:C3:0A:39:BC:DB:C8:9B:94:79:DB:0E:F2:1A:9D:51:B0:95:68:FB:04:F4:FD:7E:06:92:44:D1:2D:4E:7B:48:78:9E:F6:3F:D3:13:86:F4:BE:FD:45:9B:A5:00:3F:3D:1A:23:0E:CD:17:6F:4A:21:02:3D:34:8C:48:34:E5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713133257Z", "not_valid_before": "20240713133258Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.020) 0:00:19.594 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.022) 0:00:19.616 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.020) 0:00:19.637 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.021) 0:00:19.658 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.025) 0:00:19.684 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.024) 0:00:19.709 ********* 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.053510", "end": "2024-07-13 13:33:06.566572", "rc": 0, "start": "2024-07-13 13:33:06.513062" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.241) 0:00:19.951 ********* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=49 changed=6 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Saturday 13 July 2024 13:33:06 +0000 (0:00:00.021) 0:00:19.972 ********* =============================================================================== linux-system-roles.certificate : Ensure provider packages are installed --- 4.21s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 3.99s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.58s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.46s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure certificate requests ------------ 1.25s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:2 ---------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.65s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:17 --------------- Parse certificate ------------------------------------------------------- 0.43s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.31s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.29s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Parse certificate ------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 linux-system-roles.certificate : Check if system is ostree -------------- 0.25s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.21s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Verify each certificate ------------------------------------------------- 0.04s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_no_auto_renew.yml:42 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---