# 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-cixlf5306y/tests/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tests_no_auto_renew.yml:2 Saturday 01 June 2024 13:32:19 +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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.709) 0:00:00.722 ********* included: /WORKDIR/git-weekly-cixlf5306y/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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.012) 0:00:00.735 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.018) 0:00:00.753 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.256) 0:00:01.010 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.021) 0:00:01.031 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 01 June 2024 13:32:20 +0000 (0:00:00.029) 0:00:01.061 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 01 June 2024 13:32:24 +0000 (0:00:03.969) 0:00:05.030 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 01 June 2024 13:32:28 +0000 (0:00:04.415) 0:00:09.446 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 01 June 2024 13:32:29 +0000 (0:00:00.288) 0:00:09.735 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 01 June 2024 13:32:29 +0000 (0:00:00.202) 0:00:09.937 ********* 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": "sysinit.target syslog.target systemd-journald.socket dbus.socket dbus.service basic.target network.target system.slice", "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": "sysinit.target system.slice 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 01 June 2024 13:32:29 +0000 (0:00:00.646) 0:00:10.584 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 01 June 2024 13:32:31 +0000 (0:00:01.440) 0:00:12.024 ********* 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-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.032) 0:00:12.057 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.019) 0:00:12.076 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.019) 0:00:12.096 ********* 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-cixlf5306y/tests/tests_no_auto_renew.yml:17 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.021) 0:00:12.117 ********* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tests_no_auto_renew.yml:42 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.465) 0:00:12.583 ********* included: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.034) 0:00:12.617 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 13:32:31 +0000 (0:00:00.008) 0:00:12.626 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 13:32:32 +0000 (0:00:00.018) 0:00:12.645 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 13:32:32 +0000 (0:00:00.018) 0:00:12.664 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:29 Saturday 01 June 2024 13:32:32 +0000 (0:00:00.017) 0:00:12.681 ********* 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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:40 Saturday 01 June 2024 13:32:34 +0000 (0:00:02.445) 0:00:15.127 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717248750.4734983, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1b8ba9bbd3422ed278b132a6886d5d86d7b1cec7", "ctime": 1717248750.4704986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894942, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717248750.4704986, "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": "1708821471", "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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:45 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.199) 0:00:15.326 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:51 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.021) 0:00:15.347 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:63 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.023) 0:00:15.370 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:69 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.020) 0:00:15.391 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717248750.4225, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "643d30f57e2bb99e4516f67f1667d1bb1e51c8ed", "ctime": 1717248750.4704986, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894913, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717248750.4704986, "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": "2957088307", "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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:74 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.198) 0:00:15.589 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:80 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.022) 0:00:15.612 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 13:32:34 +0000 (0:00:00.024) 0:00:15.636 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B5:75:30:4E:4C:E2:19:1C:2D:B9:3E:F0:BF:F6:B3:32:1B:4B:16:B7" }, "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": "42:02:AA:9A:0D:C4:AA:42:E4:6D:E8:56:07:31:DA:1D:69:32:FC:FD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6C:91:7A:AF:FB:CB:28:25:25:0C:99:78:8A:FA:64:3A:6F:2D:A0:3B:9E:F0:22:B9:32:BF:98:17:52:BC:AA:DD:72:44:9A:8E:BC:63:DE:85:22:DF:37:06:EB:11:FE:7C:90:77:D2:4E:FE:D8:61:5A:DC:41:F2:BE:D3:34:33:00:CA:8A:DF:3C:D8:5D:FF:8E:BC:EF:92:2B:F1:E9:55:34:CD:B1:E3:C3:76:4C:06:79:F0:B3:54:37:B3:63:50:27:35:9F:AB:D5:99:F2:06:EC:AC:62:3F:B0:E3:19:E5:83:59:9B:D8:A6:1A:32:D1:2F:26:2F:C8:FA:16:56:CC:79:30:23:53:44:53:1C:CF:83:E3:63:4C:FD:1E:89:56:B7:15:3A:60:CC:F9:43:F8:7B:C9:C6:60:EB:79:27:D8:34:1D:9B:91:00:35:E6:E0:11:AD:C0:F3:F2:3B:FD:C0:74:68:49:60:FD:31:9D:61:9A:83:C0:04:ED:04:D6:87:25:68:9B:75:C7:D5:F3:B9:19:CB:82:54:6F:D6:CF:70:B3:02:B1:04:16:A2:D3:7E:F8:8E:F5:61:A4:3A:B1:44:AB:CF:4C:F2:30:C0:0F:67:E7:31:3F:69:6A:F5:B5:07:A6:C6:E0:2B:11:B9:AE:09:97:D4:DA:50:AC:B8:0A:07:24" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601133230Z", "not_valid_before": "20240601133230Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:98 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.500) 0:00:16.137 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B5:75:30:4E:4C:E2:19:1C:2D:B9:3E:F0:BF:F6:B3:32:1B:4B:16:B7" }, "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": "42:02:AA:9A:0D:C4:AA:42:E4:6D:E8:56:07:31:DA:1D:69:32:FC:FD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6C:91:7A:AF:FB:CB:28:25:25:0C:99:78:8A:FA:64:3A:6F:2D:A0:3B:9E:F0:22:B9:32:BF:98:17:52:BC:AA:DD:72:44:9A:8E:BC:63:DE:85:22:DF:37:06:EB:11:FE:7C:90:77:D2:4E:FE:D8:61:5A:DC:41:F2:BE:D3:34:33:00:CA:8A:DF:3C:D8:5D:FF:8E:BC:EF:92:2B:F1:E9:55:34:CD:B1:E3:C3:76:4C:06:79:F0:B3:54:37:B3:63:50:27:35:9F:AB:D5:99:F2:06:EC:AC:62:3F:B0:E3:19:E5:83:59:9B:D8:A6:1A:32:D1:2F:26:2F:C8:FA:16:56:CC:79:30:23:53:44:53:1C:CF:83:E3:63:4C:FD:1E:89:56:B7:15:3A:60:CC:F9:43:F8:7B:C9:C6:60:EB:79:27:D8:34:1D:9B:91:00:35:E6:E0:11:AD:C0:F3:F2:3B:FD:C0:74:68:49:60:FD:31:9D:61:9A:83:C0:04:ED:04:D6:87:25:68:9B:75:C7:D5:F3:B9:19:CB:82:54:6F:D6:CF:70:B3:02:B1:04:16:A2:D3:7E:F8:8E:F5:61:A4:3A:B1:44:AB:CF:4C:F2:30:C0:0F:67:E7:31:3F:69:6A:F5:B5:07:A6:C6:E0:2B:11:B9:AE:09:97:D4:DA:50:AC:B8:0A:07:24" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601133230Z", "not_valid_before": "20240601133230Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:102 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.020) 0:00:16.157 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:111 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.022) 0:00:16.179 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:120 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.020) 0:00:16.200 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:127 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.020) 0:00:16.221 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:138 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.022) 0:00:16.244 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:151 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.022) 0:00:16.267 ********* 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.052979", "end": "2024-06-01 13:32:35.911608", "rc": 0, "start": "2024-06-01 13:32:35.858629" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:160 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.304) 0:00:16.572 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.022) 0:00:16.594 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.008) 0:00:16.603 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.017) 0:00:16.620 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 13:32:35 +0000 (0:00:00.017) 0:00:16.637 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:29 Saturday 01 June 2024 13:32:36 +0000 (0:00:00.017) 0:00:16.655 ********* 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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:40 Saturday 01 June 2024 13:32:38 +0000 (0:00:02.441) 0:00:19.096 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717248751.2134783, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9aee6f3569064f98e5a46857c858744213560a04", "ctime": 1717248751.2104783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717248751.2104783, "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": "790668952", "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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:45 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.198) 0:00:19.295 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:51 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.020) 0:00:19.316 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:63 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.022) 0:00:19.339 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:69 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.020) 0:00:19.359 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717248751.1674795, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "82d3c892e5e0ce40c7f9eb52e501b3453f0d8aa5", "ctime": 1717248751.2104783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894944, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717248751.2104783, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "1473600415", "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-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:74 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.196) 0:00:19.555 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:80 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.021) 0:00:19.577 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 13:32:38 +0000 (0:00:00.022) 0:00:19.600 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B5:75:30:4E:4C:E2:19:1C:2D:B9:3E:F0:BF:F6:B3:32:1B:4B:16:B7" }, "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": "FB:5F:DF:49:6A:78:18:A9:B9:81:DB:89:DE:DF:41:8A:B7:6C:B2:0E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:8F:97:EA:D9:26:9F:51:41:18:69:78:DE:F8:A6:39:DA:B3:A4:46:C4:5F:C3:AB:C7:36:67:2B:D7:70:71:F4:A5:73:EE:99:7B:6C:17:0E:4D:1D:A4:4F:19:99:AE:10:B3:87:DF:8D:AA:6A:45:BC:1C:24:38:50:59:6E:A7:CD:0A:73:49:A0:DF:19:CB:CE:F3:01:C9:BC:56:AA:45:36:CB:F8:AD:09:6E:B9:0C:DF:AC:74:17:2E:B1:A4:A0:54:FA:6D:D0:02:9D:24:FE:97:D6:E1:B1:7D:7B:6B:FC:1B:BA:28:21:1B:29:5D:3D:84:81:23:7C:D2:48:1A:B5:95:60:75:37:C0:C9:90:02:54:03:F1:20:79:2C:37:1D:4C:63:5B:0F:56:24:27:0D:4E:E1:7C:4D:5A:BC:70:B3:3B:66:29:80:48:B6:5C:EC:B7:32:F7:41:98:D2:2E:A1:EB:B4:05:9C:3F:92:43:1E:09:1B:EF:E1:45:6D:92:31:1A:91:9B:09:31:01:86:A3:46:DC:E7:60:F8:43:B0:D9:AC:F4:3E:1A:00:46:93:8D:F7:47:DC:79:BE:0E:9E:CD:C5:E8:13:77:F2:F7:C3:E1:09:8C:BC:9E:37:B0:A0:10:A4:AA:AB:F5:8B:72:C4:D2:74:40:60:B6:33:6A:D4:99:3A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601133230Z", "not_valid_before": "20240601133231Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:98 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.254) 0:00:19.854 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B5:75:30:4E:4C:E2:19:1C:2D:B9:3E:F0:BF:F6:B3:32:1B:4B:16:B7" }, "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": "FB:5F:DF:49:6A:78:18:A9:B9:81:DB:89:DE:DF:41:8A:B7:6C:B2:0E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:8F:97:EA:D9:26:9F:51:41:18:69:78:DE:F8:A6:39:DA:B3:A4:46:C4:5F:C3:AB:C7:36:67:2B:D7:70:71:F4:A5:73:EE:99:7B:6C:17:0E:4D:1D:A4:4F:19:99:AE:10:B3:87:DF:8D:AA:6A:45:BC:1C:24:38:50:59:6E:A7:CD:0A:73:49:A0:DF:19:CB:CE:F3:01:C9:BC:56:AA:45:36:CB:F8:AD:09:6E:B9:0C:DF:AC:74:17:2E:B1:A4:A0:54:FA:6D:D0:02:9D:24:FE:97:D6:E1:B1:7D:7B:6B:FC:1B:BA:28:21:1B:29:5D:3D:84:81:23:7C:D2:48:1A:B5:95:60:75:37:C0:C9:90:02:54:03:F1:20:79:2C:37:1D:4C:63:5B:0F:56:24:27:0D:4E:E1:7C:4D:5A:BC:70:B3:3B:66:29:80:48:B6:5C:EC:B7:32:F7:41:98:D2:2E:A1:EB:B4:05:9C:3F:92:43:1E:09:1B:EF:E1:45:6D:92:31:1A:91:9B:09:31:01:86:A3:46:DC:E7:60:F8:43:B0:D9:AC:F4:3E:1A:00:46:93:8D:F7:47:DC:79:BE:0E:9E:CD:C5:E8:13:77:F2:F7:C3:E1:09:8C:BC:9E:37:B0:A0:10:A4:AA:AB:F5:8B:72:C4:D2:74:40:60:B6:33:6A:D4:99:3A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601133230Z", "not_valid_before": "20240601133231Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:102 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.021) 0:00:19.875 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:111 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.021) 0:00:19.897 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:120 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.020) 0:00:19.917 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:127 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.019) 0:00:19.937 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:138 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.023) 0:00:19.961 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:151 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.023) 0:00:19.984 ********* 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.053110", "end": "2024-06-01 13:32:39.562633", "rc": 0, "start": "2024-06-01 13:32:39.509523" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:160 Saturday 01 June 2024 13:32:39 +0000 (0:00:00.239) 0:00:20.223 ********* 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 01 June 2024 13:32:39 +0000 (0:00:00.020) 0:00:20.243 ********* =============================================================================== linux-system-roles.certificate : Ensure provider packages are installed --- 4.42s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 3.97s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.45s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.44s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure certificate requests ------------ 1.44s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-cixlf5306y/tests/tests_no_auto_renew.yml:2 ---------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.65s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Parse certificate ------------------------------------------------------- 0.50s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:92 Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-cixlf5306y/tests/tests_no_auto_renew.yml:17 --------------- Retrieve auto-renew flag ------------------------------------------------ 0.30s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.29s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 linux-system-roles.certificate : Check if system is ostree -------------- 0.26s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Parse certificate ------------------------------------------------------- 0.25s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.20s /WORKDIR/git-weekly-cixlf5306y/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:40 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:69 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:40 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-cixlf5306y/tests/tasks/assert_certificate_parameters.yml:69 Verify each certificate ------------------------------------------------- 0.03s /WORKDIR/git-weekly-cixlf5306y/tests/tests_no_auto_renew.yml:42 --------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---