# 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-ci41s79u_n/.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_no_auto_renew.yml ********************************************** 2 plays in /WORKDIR/git-weekly-ci41s79u_n/tests/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_no_auto_renew.yml:2 Saturday 01 June 2024 13:05:26 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 01 June 2024 13:05:28 +0000 (0:00:02.382) 0:00:02.395 ********* included: /WORKDIR/git-weekly-ci41s79u_n/.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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 01 June 2024 13:05:28 +0000 (0:00:00.011) 0:00:02.407 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 01 June 2024 13:05:28 +0000 (0:00:00.017) 0:00:02.424 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 01 June 2024 13:05:28 +0000 (0:00:00.282) 0:00:02.707 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 01 June 2024 13:05:28 +0000 (0:00:00.014) 0:00:02.721 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 01 June 2024 13:05:28 +0000 (0:00:00.022) 0:00:02.744 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycparser-2.20-14.fc40.noarch", "Installed: python3-cffi-1.16.0-4.fc40.x86_64", "Installed: python3-ply-3.11-23.fc40.noarch", "Installed: python3-cryptography-41.0.7-1.fc40.x86_64", "Installed: python3-pyasn1-0.5.1-3.fc40.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 01 June 2024 13:05:33 +0000 (0:00:04.285) 0:00:07.029 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: python3-packaging-23.2-4.fc40.noarch", "Installed: certmonger-0.79.19-5.fc40.x86_64", "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 01 June 2024 13:05:36 +0000 (0:00:03.529) 0:00:10.558 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 01 June 2024 13:05:37 +0000 (0:00:00.422) 0:00:10.981 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 01 June 2024 13:05:37 +0000 (0:00:00.276) 0:00:11.257 ********* 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": "dbus.socket syslog.target system.slice systemd-journald.socket network.target sysinit.target dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14751", "LimitNPROCSoft": "14751", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14751", "LimitSIGPENDINGSoft": "14751", "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": "3458392064", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket 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": "4425", "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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 01 June 2024 13:05:38 +0000 (0:00:00.986) 0:00:12.244 ********* changed: [sut] => (item={'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}) => { "ansible_loop_var": "item", "changed": true, "item": { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 01 June 2024 13:05:39 +0000 (0:00:01.416) 0:00:13.661 ********* skipping: [sut] => (item=['cert', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'defaultcert', '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": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'defaultcert', '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": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'defaultcert', '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": "defaultcert" } ], "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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 01 June 2024 13:05:39 +0000 (0:00:00.029) 0:00:13.690 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 01 June 2024 13:05:39 +0000 (0:00:00.016) 0:00:13.707 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 01 June 2024 13:05:39 +0000 (0:00:00.018) 0:00:13.726 ********* 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-ci41s79u_n/tests/tests_no_auto_renew.yml:17 Saturday 01 June 2024 13:05:39 +0000 (0:00:00.027) 0:00:13.753 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_no_auto_renew.yml:42 Saturday 01 June 2024 13:05:41 +0000 (0:00:02.134) 0:00:15.887 ********* included: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_no_auto_renew.crt', 'key_path': '/etc/pki/tls/private/mycert_no_auto_renew.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': False}) included: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/defaultcert.crt', 'key_path': '/etc/pki/tls/private/defaultcert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': True}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 13:05:41 +0000 (0:00:00.023) 0:00:15.911 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 13:05:41 +0000 (0:00:00.011) 0:00:15.923 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 13:05:41 +0000 (0:00:00.018) 0:00:15.942 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 13:05:42 +0000 (0:00:00.016) 0:00:15.959 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 13:05:42 +0000 (0:00:00.009) 0:00:15.968 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 13:05:43 +0000 (0:00:01.470) 0:00:17.439 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717247138.9760766, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d530664db07f2f1cc7924d0edcd01173f3c34685", "ctime": 1717247138.9730766, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203508, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717247138.9730766, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "3350108141", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 13:05:43 +0000 (0:00:00.245) 0:00:17.684 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 13:05:43 +0000 (0:00:00.011) 0:00:17.695 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 13:05:43 +0000 (0:00:00.020) 0:00:17.716 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 13:05:43 +0000 (0:00:00.018) 0:00:17.734 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717247138.8640761, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "665a13ab2bb84e51f9a3898ce5b5b212487ab284", "ctime": 1717247138.9730766, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203470, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717247138.9730766, "nlink": 1, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1435337539", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.243) 0:00:17.978 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.010) 0:00:17.989 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.022) 0:00:18.011 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "FF:6C:78:52:FA:ED:00:DA:06:9C:75:7B:9E:7E:DE:95:B7:CF:28:E9" }, "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": "2E:14:46:79:F6:5C:66:0E:8D:FA:B9:E7:F2:40:AB:52:DB:22:EF:D2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "21:4C:FC:F5:F5:80:43:8B:93:2F:BF:B9:8D:E3:32:3F:36:24:82:D5:03:D5:F0:E6:77:7B:6E:02:63:72:2B:A8:6F:5E:13:D4:53:D2:CD:A0:FB:63:D6:57:3D:25:B5:11:F3:D6:65:2A:77:36:24:3A:B1:20:81:6B:30:77:2E:35:81:65:F2:FD:FB:67:C1:21:C9:27:50:69:82:E1:A3:4A:5E:1F:12:9F:39:E1:0F:29:7A:E0:77:70:5C:F2:F7:0E:58:D6:E9:FC:3A:C3:DE:EE:78:FD:96:E3:FD:73:A9:EC:D3:8F:D5:31:10:B6:79:8F:E7:CC:15:94:52:08:9D:7C:45:78:0D:6C:CC:5C:74:87:4D:A8:CF:27:84:69:53:7E:51:74:20:C2:B0:90:49:A2:ED:D0:4C:05:C0:77:B0:4A:BB:41:C8:43:B3:1E:49:93:81:9D:C8:B7:A5:C5:6E:36:B6:C1:87:D6:E0:9B:C6:32:DF:23:48:64:AE:9D:B4:1F:8E:AC:04:D4:60:19:87:38:C6:AE:81:9D:C3:FB:38:76:B2:FB:DC:4A:C8:58:00:54:03:29:5D:2D:5C:00:5B:0A:95:BF:27:7C:14:76:77:79:70:4A:5D:95:94:1C:5A:67:E8:61:59:81:73:4D:0A:50:11:37:F4:65:88:70:76:EC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601130538Z", "not_valid_before": "20240601130538Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.363) 0:00:18.375 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "FF:6C:78:52:FA:ED:00:DA:06:9C:75:7B:9E:7E:DE:95:B7:CF:28:E9" }, "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": "2E:14:46:79:F6:5C:66:0E:8D:FA:B9:E7:F2:40:AB:52:DB:22:EF:D2" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "21:4C:FC:F5:F5:80:43:8B:93:2F:BF:B9:8D:E3:32:3F:36:24:82:D5:03:D5:F0:E6:77:7B:6E:02:63:72:2B:A8:6F:5E:13:D4:53:D2:CD:A0:FB:63:D6:57:3D:25:B5:11:F3:D6:65:2A:77:36:24:3A:B1:20:81:6B:30:77:2E:35:81:65:F2:FD:FB:67:C1:21:C9:27:50:69:82:E1:A3:4A:5E:1F:12:9F:39:E1:0F:29:7A:E0:77:70:5C:F2:F7:0E:58:D6:E9:FC:3A:C3:DE:EE:78:FD:96:E3:FD:73:A9:EC:D3:8F:D5:31:10:B6:79:8F:E7:CC:15:94:52:08:9D:7C:45:78:0D:6C:CC:5C:74:87:4D:A8:CF:27:84:69:53:7E:51:74:20:C2:B0:90:49:A2:ED:D0:4C:05:C0:77:B0:4A:BB:41:C8:43:B3:1E:49:93:81:9D:C8:B7:A5:C5:6E:36:B6:C1:87:D6:E0:9B:C6:32:DF:23:48:64:AE:9D:B4:1F:8E:AC:04:D4:60:19:87:38:C6:AE:81:9D:C3:FB:38:76:B2:FB:DC:4A:C8:58:00:54:03:29:5D:2D:5C:00:5B:0A:95:BF:27:7C:14:76:77:79:70:4A:5D:95:94:1C:5A:67:E8:61:59:81:73:4D:0A:50:11:37:F4:65:88:70:76:EC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601130538Z", "not_valid_before": "20240601130538Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.011) 0:00:18.387 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.019) 0:00:18.407 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.012) 0:00:18.419 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.020) 0:00:18.439 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.022) 0:00:18.461 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.021) 0:00:18.483 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.050209", "end": "2024-06-01 13:05:44.851450", "rc": 0, "start": "2024-06-01 13:05:44.801241" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.340) 0:00:18.823 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.021) 0:00:18.844 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.009) 0:00:18.853 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.010) 0:00:18.864 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.011) 0:00:18.876 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 13:05:44 +0000 (0:00:00.007) 0:00:18.884 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 13:05:46 +0000 (0:00:01.473) 0:00:20.357 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717247139.5530791, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "64382ffc24ed0e3d9628806ad0c7115ac6e5d895", "ctime": 1717247139.5490792, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717247139.5490792, "nlink": 1, "path": "/etc/pki/tls/certs/defaultcert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "3194977643", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.247) 0:00:20.604 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.011) 0:00:20.616 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.021) 0:00:20.638 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.019) 0:00:20.657 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717247139.4950788, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "44125d3ca74e7cb0e2563ca8b467da5d6bd48bdb", "ctime": 1717247139.5490792, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203509, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717247139.5490792, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "2989461885", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.244) 0:00:20.902 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.010) 0:00:20.913 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 13:05:46 +0000 (0:00:00.020) 0:00:20.933 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "FF:6C:78:52:FA:ED:00:DA:06:9C:75:7B:9E:7E:DE:95:B7:CF:28:E9" }, "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": "20:F1:71:31:C5:F9:53:28:F3:CE:17:46:91:9C:DE:C5:5F:46:39:B0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3F:64:96:6A:4C:B6:57:FD:9B:2B:32:DC:76:F7:10:D1:C9:3D:5A:10:DF:38:B5:62:91:D3:78:F7:53:AF:F0:54:41:35:17:82:AD:1E:5C:3F:9D:6B:D3:11:5C:56:2A:0B:C5:95:FF:51:50:81:11:56:90:D3:D7:53:0A:02:35:40:E5:AE:46:37:2D:0D:58:AD:24:4E:31:27:BA:11:B5:08:AD:1C:D6:13:06:02:56:68:8F:A9:41:30:27:47:B0:D0:D0:74:A2:43:B0:5E:A5:4F:50:C4:15:74:EA:4A:FE:77:D0:AD:C8:AB:08:0F:7E:C4:F0:CE:A3:FA:C5:36:F7:CE:9A:58:A9:00:97:9A:F7:23:DE:AF:15:1F:BF:96:67:5C:29:5F:88:EF:B2:5C:A9:9C:4C:90:E7:4C:1D:B5:A0:29:B6:9A:AE:E3:A6:56:EE:41:06:E4:0A:C7:E4:00:6A:64:CB:24:78:53:69:C8:D1:12:FB:65:59:BC:D3:74:28:EC:36:43:15:3F:2D:84:23:BF:AC:46:7D:A2:E3:EB:CE:DF:23:5D:12:8B:AC:CE:E5:A3:F1:FE:8E:2D:77:8E:6F:42:91:05:A6:E1:F1:0A:42:C0:DD:D9:33:FC:3C:27:A1:94:F0:4D:FD:0D:27:A0:0F:48:CD:FA:5A:FE:4E:54:0A:3E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601130538Z", "not_valid_before": "20240601130539Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.297) 0:00:21.231 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "FF:6C:78:52:FA:ED:00:DA:06:9C:75:7B:9E:7E:DE:95:B7:CF:28:E9" }, "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": "20:F1:71:31:C5:F9:53:28:F3:CE:17:46:91:9C:DE:C5:5F:46:39:B0" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "3F:64:96:6A:4C:B6:57:FD:9B:2B:32:DC:76:F7:10:D1:C9:3D:5A:10:DF:38:B5:62:91:D3:78:F7:53:AF:F0:54:41:35:17:82:AD:1E:5C:3F:9D:6B:D3:11:5C:56:2A:0B:C5:95:FF:51:50:81:11:56:90:D3:D7:53:0A:02:35:40:E5:AE:46:37:2D:0D:58:AD:24:4E:31:27:BA:11:B5:08:AD:1C:D6:13:06:02:56:68:8F:A9:41:30:27:47:B0:D0:D0:74:A2:43:B0:5E:A5:4F:50:C4:15:74:EA:4A:FE:77:D0:AD:C8:AB:08:0F:7E:C4:F0:CE:A3:FA:C5:36:F7:CE:9A:58:A9:00:97:9A:F7:23:DE:AF:15:1F:BF:96:67:5C:29:5F:88:EF:B2:5C:A9:9C:4C:90:E7:4C:1D:B5:A0:29:B6:9A:AE:E3:A6:56:EE:41:06:E4:0A:C7:E4:00:6A:64:CB:24:78:53:69:C8:D1:12:FB:65:59:BC:D3:74:28:EC:36:43:15:3F:2D:84:23:BF:AC:46:7D:A2:E3:EB:CE:DF:23:5D:12:8B:AC:CE:E5:A3:F1:FE:8E:2D:77:8E:6F:42:91:05:A6:E1:F1:0A:42:C0:DD:D9:33:FC:3C:27:A1:94:F0:4D:FD:0D:27:A0:0F:48:CD:FA:5A:FE:4E:54:0A:3E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601130538Z", "not_valid_before": "20240601130539Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.011) 0:00:21.242 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.019) 0:00:21.261 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.011) 0:00:21.273 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.020) 0:00:21.293 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.022) 0:00:21.316 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.023) 0:00:21.339 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.050145", "end": "2024-06-01 13:05:47.650333", "rc": 0, "start": "2024-06-01 13:05:47.600188" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.282) 0:00:21.621 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=50 changed=6 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Saturday 01 June 2024 13:05:47 +0000 (0:00:00.024) 0:00:21.646 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.29s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.53s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.38s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_no_auto_renew.yml:2 ---------------- Gathering Facts --------------------------------------------------------- 2.13s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_no_auto_renew.yml:17 --------------- Ensure python3 is installed --------------------------------------------- 1.47s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.47s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.42s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.99s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.42s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.36s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.34s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.30s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.28s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.28s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.28s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.25s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Retrieve certificate file stats ----------------------------------------- 0.25s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.24s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.24s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Slurp the contents of the files --- 0.03s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---