# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cidts8h4zg/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-cidts8h4zg/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tests_many_self_signed.yml:2 Saturday 25 May 2024 16:36:03 +0000 (0:00:00.012) 0:00:00.012 ********** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.935) 0:00:00.948 ********** included: /WORKDIR/git-weekly-cidts8h4zg/.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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.010) 0:00:00.959 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.016) 0:00:00.976 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.267) 0:00:01.243 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.013) 0:00:01.256 ********** 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-cidts8h4zg/.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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 25 May 2024 16:36:04 +0000 (0:00:00.021) 0:00:01.278 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "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", "Installed: python3-pyasn1-0.5.1-1.fc39.noarch", "Installed: python3-cryptography-41.0.7-1.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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 25 May 2024 16:36:11 +0000 (0:00:06.421) 0:00:07.699 ********** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.18-2.fc39.x86_64", "Installed: dbus-tools-1:1.14.10-1.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 25 May 2024 16:36:15 +0000 (0:00:04.634) 0:00:12.333 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 25 May 2024 16:36:15 +0000 (0:00:00.309) 0:00:12.643 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 25 May 2024 16:36:16 +0000 (0:00:00.243) 0:00:12.887 ********** 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": "syslog.target dbus-broker.service network.target systemd-journald.socket basic.target sysinit.target dbus.socket system.slice", "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": "14756", "LimitNPROCSoft": "14756", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14756", "LimitSIGPENDINGSoft": "14756", "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": "system.slice sysinit.target dbus.socket", "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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 25 May 2024 16:36:17 +0000 (0:00:01.012) 0:00:13.900 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 25 May 2024 16:36:19 +0000 (0:00:02.074) 0:00:15.974 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 25 May 2024 16:36:19 +0000 (0:00:00.035) 0:00:16.009 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 25 May 2024 16:36:19 +0000 (0:00:00.016) 0:00:16.025 ********** 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-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 25 May 2024 16:36:19 +0000 (0:00:00.016) 0:00:16.042 ********** 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-cidts8h4zg/tests/tests_many_self_signed.yml:18 Saturday 25 May 2024 16:36:19 +0000 (0:00:00.026) 0:00:16.069 ********** ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tests_many_self_signed.yml:50 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.719) 0:00:16.788 ********** included: /WORKDIR/git-weekly-cidts8h4zg/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-cidts8h4zg/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-cidts8h4zg/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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:2 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.026) 0:00:16.814 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:9 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.007) 0:00:16.822 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:14 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.010) 0:00:16.833 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:18 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.009) 0:00:16.842 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 Saturday 25 May 2024 16:36:20 +0000 (0:00:00.007) 0:00:16.849 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:38 Saturday 25 May 2024 16:36:22 +0000 (0:00:02.079) 0:00:18.929 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654977.8646753, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "83998c686c8abe10ab19694112c630f0bd58b664", "ctime": 1716654977.8606753, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203849, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654977.8606753, "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": "965247751", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:43 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.251) 0:00:19.180 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:49 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.009) 0:00:19.190 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:59 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.019) 0:00:19.210 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:65 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.018) 0:00:19.229 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654977.8136752, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cdfe73de03d5b8aff06190cd5089ca995b536a09", "ctime": 1716654977.8606753, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203848, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654977.8606753, "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": "3789397985", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:70 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.227) 0:00:19.456 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:76 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.010) 0:00:19.467 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 Saturday 25 May 2024 16:36:22 +0000 (0:00:00.020) 0:00:19.487 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "5C:4D:F0:D8:9B:02:AD:54:5C:F6:29:64:02:4E:07:24:3B:E8:F2:B0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "96:91:36:F5:86:BB:91:AC:CC:59:48:FB:B5:63:45:53:25:06:54:33:05:45:CF:39:AB:BA:C8:DC:A2:1C:8F:57:36:7B:4F:0D:5B:2C:2A:C6:5B:9E:A3:82:74:52:B3:80:71:EF:5B:8F:79:8D:EB:D7:A5:AD:2F:AE:5E:09:1F:2C:8F:88:18:F4:B5:4D:AE:D3:12:9A:09:22:F5:80:C9:21:E4:D2:F4:2C:85:AC:9F:F6:60:D4:43:AA:4A:84:9C:3B:89:72:59:7B:28:4F:EE:18:BD:D5:CF:00:39:28:3F:FA:CE:B6:61:AA:4F:D6:A8:A5:70:00:23:52:8E:99:60:D2:84:CF:F7:7E:60:F4:E7:C2:54:86:1B:DD:94:5A:E3:C9:AC:C6:35:B6:86:D1:3D:87:B2:31:2A:AF:9F:B7:C2:8B:56:99:A0:C0:3D:30:AB:6A:CC:CA:09:96:6A:AC:03:A7:76:03:24:26:6B:C2:69:54:C7:C7:99:62:D5:BA:B4:C7:D4:72:1E:FA:6F:38:49:AC:00:FB:03:60:3B:23:E0:B0:65:A9:12:2A:DD:2B:C0:C1:9E:16:3C:E9:CB:76:A0:B6:0E:41:BB:C2:DD:74:BF:85:14:6D:78:BA:5C:9F:A8:98:49:E2:A6:B1:02:54:BA:94:38:79:E6:39:55:80:AD:99" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163617Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:92 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.337) 0:00:19.824 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "5C:4D:F0:D8:9B:02:AD:54:5C:F6:29:64:02:4E:07:24:3B:E8:F2:B0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "96:91:36:F5:86:BB:91:AC:CC:59:48:FB:B5:63:45:53:25:06:54:33:05:45:CF:39:AB:BA:C8:DC:A2:1C:8F:57:36:7B:4F:0D:5B:2C:2A:C6:5B:9E:A3:82:74:52:B3:80:71:EF:5B:8F:79:8D:EB:D7:A5:AD:2F:AE:5E:09:1F:2C:8F:88:18:F4:B5:4D:AE:D3:12:9A:09:22:F5:80:C9:21:E4:D2:F4:2C:85:AC:9F:F6:60:D4:43:AA:4A:84:9C:3B:89:72:59:7B:28:4F:EE:18:BD:D5:CF:00:39:28:3F:FA:CE:B6:61:AA:4F:D6:A8:A5:70:00:23:52:8E:99:60:D2:84:CF:F7:7E:60:F4:E7:C2:54:86:1B:DD:94:5A:E3:C9:AC:C6:35:B6:86:D1:3D:87:B2:31:2A:AF:9F:B7:C2:8B:56:99:A0:C0:3D:30:AB:6A:CC:CA:09:96:6A:AC:03:A7:76:03:24:26:6B:C2:69:54:C7:C7:99:62:D5:BA:B4:C7:D4:72:1E:FA:6F:38:49:AC:00:FB:03:60:3B:23:E0:B0:65:A9:12:2A:DD:2B:C0:C1:9E:16:3C:E9:CB:76:A0:B6:0E:41:BB:C2:DD:74:BF:85:14:6D:78:BA:5C:9F:A8:98:49:E2:A6:B1:02:54:BA:94:38:79:E6:39:55:80:AD:99" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163617Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:96 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.011) 0:00:19.835 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:104 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.019) 0:00:19.855 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:112 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.010) 0:00:19.866 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:119 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.019) 0:00:19.885 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:130 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.021) 0:00:19.907 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.020) 0:00:19.928 ********** 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.043687", "end": "2024-05-25 16:36:23.538996", "rc": 0, "start": "2024-05-25 16:36:23.495309" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:152 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.310) 0:00:20.238 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:2 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.019) 0:00:20.257 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:9 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.007) 0:00:20.265 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:14 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.010) 0:00:20.275 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:18 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.010) 0:00:20.285 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 Saturday 25 May 2024 16:36:23 +0000 (0:00:00.007) 0:00:20.293 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:38 Saturday 25 May 2024 16:36:25 +0000 (0:00:02.065) 0:00:22.358 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654978.4576774, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0b2a0df5746b4d5da4c81a941675381a88424a5c", "ctime": 1716654978.4536774, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203851, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654978.4536774, "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": "1009891988", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:43 Saturday 25 May 2024 16:36:25 +0000 (0:00:00.222) 0:00:22.580 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:49 Saturday 25 May 2024 16:36:25 +0000 (0:00:00.009) 0:00:22.590 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:59 Saturday 25 May 2024 16:36:25 +0000 (0:00:00.020) 0:00:22.610 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:65 Saturday 25 May 2024 16:36:25 +0000 (0:00:00.018) 0:00:22.629 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654978.4076772, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4a22a9b00b114c505a75dc208aa22ad21c1de351", "ctime": 1716654978.4536774, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203850, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654978.4536774, "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": "2544034985", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:70 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.223) 0:00:22.852 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:76 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.009) 0:00:22.861 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.020) 0:00:22.882 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "7F:E5:64:46:2B:95:CE:43:5F:31:91:9C:06:22:E1:44:EB:9A:39:00" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:B9:50:CD:5E:DF:35:1A:FF:27:0A:9C:36:7D:A2:62:04:C5:B5:A2:9D:BB:B4:35:6A:7B:6C:A1:F0:67:C1:06:AA:27:58:43:3E:39:5C:73:01:3C:B7:80:81:A2:9D:B5:73:6B:5C:7A:C7:3A:38:DB:EB:7F:EC:16:93:D8:AF:68:51:47:9D:06:2B:2C:E1:F6:1A:50:D5:BB:B1:2D:1B:1F:18:D8:57:8A:F4:D6:BA:1B:76:30:67:DF:13:90:C0:C4:C3:4B:FE:23:AE:5E:ED:14:D2:E9:46:D9:E3:B4:E5:76:96:BE:86:A5:44:4A:43:15:4B:9A:D0:23:68:17:51:04:98:3E:85:4E:66:6E:42:D4:38:6C:EB:33:1A:D1:B0:EE:F2:B7:AA:82:A8:1C:2C:D3:60:D2:44:DE:93:61:E5:F4:00:2F:A8:DA:FD:AC:87:73:0E:75:75:4E:05:36:B0:96:61:E3:03:87:0A:E0:BE:C4:FF:1A:9D:84:04:58:8E:E6:BA:11:2C:5F:87:15:02:D0:BD:3A:EA:AB:35:1E:15:E5:1A:F1:B4:F9:F0:33:9C:E8:6B:4E:70:12:B4:9B:B9:17:92:68:CF:53:A7:11:54:AD:0C:03:6E:E1:1B:08:95:A4:04:49:8B:F8:8D:EF:45:0D:42:80:14:F6:62:FB:E8:DE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163618Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:92 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.277) 0:00:23.159 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "7F:E5:64:46:2B:95:CE:43:5F:31:91:9C:06:22:E1:44:EB:9A:39:00" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:B9:50:CD:5E:DF:35:1A:FF:27:0A:9C:36:7D:A2:62:04:C5:B5:A2:9D:BB:B4:35:6A:7B:6C:A1:F0:67:C1:06:AA:27:58:43:3E:39:5C:73:01:3C:B7:80:81:A2:9D:B5:73:6B:5C:7A:C7:3A:38:DB:EB:7F:EC:16:93:D8:AF:68:51:47:9D:06:2B:2C:E1:F6:1A:50:D5:BB:B1:2D:1B:1F:18:D8:57:8A:F4:D6:BA:1B:76:30:67:DF:13:90:C0:C4:C3:4B:FE:23:AE:5E:ED:14:D2:E9:46:D9:E3:B4:E5:76:96:BE:86:A5:44:4A:43:15:4B:9A:D0:23:68:17:51:04:98:3E:85:4E:66:6E:42:D4:38:6C:EB:33:1A:D1:B0:EE:F2:B7:AA:82:A8:1C:2C:D3:60:D2:44:DE:93:61:E5:F4:00:2F:A8:DA:FD:AC:87:73:0E:75:75:4E:05:36:B0:96:61:E3:03:87:0A:E0:BE:C4:FF:1A:9D:84:04:58:8E:E6:BA:11:2C:5F:87:15:02:D0:BD:3A:EA:AB:35:1E:15:E5:1A:F1:B4:F9:F0:33:9C:E8:6B:4E:70:12:B4:9B:B9:17:92:68:CF:53:A7:11:54:AD:0C:03:6E:E1:1B:08:95:A4:04:49:8B:F8:8D:EF:45:0D:42:80:14:F6:62:FB:E8:DE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163618Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:96 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.009) 0:00:23.169 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:104 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.019) 0:00:23.189 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:112 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.010) 0:00:23.199 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:119 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.018) 0:00:23.217 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:130 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.019) 0:00:23.237 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.020) 0:00:23.257 ********** 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.041052", "end": "2024-05-25 16:36:26.806135", "rc": 0, "start": "2024-05-25 16:36:26.765083" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:152 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.249) 0:00:23.507 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:2 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.021) 0:00:23.528 ********** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:9 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.008) 0:00:23.536 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:14 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.010) 0:00:23.547 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:18 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.010) 0:00:23.557 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 Saturday 25 May 2024 16:36:26 +0000 (0:00:00.006) 0:00:23.564 ********** 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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:38 Saturday 25 May 2024 16:36:28 +0000 (0:00:02.070) 0:00:25.634 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654979.22168, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7ea8df5e8bf856aea761cc4a5b5a39ad38840ab8", "ctime": 1716654979.21768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203853, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654979.21768, "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": "482302058", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:43 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.221) 0:00:25.856 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:49 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.009) 0:00:25.865 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:59 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.020) 0:00:25.886 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:65 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.018) 0:00:25.904 ********** ok: [sut] => { "changed": false, "stat": { "atime": 1716654979.1706798, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cae75ee8cf75a43705e2ff0912884a95922e416b", "ctime": 1716654979.21768, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203852, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1716654979.21768, "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": "3184680170", "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-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:70 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.221) 0:00:26.125 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:76 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.009) 0:00:26.135 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.020) 0:00:26.155 ********** ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "51:F7:2A:57:6A:C7:7C:08:94:C9:11:2B:77:EC:D5:33:F9:0A:2D:E4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "93:58:4D:03:44:72:BE:93:39:8A:2E:1D:C3:77:30:FE:50:54:48:A0:02:B8:C5:B4:93:8C:52:33:96:51:61:69:07:E6:8D:E4:D9:A2:8F:7B:A1:F5:0D:7A:98:41:4F:3E:DE:96:B2:F6:F6:0D:31:CD:74:56:94:BB:C7:1A:E0:EB:D9:42:DD:20:5B:61:D5:8D:8A:0A:A4:1F:AB:C2:AF:7F:09:8C:D7:13:38:22:23:78:D1:02:F2:47:9B:ED:CA:5B:56:8F:7D:BF:CC:CC:0F:0D:38:95:64:7C:43:93:0D:DC:AC:2D:D7:15:0A:1C:C0:39:A6:66:E9:6B:3F:A6:A9:89:64:93:EA:71:29:3B:47:72:98:55:BB:26:A2:E1:38:54:2D:07:1E:CA:53:12:A9:E3:61:47:49:31:A8:24:60:AE:5C:44:61:F9:00:AD:C9:06:AC:DE:07:B0:32:74:85:71:FE:6F:7E:53:E8:10:25:B9:51:C2:0D:95:74:DA:37:43:15:A8:02:6E:B0:1B:EB:9C:22:7F:9B:46:31:8B:47:63:7F:35:5B:4B:04:AC:D9:DB:09:45:5B:58:0D:6B:72:64:11:E7:36:11:A1:BA:96:85:AB:4D:76:3A:F2:7A:37:68:72:83:DA:1B:D6:3F:21:BF:37:CD:5D:A2:60:79:A0:95" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163619Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:92 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.276) 0:00:26.431 ********** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "79:AC:69:A6:08:8A:7A:B5:CC:42:94:C3:74:7A:1B:51:35:F9:7A:84" }, "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": "51:F7:2A:57:6A:C7:7C:08:94:C9:11:2B:77:EC:D5:33:F9:0A:2D:E4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "93:58:4D:03:44:72:BE:93:39:8A:2E:1D:C3:77:30:FE:50:54:48:A0:02:B8:C5:B4:93:8C:52:33:96:51:61:69:07:E6:8D:E4:D9:A2:8F:7B:A1:F5:0D:7A:98:41:4F:3E:DE:96:B2:F6:F6:0D:31:CD:74:56:94:BB:C7:1A:E0:EB:D9:42:DD:20:5B:61:D5:8D:8A:0A:A4:1F:AB:C2:AF:7F:09:8C:D7:13:38:22:23:78:D1:02:F2:47:9B:ED:CA:5B:56:8F:7D:BF:CC:CC:0F:0D:38:95:64:7C:43:93:0D:DC:AC:2D:D7:15:0A:1C:C0:39:A6:66:E9:6B:3F:A6:A9:89:64:93:EA:71:29:3B:47:72:98:55:BB:26:A2:E1:38:54:2D:07:1E:CA:53:12:A9:E3:61:47:49:31:A8:24:60:AE:5C:44:61:F9:00:AD:C9:06:AC:DE:07:B0:32:74:85:71:FE:6F:7E:53:E8:10:25:B9:51:C2:0D:95:74:DA:37:43:15:A8:02:6E:B0:1B:EB:9C:22:7F:9B:46:31:8B:47:63:7F:35:5B:4B:04:AC:D9:DB:09:45:5B:58:0D:6B:72:64:11:E7:36:11:A1:BA:96:85:AB:4D:76:3A:F2:7A:37:68:72:83:DA:1B:D6:3F:21:BF:37:CD:5D:A2:60:79:A0:95" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250525163617Z", "not_valid_before": "20240525163619Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:96 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.011) 0:00:26.442 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:104 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.019) 0:00:26.461 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:112 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.010) 0:00:26.472 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:119 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.018) 0:00:26.490 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:130 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.020) 0:00:26.511 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 Saturday 25 May 2024 16:36:29 +0000 (0:00:00.020) 0:00:26.531 ********** 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.042171", "end": "2024-05-25 16:36:30.086196", "rc": 0, "start": "2024-05-25 16:36:30.044025" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:152 Saturday 25 May 2024 16:36:30 +0000 (0:00:00.254) 0:00:26.786 ********** 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 25 May 2024 16:36:30 +0000 (0:00:00.024) 0:00:26.811 ********** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 6.42s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.63s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.08s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.07s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 2.07s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.07s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.01s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.94s /WORKDIR/git-weekly-cidts8h4zg/tests/tests_many_self_signed.yml:2 ------------- Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-cidts8h4zg/tests/tests_many_self_signed.yml:18 ------------ Parse certificate ------------------------------------------------------- 0.34s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.31s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.31s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.28s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.28s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.27s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.25s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.25s /WORKDIR/git-weekly-cidts8h4zg/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.24s /WORKDIR/git-weekly-cidts8h4zg/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.23s /WORKDIR/git-weekly-cidts8h4zg/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. ---^---^---^---^---^---