# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml:2 Saturday 10 August 2024 13:26:36 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.639) 0:00:00.652 ******* included: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for sut TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.010) 0:00:00.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.017) 0:00:00.681 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.241) 0:00:00.922 ******* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.019) 0:00:00.942 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 10 August 2024 13:26:37 +0000 (0:00:00.027) 0:00:00.970 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 10 August 2024 13:26:41 +0000 (0:00:04.157) 0:00:05.127 ******* 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 [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 10 August 2024 13:26:45 +0000 (0:00:04.155) 0:00:09.282 ******* 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 [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 10 August 2024 13:26:46 +0000 (0:00:00.280) 0:00:09.563 ******* 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 [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 10 August 2024 13:26:46 +0000 (0:00:00.191) 0:00:09.755 ******* 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": "basic.target systemd-journald.socket sysinit.target dbus.socket system.slice network.target dbus.service 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": "dbus.socket system.slice sysinit.target", "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 [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 10 August 2024 13:26:46 +0000 (0:00:00.587) 0:00:10.343 ******* changed: [sut] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). changed: [sut] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [linux-system-roles.certificate : Slurp the contents of the files] ******** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 10 August 2024 13:26:49 +0000 (0:00:02.500) 0:00:12.843 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Create return data] ********************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.037) 0:00:12.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.016) 0:00:12.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.016) 0:00:12.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml:18 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.019) 0:00:12.934 ******* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml:50 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.447) 0:00:13.381 ******* included: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.037) 0:00:13.419 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.008) 0:00:13.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.017) 0:00:13.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:26:49 +0000 (0:00:00.017) 0:00:13.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:26:50 +0000 (0:00:00.015) 0:00:13.478 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:26:52 +0000 (0:00:02.359) 0:00:15.837 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296407.3195682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "039ce0d5cc089b344c712f1b6e02df09d86c36b0", "ctime": 1723296407.317568, "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": 1723296407.317568, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "124665360", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.190) 0:00:16.028 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.019) 0:00:16.047 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.021) 0:00:16.068 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.019) 0:00:16.087 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296407.2745676, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd822e5e9503152c50ec7aea319836cb84ff36fc", "ctime": 1723296407.317568, "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": 1723296407.317568, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "2131721301", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.187) 0:00:16.275 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.019) 0:00:16.294 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:26:52 +0000 (0:00:00.021) 0:00:16.315 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "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": "97:04:1F:23:CA:67:42:F4:E7:7A:36:B1:12:17:4D:DA:5D:76:69:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6E:CD:30:DB:68:52:3A:23:38:F2:34:10:D2:8F:47:22:9D:F4:C3:53:FE:6D:4E:2F:1B:30:FD:FC:6F:87:7A:FD:07:92:2C:D7:46:AE:ED:01:4E:7D:86:7B:31:73:9A:84:9C:38:D7:C5:DE:C3:CC:B0:2A:A6:DD:F7:C1:EA:20:57:F6:7A:83:04:E1:F9:6F:E7:54:27:A4:CA:0C:FC:36:92:47:2B:79:38:AF:CB:45:C2:78:C6:8E:33:88:44:FC:8C:A9:08:33:FE:40:C9:E9:E8:BE:C3:F3:72:8D:8A:8E:64:AE:9D:E6:CA:81:81:DB:4A:9E:AB:29:02:56:55:26:E3:D0:41:EA:6D:5E:82:99:8F:F1:11:1F:A4:55:86:7D:4C:94:85:87:82:95:44:C8:40:A4:BD:8C:A7:6C:74:C7:72:62:F3:36:E4:39:9E:1E:CD:1E:D4:E4:A6:D7:F4:35:9D:13:5C:22:89:52:1A:59:2C:B2:82:4E:7F:2C:DB:7D:32:AD:0E:DD:45:FC:17:8E:D6:9A:CE:A0:F4:45:78:6B:C9:AF:04:BC:DD:95:BC:39:A9:40:D6:2C:69:46:1C:55:C3:C4:BF:21:9D:89:B7:06:DD:4B:50:AF:11:FD:4F:FA:1A:6B:11:AE:E5:F2:8B:60:CD:59:4E:EA:22:4D:D0:C6:43" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132647Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.564) 0:00:16.880 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "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": "97:04:1F:23:CA:67:42:F4:E7:7A:36:B1:12:17:4D:DA:5D:76:69:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6E:CD:30:DB:68:52:3A:23:38:F2:34:10:D2:8F:47:22:9D:F4:C3:53:FE:6D:4E:2F:1B:30:FD:FC:6F:87:7A:FD:07:92:2C:D7:46:AE:ED:01:4E:7D:86:7B:31:73:9A:84:9C:38:D7:C5:DE:C3:CC:B0:2A:A6:DD:F7:C1:EA:20:57:F6:7A:83:04:E1:F9:6F:E7:54:27:A4:CA:0C:FC:36:92:47:2B:79:38:AF:CB:45:C2:78:C6:8E:33:88:44:FC:8C:A9:08:33:FE:40:C9:E9:E8:BE:C3:F3:72:8D:8A:8E:64:AE:9D:E6:CA:81:81:DB:4A:9E:AB:29:02:56:55:26:E3:D0:41:EA:6D:5E:82:99:8F:F1:11:1F:A4:55:86:7D:4C:94:85:87:82:95:44:C8:40:A4:BD:8C:A7:6C:74:C7:72:62:F3:36:E4:39:9E:1E:CD:1E:D4:E4:A6:D7:F4:35:9D:13:5C:22:89:52:1A:59:2C:B2:82:4E:7F:2C:DB:7D:32:AD:0E:DD:45:FC:17:8E:D6:9A:CE:A0:F4:45:78:6B:C9:AF:04:BC:DD:95:BC:39:A9:40:D6:2C:69:46:1C:55:C3:C4:BF:21:9D:89:B7:06:DD:4B:50:AF:11:FD:4F:FA:1A:6B:11:AE:E5:F2:8B:60:CD:59:4E:EA:22:4D:D0:C6:43" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132647Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.019) 0:00:16.900 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.019) 0:00:16.919 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.019) 0:00:16.938 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.021) 0:00:16.959 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.022) 0:00:16.982 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.022) 0:00:17.005 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045297", "end": "2024-08-10 13:26:53.797140", "rc": 0, "start": "2024-08-10 13:26:53.751843" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.282) 0:00:17.288 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.020) 0:00:17.308 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.006) 0:00:17.315 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.016) 0:00:17.332 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.017) 0:00:17.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:26:53 +0000 (0:00:00.017) 0:00:17.367 ******* 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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:26:56 +0000 (0:00:02.453) 0:00:19.820 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296408.169575, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3e194f766964f28b909d8f8078ab54adb141d554", "ctime": 1723296408.166575, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723296408.166575, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "4007865359", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.189) 0:00:20.010 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.019) 0:00:20.029 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.021) 0:00:20.051 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.018) 0:00:20.070 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296408.1265748, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b8261d9c389c0d5026ea150bd47249180f186bd5", "ctime": 1723296408.166575, "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": 1723296408.166575, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "2399892133", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.187) 0:00:20.257 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.019) 0:00:20.277 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:26:56 +0000 (0:00:00.021) 0:00:20.298 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F4:6B:34:A9:7C:84:D9:44:3B:C7:CD:D7:EC:A3:4D:50:63:C8:43:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "81:F3:B0:C6:B7:05:3A:C5:7B:A6:8F:E7:CC:0A:C2:26:43:3C:FB:44:1B:CC:F3:D1:09:34:E3:F7:8A:F4:91:5B:4B:D3:C4:69:A2:90:C3:06:E4:20:11:39:44:0B:AB:F5:74:BC:29:FA:F2:C3:08:8D:68:0E:42:96:CE:3E:05:AF:80:6F:DD:72:22:95:F2:8C:DD:FC:39:46:04:EC:D0:B3:EB:92:F8:64:CC:07:55:41:B0:59:B9:A3:A3:0E:60:87:54:2B:6B:5D:12:52:03:23:21:B4:FF:80:0A:CF:42:C8:CE:EF:BE:DC:E9:65:CF:05:21:1D:FD:D9:02:89:1B:D5:B8:5B:66:CD:97:00:92:22:2D:F2:F5:66:1B:4C:94:87:03:D2:E7:F8:BC:57:36:FF:15:81:A0:6C:9C:05:A2:DC:94:38:6B:9F:B8:52:B2:D2:4A:18:58:88:8F:49:13:62:98:05:4F:5B:85:93:5F:5F:91:AD:20:F2:C6:2F:86:7A:65:8F:26:E2:D7:48:68:6A:62:AB:5A:07:21:5C:AE:E8:99:8F:DC:7C:FE:D1:EF:35:44:87:B9:2C:8A:6D:85:22:74:3F:B0:3E:16:0D:00:7C:58:62:CB:AC:34:89:49:02:37:F9:74:20:D3:08:1F:CA:3B:C0:0A:DA:2C:C3:45:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132648Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.245) 0:00:20.544 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "F4:6B:34:A9:7C:84:D9:44:3B:C7:CD:D7:EC:A3:4D:50:63:C8:43:C5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "81:F3:B0:C6:B7:05:3A:C5:7B:A6:8F:E7:CC:0A:C2:26:43:3C:FB:44:1B:CC:F3:D1:09:34:E3:F7:8A:F4:91:5B:4B:D3:C4:69:A2:90:C3:06:E4:20:11:39:44:0B:AB:F5:74:BC:29:FA:F2:C3:08:8D:68:0E:42:96:CE:3E:05:AF:80:6F:DD:72:22:95:F2:8C:DD:FC:39:46:04:EC:D0:B3:EB:92:F8:64:CC:07:55:41:B0:59:B9:A3:A3:0E:60:87:54:2B:6B:5D:12:52:03:23:21:B4:FF:80:0A:CF:42:C8:CE:EF:BE:DC:E9:65:CF:05:21:1D:FD:D9:02:89:1B:D5:B8:5B:66:CD:97:00:92:22:2D:F2:F5:66:1B:4C:94:87:03:D2:E7:F8:BC:57:36:FF:15:81:A0:6C:9C:05:A2:DC:94:38:6B:9F:B8:52:B2:D2:4A:18:58:88:8F:49:13:62:98:05:4F:5B:85:93:5F:5F:91:AD:20:F2:C6:2F:86:7A:65:8F:26:E2:D7:48:68:6A:62:AB:5A:07:21:5C:AE:E8:99:8F:DC:7C:FE:D1:EF:35:44:87:B9:2C:8A:6D:85:22:74:3F:B0:3E:16:0D:00:7C:58:62:CB:AC:34:89:49:02:37:F9:74:20:D3:08:1F:CA:3B:C0:0A:DA:2C:C3:45:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132648Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.018) 0:00:20.562 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.019) 0:00:20.581 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.019) 0:00:20.600 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.019) 0:00:20.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.022) 0:00:20.642 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.021) 0:00:20.663 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045090", "end": "2024-08-10 13:26:57.396227", "rc": 0, "start": "2024-08-10 13:26:57.351137" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.223) 0:00:20.886 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.020) 0:00:20.907 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.006) 0:00:20.914 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.015) 0:00:20.930 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.016) 0:00:20.946 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Saturday 10 August 2024 13:26:57 +0000 (0:00:00.015) 0:00:20.962 ******* 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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:40 Saturday 10 August 2024 13:26:59 +0000 (0:00:02.457) 0:00:23.420 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296409.2285836, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0c773abb4210ddd61397e77d362185938e66e6f5", "ctime": 1723296409.2255836, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894952, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723296409.2255836, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1160214484", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:45 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.188) 0:00:23.609 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:51 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.019) 0:00:23.629 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:63 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.021) 0:00:23.650 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:69 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.018) 0:00:23.669 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723296409.1855834, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "551afa966b74951d559ea0831a68b245d1b60edd", "ctime": 1723296409.2255836, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894949, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723296409.2255836, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3212058335", "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-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:74 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.189) 0:00:23.858 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:80 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.019) 0:00:23.877 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.021) 0:00:23.899 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:FD:41:4F:3D:59:FD:56:85:19:EB:DA:5A:B6:DE:6C:11:64:FE:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "20:A2:25:6E:B1:33:9C:56:08:53:31:8D:80:07:BE:72:58:36:D2:29:CF:C0:4A:1E:43:8E:2D:8D:69:CE:7C:38:9F:18:75:D7:48:3D:BC:6E:42:A6:34:35:34:FB:63:39:C1:A8:26:0F:2F:6D:D2:F5:2C:CD:88:2D:C1:4F:F1:43:FE:CD:79:58:0C:5B:BD:C4:BA:66:2B:16:14:01:FB:DD:AD:59:71:8E:0C:11:22:95:3E:ED:21:78:D3:1C:2B:3F:84:7A:41:7B:45:8D:14:D8:58:C7:BE:42:1B:4C:53:76:8B:95:47:11:46:77:94:E4:C0:E7:2D:DD:B5:F8:6A:A6:AC:02:F6:4B:94:58:95:D8:E0:35:69:FC:E3:02:8D:CB:DE:E7:B6:1C:F7:AC:B3:88:DC:4E:3A:28:F9:9E:F0:20:C4:AF:4E:5C:03:01:D7:02:45:C0:63:53:04:12:24:8F:B9:11:A0:89:8B:F6:3E:DA:8C:07:A5:8A:BC:AF:A1:EC:BA:03:41:4B:AE:CB:B3:B8:27:D0:02:85:3E:19:CA:AF:BC:3D:E3:A7:21:B0:9F:59:A2:93:1D:44:1A:6A:6E:3F:D7:29:F0:BA:B8:9A:B2:76:91:B4:55:C8:A6:C8:F2:59:26:7B:2C:AC:CF:95:12:3A:1D:36:C4:0E:C8:26:F5:AB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132649Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:98 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.257) 0:00:24.156 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:B5:02:8B:ED:94:2A:78:ED:78:B7:51:46:DC:86:8E:7B:A7:50:5C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:FD:41:4F:3D:59:FD:56:85:19:EB:DA:5A:B6:DE:6C:11:64:FE:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "20:A2:25:6E:B1:33:9C:56:08:53:31:8D:80:07:BE:72:58:36:D2:29:CF:C0:4A:1E:43:8E:2D:8D:69:CE:7C:38:9F:18:75:D7:48:3D:BC:6E:42:A6:34:35:34:FB:63:39:C1:A8:26:0F:2F:6D:D2:F5:2C:CD:88:2D:C1:4F:F1:43:FE:CD:79:58:0C:5B:BD:C4:BA:66:2B:16:14:01:FB:DD:AD:59:71:8E:0C:11:22:95:3E:ED:21:78:D3:1C:2B:3F:84:7A:41:7B:45:8D:14:D8:58:C7:BE:42:1B:4C:53:76:8B:95:47:11:46:77:94:E4:C0:E7:2D:DD:B5:F8:6A:A6:AC:02:F6:4B:94:58:95:D8:E0:35:69:FC:E3:02:8D:CB:DE:E7:B6:1C:F7:AC:B3:88:DC:4E:3A:28:F9:9E:F0:20:C4:AF:4E:5C:03:01:D7:02:45:C0:63:53:04:12:24:8F:B9:11:A0:89:8B:F6:3E:DA:8C:07:A5:8A:BC:AF:A1:EC:BA:03:41:4B:AE:CB:B3:B8:27:D0:02:85:3E:19:CA:AF:BC:3D:E3:A7:21:B0:9F:59:A2:93:1D:44:1A:6A:6E:3F:D7:29:F0:BA:B8:9A:B2:76:91:B4:55:C8:A6:C8:F2:59:26:7B:2C:AC:CF:95:12:3A:1D:36:C4:0E:C8:26:F5:AB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20250810132646Z", "not_valid_before": "20240810132649Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.020) 0:00:24.176 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:111 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.020) 0:00:24.196 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:120 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.019) 0:00:24.215 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:127 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.038) 0:00:24.253 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:138 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.040) 0:00:24.293 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 Saturday 10 August 2024 13:27:00 +0000 (0:00:00.022) 0:00:24.316 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046246", "end": "2024-08-10 13:27:01.055107", "rc": 0, "start": "2024-08-10 13:27:01.008861" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:160 Saturday 10 August 2024 13:27:01 +0000 (0:00:00.230) 0:00:24.546 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=68 changed=6 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Saturday 10 August 2024 13:27:01 +0000 (0:00:00.018) 0:00:24.565 ******* =============================================================================== linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 4.16s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 linux-system-roles.certificate : Ensure provider packages are installed --- 4.16s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate requests ------------ 2.50s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Ensure python3 is installed --------------------------------------------- 2.46s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.45s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.36s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml:2 ------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.59s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Parse certificate ------------------------------------------------------- 0.56s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Gathering Facts --------------------------------------------------------- 0.45s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_many_self_signed.yml:18 ------------ Retrieve auto-renew flag ------------------------------------------------ 0.28s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.28s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Parse certificate ------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Parse certificate ------------------------------------------------------- 0.25s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 linux-system-roles.certificate : Check if system is ostree -------------- 0.24s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Retrieve auto-renew flag ------------------------------------------------ 0.23s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 Retrieve auto-renew flag ------------------------------------------------ 0.22s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.19s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Retrieve certificate file stats ----------------------------------------- 0.19s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:40 Retrieve certificate file stats ----------------------------------------- 0.19s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:40 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---