# 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-cif68lym7g/.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-cif68lym7g/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_many_self_signed.yml:2 Saturday 03 August 2024 12:55:10 +0000 (0:00:00.021) 0:00:00.021 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 12:55:11 +0000 (0:00:01.003) 0:00:01.025 ******* included: /WORKDIR/git-weekly-cif68lym7g/.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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 12:55:11 +0000 (0:00:00.012) 0:00:01.037 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 12:55:11 +0000 (0:00:00.012) 0:00:01.049 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 12:55:11 +0000 (0:00:00.269) 0:00:01.319 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 12:55:11 +0000 (0:00:00.013) 0:00:01.333 ******* 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" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 12:55:11 +0000 (0:00:00.023) 0:00:01.357 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.5.1-4.el10.noarch", "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-cryptography-41.0.7-2.el10.x86_64", "Installed: python3-ply-3.11-24.el10.noarch", "Installed: python3-pycparser-2.20-15.el10.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 12:55:14 +0000 (0:00:02.703) 0:00:04.060 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: nspr-4.35.0-27.el10.x86_64", "Installed: nss-3.101.0-6.el10.x86_64", "Installed: certmonger-0.79.20-2.el10.x86_64", "Installed: dbus-tools-1:1.14.10-4.el10.x86_64", "Installed: nss-softokn-3.101.0-6.el10.x86_64", "Installed: nss-softokn-freebl-3.101.0-6.el10.x86_64", "Installed: nss-sysinit-3.101.0-6.el10.x86_64", "Installed: python3-packaging-23.2-5.el10.noarch", "Installed: nss-util-3.101.0-6.el10.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 12:55:17 +0000 (0:00:03.382) 0:00:07.443 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 12:55:17 +0000 (0:00:00.323) 0:00:07.767 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 12:55:18 +0000 (0:00:00.248) 0:00:08.015 ******* 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": "basic.target systemd-journald.socket sysinit.target syslog.target dbus.socket network.target system.slice dbus-broker.service", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3700932608", "EffectiveMemoryMax": "3700932608", "EffectiveTasksMax": "22402", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "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": "3278016512", "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", "MemoryZSwapWriteback": "yes", "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 sysinit.target 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": "22402", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 12:55:19 +0000 (0:00:00.951) 0:00:08.967 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 12:55:21 +0000 (0:00:02.264) 0:00:11.231 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 12:55:21 +0000 (0:00:00.031) 0:00:11.262 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 12:55:21 +0000 (0:00:00.012) 0:00:11.275 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 12:55:21 +0000 (0:00:00.013) 0:00:11.288 ******* 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-cif68lym7g/tests/tests_many_self_signed.yml:18 Saturday 03 August 2024 12:55:21 +0000 (0:00:00.023) 0:00:11.312 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_many_self_signed.yml:50 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.745) 0:00:12.057 ******* included: /WORKDIR/git-weekly-cif68lym7g/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-cif68lym7g/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-cif68lym7g/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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.028) 0:00:12.085 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.007) 0:00:12.093 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.010) 0:00:12.104 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.010) 0:00:12.114 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.007) 0:00:12.122 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:55:22 +0000 (0:00:00.689) 0:00:12.811 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689719.750154, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "805bd397b5a59b97f9ea13cf158c33f9ba70afd5", "ctime": 1722689719.747154, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6405303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689719.747154, "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": "3866165693", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.231) 0:00:13.043 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.010) 0:00:13.054 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.015) 0:00:13.070 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.017) 0:00:13.088 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689719.687154, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ac8503f111d5e0fe2badb5cf14e7651d44e3ea52", "ctime": 1722689719.747154, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689719.747154, "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": "1550823362", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.238) 0:00:13.326 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.011) 0:00:13.338 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.023) 0:00:13.361 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "B6:01:37:CE:5E:17:F5:5B:71:10:43:4D:4A:1C:A7:F0:65:3C:7F:77" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B0:E0:41:01:BC:5D:40:FF:33:7E:B6:32:AD:F8:32:8B:81:39:19:B0:10:DA:5B:3A:5F:A8:3B:17:B4:4E:13:C8:22:35:39:8A:15:43:1D:C5:E0:1B:73:83:1C:9A:3F:63:59:3E:83:71:7F:2B:1E:7D:4B:53:22:BD:7C:5D:C5:E2:B5:60:97:24:0F:1F:0C:F9:3B:1B:0B:92:4A:57:73:36:34:A0:D6:81:AD:1E:CF:D0:92:46:02:61:C4:86:55:41:7F:2C:71:2F:81:82:E8:84:62:1B:EB:FE:F3:8A:58:8D:4C:5A:19:08:9B:F1:B2:D4:DB:44:A8:7C:E5:71:4E:8E:7E:7A:46:2F:85:50:E8:69:CE:E1:E7:35:70:73:D9:8A:39:1C:FD:51:29:69:20:98:6E:49:2B:E3:8D:A9:92:51:4C:41:AD:7D:9C:11:F4:E6:FF:18:78:0D:B9:F2:09:D5:38:C5:60:7F:CE:EC:5A:6E:1D:41:42:2E:6D:F9:A2:18:D6:D6:B1:56:64:56:CB:51:DD:1D:6C:F8:DF:E8:42:25:C3:D1:7D:FD:31:17:54:8E:9B:56:99:1C:23:90:68:11:9F:86:4A:B2:2B:8C:81:D0:6E:B8:CC:D8:14:85:D3:F7:1C:98:D4:DD:24:53:EA:36:16:E1:A6:7E:E0:0C:19:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125519Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.359) 0:00:13.721 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "B6:01:37:CE:5E:17:F5:5B:71:10:43:4D:4A:1C:A7:F0:65:3C:7F:77" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B0:E0:41:01:BC:5D:40:FF:33:7E:B6:32:AD:F8:32:8B:81:39:19:B0:10:DA:5B:3A:5F:A8:3B:17:B4:4E:13:C8:22:35:39:8A:15:43:1D:C5:E0:1B:73:83:1C:9A:3F:63:59:3E:83:71:7F:2B:1E:7D:4B:53:22:BD:7C:5D:C5:E2:B5:60:97:24:0F:1F:0C:F9:3B:1B:0B:92:4A:57:73:36:34:A0:D6:81:AD:1E:CF:D0:92:46:02:61:C4:86:55:41:7F:2C:71:2F:81:82:E8:84:62:1B:EB:FE:F3:8A:58:8D:4C:5A:19:08:9B:F1:B2:D4:DB:44:A8:7C:E5:71:4E:8E:7E:7A:46:2F:85:50:E8:69:CE:E1:E7:35:70:73:D9:8A:39:1C:FD:51:29:69:20:98:6E:49:2B:E3:8D:A9:92:51:4C:41:AD:7D:9C:11:F4:E6:FF:18:78:0D:B9:F2:09:D5:38:C5:60:7F:CE:EC:5A:6E:1D:41:42:2E:6D:F9:A2:18:D6:D6:B1:56:64:56:CB:51:DD:1D:6C:F8:DF:E8:42:25:C3:D1:7D:FD:31:17:54:8E:9B:56:99:1C:23:90:68:11:9F:86:4A:B2:2B:8C:81:D0:6E:B8:CC:D8:14:85:D3:F7:1C:98:D4:DD:24:53:EA:36:16:E1:A6:7E:E0:0C:19:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125519Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.012) 0:00:13.734 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.016) 0:00:13.750 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.011) 0:00:13.762 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.015) 0:00:13.778 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.030) 0:00:13.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:55:23 +0000 (0:00:00.017) 0:00:13.826 ******* 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.047879", "end": "2024-08-03 12:55:24.261073", "rc": 0, "start": "2024-08-03 12:55:24.213194" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.322) 0:00:14.148 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.015) 0:00:14.164 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.007) 0:00:14.171 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.010) 0:00:14.182 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.010) 0:00:14.192 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:55:24 +0000 (0:00:00.007) 0:00:14.200 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.685) 0:00:14.886 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689720.429155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "81c77391f652f3c4fea29eb12660ddf3e4f0dbdb", "ctime": 1722689720.426155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6405304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689720.426155, "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": "663992488", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.229) 0:00:15.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.011) 0:00:15.127 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.016) 0:00:15.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.016) 0:00:15.160 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689720.343155, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2f35f07c7bc37990f560614dbf39d99be39ab14d", "ctime": 1722689720.426155, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689720.426155, "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": "3944234411", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.245) 0:00:15.405 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.014) 0:00:15.419 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.016) 0:00:15.436 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "D8:8F:98:A0:F7:A9:D8:1C:CE:8B:3B:A2:17:05:97:6B:DC:C7:E1:FF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:84:54:9E:20:D5:7D:6D:C0:7D:0D:77:1D:8A:A9:DA:E8:34:D3:DF:12:9F:E6:B8:2D:F6:D9:52:40:6E:73:99:95:C3:EB:1B:41:0C:77:39:CD:BE:8F:A4:6E:7A:80:36:10:2F:55:33:AE:8B:C2:22:AE:93:D9:CD:F5:37:F7:2A:D6:F1:E9:B9:48:C3:BE:6F:D0:32:D8:C5:42:E8:88:84:82:29:7F:FF:1C:F0:B5:C4:7F:3B:F7:15:04:CC:85:8A:D5:1D:D0:56:B2:A0:8A:C4:96:E7:2F:5F:92:20:5A:73:B3:F9:D4:8F:51:14:B4:5C:8A:1E:A7:BD:CF:84:C6:4A:9A:9D:7C:BC:B3:66:E7:CC:4B:2C:FF:2B:B3:87:9C:E7:6A:69:36:E4:CA:5A:C2:29:3E:56:FD:5F:38:E0:13:DD:EC:18:55:23:15:7F:F7:D4:59:EE:CD:61:D7:E3:C1:F5:B5:46:EA:F0:9A:9D:A4:8D:A4:1B:1F:70:02:C0:65:B5:E5:33:30:A2:65:DA:B8:C4:5D:E0:F4:93:2C:1F:0C:13:ED:D5:5B:84:78:08:33:BA:92:73:79:6F:4E:81:36:A9:71:14:D5:67:AB:7E:AD:3F:50:8E:F1:8C:AF:28:FE:B7:8F:B8:00:DF:E2:52:94:F3:8B:EC:CC:1F:DA:27:09:D3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125520Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.279) 0:00:15.715 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "D8:8F:98:A0:F7:A9:D8:1C:CE:8B:3B:A2:17:05:97:6B:DC:C7:E1:FF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:84:54:9E:20:D5:7D:6D:C0:7D:0D:77:1D:8A:A9:DA:E8:34:D3:DF:12:9F:E6:B8:2D:F6:D9:52:40:6E:73:99:95:C3:EB:1B:41:0C:77:39:CD:BE:8F:A4:6E:7A:80:36:10:2F:55:33:AE:8B:C2:22:AE:93:D9:CD:F5:37:F7:2A:D6:F1:E9:B9:48:C3:BE:6F:D0:32:D8:C5:42:E8:88:84:82:29:7F:FF:1C:F0:B5:C4:7F:3B:F7:15:04:CC:85:8A:D5:1D:D0:56:B2:A0:8A:C4:96:E7:2F:5F:92:20:5A:73:B3:F9:D4:8F:51:14:B4:5C:8A:1E:A7:BD:CF:84:C6:4A:9A:9D:7C:BC:B3:66:E7:CC:4B:2C:FF:2B:B3:87:9C:E7:6A:69:36:E4:CA:5A:C2:29:3E:56:FD:5F:38:E0:13:DD:EC:18:55:23:15:7F:F7:D4:59:EE:CD:61:D7:E3:C1:F5:B5:46:EA:F0:9A:9D:A4:8D:A4:1B:1F:70:02:C0:65:B5:E5:33:30:A2:65:DA:B8:C4:5D:E0:F4:93:2C:1F:0C:13:ED:D5:5B:84:78:08:33:BA:92:73:79:6F:4E:81:36:A9:71:14:D5:67:AB:7E:AD:3F:50:8E:F1:8C:AF:28:FE:B7:8F:B8:00:DF:E2:52:94:F3:8B:EC:CC:1F:DA:27:09:D3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125520Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.012) 0:00:15.728 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.016) 0:00:15.745 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.013) 0:00:15.758 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.019) 0:00:15.777 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.016) 0:00:15.794 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:55:25 +0000 (0:00:00.015) 0:00:15.810 ******* 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.047388", "end": "2024-08-03 12:55:26.183106", "rc": 0, "start": "2024-08-03 12:55:26.135718" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.260) 0:00:16.071 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.015) 0:00:16.087 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.007) 0:00:16.095 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.010) 0:00:16.105 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.010) 0:00:16.116 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.007) 0:00:16.123 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:55:26 +0000 (0:00:00.660) 0:00:16.784 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689721.2441564, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3d537519f8764d2376fe2547359cdaac4b6b32c1", "ctime": 1722689721.2411563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6405305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689721.2411563, "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": "2368419274", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.223) 0:00:17.007 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.011) 0:00:17.018 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.017) 0:00:17.036 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.014) 0:00:17.051 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689721.1931562, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fa41a60cb961b0f02abac94c4ce737a74364ae6a", "ctime": 1722689721.2411563, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689721.2411563, "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": "1771688951", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.228) 0:00:17.279 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.010) 0:00:17.290 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.018) 0:00:17.308 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "5D:E8:70:15:23:5E:82:6B:E4:D6:BE:C3:06:EB:5B:41:1F:3C:2F:8C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A8:8A:5B:CE:4C:7A:54:C8:F6:5F:EE:85:68:74:C3:BF:68:90:63:71:B8:FB:08:13:90:BA:46:88:42:D5:D4:2B:FA:83:44:B7:E1:4C:1E:9C:A9:07:73:1E:D0:0E:43:7D:F9:A7:C2:CB:3E:BF:35:98:9C:30:98:85:38:01:39:3F:DC:16:2F:7D:87:59:97:3E:31:1F:19:A2:C2:F4:39:EF:5D:21:43:9E:F2:7D:D2:5A:30:63:92:2B:F0:A1:B8:97:44:01:A4:52:4F:84:8B:92:23:88:E4:5F:9E:4E:20:9A:CE:D6:05:B9:A4:4A:C3:12:C1:C6:84:89:0F:88:6C:55:53:BD:4F:B3:2C:DF:5C:15:26:39:BB:C5:F9:44:31:6A:35:4A:48:E7:10:C0:CB:E5:E7:57:1A:B0:CB:E0:3F:71:2A:DB:C1:4E:64:2B:CA:82:A9:F7:C3:6D:62:6D:50:7B:7A:9F:88:B1:C0:2E:70:FC:E6:C3:04:96:9F:C8:6F:DE:D6:8F:BC:68:C6:6E:2B:6C:50:1F:2D:79:83:A3:BA:E1:76:AD:0D:DE:6E:DD:9A:CF:DD:CD:04:48:DD:FB:13:CC:E7:F9:B8:82:AB:48:6A:4E:32:30:71:DF:8C:F6:66:5C:C7:D5:03:A2:30:26:F4:8B:71:12:B6:4E:1B:DA:9A:C6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125521Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.271) 0:00:17.579 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D8:7F:10:7C:EB:D8:98:4E:B3:E9:85:59:CD:41:FE:60:2E:88:BD:14" }, "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": "5D:E8:70:15:23:5E:82:6B:E4:D6:BE:C3:06:EB:5B:41:1F:3C:2F:8C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A8:8A:5B:CE:4C:7A:54:C8:F6:5F:EE:85:68:74:C3:BF:68:90:63:71:B8:FB:08:13:90:BA:46:88:42:D5:D4:2B:FA:83:44:B7:E1:4C:1E:9C:A9:07:73:1E:D0:0E:43:7D:F9:A7:C2:CB:3E:BF:35:98:9C:30:98:85:38:01:39:3F:DC:16:2F:7D:87:59:97:3E:31:1F:19:A2:C2:F4:39:EF:5D:21:43:9E:F2:7D:D2:5A:30:63:92:2B:F0:A1:B8:97:44:01:A4:52:4F:84:8B:92:23:88:E4:5F:9E:4E:20:9A:CE:D6:05:B9:A4:4A:C3:12:C1:C6:84:89:0F:88:6C:55:53:BD:4F:B3:2C:DF:5C:15:26:39:BB:C5:F9:44:31:6A:35:4A:48:E7:10:C0:CB:E5:E7:57:1A:B0:CB:E0:3F:71:2A:DB:C1:4E:64:2B:CA:82:A9:F7:C3:6D:62:6D:50:7B:7A:9F:88:B1:C0:2E:70:FC:E6:C3:04:96:9F:C8:6F:DE:D6:8F:BC:68:C6:6E:2B:6C:50:1F:2D:79:83:A3:BA:E1:76:AD:0D:DE:6E:DD:9A:CF:DD:CD:04:48:DD:FB:13:CC:E7:F9:B8:82:AB:48:6A:4E:32:30:71:DF:8C:F6:66:5C:C7:D5:03:A2:30:26:F4:8B:71:12:B6:4E:1B:DA:9A:C6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250803125519Z", "not_valid_before": "20240803125521Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.011) 0:00:17.590 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.018) 0:00:17.609 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.012) 0:00:17.622 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.017) 0:00:17.640 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.018) 0:00:17.658 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:55:27 +0000 (0:00:00.017) 0:00:17.676 ******* 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.047918", "end": "2024-08-03 12:55:28.057224", "rc": 0, "start": "2024-08-03 12:55:28.009306" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:55:28 +0000 (0:00:00.269) 0:00:17.945 ******* 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 12:55:28 +0000 (0:00:00.020) 0:00:17.965 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.38s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.70s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.26s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.00s /WORKDIR/git-weekly-cif68lym7g/tests/tests_many_self_signed.yml:2 ------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.95s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-cif68lym7g/tests/tests_many_self_signed.yml:18 ------------ Ensure python3 is installed --------------------------------------------- 0.69s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.69s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.66s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Parse certificate ------------------------------------------------------- 0.36s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.32s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.32s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.28s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.27s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.27s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.27s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.26s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.25s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.25s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.24s /WORKDIR/git-weekly-cif68lym7g/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. ---^---^---^---^---^---