# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci3rtqs8cp/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml:2 Saturday 11 May 2024 13:09:56 +0000 (0:00:00.013) 0:00:00.013 ********** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 11 May 2024 13:09:59 +0000 (0:00:02.530) 0:00:02.544 ********** included: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 11 May 2024 13:09:59 +0000 (0:00:00.012) 0:00:02.557 ********** skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 11 May 2024 13:09:59 +0000 (0:00:00.018) 0:00:02.576 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 11 May 2024 13:09:59 +0000 (0:00:00.308) 0:00:02.885 ********** ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 11 May 2024 13:09:59 +0000 (0:00:00.017) 0:00:02.902 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 11 May 2024 13:09:59 +0000 (0:00:00.026) 0:00:02.928 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-ply-3.11-23.fc40.noarch", "Installed: python3-cryptography-41.0.7-1.fc40.x86_64", "Installed: python3-pyasn1-0.5.1-3.fc40.noarch", "Installed: python3-pycparser-2.20-14.fc40.noarch", "Installed: python3-cffi-1.16.0-4.fc40.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 11 May 2024 13:10:05 +0000 (0:00:05.225) 0:00:08.153 ********** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64", "Installed: certmonger-0.79.19-5.fc40.x86_64", "Installed: python3-packaging-23.2-4.fc40.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 11 May 2024 13:10:09 +0000 (0:00:04.444) 0:00:12.598 ********** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 11 May 2024 13:10:09 +0000 (0:00:00.365) 0:00:12.963 ********** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 11 May 2024 13:10:10 +0000 (0:00:00.277) 0:00:13.240 ********** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target syslog.target basic.target dbus.socket network.target systemd-journald.socket system.slice dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "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 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14767", "LimitNPROCSoft": "14767", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14767", "LimitSIGPENDINGSoft": "14767", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3454009344", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4430", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 11 May 2024 13:10:11 +0000 (0:00:01.051) 0:00:14.292 ********** changed: [sut] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 11 May 2024 13:10:13 +0000 (0:00:02.276) 0:00:16.569 ********** skipping: [sut] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 11 May 2024 13:10:13 +0000 (0:00:00.039) 0:00:16.608 ********** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 11 May 2024 13:10:13 +0000 (0:00:00.019) 0:00:16.628 ********** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 11 May 2024 13:10:13 +0000 (0:00:00.020) 0:00:16.648 ********** skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml:18 Saturday 11 May 2024 13:10:13 +0000 (0:00:00.031) 0:00:16.680 ********** ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml:50 Saturday 11 May 2024 13:10:15 +0000 (0:00:02.357) 0:00:19.038 ********** included: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:2 Saturday 11 May 2024 13:10:15 +0000 (0:00:00.029) 0:00:19.067 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:9 Saturday 11 May 2024 13:10:15 +0000 (0:00:00.011) 0:00:19.078 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:14 Saturday 11 May 2024 13:10:15 +0000 (0:00:00.013) 0:00:19.092 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:18 Saturday 11 May 2024 13:10:15 +0000 (0:00:00.012) 0:00:19.105 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 Saturday 11 May 2024 13:10:15 +0000 (0:00:00.010) 0:00:19.115 ********** 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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:38 Saturday 11 May 2024 13:10:17 +0000 (0:00:01.510) 0:00:20.626 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433011.9272425, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a76f7c79d0d2edc1ef95f40955ea6eac14d5535c", "ctime": 1715433011.9222424, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433011.9222424, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "985213593", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:43 Saturday 11 May 2024 13:10:17 +0000 (0:00:00.254) 0:00:20.880 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:49 Saturday 11 May 2024 13:10:17 +0000 (0:00:00.012) 0:00:20.893 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:59 Saturday 11 May 2024 13:10:17 +0000 (0:00:00.024) 0:00:20.917 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:65 Saturday 11 May 2024 13:10:17 +0000 (0:00:00.023) 0:00:20.941 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433011.8662424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ce96c885f363d8d7b5c61d44afd868a170f3739f", "ctime": 1715433011.9222424, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433011.9222424, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1700, "uid": 0, "version": "1870559896", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:70 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.253) 0:00:21.194 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:76 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.012) 0:00:21.207 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.021) 0:00:21.229 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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": "51:3F:4C:19:FE:E1:58:25:C4:73:C6:2F:20:90:5B:5C:1E:B6:F6:A9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AE:0B:35:58:72:B7:A1:60:9E:13:AE:C0:0E:19:C8:3A:12:BC:90:70:75:A1:3A:CA:CC:2F:CF:AD:BC:F1:F6:5C:4A:9F:35:02:09:FB:13:67:9B:7E:42:6F:C0:B8:BE:79:10:20:58:43:1C:30:B0:7A:26:B7:0C:A1:2D:95:0D:5A:80:A3:D0:57:FE:C9:86:EE:79:34:F1:82:A5:7C:F3:99:78:6E:75:23:5E:A6:F6:8A:D2:19:A5:4F:9D:FA:34:1F:95:BE:0D:40:6D:9D:B9:F7:E2:C6:9F:64:73:9B:92:52:F1:97:40:C7:78:9C:29:79:99:8B:1A:DA:BF:A1:01:08:6A:48:30:E4:52:93:25:50:BD:0F:E6:46:BA:AA:0B:8E:2F:76:30:7E:EF:E3:31:57:BE:F2:6F:43:98:8F:43:25:B6:EA:7F:85:A9:90:D3:00:AD:34:CB:EC:59:38:B0:32:DD:F1:4A:2F:B2:F8:8D:4F:92:C8:32:D8:F1:FC:A2:57:B0:6B:E8:01:91:A9:F6:09:82:9B:02:57:ED:B0:D7:EF:EA:11:2F:9A:C3:1B:35:F6:BD:27:8E:7B:43:72:14:5C:4C:AE:94:FD:47:56:0B:BE:25:53:1B:50:BC:BA:9F:F4:75:1E:67:39:A5:BB:A8:4A:10:50:14:63:39:40:8F:A7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131011Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:92 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.412) 0:00:21.641 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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": "51:3F:4C:19:FE:E1:58:25:C4:73:C6:2F:20:90:5B:5C:1E:B6:F6:A9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AE:0B:35:58:72:B7:A1:60:9E:13:AE:C0:0E:19:C8:3A:12:BC:90:70:75:A1:3A:CA:CC:2F:CF:AD:BC:F1:F6:5C:4A:9F:35:02:09:FB:13:67:9B:7E:42:6F:C0:B8:BE:79:10:20:58:43:1C:30:B0:7A:26:B7:0C:A1:2D:95:0D:5A:80:A3:D0:57:FE:C9:86:EE:79:34:F1:82:A5:7C:F3:99:78:6E:75:23:5E:A6:F6:8A:D2:19:A5:4F:9D:FA:34:1F:95:BE:0D:40:6D:9D:B9:F7:E2:C6:9F:64:73:9B:92:52:F1:97:40:C7:78:9C:29:79:99:8B:1A:DA:BF:A1:01:08:6A:48:30:E4:52:93:25:50:BD:0F:E6:46:BA:AA:0B:8E:2F:76:30:7E:EF:E3:31:57:BE:F2:6F:43:98:8F:43:25:B6:EA:7F:85:A9:90:D3:00:AD:34:CB:EC:59:38:B0:32:DD:F1:4A:2F:B2:F8:8D:4F:92:C8:32:D8:F1:FC:A2:57:B0:6B:E8:01:91:A9:F6:09:82:9B:02:57:ED:B0:D7:EF:EA:11:2F:9A:C3:1B:35:F6:BD:27:8E:7B:43:72:14:5C:4C:AE:94:FD:47:56:0B:BE:25:53:1B:50:BC:BA:9F:F4:75:1E:67:39:A5:BB:A8:4A:10:50:14:63:39:40:8F:A7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131011Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:96 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.011) 0:00:21.653 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:104 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.025) 0:00:21.678 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:112 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.017) 0:00:21.695 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:119 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.034) 0:00:21.730 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:130 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.033) 0:00:21.763 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 Saturday 11 May 2024 13:10:18 +0000 (0:00:00.025) 0:00:21.789 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049383", "end": "2024-05-11 13:10:18.989442", "rc": 0, "start": "2024-05-11 13:10:18.940059" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:152 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.356) 0:00:22.145 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:2 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.021) 0:00:22.167 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:9 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.009) 0:00:22.176 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:14 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.012) 0:00:22.189 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:18 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.012) 0:00:22.202 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 Saturday 11 May 2024 13:10:19 +0000 (0:00:00.010) 0:00:22.212 ********** 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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:38 Saturday 11 May 2024 13:10:20 +0000 (0:00:01.498) 0:00:23.711 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433012.5312424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "12bbc080158cec8077d7a28cfa3cf6db981a3ebf", "ctime": 1715433012.5272424, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433012.5272424, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "165471972", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:43 Saturday 11 May 2024 13:10:20 +0000 (0:00:00.257) 0:00:23.968 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:49 Saturday 11 May 2024 13:10:20 +0000 (0:00:00.012) 0:00:23.981 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:59 Saturday 11 May 2024 13:10:20 +0000 (0:00:00.024) 0:00:24.005 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:65 Saturday 11 May 2024 13:10:20 +0000 (0:00:00.022) 0:00:24.027 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433012.4722424, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b14e547956d6b9e760b63c184a44280936303836", "ctime": 1715433012.5272424, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203649, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433012.5272424, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "130849411", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:70 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.259) 0:00:24.287 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:76 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.014) 0:00:24.302 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.028) 0:00:24.330 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "E8:CB:9F:AC:60:8B:C0:BB:F4:33:F0:05:A9:20:33:BF:E7:EB:31:03" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "05:F7:01:51:48:78:FE:FF:04:1C:A1:83:50:81:0B:08:35:F8:06:FA:B6:09:74:BD:A6:EC:81:9E:57:9F:AA:5A:8E:0C:B4:07:EC:6D:A9:DD:2E:49:8D:DE:F8:52:1A:9F:98:E8:95:27:B3:00:1A:F1:50:EA:51:13:64:BC:D8:50:0A:18:C8:25:1E:24:99:D0:6D:49:19:8A:AF:23:84:30:94:F2:69:A6:11:1F:D7:BF:3B:1E:23:FC:A5:4A:9A:68:CA:1B:40:C2:F1:36:AC:13:8E:17:6E:27:99:CA:00:65:7B:30:B1:03:7A:ED:98:B1:67:20:6B:4B:2E:AF:EE:3C:B6:D4:B0:0B:C9:76:26:CC:02:13:B4:10:D8:20:A7:A2:DC:08:12:F8:87:86:E9:E3:04:03:32:36:A0:E0:B0:F8:FE:3D:A8:16:E9:8F:E7:00:A6:2E:BD:1C:9B:2C:F1:15:BC:4F:C9:6C:68:F4:B1:13:CA:E6:E4:3E:5D:2E:C3:79:68:74:71:06:3C:72:8F:95:A6:C9:E8:BB:CF:AC:BA:21:4D:6E:55:EF:C2:01:DD:76:BD:4C:97:9E:45:0C:D1:BA:93:E6:9E:3C:FA:CB:DD:33:E0:E3:E5:B0:F6:22:65:82:DF:CD:00:AB:8D:2A:4E:F4:82:E1:29:84:61:97:61:08" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131012Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:92 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.321) 0:00:24.652 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "E8:CB:9F:AC:60:8B:C0:BB:F4:33:F0:05:A9:20:33:BF:E7:EB:31:03" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "05:F7:01:51:48:78:FE:FF:04:1C:A1:83:50:81:0B:08:35:F8:06:FA:B6:09:74:BD:A6:EC:81:9E:57:9F:AA:5A:8E:0C:B4:07:EC:6D:A9:DD:2E:49:8D:DE:F8:52:1A:9F:98:E8:95:27:B3:00:1A:F1:50:EA:51:13:64:BC:D8:50:0A:18:C8:25:1E:24:99:D0:6D:49:19:8A:AF:23:84:30:94:F2:69:A6:11:1F:D7:BF:3B:1E:23:FC:A5:4A:9A:68:CA:1B:40:C2:F1:36:AC:13:8E:17:6E:27:99:CA:00:65:7B:30:B1:03:7A:ED:98:B1:67:20:6B:4B:2E:AF:EE:3C:B6:D4:B0:0B:C9:76:26:CC:02:13:B4:10:D8:20:A7:A2:DC:08:12:F8:87:86:E9:E3:04:03:32:36:A0:E0:B0:F8:FE:3D:A8:16:E9:8F:E7:00:A6:2E:BD:1C:9B:2C:F1:15:BC:4F:C9:6C:68:F4:B1:13:CA:E6:E4:3E:5D:2E:C3:79:68:74:71:06:3C:72:8F:95:A6:C9:E8:BB:CF:AC:BA:21:4D:6E:55:EF:C2:01:DD:76:BD:4C:97:9E:45:0C:D1:BA:93:E6:9E:3C:FA:CB:DD:33:E0:E3:E5:B0:F6:22:65:82:DF:CD:00:AB:8D:2A:4E:F4:82:E1:29:84:61:97:61:08" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131012Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:96 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.014) 0:00:24.666 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:104 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.027) 0:00:24.694 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:112 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.013) 0:00:24.708 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:119 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.022) 0:00:24.731 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:130 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.035) 0:00:24.766 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.023) 0:00:24.790 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049004", "end": "2024-05-11 13:10:21.922899", "rc": 0, "start": "2024-05-11 13:10:21.873895" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:152 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.288) 0:00:25.078 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:2 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.024) 0:00:25.102 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:9 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.010) 0:00:25.113 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:14 Saturday 11 May 2024 13:10:21 +0000 (0:00:00.012) 0:00:25.126 ********** skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:18 Saturday 11 May 2024 13:10:22 +0000 (0:00:00.013) 0:00:25.139 ********** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 Saturday 11 May 2024 13:10:22 +0000 (0:00:00.009) 0:00:25.149 ********** 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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:38 Saturday 11 May 2024 13:10:23 +0000 (0:00:01.546) 0:00:26.696 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433013.2552423, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ebf97a29a5c52adffe6f5b2a5db8c6f501b238dd", "ctime": 1715433013.2502422, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203652, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433013.2502422, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1563225811", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:43 Saturday 11 May 2024 13:10:23 +0000 (0:00:00.256) 0:00:26.952 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:49 Saturday 11 May 2024 13:10:23 +0000 (0:00:00.012) 0:00:26.965 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:59 Saturday 11 May 2024 13:10:23 +0000 (0:00:00.023) 0:00:26.988 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:65 Saturday 11 May 2024 13:10:23 +0000 (0:00:00.022) 0:00:27.010 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1715433013.1942422, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1bd49fc931b698ba79bb6f625bacae5a44cf5878", "ctime": 1715433013.2502422, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203651, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1715433013.2502422, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1700, "uid": 0, "version": "1164465677", "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-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:70 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.258) 0:00:27.269 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:76 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.012) 0:00:27.281 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.023) 0:00:27.305 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FC:91:C7:60:AC:3A:E9:B5:02:EC:6A:68:68:E6:BE:20:6D:2E:B8:3A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:CD:2B:37:9B:C2:A2:25:16:A3:ED:0E:E7:F7:19:62:C7:34:C6:36:B0:D1:81:7C:31:F3:B3:C9:2B:93:0C:09:0D:7A:DE:57:4B:40:96:49:C5:5B:2E:4A:06:BF:D6:EB:BC:2F:A5:6C:86:C7:A7:6A:5A:B9:39:58:4B:13:90:5B:3A:D7:9E:70:CD:DC:F8:DC:22:FE:D6:0A:6C:8B:CD:C8:85:31:2D:4C:F8:9D:5A:F1:A2:FE:3E:4F:08:C3:BB:FD:F6:50:7F:31:98:5D:F9:C5:72:44:EA:48:7B:A6:2D:8D:F6:96:AD:AA:FA:5D:9D:66:F2:DD:0B:E8:BA:4D:BC:6B:5D:D9:85:11:AE:C9:DC:93:BC:BC:C4:C7:34:90:E5:1C:EC:A5:4C:C0:96:6B:46:14:18:75:82:9A:2A:0D:B6:70:91:36:7B:FB:F7:20:F8:50:AF:F5:1F:81:75:E2:C3:F1:A8:EE:EA:7A:5E:67:63:0A:91:FB:8C:DC:EF:79:E2:64:69:BE:C3:51:E4:6E:3F:9D:3D:A9:81:DE:5F:B6:ED:16:7A:84:7E:CD:96:F6:EF:20:C5:F4:BA:86:B0:1D:08:BD:45:1A:49:09:5F:49:3D:F5:E5:71:E3:8D:4E:B2:0D:EC:86:49:C9:01:5E:A6:D0:87:D7:51:54:57:EC:B5:DB:C5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131013Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:92 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.308) 0:00:27.614 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:8C:8C:8B:F4:1B:EC:C5:C7:1F:EE:FE:39:78:CB:37:E2:DC:D9:41" }, "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.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FC:91:C7:60:AC:3A:E9:B5:02:EC:6A:68:68:E6:BE:20:6D:2E:B8:3A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:CD:2B:37:9B:C2:A2:25:16:A3:ED:0E:E7:F7:19:62:C7:34:C6:36:B0:D1:81:7C:31:F3:B3:C9:2B:93:0C:09:0D:7A:DE:57:4B:40:96:49:C5:5B:2E:4A:06:BF:D6:EB:BC:2F:A5:6C:86:C7:A7:6A:5A:B9:39:58:4B:13:90:5B:3A:D7:9E:70:CD:DC:F8:DC:22:FE:D6:0A:6C:8B:CD:C8:85:31:2D:4C:F8:9D:5A:F1:A2:FE:3E:4F:08:C3:BB:FD:F6:50:7F:31:98:5D:F9:C5:72:44:EA:48:7B:A6:2D:8D:F6:96:AD:AA:FA:5D:9D:66:F2:DD:0B:E8:BA:4D:BC:6B:5D:D9:85:11:AE:C9:DC:93:BC:BC:C4:C7:34:90:E5:1C:EC:A5:4C:C0:96:6B:46:14:18:75:82:9A:2A:0D:B6:70:91:36:7B:FB:F7:20:F8:50:AF:F5:1F:81:75:E2:C3:F1:A8:EE:EA:7A:5E:67:63:0A:91:FB:8C:DC:EF:79:E2:64:69:BE:C3:51:E4:6E:3F:9D:3D:A9:81:DE:5F:B6:ED:16:7A:84:7E:CD:96:F6:EF:20:C5:F4:BA:86:B0:1D:08:BD:45:1A:49:09:5F:49:3D:F5:E5:71:E3:8D:4E:B2:0D:EC:86:49:C9:01:5E:A6:D0:87:D7:51:54:57:EC:B5:DB:C5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250511131011Z", "not_valid_before": "20240511131013Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:96 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.013) 0:00:27.628 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:104 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.022) 0:00:27.650 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:112 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.013) 0:00:27.663 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:119 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.022) 0:00:27.685 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:130 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.026) 0:00:27.712 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.027) 0:00:27.739 ********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.049333", "end": "2024-05-11 13:10:24.874870", "rc": 0, "start": "2024-05-11 13:10:24.825537" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:152 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.291) 0:00:28.030 ********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 11 May 2024 13:10:24 +0000 (0:00:00.028) 0:00:28.059 ********** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 5.23s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.44s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.53s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 2.36s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tests_many_self_signed.yml:18 ------------ fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.28s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 1.55s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.51s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.50s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.05s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.41s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.37s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.36s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.32s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.31s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.31s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.29s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.29s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.28s /WORKDIR/git-weekly-ci3rtqs8cp/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci3rtqs8cp/tests/tasks/assert_certificate_parameters.yml:65 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---