# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] 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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciw0ilxk1p/.collection executable location = /opt/ansible-2.17/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.17/bin/python) jinja version = 3.1.4 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-ciw0ilxk1p/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tests_many_self_signed.yml:2 Saturday 03 August 2024 13:02:41 +0000 (0:00:00.023) 0:00:00.023 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 13:02:44 +0000 (0:00:02.514) 0:00:02.537 ******* included: /WORKDIR/git-weekly-ciw0ilxk1p/.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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 13:02:44 +0000 (0:00:00.015) 0:00:02.553 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 13:02:44 +0000 (0:00:00.018) 0:00:02.572 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 13:02:44 +0000 (0:00:00.298) 0:00:02.871 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 13:02:44 +0000 (0:00:00.015) 0:00:02.886 ******* 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-ciw0ilxk1p/.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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 13:02:44 +0000 (0:00:00.022) 0:00:02.909 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "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", "Installed: python3-ply-3.11-23.fc40.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 13:02:49 +0000 (0:00:05.413) 0:00:08.322 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: python3-packaging-23.2-4.fc40.noarch", "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64", "Installed: certmonger-0.79.19-5.fc40.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 13:02:53 +0000 (0:00:03.804) 0:00:12.126 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 13:02:53 +0000 (0:00:00.317) 0:00:12.444 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 13:02:54 +0000 (0:00:00.262) 0:00:12.707 ******* 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": "network.target basic.target syslog.target dbus.socket system.slice sysinit.target dbus-broker.service systemd-journald.socket", "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": "14724", "LimitNPROCSoft": "14724", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14724", "LimitSIGPENDINGSoft": "14724", "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": "3496140800", "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": "sysinit.target dbus.socket system.slice", "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": "4417", "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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 13:02:55 +0000 (0:00:00.948) 0:00:13.655 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 13:02:57 +0000 (0:00:02.190) 0:00:15.846 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 13:02:57 +0000 (0:00:00.032) 0:00:15.879 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 13:02:57 +0000 (0:00:00.012) 0:00:15.891 ******* 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-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 13:02:57 +0000 (0:00:00.013) 0:00:15.904 ******* 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-ciw0ilxk1p/tests/tests_many_self_signed.yml:18 Saturday 03 August 2024 13:02:57 +0000 (0:00:00.023) 0:00:15.928 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tests_many_self_signed.yml:50 Saturday 03 August 2024 13:02:59 +0000 (0:00:02.131) 0:00:18.059 ******* included: /WORKDIR/git-weekly-ciw0ilxk1p/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-ciw0ilxk1p/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-ciw0ilxk1p/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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:02:59 +0000 (0:00:00.029) 0:00:18.089 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:02:59 +0000 (0:00:00.008) 0:00:18.098 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:02:59 +0000 (0:00:00.011) 0:00:18.109 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:02:59 +0000 (0:00:00.010) 0:00:18.120 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:02:59 +0000 (0:00:00.007) 0:00:18.127 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:03:01 +0000 (0:00:01.405) 0:00:19.533 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690175.6883924, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7e1e65a058b559506d3510c16417371e73b91801", "ctime": 1722690175.6843925, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203928, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690175.6843925, "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": "1918618960", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.217) 0:00:19.750 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.012) 0:00:19.763 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.017) 0:00:19.780 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.016) 0:00:19.796 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690175.637392, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c89216591ab76e379b9c5a9e246785c5ef469d2c", "ctime": 1722690175.6843925, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203927, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690175.6843925, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1708354051", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.224) 0:00:20.021 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.010) 0:00:20.032 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.018) 0:00:20.051 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "6C:F1:DE:0F:3A:CB:10:C2:1B:5A:09:A3:E0:10:10:A5:CD:7B:AC:CF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "47:4D:89:D9:05:59:65:06:34:B3:17:B5:2A:BB:5B:69:22:D1:E6:89:A6:0B:36:E9:D6:C6:3B:08:0F:51:86:0B:07:20:76:02:AF:1E:88:33:D5:AD:34:33:7B:44:FF:D0:53:E3:3C:70:A7:5D:80:C5:D3:2C:BD:7F:0B:81:88:1E:5E:E3:85:64:1D:25:8F:BA:86:AE:08:3D:A2:DA:A4:2E:9E:7D:A5:63:DE:4A:94:5D:BE:F8:E3:07:5B:C3:B1:FB:0C:87:7C:96:38:87:32:C4:1E:4F:E9:A7:BA:03:91:1B:EA:FC:25:E9:19:F6:12:F5:0B:46:15:5D:E7:7D:02:32:AC:D8:37:1B:24:54:EF:80:F3:85:1B:77:16:58:C0:89:B8:9B:88:B4:02:EA:1B:77:FA:50:CB:4C:CD:67:2F:D9:0A:65:87:70:55:DB:C9:92:1B:0F:C9:4B:D4:C6:AF:9D:08:90:46:E1:5E:A7:99:03:4D:87:97:41:52:31:05:E1:5D:4E:62:5F:8C:34:01:1A:B0:36:CD:E3:4C:CA:7F:37:C1:C6:3D:E0:67:21:19:B6:8C:D3:8B:51:2B:3A:1B:E5:78:FC:6A:48:92:BB:58:26:45:20:94:54:D0:9C:42:4E:B0:2E:CA:AE:63:CE:B9:56:6A:4B:81:98:4A:75:51:FE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130255Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.326) 0:00:20.378 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "6C:F1:DE:0F:3A:CB:10:C2:1B:5A:09:A3:E0:10:10:A5:CD:7B:AC:CF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "47:4D:89:D9:05:59:65:06:34:B3:17:B5:2A:BB:5B:69:22:D1:E6:89:A6:0B:36:E9:D6:C6:3B:08:0F:51:86:0B:07:20:76:02:AF:1E:88:33:D5:AD:34:33:7B:44:FF:D0:53:E3:3C:70:A7:5D:80:C5:D3:2C:BD:7F:0B:81:88:1E:5E:E3:85:64:1D:25:8F:BA:86:AE:08:3D:A2:DA:A4:2E:9E:7D:A5:63:DE:4A:94:5D:BE:F8:E3:07:5B:C3:B1:FB:0C:87:7C:96:38:87:32:C4:1E:4F:E9:A7:BA:03:91:1B:EA:FC:25:E9:19:F6:12:F5:0B:46:15:5D:E7:7D:02:32:AC:D8:37:1B:24:54:EF:80:F3:85:1B:77:16:58:C0:89:B8:9B:88:B4:02:EA:1B:77:FA:50:CB:4C:CD:67:2F:D9:0A:65:87:70:55:DB:C9:92:1B:0F:C9:4B:D4:C6:AF:9D:08:90:46:E1:5E:A7:99:03:4D:87:97:41:52:31:05:E1:5D:4E:62:5F:8C:34:01:1A:B0:36:CD:E3:4C:CA:7F:37:C1:C6:3D:E0:67:21:19:B6:8C:D3:8B:51:2B:3A:1B:E5:78:FC:6A:48:92:BB:58:26:45:20:94:54:D0:9C:42:4E:B0:2E:CA:AE:63:CE:B9:56:6A:4B:81:98:4A:75:51:FE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130255Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.012) 0:00:20.390 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.017) 0:00:20.408 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.012) 0:00:20.420 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.016) 0:00:20.436 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.018) 0:00:20.455 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:03:01 +0000 (0:00:00.018) 0:00:20.474 ******* 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.042206", "end": "2024-08-03 13:03:02.249606", "rc": 0, "start": "2024-08-03 13:03:02.207400" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.310) 0:00:20.785 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.016) 0:00:20.801 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.008) 0:00:20.810 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.010) 0:00:20.821 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.012) 0:00:20.833 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:03:02 +0000 (0:00:00.008) 0:00:20.842 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:03:03 +0000 (0:00:01.428) 0:00:22.270 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690176.2733967, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5fb155f9d9322f02ef786e0bb9e8c47b6a721c94", "ctime": 1722690176.2703967, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690176.2703967, "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": "432775163", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:03:03 +0000 (0:00:00.221) 0:00:22.492 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:03:03 +0000 (0:00:00.012) 0:00:22.505 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.017) 0:00:22.523 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.019) 0:00:22.542 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690176.2233963, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0d6fcc6991cbfec30e980f43c2b45be0ebe0ca8a", "ctime": 1722690176.2703967, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203929, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690176.2703967, "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": "400558309", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.221) 0:00:22.763 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.010) 0:00:22.774 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.016) 0:00:22.790 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "0A:99:73:7B:59:37:88:CC:38:7E:EF:F6:56:23:63:2E:8B:55:71:5B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "46:1A:B9:F7:2B:4F:39:4E:AF:23:6B:CF:F8:0A:52:9E:74:69:DB:E5:1F:88:87:F2:DD:FB:C5:61:18:6C:20:D0:F1:60:BB:B8:15:E9:AB:6B:6B:EF:A1:B7:01:6D:96:47:59:80:1F:A5:C3:83:DD:3F:22:D7:6B:52:67:5C:B1:C4:32:45:C9:B4:9C:D8:2F:83:9A:58:55:A7:6C:1B:8B:82:F1:3E:1E:30:E9:56:17:FA:76:94:0B:5F:79:EC:FA:8F:28:EE:E4:B2:5D:1C:F7:5C:6B:F1:46:98:36:8A:D1:0B:A8:BE:F4:C9:32:6D:B7:CC:1F:AC:06:6A:B9:0F:C5:B6:79:F9:B6:CD:A0:0D:AE:19:39:BF:32:80:06:24:69:8C:B1:6E:30:93:C6:B8:C4:64:CE:D6:25:60:78:89:2F:49:4E:D9:83:56:13:25:0E:B4:89:CE:E5:0E:C6:CE:17:33:ED:8E:CB:FA:87:CD:8B:61:76:4C:3D:2F:85:06:CB:11:1B:96:95:7E:50:C2:AB:8A:AD:56:71:2C:14:DE:79:0D:EC:46:E5:C6:46:B1:84:3C:BD:58:2C:F5:37:98:D1:B1:3C:3F:0A:24:D5:36:F5:60:BF:F9:31:DE:90:AB:1C:4F:47:E8:61:4A:13:03:3E:AC:12:15:D6:2C:9C:C1:A4:83" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130256Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.266) 0:00:23.056 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "0A:99:73:7B:59:37:88:CC:38:7E:EF:F6:56:23:63:2E:8B:55:71:5B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "46:1A:B9:F7:2B:4F:39:4E:AF:23:6B:CF:F8:0A:52:9E:74:69:DB:E5:1F:88:87:F2:DD:FB:C5:61:18:6C:20:D0:F1:60:BB:B8:15:E9:AB:6B:6B:EF:A1:B7:01:6D:96:47:59:80:1F:A5:C3:83:DD:3F:22:D7:6B:52:67:5C:B1:C4:32:45:C9:B4:9C:D8:2F:83:9A:58:55:A7:6C:1B:8B:82:F1:3E:1E:30:E9:56:17:FA:76:94:0B:5F:79:EC:FA:8F:28:EE:E4:B2:5D:1C:F7:5C:6B:F1:46:98:36:8A:D1:0B:A8:BE:F4:C9:32:6D:B7:CC:1F:AC:06:6A:B9:0F:C5:B6:79:F9:B6:CD:A0:0D:AE:19:39:BF:32:80:06:24:69:8C:B1:6E:30:93:C6:B8:C4:64:CE:D6:25:60:78:89:2F:49:4E:D9:83:56:13:25:0E:B4:89:CE:E5:0E:C6:CE:17:33:ED:8E:CB:FA:87:CD:8B:61:76:4C:3D:2F:85:06:CB:11:1B:96:95:7E:50:C2:AB:8A:AD:56:71:2C:14:DE:79:0D:EC:46:E5:C6:46:B1:84:3C:BD:58:2C:F5:37:98:D1:B1:3C:3F:0A:24:D5:36:F5:60:BF:F9:31:DE:90:AB:1C:4F:47:E8:61:4A:13:03:3E:AC:12:15:D6:2C:9C:C1:A4:83" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130256Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.011) 0:00:23.068 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.016) 0:00:23.085 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.012) 0:00:23.098 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.015) 0:00:23.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.019) 0:00:23.133 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.021) 0:00:23.154 ******* 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.041742", "end": "2024-08-03 13:03:04.864519", "rc": 0, "start": "2024-08-03 13:03:04.822777" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.247) 0:00:23.401 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.016) 0:00:23.418 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.007) 0:00:23.426 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.010) 0:00:23.436 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.011) 0:00:23.448 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:03:04 +0000 (0:00:00.009) 0:00:23.457 ******* 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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:03:06 +0000 (0:00:01.421) 0:00:24.878 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690177.2284036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6b82a7d5a9e4bc98013411471ce76a840f7169f1", "ctime": 1722690177.2254035, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203932, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690177.2254035, "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": "3368748961", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.217) 0:00:25.096 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.011) 0:00:25.108 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.017) 0:00:25.125 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.016) 0:00:25.141 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722690177.1784031, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2673e5897297d8fb440f6e818f0d7247def0131d", "ctime": 1722690177.2254035, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722690177.2254035, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "142897172", "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-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.216) 0:00:25.358 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.013) 0:00:25.372 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:03:06 +0000 (0:00:00.018) 0:00:25.390 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "03:0A:5B:8B:80:51:DD:5E:79:E1:31:8E:B2:9D:F7:FE:AA:61:36:3F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "82:49:E7:5F:53:95:4F:CB:BC:FD:D5:AF:54:A4:3D:C3:8E:3B:C8:E1:06:9C:83:88:5C:D9:94:44:60:4E:C8:2C:A3:48:E0:8C:FF:57:C7:A4:0D:84:0E:71:5F:E7:7F:E5:45:6B:61:7D:49:40:CF:86:49:1F:2F:2A:3B:F2:CF:1C:CF:66:40:8F:73:8F:B2:17:13:2C:F3:AA:A6:1C:34:63:C0:64:9C:C6:4E:E7:24:63:F6:27:46:75:F5:4F:92:04:8C:7E:15:3F:49:C8:38:99:09:14:0F:A2:34:FB:57:E2:C5:2D:33:1D:6E:F4:36:38:CE:70:67:36:D6:98:E2:1D:90:0C:F0:CF:E6:8C:1F:F5:88:19:DE:BD:7C:D7:C6:18:B5:19:C4:4E:5B:FF:52:AC:6B:AC:E0:75:B4:85:34:E1:35:14:DE:D8:7E:72:08:69:62:41:54:C7:DB:AC:B4:B0:3B:98:A3:7B:C6:0B:2E:AD:18:14:D1:32:B3:AB:A8:69:8A:6A:FD:98:F7:D4:FC:79:A5:DE:9D:2D:DE:86:97:DC:54:44:08:55:14:F4:96:F6:7A:18:AD:3F:76:8D:02:EF:A4:BA:52:9E:72:C9:2A:E7:F7:5A:5E:E5:AE:F0:A4:E7:E4:0E:63:77:3C:47:B8:6D:D5:C8:40:D6:F5:67:73:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130257Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.266) 0:00:25.656 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "66:F1:AA:7F:4D:2C:3E:70:5C:DE:9A:A7:97:38:41:42:F0:43:0A:26" }, "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": "03:0A:5B:8B:80:51:DD:5E:79:E1:31:8E:B2:9D:F7:FE:AA:61:36:3F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "82:49:E7:5F:53:95:4F:CB:BC:FD:D5:AF:54:A4:3D:C3:8E:3B:C8:E1:06:9C:83:88:5C:D9:94:44:60:4E:C8:2C:A3:48:E0:8C:FF:57:C7:A4:0D:84:0E:71:5F:E7:7F:E5:45:6B:61:7D:49:40:CF:86:49:1F:2F:2A:3B:F2:CF:1C:CF:66:40:8F:73:8F:B2:17:13:2C:F3:AA:A6:1C:34:63:C0:64:9C:C6:4E:E7:24:63:F6:27:46:75:F5:4F:92:04:8C:7E:15:3F:49:C8:38:99:09:14:0F:A2:34:FB:57:E2:C5:2D:33:1D:6E:F4:36:38:CE:70:67:36:D6:98:E2:1D:90:0C:F0:CF:E6:8C:1F:F5:88:19:DE:BD:7C:D7:C6:18:B5:19:C4:4E:5B:FF:52:AC:6B:AC:E0:75:B4:85:34:E1:35:14:DE:D8:7E:72:08:69:62:41:54:C7:DB:AC:B4:B0:3B:98:A3:7B:C6:0B:2E:AD:18:14:D1:32:B3:AB:A8:69:8A:6A:FD:98:F7:D4:FC:79:A5:DE:9D:2D:DE:86:97:DC:54:44:08:55:14:F4:96:F6:7A:18:AD:3F:76:8D:02:EF:A4:BA:52:9E:72:C9:2A:E7:F7:5A:5E:E5:AE:F0:A4:E7:E4:0E:63:77:3C:47:B8:6D:D5:C8:40:D6:F5:67:73:16" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803130255Z", "not_valid_before": "20240803130257Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.011) 0:00:25.668 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.016) 0:00:25.685 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.011) 0:00:25.697 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.017) 0:00:25.714 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.019) 0:00:25.734 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.018) 0:00:25.752 ******* 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.039764", "end": "2024-08-03 13:03:07.464565", "rc": 0, "start": "2024-08-03 13:03:07.424801" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:03:07 +0000 (0:00:00.247) 0:00:25.999 ******* 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 03 August 2024 13:03:07 +0000 (0:00:00.020) 0:00:26.020 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 5.41s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.80s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.51s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tests_many_self_signed.yml:2 ------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.19s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 2.13s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tests_many_self_signed.yml:18 ------------ Ensure python3 is installed --------------------------------------------- 1.43s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.42s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.41s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.95s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.33s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.32s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.31s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.30s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.27s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.27s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.26s /WORKDIR/git-weekly-ciw0ilxk1p/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.22s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.22s /WORKDIR/git-weekly-ciw0ilxk1p/tests/tasks/assert_certificate_parameters.yml:38 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---