# 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-ciiexnbxb4/.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-ciiexnbxb4/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tests_many_self_signed.yml:2 Saturday 03 August 2024 13:26:48 +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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 13:26:49 +0000 (0:00:00.966) 0:00:00.990 ******* included: /WORKDIR/git-weekly-ciiexnbxb4/.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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 13:26:49 +0000 (0:00:00.011) 0:00:01.002 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 13:26:49 +0000 (0:00:00.013) 0:00:01.015 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 13:26:50 +0000 (0:00:00.263) 0:00:01.278 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 13:26:50 +0000 (0:00:00.014) 0:00:01.292 ******* 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-ciiexnbxb4/.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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 13:26:50 +0000 (0:00:00.022) 0:00:01.315 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.5.1-1.fc39.noarch", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: python3-ply-3.11-20.fc39.noarch", "Installed: python3-pycparser-2.20-11.fc39.noarch", "Installed: python3-cffi-1.15.1-6.fc39.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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 13:26:55 +0000 (0:00:05.544) 0:00:06.860 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: dbus-tools-1:1.14.10-1.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch", "Installed: certmonger-0.79.18-2.fc39.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 13:26:59 +0000 (0:00:04.241) 0:00:11.101 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 13:27:00 +0000 (0:00:00.383) 0:00:11.485 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 13:27:00 +0000 (0:00:00.236) 0:00:11.721 ******* 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": "system.slice sysinit.target basic.target dbus-broker.service syslog.target dbus.socket systemd-journald.socket network.target", "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", "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": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "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": "14754", "LimitNPROCSoft": "14754", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14754", "LimitSIGPENDINGSoft": "14754", "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": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "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", "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": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4426", "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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 13:27:01 +0000 (0:00:00.953) 0:00:12.675 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 13:27:03 +0000 (0:00:01.914) 0:00:14.589 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 13:27:03 +0000 (0:00:00.031) 0:00:14.620 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 13:27:03 +0000 (0:00:00.012) 0:00:14.632 ******* 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-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 13:27:03 +0000 (0:00:00.012) 0:00:14.645 ******* 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-ciiexnbxb4/tests/tests_many_self_signed.yml:18 Saturday 03 August 2024 13:27:03 +0000 (0:00:00.023) 0:00:14.668 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tests_many_self_signed.yml:50 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.743) 0:00:15.411 ******* included: /WORKDIR/git-weekly-ciiexnbxb4/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-ciiexnbxb4/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-ciiexnbxb4/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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.028) 0:00:15.440 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.008) 0:00:15.449 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.010) 0:00:15.460 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.010) 0:00:15.470 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:27:04 +0000 (0:00:00.007) 0:00:15.478 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:27:06 +0000 (0:00:02.077) 0:00:17.556 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691622.0269926, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "39d28a2810664782e2792f079b87678d2b2c4fcc", "ctime": 1722691622.0249925, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203658, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691622.0249925, "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": "2103692889", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.224) 0:00:17.780 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.011) 0:00:17.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.016) 0:00:17.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.016) 0:00:17.824 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691621.9789925, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea03b495530f03117ee5620b70faed4d23b10f3a", "ctime": 1722691622.0249925, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203657, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691622.0249925, "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": "2592004001", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.226) 0:00:18.051 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.010) 0:00:18.061 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:27:06 +0000 (0:00:00.016) 0:00:18.078 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "53:C5:16:FF:B4:18:E6:04:0E:90:86:AA:2A:3F:D5:5D:85:40:3F:A3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:FC:FD:06:E9:0D:80:BE:A6:C7:05:73:CC:D8:6C:CB:40:E1:B6:7C:D4:35:36:70:D4:90:AB:30:10:43:F0:82:1D:AB:93:4F:3F:F4:67:5D:6B:D1:00:06:B1:32:CF:9E:11:86:0E:57:B6:3B:02:53:28:1D:19:60:8F:9A:00:3C:CD:BD:0D:A5:4C:E4:59:F5:45:C3:45:09:D4:B1:C2:CE:77:1A:EC:3C:0B:42:E6:C9:CF:A7:CC:3E:3A:81:84:AA:EC:F8:61:8E:F8:F5:60:99:A5:38:DF:13:77:44:53:96:20:96:20:24:27:D4:0E:37:92:B9:EA:6B:B1:C1:34:C4:70:06:43:96:49:18:CF:24:41:84:18:1B:F8:49:DF:93:EF:E9:D7:56:D5:61:F4:98:94:53:74:20:FC:8E:37:2B:E7:36:DE:72:CD:59:3E:E4:EF:4D:F1:29:A7:34:C7:8A:B2:19:50:5C:54:05:49:03:1C:CE:E9:A4:E1:93:48:63:30:AB:1D:F4:3D:59:29:CF:17:E3:75:48:B6:B3:E2:A6:97:56:28:F6:EC:76:00:F2:1C:2B:37:3D:6E:29:0F:05:E2:21:C5:33:32:3B:44:51:85:28:04:45:4C:F7:84:77:52:89:52:46:EC:99:CD:09:FB:08:73:F0:26:1D:FB:FB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132702Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.333) 0:00:18.411 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "53:C5:16:FF:B4:18:E6:04:0E:90:86:AA:2A:3F:D5:5D:85:40:3F:A3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:FC:FD:06:E9:0D:80:BE:A6:C7:05:73:CC:D8:6C:CB:40:E1:B6:7C:D4:35:36:70:D4:90:AB:30:10:43:F0:82:1D:AB:93:4F:3F:F4:67:5D:6B:D1:00:06:B1:32:CF:9E:11:86:0E:57:B6:3B:02:53:28:1D:19:60:8F:9A:00:3C:CD:BD:0D:A5:4C:E4:59:F5:45:C3:45:09:D4:B1:C2:CE:77:1A:EC:3C:0B:42:E6:C9:CF:A7:CC:3E:3A:81:84:AA:EC:F8:61:8E:F8:F5:60:99:A5:38:DF:13:77:44:53:96:20:96:20:24:27:D4:0E:37:92:B9:EA:6B:B1:C1:34:C4:70:06:43:96:49:18:CF:24:41:84:18:1B:F8:49:DF:93:EF:E9:D7:56:D5:61:F4:98:94:53:74:20:FC:8E:37:2B:E7:36:DE:72:CD:59:3E:E4:EF:4D:F1:29:A7:34:C7:8A:B2:19:50:5C:54:05:49:03:1C:CE:E9:A4:E1:93:48:63:30:AB:1D:F4:3D:59:29:CF:17:E3:75:48:B6:B3:E2:A6:97:56:28:F6:EC:76:00:F2:1C:2B:37:3D:6E:29:0F:05:E2:21:C5:33:32:3B:44:51:85:28:04:45:4C:F7:84:77:52:89:52:46:EC:99:CD:09:FB:08:73:F0:26:1D:FB:FB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132702Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.012) 0:00:18.423 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.016) 0:00:18.440 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.011) 0:00:18.451 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.015) 0:00:18.467 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.017) 0:00:18.484 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.016) 0:00:18.501 ******* 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.038469", "end": "2024-08-03 13:27:07.562713", "rc": 0, "start": "2024-08-03 13:27:07.524244" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.303) 0:00:18.805 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.015) 0:00:18.820 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.008) 0:00:18.828 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.010) 0:00:18.839 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.010) 0:00:18.850 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:27:07 +0000 (0:00:00.007) 0:00:18.857 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:27:09 +0000 (0:00:02.058) 0:00:20.916 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691622.5979922, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a750ae7c7254c7c8da71ed405d5288381bde3658", "ctime": 1722691622.5949922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203660, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691622.5949922, "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": "1721815919", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:27:09 +0000 (0:00:00.223) 0:00:21.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:27:09 +0000 (0:00:00.011) 0:00:21.151 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:27:09 +0000 (0:00:00.018) 0:00:21.170 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:27:09 +0000 (0:00:00.016) 0:00:21.186 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691622.5509923, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d757d5551ac3e2b30950fce694052cd2688c9e1d", "ctime": 1722691622.5949922, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203659, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691622.5949922, "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": "2624050357", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.226) 0:00:21.412 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.012) 0:00:21.424 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.017) 0:00:21.441 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "0B:8B:0B:39:B6:9E:08:EC:5D:20:38:08:61:03:88:88:B5:93:E4:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4F:AF:BC:19:DE:BF:9B:30:73:B1:8B:3F:D7:81:05:1A:86:E1:99:84:F7:11:7D:7C:ED:B5:A7:5E:FB:14:63:B6:B8:15:20:59:52:93:AE:74:3B:04:BE:5C:A9:2D:06:87:D3:69:1D:EC:94:47:60:CC:59:8C:63:70:0A:41:A0:EF:7B:78:5B:30:D8:25:EF:A0:B7:30:0E:86:BA:1F:B6:E4:81:FD:B1:10:D4:53:D6:2C:63:7A:0D:CB:BC:E1:A7:FD:BE:1C:20:65:58:EA:3F:E8:15:69:AA:26:11:C0:34:CD:51:12:EE:FD:35:25:44:E9:E0:6F:DF:0D:88:B5:F3:62:7C:05:89:F9:20:CE:DE:0E:75:66:FE:FD:04:88:81:49:2D:76:4B:87:76:B1:75:2A:E5:94:8F:DD:AF:C3:DA:EC:B1:C8:E6:68:51:4F:7A:6A:38:D3:0D:1E:37:B3:EF:11:7D:32:21:23:68:22:33:B4:5D:8B:B2:62:2C:B0:4C:DE:0C:74:0C:21:6E:8E:FC:70:E5:24:B1:B5:17:BC:A6:BE:C4:F6:9A:A3:EA:62:BF:B8:4D:1C:48:4A:15:07:AE:03:14:AA:BC:C3:E9:27:88:8E:1B:7A:DF:A5:1D:1C:06:2B:C2:D3:4A:35:2A:26:11:E9:8B:0F:D8:EF:AC:7C:54:0A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132702Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.281) 0:00:21.723 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "0B:8B:0B:39:B6:9E:08:EC:5D:20:38:08:61:03:88:88:B5:93:E4:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4F:AF:BC:19:DE:BF:9B:30:73:B1:8B:3F:D7:81:05:1A:86:E1:99:84:F7:11:7D:7C:ED:B5:A7:5E:FB:14:63:B6:B8:15:20:59:52:93:AE:74:3B:04:BE:5C:A9:2D:06:87:D3:69:1D:EC:94:47:60:CC:59:8C:63:70:0A:41:A0:EF:7B:78:5B:30:D8:25:EF:A0:B7:30:0E:86:BA:1F:B6:E4:81:FD:B1:10:D4:53:D6:2C:63:7A:0D:CB:BC:E1:A7:FD:BE:1C:20:65:58:EA:3F:E8:15:69:AA:26:11:C0:34:CD:51:12:EE:FD:35:25:44:E9:E0:6F:DF:0D:88:B5:F3:62:7C:05:89:F9:20:CE:DE:0E:75:66:FE:FD:04:88:81:49:2D:76:4B:87:76:B1:75:2A:E5:94:8F:DD:AF:C3:DA:EC:B1:C8:E6:68:51:4F:7A:6A:38:D3:0D:1E:37:B3:EF:11:7D:32:21:23:68:22:33:B4:5D:8B:B2:62:2C:B0:4C:DE:0C:74:0C:21:6E:8E:FC:70:E5:24:B1:B5:17:BC:A6:BE:C4:F6:9A:A3:EA:62:BF:B8:4D:1C:48:4A:15:07:AE:03:14:AA:BC:C3:E9:27:88:8E:1B:7A:DF:A5:1D:1C:06:2B:C2:D3:4A:35:2A:26:11:E9:8B:0F:D8:EF:AC:7C:54:0A" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132702Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.010) 0:00:21.734 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.015) 0:00:21.749 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.010) 0:00:21.760 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.013) 0:00:21.773 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.017) 0:00:21.791 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.016) 0:00:21.807 ******* 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.038219", "end": "2024-08-03 13:27:10.815308", "rc": 0, "start": "2024-08-03 13:27:10.777089" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.250) 0:00:22.058 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.015) 0:00:22.073 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.008) 0:00:22.082 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.010) 0:00:22.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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.010) 0:00:22.103 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 13:27:10 +0000 (0:00:00.008) 0:00:22.111 ******* 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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 13:27:12 +0000 (0:00:02.085) 0:00:24.197 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691623.2209918, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d25c637cf8c74877f46dfdcf69e2d58003576715", "ctime": 1722691623.2179918, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203662, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691623.2179918, "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": "1219955896", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.223) 0:00:24.420 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.010) 0:00:24.431 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.017) 0:00:24.449 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.016) 0:00:24.465 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722691623.172992, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1d3e2a168e9ffe2542b2f01f6bf2598ca25903f2", "ctime": 1722691623.2179918, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203661, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722691623.2179918, "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": "3155895989", "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-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.227) 0:00:24.692 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.011) 0:00:24.704 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.017) 0:00:24.721 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "92:1A:4A:34:5D:1C:8A:14:20:23:2F:EA:5E:16:09:59:E0:8C:C2:30" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0F:F9:29:57:BA:E8:6F:B9:3A:71:32:3A:06:E4:E3:01:38:D4:98:F8:15:90:56:82:66:FD:0A:0A:02:CC:CB:CE:48:F9:F0:29:1A:08:E3:75:06:31:80:FB:6A:8D:02:87:0D:C1:3C:20:70:57:CD:0B:32:20:F0:0B:8C:8B:D6:DA:35:DC:8E:49:EE:0C:4F:80:14:D3:1B:A4:9A:17:E1:13:31:FE:07:3E:07:CA:C3:52:64:4B:45:D6:27:A8:11:B3:4F:F5:0D:6F:AE:0D:77:17:B2:B5:A9:9F:9B:7A:0A:AB:2D:BC:64:87:D3:49:21:7A:DE:D8:75:3C:80:CB:29:04:DA:E8:B8:13:4A:78:53:BF:F5:73:76:6F:E2:77:85:0F:2D:F9:E2:D8:C2:76:C4:4F:90:E7:EC:9C:E5:E6:C4:4A:A2:76:28:83:8F:DF:58:29:90:48:FB:AE:39:72:91:A7:CF:97:94:3E:64:57:15:30:71:00:C7:95:D2:F4:58:93:6F:4C:25:25:E8:72:70:CB:5A:89:74:B0:47:7E:4D:EE:1D:49:D1:54:B4:05:86:8F:6F:8D:77:80:CF:5A:7B:F5:D9:67:1E:4B:B3:75:B6:73:02:07:68:AE:EF:1A:14:78:DD:C7:B0:A3:43:69:8D:8B:C6:52:A6:E5:9D:08:D0:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132703Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.280) 0:00:25.001 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "12:14:C7:00:99:3F:15:CA:E6:66:8C:21:FA:60:AD:1B:E7:5E:63:5B" }, "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": "92:1A:4A:34:5D:1C:8A:14:20:23:2F:EA:5E:16:09:59:E0:8C:C2:30" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0F:F9:29:57:BA:E8:6F:B9:3A:71:32:3A:06:E4:E3:01:38:D4:98:F8:15:90:56:82:66:FD:0A:0A:02:CC:CB:CE:48:F9:F0:29:1A:08:E3:75:06:31:80:FB:6A:8D:02:87:0D:C1:3C:20:70:57:CD:0B:32:20:F0:0B:8C:8B:D6:DA:35:DC:8E:49:EE:0C:4F:80:14:D3:1B:A4:9A:17:E1:13:31:FE:07:3E:07:CA:C3:52:64:4B:45:D6:27:A8:11:B3:4F:F5:0D:6F:AE:0D:77:17:B2:B5:A9:9F:9B:7A:0A:AB:2D:BC:64:87:D3:49:21:7A:DE:D8:75:3C:80:CB:29:04:DA:E8:B8:13:4A:78:53:BF:F5:73:76:6F:E2:77:85:0F:2D:F9:E2:D8:C2:76:C4:4F:90:E7:EC:9C:E5:E6:C4:4A:A2:76:28:83:8F:DF:58:29:90:48:FB:AE:39:72:91:A7:CF:97:94:3E:64:57:15:30:71:00:C7:95:D2:F4:58:93:6F:4C:25:25:E8:72:70:CB:5A:89:74:B0:47:7E:4D:EE:1D:49:D1:54:B4:05:86:8F:6F:8D:77:80:CF:5A:7B:F5:D9:67:1E:4B:B3:75:B6:73:02:07:68:AE:EF:1A:14:78:DD:C7:B0:A3:43:69:8D:8B:C6:52:A6:E5:9D:08:D0:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803132701Z", "not_valid_before": "20240803132703Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.012) 0:00:25.014 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.015) 0:00:25.029 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.010) 0:00:25.040 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.013) 0:00:25.054 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.017) 0:00:25.071 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 13:27:13 +0000 (0:00:00.016) 0:00:25.088 ******* 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.038282", "end": "2024-08-03 13:27:14.093902", "rc": 0, "start": "2024-08-03 13:27:14.055620" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 13:27:14 +0000 (0:00:00.247) 0:00:25.336 ******* 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:27:14 +0000 (0:00:00.020) 0:00:25.357 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 5.54s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.24s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.09s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.08s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.06s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.91s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.97s /WORKDIR/git-weekly-ciiexnbxb4/tests/tests_many_self_signed.yml:2 ------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.95s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-weekly-ciiexnbxb4/tests/tests_many_self_signed.yml:18 ------------ fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.38s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.33s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.30s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.28s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.28s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.26s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.24s /WORKDIR/git-weekly-ciiexnbxb4/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.23s /WORKDIR/git-weekly-ciiexnbxb4/tests/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.23s /WORKDIR/git-weekly-ciiexnbxb4/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. [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. ---^---^---^---^---^---