# 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_fs_attrs.yml *************************************************** 5 plays in /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:2 Saturday 10 August 2024 12:59:08 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:5 Saturday 10 August 2024 12:59:08 +0000 (0:00:00.665) 0:00:00.678 ******* changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:9 Saturday 10 August 2024 12:59:09 +0000 (0:00:00.350) 0:00:01.029 ******* changed: [sut] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:14 Saturday 10 August 2024 12:59:09 +0000 (0:00:00.295) 0:00:01.324 ******* 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 12:59:09 +0000 (0:00:00.468) 0:00:01.793 ******* 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 12:59:09 +0000 (0:00:00.010) 0:00:01.804 ******* 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 12:59:09 +0000 (0:00:00.020) 0:00:01.824 ******* 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 12:59:10 +0000 (0:00:00.233) 0:00:02.058 ******* 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 12:59:10 +0000 (0:00:00.021) 0:00:02.080 ******* 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 12:59:10 +0000 (0:00:00.030) 0:00:02.111 ******* 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 12:59:14 +0000 (0:00:04.050) 0:00:06.161 ******* 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 12:59:18 +0000 (0:00:04.395) 0:00:10.557 ******* 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 12:59:18 +0000 (0:00:00.284) 0:00:10.842 ******* 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 12:59:19 +0000 (0:00:00.205) 0:00:11.048 ******* 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": "system.slice dbus.service dbus.socket syslog.target network.target systemd-journald.socket basic.target sysinit.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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "system.slice dbus.socket 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": "22406", "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 12:59:19 +0000 (0:00:00.656) 0:00:11.704 ******* changed: [sut] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [sut] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. 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 12:59:21 +0000 (0:00:01.599) 0:00:13.304 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "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 12:59:21 +0000 (0:00:00.051) 0:00:13.356 ******* 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 12:59:21 +0000 (0:00:00.020) 0:00:13.376 ******* 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 12:59:21 +0000 (0:00:00.018) 0:00:13.395 ******* 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_fs_attrs.yml:32 Saturday 10 August 2024 12:59:21 +0000 (0:00:00.022) 0:00:13.418 ******* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:61 Saturday 10 August 2024 12:59:21 +0000 (0:00:00.467) 0:00:13.886 ******* 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 12:59:21 +0000 (0:00:00.034) 0:00:13.920 ******* 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 12:59:21 +0000 (0:00:00.008) 0:00:13.928 ******* 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 12:59:21 +0000 (0:00:00.017) 0:00:13.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:18 Saturday 10 August 2024 12:59:21 +0000 (0:00:00.018) 0:00:13.964 ******* 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 12:59:21 +0000 (0:00:00.019) 0:00:13.984 ******* 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 12:59:24 +0000 (0:00:02.527) 0:00:16.512 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294760.2629607, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "646ac8286b7c93c2adf145925b26a32fd1c06465", "ctime": 1723294760.3169587, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894941, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294760.2609608, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "3033406753", "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 12:59:24 +0000 (0:00:00.197) 0:00:16.709 ******* 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 12:59:24 +0000 (0:00:00.019) 0:00:16.729 ******* 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 12:59:24 +0000 (0:00:00.021) 0:00:16.751 ******* 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 12:59:24 +0000 (0:00:00.019) 0:00:16.770 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294760.2129626, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ccc4ea921cd2584e81e2367dd2753b70ff3f5263", "ctime": 1723294760.3169587, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894912, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294760.2609608, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "3631314862", "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 12:59:24 +0000 (0:00:00.196) 0:00:16.967 ******* 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 12:59:25 +0000 (0:00:00.024) 0:00:16.991 ******* 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 12:59:25 +0000 (0:00:00.022) 0:00:17.014 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "C3:13:D2:E5:0C:68:25:EF:43:13:46:BE:53:A0:BE:96:0D:40:45:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "71:C6:37:41:25:50:4E:8E:2A:4D:66:4E:51:A2:E8:05:C1:CB:84:CD:53:B0:B9:D4:6B:40:FE:0C:BD:36:C4:7C:F3:FD:C0:5A:BC:F6:C1:AA:6A:FB:2E:3A:E5:1D:38:B2:B3:2B:DB:35:A7:FE:81:FD:F6:9D:63:D5:F3:BE:68:48:64:7A:20:FD:14:28:A3:2A:0D:16:6D:BE:D2:E4:80:31:F4:EE:6F:24:F7:61:97:D2:AE:44:5A:BE:1F:44:B6:3A:D9:34:EF:48:33:89:62:C6:82:CF:7D:0E:DD:79:BB:DF:78:99:3B:7C:06:0E:B5:74:7F:B5:E5:76:7C:14:29:81:24:42:FA:DA:1B:59:C5:EF:71:CE:85:D1:64:90:68:7B:70:9D:21:67:73:42:2C:2C:DA:C2:33:3A:7C:37:D8:70:12:47:7A:74:5C:3D:79:06:B5:8E:29:08:48:AD:75:07:2A:08:DF:03:DD:DA:D3:75:44:8E:25:F4:D4:98:05:EB:C5:E9:F2:63:A9:66:27:72:2A:2B:3F:4B:FA:90:E4:A0:BE:F3:19:65:04:72:E9:14:A6:56:4C:C5:F3:83:83:49:79:D9:0D:2F:E0:D4:B2:96:8E:C9:D9:75:E6:11:A2:84:11:42:02:CF:26:2A:15:E5:04:F5:AC:31:53:C3:5A:EB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125920Z" } }, "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 12:59:25 +0000 (0:00:00.528) 0:00:17.543 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "C3:13:D2:E5:0C:68:25:EF:43:13:46:BE:53:A0:BE:96:0D:40:45:7D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "71:C6:37:41:25:50:4E:8E:2A:4D:66:4E:51:A2:E8:05:C1:CB:84:CD:53:B0:B9:D4:6B:40:FE:0C:BD:36:C4:7C:F3:FD:C0:5A:BC:F6:C1:AA:6A:FB:2E:3A:E5:1D:38:B2:B3:2B:DB:35:A7:FE:81:FD:F6:9D:63:D5:F3:BE:68:48:64:7A:20:FD:14:28:A3:2A:0D:16:6D:BE:D2:E4:80:31:F4:EE:6F:24:F7:61:97:D2:AE:44:5A:BE:1F:44:B6:3A:D9:34:EF:48:33:89:62:C6:82:CF:7D:0E:DD:79:BB:DF:78:99:3B:7C:06:0E:B5:74:7F:B5:E5:76:7C:14:29:81:24:42:FA:DA:1B:59:C5:EF:71:CE:85:D1:64:90:68:7B:70:9D:21:67:73:42:2C:2C:DA:C2:33:3A:7C:37:D8:70:12:47:7A:74:5C:3D:79:06:B5:8E:29:08:48:AD:75:07:2A:08:DF:03:DD:DA:D3:75:44:8E:25:F4:D4:98:05:EB:C5:E9:F2:63:A9:66:27:72:2A:2B:3F:4B:FA:90:E4:A0:BE:F3:19:65:04:72:E9:14:A6:56:4C:C5:F3:83:83:49:79:D9:0D:2F:E0:D4:B2:96:8E:C9:D9:75:E6:11:A2:84:11:42:02:CF:26:2A:15:E5:04:F5:AC:31:53:C3:5A:EB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125920Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 12:59:25 +0000 (0:00:00.021) 0:00:17.564 ******* 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 12:59:25 +0000 (0:00:00.020) 0:00:17.584 ******* 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 12:59:25 +0000 (0:00:00.019) 0:00:17.604 ******* 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 12:59:25 +0000 (0:00:00.020) 0:00:17.625 ******* 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 12:59:25 +0000 (0:00:00.023) 0:00:17.648 ******* 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 12:59:25 +0000 (0:00:00.024) 0:00:17.672 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.054311", "end": "2024-08-10 12:59:25.982664", "rc": 0, "start": "2024-08-10 12:59:25.928353" } 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 12:59:26 +0000 (0:00:00.317) 0:00:17.990 ******* 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 12:59:26 +0000 (0:00:00.022) 0:00:18.012 ******* 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 12:59:26 +0000 (0:00:00.008) 0:00:18.020 ******* 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 12:59:26 +0000 (0:00:00.018) 0:00:18.039 ******* 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 12:59:26 +0000 (0:00:00.019) 0:00:18.058 ******* 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 12:59:26 +0000 (0:00:00.019) 0:00:18.077 ******* 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 12:59:28 +0000 (0:00:02.667) 0:00:20.745 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294761.1729271, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b13795f9fd29dd267d518baf6d9388a53731a400", "ctime": 1723294761.285923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 6894947, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294761.1699271, "nlink": 1, "path": "/etc/pki/tls/certs/certid.crt", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 1040, "version": "2521477362", "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 12:59:28 +0000 (0:00:00.206) 0:00:20.951 ******* 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 12:59:28 +0000 (0:00:00.025) 0:00:20.977 ******* 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 12:59:29 +0000 (0:00:00.033) 0:00:21.011 ******* 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 12:59:29 +0000 (0:00:00.027) 0:00:21.038 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294761.1259289, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cff4adf6ebb797dc431211d4d8c13cd25c8a6afa", "ctime": 1723294761.285923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 6894943, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294761.1699271, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "2121496133", "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 12:59:29 +0000 (0:00:00.199) 0:00:21.237 ******* 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 12:59:29 +0000 (0:00:00.025) 0:00:21.263 ******* 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 12:59:29 +0000 (0:00:00.029) 0:00:21.292 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "44:AD:5B:01:5D:F7:70:09:7A:E6:E3:DF:4A:E8:DB:92:C1:D8:AF:63" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:8D:FB:44:6F:F3:BD:D8:47:5E:D5:3C:DB:96:34:96:43:62:75:46:41:08:0F:AE:A1:B6:47:E2:E5:E2:0E:EC:16:D7:EE:32:C1:09:5C:5D:61:C1:3E:81:E8:26:9A:4F:79:5A:62:24:5D:09:2E:97:DC:9B:A0:36:D4:D4:85:FB:F3:4F:89:C2:9C:AA:78:D1:AF:40:C2:F2:1D:F2:B5:B0:79:45:0E:4E:F0:60:95:22:71:C8:D5:C1:05:03:87:FE:46:2A:2A:1F:CB:45:03:05:E3:DE:0D:A6:E4:38:60:63:B6:5B:F5:18:F0:56:DB:C4:95:0C:EC:A1:93:A2:6D:8A:85:07:05:2D:5F:D5:BA:0D:D2:B8:B7:AD:22:A4:32:CC:CB:EB:ED:7D:84:BA:98:87:74:6F:BC:70:6D:29:8C:BE:24:20:78:F4:45:96:13:96:2A:18:D9:5D:67:0B:60:88:79:25:DF:28:62:89:BC:3F:96:7B:CB:94:E2:5D:55:CF:B2:46:DF:41:09:6D:F1:F3:F1:88:76:EA:EB:03:E0:3D:05:4C:ED:3C:7E:60:A7:23:17:D9:08:2A:4B:4B:29:A4:BB:3D:F7:E3:81:66:FF:7D:70:3B:AF:3C:D5:09:E2:63:83:FF:39:FE:DA:21:85:3F:3E:51:F3:70:3D:09:79:5E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125921Z" } }, "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 12:59:29 +0000 (0:00:00.254) 0:00:21.547 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "44:AD:5B:01:5D:F7:70:09:7A:E6:E3:DF:4A:E8:DB:92:C1:D8:AF:63" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:8D:FB:44:6F:F3:BD:D8:47:5E:D5:3C:DB:96:34:96:43:62:75:46:41:08:0F:AE:A1:B6:47:E2:E5:E2:0E:EC:16:D7:EE:32:C1:09:5C:5D:61:C1:3E:81:E8:26:9A:4F:79:5A:62:24:5D:09:2E:97:DC:9B:A0:36:D4:D4:85:FB:F3:4F:89:C2:9C:AA:78:D1:AF:40:C2:F2:1D:F2:B5:B0:79:45:0E:4E:F0:60:95:22:71:C8:D5:C1:05:03:87:FE:46:2A:2A:1F:CB:45:03:05:E3:DE:0D:A6:E4:38:60:63:B6:5B:F5:18:F0:56:DB:C4:95:0C:EC:A1:93:A2:6D:8A:85:07:05:2D:5F:D5:BA:0D:D2:B8:B7:AD:22:A4:32:CC:CB:EB:ED:7D:84:BA:98:87:74:6F:BC:70:6D:29:8C:BE:24:20:78:F4:45:96:13:96:2A:18:D9:5D:67:0B:60:88:79:25:DF:28:62:89:BC:3F:96:7B:CB:94:E2:5D:55:CF:B2:46:DF:41:09:6D:F1:F3:F1:88:76:EA:EB:03:E0:3D:05:4C:ED:3C:7E:60:A7:23:17:D9:08:2A:4B:4B:29:A4:BB:3D:F7:E3:81:66:FF:7D:70:3B:AF:3C:D5:09:E2:63:83:FF:39:FE:DA:21:85:3F:3E:51:F3:70:3D:09:79:5E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125921Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 12:59:29 +0000 (0:00:00.019) 0:00:21.566 ******* 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 12:59:29 +0000 (0:00:00.020) 0:00:21.587 ******* 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 12:59:29 +0000 (0:00:00.019) 0:00:21.606 ******* 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 12:59:29 +0000 (0:00:00.019) 0:00:21.626 ******* 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 12:59:29 +0000 (0:00:00.022) 0:00:21.648 ******* 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 12:59:29 +0000 (0:00:00.021) 0:00:21.670 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.054063", "end": "2024-08-10 12:59:29.901439", "rc": 0, "start": "2024-08-10 12:59:29.847376" } 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 12:59:29 +0000 (0:00:00.238) 0:00:21.908 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:67 Saturday 10 August 2024 12:59:29 +0000 (0:00:00.023) 0:00:21.932 ******* 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 12:59:30 +0000 (0:00:00.450) 0:00:22.382 ******* 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 12:59:30 +0000 (0:00:00.010) 0:00:22.393 ******* 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 12:59:30 +0000 (0:00:00.019) 0:00:22.413 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was 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 12:59:30 +0000 (0:00:00.017) 0:00:22.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was 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 12:59:30 +0000 (0:00:00.019) 0:00:22.449 ******* 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 12:59:30 +0000 (0:00:00.046) 0:00:22.496 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do 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 12:59:33 +0000 (0:00:02.711) 0:00:25.208 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do 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 12:59:36 +0000 (0:00:02.862) 0:00:28.070 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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 12:59:36 +0000 (0:00:00.206) 0:00:28.276 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "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 12:59:36 +0000 (0:00:00.207) 0:00:28.484 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-08-10 12:59:19 UTC", "ActiveEnterTimestampMonotonic": "759759253", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.socket dbus.service basic.target network.target system.slice syslog.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 12:59:19 UTC", "AssertTimestampMonotonic": "759748028", "Before": "shutdown.target multi-user.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": "yes", "ConditionTimestamp": "Sat 2024-08-10 12:59:19 UTC", "ConditionTimestampMonotonic": "759748027", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "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": "10832", "ExecMainStartTimestamp": "Sat 2024-08-10 12:59:19 UTC", "ExecMainStartTimestampMonotonic": "759748841", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-10 12:59:19 UTC] ; stop_time=[n/a] ; pid=10832 ; 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", "InactiveExitTimestamp": "Sat 2024-08-10 12:59:19 UTC", "InactiveExitTimestampMonotonic": "759748886", "InvocationID": "163d26a165604ae0933775a7b8d69b0f", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10832", "MemoryAccounting": "yes", "MemoryCurrent": "3579904", "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": "system.slice dbus.socket 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]", "StateChangeTimestamp": "Sat 2024-08-10 12:59:19 UTC", "StateChangeTimestampMonotonic": "759759253", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2024-08-10 12:59:19 UTC", "WatchdogTimestampMonotonic": "759759251", "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 12:59:36 +0000 (0:00:00.322) 0:00:28.807 ******* changed: [sut] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [sut] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } } 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 12:59:38 +0000 (0:00:01.502) 0:00:30.309 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "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 12:59:38 +0000 (0:00:00.033) 0:00:30.342 ******* 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 12:59:38 +0000 (0:00:00.017) 0:00:30.360 ******* 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 12:59:38 +0000 (0:00:00.023) 0:00:30.383 ******* 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_fs_attrs.yml:85 Saturday 10 August 2024 12:59:38 +0000 (0:00:00.023) 0:00:30.406 ******* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:112 Saturday 10 August 2024 12:59:38 +0000 (0:00:00.459) 0:00:30.866 ******* 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 12:59:38 +0000 (0:00:00.042) 0:00:30.909 ******* 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 12:59:38 +0000 (0:00:00.009) 0:00:30.918 ******* 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 12:59:38 +0000 (0:00:00.021) 0:00:30.940 ******* 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 12:59:38 +0000 (0:00:00.019) 0:00:30.959 ******* 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 12:59:38 +0000 (0:00:00.017) 0:00:30.977 ******* 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 12:59:41 +0000 (0:00:02.539) 0:00:33.516 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294777.4653244, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "59dc3cc5e15b89ce7cc0cb04e77155c20bc9eeb4", "ctime": 1723294777.5103226, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894952, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723294777.4623244, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "4032143530", "wgrp": true, "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 12:59:41 +0000 (0:00:00.198) 0:00:33.715 ******* 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 12:59:41 +0000 (0:00:00.019) 0:00:33.734 ******* 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 12:59:41 +0000 (0:00:00.020) 0:00:33.755 ******* 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 12:59:41 +0000 (0:00:00.019) 0:00:33.774 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294777.4183261, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bae0d34b35d39fc99f6df3f71b115cb0d3800e97", "ctime": 1723294777.5103226, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894949, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723294777.4623244, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "3082764336", "wgrp": true, "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 12:59:41 +0000 (0:00:00.194) 0:00:33.969 ******* 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 12:59:42 +0000 (0:00:00.021) 0:00:33.990 ******* 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 12:59:42 +0000 (0:00:00.023) 0:00:34.013 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "B7:C0:04:C9:54:C7:91:A6:7C:B9:17:55:6B:2B:1C:99:81:9B:B6:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "18:74:8E:7C:13:D5:CB:0A:BC:A5:A7:BD:01:A2:6D:CB:37:0F:8C:61:23:D3:06:27:D7:45:91:8B:32:93:55:59:DB:5A:7F:F0:26:22:C0:64:14:D2:5F:91:B8:9E:7A:1F:39:E1:AF:76:3D:B1:77:24:13:F8:E0:F8:00:EC:23:A9:AE:57:0E:18:0B:25:76:83:C9:CC:E6:69:0E:FD:ED:18:2E:41:3B:0B:B8:EA:59:2B:4F:C0:BC:6F:E3:1A:F3:4C:15:55:D9:AB:1D:18:78:73:8E:1B:69:61:46:FA:F7:DB:71:6D:49:85:3F:C5:2A:3E:35:25:85:73:D3:FB:4B:2C:23:03:CF:35:3A:96:49:53:FB:AF:73:E2:DC:F9:35:BF:21:93:0F:DC:B7:0E:2B:9A:9B:92:32:88:F4:18:EB:89:92:6C:D4:F4:42:27:28:53:E6:BF:F6:A0:AB:7F:C2:A6:7A:34:34:DB:1D:DE:E6:1C:06:7D:FD:3F:48:F9:53:59:7A:E4:8C:63:D6:FD:FD:66:21:BB:98:DD:D1:D9:0A:D3:B7:8E:4B:35:D5:15:F3:6B:52:25:24:01:AC:06:1E:87:A9:EE:9A:BE:77:9F:DC:D9:9C:2E:1D:36:EF:09:F1:79:4C:95:C4:CB:3C:01:CD:03:16:AC:A4:78:45:3E:EE:5C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125937Z" } }, "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 12:59:42 +0000 (0:00:00.259) 0:00:34.273 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "B7:C0:04:C9:54:C7:91:A6:7C:B9:17:55:6B:2B:1C:99:81:9B:B6:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "18:74:8E:7C:13:D5:CB:0A:BC:A5:A7:BD:01:A2:6D:CB:37:0F:8C:61:23:D3:06:27:D7:45:91:8B:32:93:55:59:DB:5A:7F:F0:26:22:C0:64:14:D2:5F:91:B8:9E:7A:1F:39:E1:AF:76:3D:B1:77:24:13:F8:E0:F8:00:EC:23:A9:AE:57:0E:18:0B:25:76:83:C9:CC:E6:69:0E:FD:ED:18:2E:41:3B:0B:B8:EA:59:2B:4F:C0:BC:6F:E3:1A:F3:4C:15:55:D9:AB:1D:18:78:73:8E:1B:69:61:46:FA:F7:DB:71:6D:49:85:3F:C5:2A:3E:35:25:85:73:D3:FB:4B:2C:23:03:CF:35:3A:96:49:53:FB:AF:73:E2:DC:F9:35:BF:21:93:0F:DC:B7:0E:2B:9A:9B:92:32:88:F4:18:EB:89:92:6C:D4:F4:42:27:28:53:E6:BF:F6:A0:AB:7F:C2:A6:7A:34:34:DB:1D:DE:E6:1C:06:7D:FD:3F:48:F9:53:59:7A:E4:8C:63:D6:FD:FD:66:21:BB:98:DD:D1:D9:0A:D3:B7:8E:4B:35:D5:15:F3:6B:52:25:24:01:AC:06:1E:87:A9:EE:9A:BE:77:9F:DC:D9:9C:2E:1D:36:EF:09:F1:79:4C:95:C4:CB:3C:01:CD:03:16:AC:A4:78:45:3E:EE:5C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125937Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 12:59:42 +0000 (0:00:00.022) 0:00:34.295 ******* 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 12:59:42 +0000 (0:00:00.025) 0:00:34.321 ******* 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 12:59:42 +0000 (0:00:00.020) 0:00:34.341 ******* 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 12:59:42 +0000 (0:00:00.021) 0:00:34.363 ******* 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 12:59:42 +0000 (0:00:00.023) 0:00:34.387 ******* 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 12:59:42 +0000 (0:00:00.023) 0:00:34.411 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.058425", "end": "2024-08-10 12:59:42.653707", "rc": 0, "start": "2024-08-10 12:59:42.595282" } 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 12:59:42 +0000 (0:00:00.267) 0:00:34.678 ******* 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 12:59:42 +0000 (0:00:00.023) 0:00:34.701 ******* 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 12:59:42 +0000 (0:00:00.010) 0:00:34.712 ******* 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 12:59:42 +0000 (0:00:00.019) 0:00:34.731 ******* 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 12:59:42 +0000 (0:00:00.017) 0:00:34.749 ******* 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 12:59:42 +0000 (0:00:00.018) 0:00:34.767 ******* 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 12:59:45 +0000 (0:00:02.618) 0:00:37.386 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294778.2532952, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b586b452eb0979a7eaf93fd00c1e62dcbcc149bd", "ctime": 1723294778.2502954, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894957, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723294778.2502954, "nlink": 1, "path": "/etc/pki/tls/certs/certid_mode.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2333424355", "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 12:59:45 +0000 (0:00:00.198) 0:00:37.584 ******* 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 12:59:45 +0000 (0:00:00.021) 0:00:37.606 ******* 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 12:59:45 +0000 (0:00:00.023) 0:00:37.629 ******* 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 12:59:45 +0000 (0:00:00.021) 0:00:37.651 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294778.206297, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8119fc81d91019a23d8828aa4e333b06cd06f2cb", "ctime": 1723294778.2502954, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894955, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723294778.2502954, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1290145129", "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 12:59:45 +0000 (0:00:00.197) 0:00:37.848 ******* 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 12:59:45 +0000 (0:00:00.031) 0:00:37.880 ******* 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 12:59:45 +0000 (0:00:00.025) 0:00:37.906 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "BE:F5:59:68:6B:B4:3D:24:FD:0D:8C:7B:B1:9E:47:9A:C6:0D:3C:4F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6A:D4:93:CF:0C:58:C4:7E:DE:01:33:12:CF:F6:8B:15:2E:49:D4:4A:C0:39:5D:AA:FA:A3:0C:17:30:18:F4:83:E9:4B:C9:80:FE:74:EE:E7:10:9D:02:41:54:C2:30:57:27:BF:B0:FB:72:BA:5E:FE:40:A3:B3:F1:2F:3B:95:4F:18:EE:87:05:12:C9:DE:30:2A:17:96:0E:34:CE:3B:E3:B1:88:C1:42:DE:81:A2:C6:5D:8B:70:B3:63:13:86:CE:DD:5D:5A:91:0F:D4:78:C4:16:EC:72:1A:5A:C1:21:68:9B:C8:2A:60:C4:E8:6A:01:43:DE:9B:59:4F:1B:4C:5F:A2:34:81:32:55:97:B2:52:31:DE:13:5D:16:77:CB:FE:5E:90:20:F9:EE:EC:98:A1:85:AA:10:AC:35:C0:F8:3C:E4:84:A9:53:BE:BC:46:D7:47:BA:73:CF:52:21:B0:13:EE:FA:D4:C1:47:CB:E4:C6:97:38:35:86:7D:74:C0:E4:14:4D:3D:5B:2B:42:91:59:E5:41:35:4E:69:0A:E2:6F:47:EE:5C:9C:25:50:C7:E7:0C:53:BC:A7:A6:15:11:4B:64:A5:B5:74:AE:A2:23:98:24:DB:5A:F5:60:4E:81:EE:54:36:24:BF:1E:7D:22:AB:86:0A:FE:6F:D3:E7:7B:75" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125938Z" } }, "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 12:59:46 +0000 (0:00:00.258) 0:00:38.164 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7C:EE:66:40:9A:EC:19:43:0F:61:DE:C4:17:29:77:79:81:72:67:56" }, "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": "BE:F5:59:68:6B:B4:3D:24:FD:0D:8C:7B:B1:9E:47:9A:C6:0D:3C:4F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "6A:D4:93:CF:0C:58:C4:7E:DE:01:33:12:CF:F6:8B:15:2E:49:D4:4A:C0:39:5D:AA:FA:A3:0C:17:30:18:F4:83:E9:4B:C9:80:FE:74:EE:E7:10:9D:02:41:54:C2:30:57:27:BF:B0:FB:72:BA:5E:FE:40:A3:B3:F1:2F:3B:95:4F:18:EE:87:05:12:C9:DE:30:2A:17:96:0E:34:CE:3B:E3:B1:88:C1:42:DE:81:A2:C6:5D:8B:70:B3:63:13:86:CE:DD:5D:5A:91:0F:D4:78:C4:16:EC:72:1A:5A:C1:21:68:9B:C8:2A:60:C4:E8:6A:01:43:DE:9B:59:4F:1B:4C:5F:A2:34:81:32:55:97:B2:52:31:DE:13:5D:16:77:CB:FE:5E:90:20:F9:EE:EC:98:A1:85:AA:10:AC:35:C0:F8:3C:E4:84:A9:53:BE:BC:46:D7:47:BA:73:CF:52:21:B0:13:EE:FA:D4:C1:47:CB:E4:C6:97:38:35:86:7D:74:C0:E4:14:4D:3D:5B:2B:42:91:59:E5:41:35:4E:69:0A:E2:6F:47:EE:5C:9C:25:50:C7:E7:0C:53:BC:A7:A6:15:11:4B:64:A5:B5:74:AE:A2:23:98:24:DB:5A:F5:60:4E:81:EE:54:36:24:BF:1E:7D:22:AB:86:0A:FE:6F:D3:E7:7B:75" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810125920Z", "not_valid_before": "20240810125938Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:102 Saturday 10 August 2024 12:59:46 +0000 (0:00:00.020) 0:00:38.184 ******* 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 12:59:46 +0000 (0:00:00.020) 0:00:38.205 ******* 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 12:59:46 +0000 (0:00:00.019) 0:00:38.224 ******* 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 12:59:46 +0000 (0:00:00.019) 0:00:38.243 ******* 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 12:59:46 +0000 (0:00:00.022) 0:00:38.266 ******* 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 12:59:46 +0000 (0:00:00.022) 0:00:38.288 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.059121", "end": "2024-08-10 12:59:46.526979", "rc": 0, "start": "2024-08-10 12:59:46.467858" } 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 12:59:46 +0000 (0:00:00.245) 0:00:38.534 ******* ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=99 changed=9 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 Saturday 10 August 2024 12:59:46 +0000 (0:00:00.018) 0:00:38.553 ******* =============================================================================== linux-system-roles.certificate : Ensure provider packages are installed --- 4.40s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 4.05s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 linux-system-roles.certificate : Ensure provider packages are installed --- 2.86s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 2.71s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.67s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.62s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.54s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.53s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure certificate requests ------------ 1.60s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 linux-system-roles.certificate : Ensure certificate requests ------------ 1.50s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:2 --------------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.66s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Parse certificate ------------------------------------------------------- 0.53s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:92 Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:14 -------------------- Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.46s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 0.45s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:67 -------------------- Ensure user exists ------------------------------------------------------ 0.35s /WORKDIR/git-weekly-ci79r6_wfo/tests/tests_fs_attrs.yml:5 --------------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.32s /WORKDIR/git-weekly-ci79r6_wfo/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Retrieve auto-renew flag ------------------------------------------------ 0.32s /WORKDIR/git-weekly-ci79r6_wfo/tests/tasks/assert_certificate_parameters.yml:151 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---