# 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-ci7h4szcpr/.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-ci7h4szcpr/tests/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tests_no_auto_renew.yml:2 Saturday 27 July 2024 13:30:54 +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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 27 July 2024 13:30:55 +0000 (0:00:00.849) 0:00:00.861 ********* included: /WORKDIR/git-weekly-ci7h4szcpr/.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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 27 July 2024 13:30:55 +0000 (0:00:00.011) 0:00:00.873 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 27 July 2024 13:30:55 +0000 (0:00:00.017) 0:00:00.890 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 27 July 2024 13:30:55 +0000 (0:00:00.240) 0:00:01.131 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 27 July 2024 13:30:55 +0000 (0:00:00.013) 0:00:01.145 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 27 July 2024 13:30:56 +0000 (0:00:00.018) 0:00:01.163 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 27 July 2024 13:30:59 +0000 (0:00:03.846) 0:00:05.009 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.17-2.el8.x86_64", "Installed: xmlrpc-c-client-1.51.0-9.el8.x86_64", "Installed: xmlrpc-c-1.51.0-9.el8.x86_64" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 27 July 2024 13:31:04 +0000 (0:00:04.204) 0:00:09.214 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 27 July 2024 13:31:04 +0000 (0:00:00.303) 0:00:09.518 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 27 July 2024 13:31:04 +0000 (0:00:00.215) 0:00:09.733 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket dbus.service dbus.socket basic.target sysinit.target system.slice network.target syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 27 July 2024 13:31:05 +0000 (0:00:00.696) 0:00:10.429 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 27 July 2024 13:31:06 +0000 (0:00:01.020) 0:00:11.449 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 27 July 2024 13:31:06 +0000 (0:00:00.028) 0:00:11.478 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 27 July 2024 13:31:06 +0000 (0:00:00.015) 0:00:11.494 ********* 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-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 27 July 2024 13:31:06 +0000 (0:00:00.016) 0:00:11.511 ********* 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-ci7h4szcpr/tests/tests_no_auto_renew.yml:17 Saturday 27 July 2024 13:31:06 +0000 (0:00:00.026) 0:00:11.538 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tests_no_auto_renew.yml:42 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.625) 0:00:12.163 ********* included: /WORKDIR/git-weekly-ci7h4szcpr/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-ci7h4szcpr/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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.021) 0:00:12.184 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.007) 0:00:12.192 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.009) 0:00:12.202 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.010) 0:00:12.212 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 13:31:07 +0000 (0:00:00.007) 0:00:12.219 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 13:31:09 +0000 (0:00:02.555) 0:00:14.775 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722087065.7661996, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c3b7d88639d6acf182ca6b798cf1b50b3f97f75e", "ctime": 1722087065.7641995, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894939, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722087065.7641995, "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": "3276611657", "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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 13:31:09 +0000 (0:00:00.200) 0:00:14.976 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 13:31:09 +0000 (0:00:00.009) 0:00:14.986 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 13:31:09 +0000 (0:00:00.019) 0:00:15.006 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 13:31:09 +0000 (0:00:00.018) 0:00:15.024 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722087065.7162, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bbadd97797c1d1440b8d7bad363c850de4e087b8", "ctime": 1722087065.7641995, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722087065.7641995, "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": "1050286681", "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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.200) 0:00:15.224 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.010) 0:00:15.235 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.020) 0:00:15.255 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BF:B0:B6:A4:7D:46:F5:72:8C:20:16:F8:CE:1B:32:D7:94:85:57:88" }, "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": "25:83:B5:2C:E8:6F:D0:04:C4:6E:0E:D8:F5:C7:37:58:18:40:88:91" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:EF:79:2B:95:5B:DB:D3:1E:D9:3C:AF:FF:50:48:93:1B:BE:40:44:0F:53:B1:EB:05:74:8E:96:A8:D6:3F:0C:C9:C8:57:6B:FA:2E:CD:71:70:3F:E8:25:59:8D:62:B0:67:A6:3A:A9:23:FF:B7:B9:BF:BE:F0:BC:FD:64:DA:62:F1:83:17:07:FD:6D:1F:5C:02:22:C6:65:23:93:20:37:70:AD:43:03:5A:BB:A6:30:47:CD:DF:FF:B9:5A:0E:BA:BC:51:2B:AA:E7:04:A1:9D:CC:FC:38:D0:54:FB:49:99:A9:27:4D:24:71:B8:16:63:A6:18:87:EA:53:5F:92:2B:B5:AA:40:C5:E2:11:B0:7D:F4:8B:75:F5:3D:81:0B:3D:CC:29:A8:AC:05:60:E3:65:A6:E3:CF:02:68:C5:84:7C:3F:5E:02:4F:37:C3:2E:34:4C:70:0B:76:F7:20:FA:57:70:21:5D:10:12:4D:C2:1C:5F:8C:EF:6A:CB:6B:D7:CF:C3:25:2E:17:90:76:4E:F1:09:BF:12:51:C8:34:71:92:BD:55:7A:95:E6:58:28:87:D0:F8:B4:E6:9A:B9:52:9D:86:AC:6F:B8:66:F8:2D:77:EA:96:BB:5A:CB:A1:95:F6:2D:51:42:64:4A:C2:C1:31:7F:17:7A:66:51:FB:37:E4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727133105Z", "not_valid_before": "20240727133105Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.402) 0:00:15.657 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BF:B0:B6:A4:7D:46:F5:72:8C:20:16:F8:CE:1B:32:D7:94:85:57:88" }, "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": "25:83:B5:2C:E8:6F:D0:04:C4:6E:0E:D8:F5:C7:37:58:18:40:88:91" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:EF:79:2B:95:5B:DB:D3:1E:D9:3C:AF:FF:50:48:93:1B:BE:40:44:0F:53:B1:EB:05:74:8E:96:A8:D6:3F:0C:C9:C8:57:6B:FA:2E:CD:71:70:3F:E8:25:59:8D:62:B0:67:A6:3A:A9:23:FF:B7:B9:BF:BE:F0:BC:FD:64:DA:62:F1:83:17:07:FD:6D:1F:5C:02:22:C6:65:23:93:20:37:70:AD:43:03:5A:BB:A6:30:47:CD:DF:FF:B9:5A:0E:BA:BC:51:2B:AA:E7:04:A1:9D:CC:FC:38:D0:54:FB:49:99:A9:27:4D:24:71:B8:16:63:A6:18:87:EA:53:5F:92:2B:B5:AA:40:C5:E2:11:B0:7D:F4:8B:75:F5:3D:81:0B:3D:CC:29:A8:AC:05:60:E3:65:A6:E3:CF:02:68:C5:84:7C:3F:5E:02:4F:37:C3:2E:34:4C:70:0B:76:F7:20:FA:57:70:21:5D:10:12:4D:C2:1C:5F:8C:EF:6A:CB:6B:D7:CF:C3:25:2E:17:90:76:4E:F1:09:BF:12:51:C8:34:71:92:BD:55:7A:95:E6:58:28:87:D0:F8:B4:E6:9A:B9:52:9D:86:AC:6F:B8:66:F8:2D:77:EA:96:BB:5A:CB:A1:95:F6:2D:51:42:64:4A:C2:C1:31:7F:17:7A:66:51:FB:37:E4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727133105Z", "not_valid_before": "20240727133105Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.010) 0:00:15.668 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.019) 0:00:15.687 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.013) 0:00:15.701 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.019) 0:00:15.720 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.022) 0:00:15.743 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.020) 0:00:15.764 ********* 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.055609", "end": "2024-07-27 13:31:10.888397", "rc": 0, "start": "2024-07-27 13:31:10.832788" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.300) 0:00:16.064 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.019) 0:00:16.083 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:9 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.007) 0:00:16.091 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:14 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.010) 0:00:16.101 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.010) 0:00:16.112 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:28 Saturday 27 July 2024 13:31:10 +0000 (0:00:00.007) 0:00:16.119 ********* 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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:38 Saturday 27 July 2024 13:31:13 +0000 (0:00:02.463) 0:00:18.583 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722087066.2231948, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "906c9dd6ec3b643e0e94a9f8079db03fcfe36b7a", "ctime": 1722087066.220195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894943, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722087066.220195, "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": "3180295690", "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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:43 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.199) 0:00:18.782 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:49 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.010) 0:00:18.793 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:59 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.020) 0:00:18.813 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:65 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.017) 0:00:18.831 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1722087066.1751955, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f4cf6706c96c34a1a5d48b31d21b874e16b24d25", "ctime": 1722087066.220195, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722087066.220195, "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": "904474810", "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-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:70 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.196) 0:00:19.028 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:76 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.010) 0:00:19.039 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:86 Saturday 27 July 2024 13:31:13 +0000 (0:00:00.020) 0:00:19.059 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BF:B0:B6:A4:7D:46:F5:72:8C:20:16:F8:CE:1B:32:D7:94:85:57:88" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B6:AF:9C:F9:7C:80:72:B7:06:5C:7D:75:97:9D:C3:DC:A3:AE:DC:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:E4:FE:B7:4C:78:C3:FD:F9:78:7C:62:AF:1C:10:66:22:8C:3E:EF:EA:11:8E:AE:01:92:19:00:62:2E:15:8C:48:9C:99:28:DB:FD:57:92:90:AA:4D:01:07:41:E8:A2:DE:11:A4:52:97:5D:34:04:EC:13:A6:E1:80:ED:F8:A9:FD:10:E6:7D:8A:79:B1:23:C9:6E:44:2F:45:B5:D1:B5:5D:8B:47:01:5F:55:93:B5:18:EF:CF:F7:E8:CE:BB:06:D8:CD:E8:CA:6C:21:C0:99:5F:B6:AC:D0:B1:87:BA:C5:4D:5A:13:14:44:89:47:56:00:C5:39:72:13:DB:BC:D3:06:CE:08:EB:A9:E1:B4:56:96:14:41:E1:C8:46:D1:65:5B:B2:94:51:0C:53:2D:6C:0F:26:F2:90:93:50:77:96:08:44:1B:3F:C1:96:C5:53:E5:B9:A1:FD:24:90:9C:86:C0:55:AD:06:24:9B:D1:30:12:14:CA:3A:3D:D7:0F:67:74:F3:3B:91:02:79:AA:28:C5:2F:4A:56:C0:D7:E8:9C:6E:9D:52:6D:D7:0A:90:52:79:2F:1D:82:FF:5C:6B:DB:AE:30:FC:85:56:4F:DF:AB:9D:2F:66:D3:7B:4F:45:71:37:EF:79:00:21:B4:B2:A3:C6:9F:21:90:BE:EF:AC:05" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727133105Z", "not_valid_before": "20240727133106Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:92 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.256) 0:00:19.315 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BF:B0:B6:A4:7D:46:F5:72:8C:20:16:F8:CE:1B:32:D7:94:85:57:88" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B6:AF:9C:F9:7C:80:72:B7:06:5C:7D:75:97:9D:C3:DC:A3:AE:DC:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:E4:FE:B7:4C:78:C3:FD:F9:78:7C:62:AF:1C:10:66:22:8C:3E:EF:EA:11:8E:AE:01:92:19:00:62:2E:15:8C:48:9C:99:28:DB:FD:57:92:90:AA:4D:01:07:41:E8:A2:DE:11:A4:52:97:5D:34:04:EC:13:A6:E1:80:ED:F8:A9:FD:10:E6:7D:8A:79:B1:23:C9:6E:44:2F:45:B5:D1:B5:5D:8B:47:01:5F:55:93:B5:18:EF:CF:F7:E8:CE:BB:06:D8:CD:E8:CA:6C:21:C0:99:5F:B6:AC:D0:B1:87:BA:C5:4D:5A:13:14:44:89:47:56:00:C5:39:72:13:DB:BC:D3:06:CE:08:EB:A9:E1:B4:56:96:14:41:E1:C8:46:D1:65:5B:B2:94:51:0C:53:2D:6C:0F:26:F2:90:93:50:77:96:08:44:1B:3F:C1:96:C5:53:E5:B9:A1:FD:24:90:9C:86:C0:55:AD:06:24:9B:D1:30:12:14:CA:3A:3D:D7:0F:67:74:F3:3B:91:02:79:AA:28:C5:2F:4A:56:C0:D7:E8:9C:6E:9D:52:6D:D7:0A:90:52:79:2F:1D:82:FF:5C:6B:DB:AE:30:FC:85:56:4F:DF:AB:9D:2F:66:D3:7B:4F:45:71:37:EF:79:00:21:B4:B2:A3:C6:9F:21:90:BE:EF:AC:05" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250727133105Z", "not_valid_before": "20240727133106Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:96 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.010) 0:00:19.326 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:104 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.019) 0:00:19.345 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:112 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.010) 0:00:19.355 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:119 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.017) 0:00:19.373 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:130 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.021) 0:00:19.394 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:143 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.019) 0:00:19.414 ********* 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.054837", "end": "2024-07-27 13:31:14.477038", "rc": 0, "start": "2024-07-27 13:31:14.422201" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:152 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.238) 0:00:19.652 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=49 changed=6 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Saturday 27 July 2024 13:31:14 +0000 (0:00:00.023) 0:00:19.675 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.20s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.85s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.56s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.46s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.02s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.85s /WORKDIR/git-weekly-ci7h4szcpr/tests/tests_no_auto_renew.yml:2 ---------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.70s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.63s /WORKDIR/git-weekly-ci7h4szcpr/tests/tests_no_auto_renew.yml:17 --------------- Parse certificate ------------------------------------------------------- 0.40s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.30s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.30s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.24s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.24s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.22s /WORKDIR/git-weekly-ci7h4szcpr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.20s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.20s /WORKDIR/git-weekly-ci7h4szcpr/tests/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Slurp the contents of the files --- 0.03s /WORKDIR/git-weekly-ci7h4szcpr/.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. ---^---^---^---^---^---