# 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-ci6sjj3vhq/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:2 Saturday 13 July 2024 13:02:42 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [sut] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:5 Saturday 13 July 2024 13:02:43 +0000 (0:00:00.719) 0:00:00.732 ********* 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-ci6sjj3vhq/tests/tests_fs_attrs.yml:9 Saturday 13 July 2024 13:02:43 +0000 (0:00:00.395) 0:00:01.127 ********* 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-ci6sjj3vhq/tests/tests_fs_attrs.yml:14 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.306) 0:00:01.433 ********* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.489) 0:00:01.923 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.013) 0:00:01.937 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.022) 0:00:01.959 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.240) 0:00:02.200 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.021) 0:00:02.221 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 13 July 2024 13:02:44 +0000 (0:00:00.029) 0:00:02.250 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 13 July 2024 13:02:48 +0000 (0:00:03.994) 0:00:06.245 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 13 July 2024 13:02:53 +0000 (0:00:04.210) 0:00:10.455 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 13 July 2024 13:02:53 +0000 (0:00:00.321) 0:00:10.776 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 13 July 2024 13:02:53 +0000 (0:00:00.212) 0:00:10.989 ********* 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": "syslog.target network.target basic.target dbus.service systemd-journald.socket dbus.socket system.slice 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": "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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 13 July 2024 13:02:54 +0000 (0:00:00.670) 0:00:11.660 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 13 July 2024 13:02:55 +0000 (0:00:01.289) 0:00:12.950 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 13 July 2024 13:02:55 +0000 (0:00:00.033) 0:00:12.983 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 13 July 2024 13:02:55 +0000 (0:00:00.017) 0:00:13.001 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 13 July 2024 13:02:55 +0000 (0:00:00.018) 0:00:13.020 ********* 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-ci6sjj3vhq/tests/tests_fs_attrs.yml:32 Saturday 13 July 2024 13:02:55 +0000 (0:00:00.021) 0:00:13.041 ********* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:61 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.482) 0:00:13.524 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.032) 0:00:13.557 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.008) 0:00:13.565 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.017) 0:00:13.583 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.018) 0:00:13.601 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:02:56 +0000 (0:00:00.018) 0:00:13.619 ********* 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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:02:58 +0000 (0:00:02.492) 0:00:16.112 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875774.966387, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "af9754fc6731f9b94aa91864c7418989ea9fd887", "ctime": 1720875775.020386, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894939, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1720875774.963387, "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": "1582324792", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:02:58 +0000 (0:00:00.199) 0:00:16.311 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.021) 0:00:16.333 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.024) 0:00:16.357 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.020) 0:00:16.378 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875774.912388, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b352dd0548e560ace574b854f7bbbb7bcaeefb9e", "ctime": 1720875775.021386, "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": 1720875774.963387, "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": "3180558627", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.202) 0:00:16.580 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.021) 0:00:16.601 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.023) 0:00:16.624 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "89:F2:9B:17:6D:E2:D6:22:CF:26:6C:8C:DD:69:70:BA:67:3F:68:9E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:5C:BC:29:B5:15:82:7A:B5:50:E5:37:4D:05:F7:44:00:69:4B:C4:BD:0A:C4:D4:E3:0B:83:81:E3:4B:84:C4:D9:FB:62:FA:52:BE:7E:FB:25:70:25:CF:AC:EE:96:E6:92:4F:A2:F6:F8:FB:F6:AC:6A:00:9C:32:C2:B3:27:9D:0C:43:9A:70:E7:C5:40:2C:9A:6A:7A:9A:71:E4:7A:A3:38:89:17:38:3D:0A:8F:F0:3C:36:A7:B6:EB:5D:4F:11:67:96:B9:5A:71:62:78:FF:D9:FD:3F:C6:56:EE:7C:59:83:A5:8F:63:6F:2A:51:07:3D:4B:E6:40:4E:67:F4:0F:2F:91:A8:80:C3:57:BE:D7:79:50:BF:32:DB:78:2A:28:0B:70:C8:DB:A8:63:57:4A:3C:F5:76:C8:FB:A8:80:D1:CF:0E:D1:A5:62:F9:1A:5D:18:30:AE:79:C5:DA:CE:61:FE:31:92:91:F4:41:AD:C2:BF:02:67:1A:D0:59:DD:A2:90:E4:5A:87:C6:7E:E8:F2:A1:A7:08:73:22:82:C0:B6:ED:9F:A3:16:04:85:D2:6F:3C:C7:94:BA:41:D7:E7:B0:46:7D:93:89:2F:CA:FE:85:8A:7B:47:B6:D7:1B:94:EE:53:47:83:D8:6A:64:2C:9E:66:25:46:B0:D9:F9:3F:BA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130254Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.456) 0:00:17.081 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "89:F2:9B:17:6D:E2:D6:22:CF:26:6C:8C:DD:69:70:BA:67:3F:68:9E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:5C:BC:29:B5:15:82:7A:B5:50:E5:37:4D:05:F7:44:00:69:4B:C4:BD:0A:C4:D4:E3:0B:83:81:E3:4B:84:C4:D9:FB:62:FA:52:BE:7E:FB:25:70:25:CF:AC:EE:96:E6:92:4F:A2:F6:F8:FB:F6:AC:6A:00:9C:32:C2:B3:27:9D:0C:43:9A:70:E7:C5:40:2C:9A:6A:7A:9A:71:E4:7A:A3:38:89:17:38:3D:0A:8F:F0:3C:36:A7:B6:EB:5D:4F:11:67:96:B9:5A:71:62:78:FF:D9:FD:3F:C6:56:EE:7C:59:83:A5:8F:63:6F:2A:51:07:3D:4B:E6:40:4E:67:F4:0F:2F:91:A8:80:C3:57:BE:D7:79:50:BF:32:DB:78:2A:28:0B:70:C8:DB:A8:63:57:4A:3C:F5:76:C8:FB:A8:80:D1:CF:0E:D1:A5:62:F9:1A:5D:18:30:AE:79:C5:DA:CE:61:FE:31:92:91:F4:41:AD:C2:BF:02:67:1A:D0:59:DD:A2:90:E4:5A:87:C6:7E:E8:F2:A1:A7:08:73:22:82:C0:B6:ED:9F:A3:16:04:85:D2:6F:3C:C7:94:BA:41:D7:E7:B0:46:7D:93:89:2F:CA:FE:85:8A:7B:47:B6:D7:1B:94:EE:53:47:83:D8:6A:64:2C:9E:66:25:46:B0:D9:F9:3F:BA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130254Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.021) 0:00:17.102 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.023) 0:00:17.125 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.022) 0:00:17.147 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.022) 0:00:17.170 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.024) 0:00:17.195 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:02:59 +0000 (0:00:00.024) 0:00:17.219 ********* 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.055431", "end": "2024-07-13 13:03:00.189433", "rc": 0, "start": "2024-07-13 13:03:00.134002" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.312) 0:00:17.531 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.023) 0:00:17.554 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.009) 0:00:17.563 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.019) 0:00:17.583 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.017) 0:00:17.600 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:03:00 +0000 (0:00:00.018) 0:00:17.619 ********* 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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:03:02 +0000 (0:00:02.607) 0:00:20.226 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875775.459378, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "024ebf34e01b53d0284f59b125d9d76e4a65bdd4", "ctime": 1720875775.5993755, "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": 1720875775.4563782, "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": "697607132", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.210) 0:00:20.437 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.020) 0:00:20.458 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.023) 0:00:20.481 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.019) 0:00:20.501 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875775.4113789, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "124c15e6fb0844b536a827278232c12c659b9418", "ctime": 1720875775.5993755, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "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": 1720875775.4563782, "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": "611760867", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.202) 0:00:20.704 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.023) 0:00:20.727 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.028) 0:00:20.755 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "15:24:2A:17:40:BF:D3:0E:A6:14:00:18:B8:4A:F4:AE:5F:54:38:B6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "41:D4:F1:34:4E:F4:76:92:BC:DA:D1:3E:83:71:B9:08:EE:24:44:57:79:6C:8E:AA:B9:CE:61:DB:53:BB:AF:1D:97:3E:DC:E1:84:CD:AF:E7:94:B8:20:6B:17:EA:FD:EE:B9:ED:97:C2:8D:B6:B0:BD:DB:A3:4B:6D:01:23:7E:25:B0:73:E1:DE:9D:0E:6E:79:C4:32:7C:2C:B5:14:17:13:7E:EF:2F:0C:F8:F3:C2:48:B9:5F:18:E9:1B:54:89:FC:80:F8:A6:0F:F9:8B:D6:0A:C5:24:4E:A4:54:5E:B9:F5:DE:11:89:BF:25:3B:E8:F4:C5:7F:AC:20:12:E1:46:68:2E:1D:09:CF:07:6C:A9:56:10:AF:C1:B2:E8:A1:C2:08:F7:7A:E4:B3:03:1D:63:FD:46:40:AC:53:C7:3F:AE:CD:76:8B:92:B4:52:C2:3D:9D:85:32:84:30:D9:52:50:3B:28:1D:26:9F:2A:F1:EB:E9:E8:CA:8A:C0:A4:1F:A3:53:3C:27:5E:F2:29:F8:29:4C:1B:47:19:42:E5:D1:79:71:51:CC:AC:8F:A0:D5:6F:1F:05:42:9A:32:E7:58:E8:AD:7C:73:75:59:D0:D1:F9:36:BE:B6:65:C7:F8:D3:BF:0B:6E:CC:F4:37:53:AA:0C:2C:9B:5E:FC:9E:1C:12:9B:E0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130255Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.269) 0:00:21.025 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "15:24:2A:17:40:BF:D3:0E:A6:14:00:18:B8:4A:F4:AE:5F:54:38:B6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "41:D4:F1:34:4E:F4:76:92:BC:DA:D1:3E:83:71:B9:08:EE:24:44:57:79:6C:8E:AA:B9:CE:61:DB:53:BB:AF:1D:97:3E:DC:E1:84:CD:AF:E7:94:B8:20:6B:17:EA:FD:EE:B9:ED:97:C2:8D:B6:B0:BD:DB:A3:4B:6D:01:23:7E:25:B0:73:E1:DE:9D:0E:6E:79:C4:32:7C:2C:B5:14:17:13:7E:EF:2F:0C:F8:F3:C2:48:B9:5F:18:E9:1B:54:89:FC:80:F8:A6:0F:F9:8B:D6:0A:C5:24:4E:A4:54:5E:B9:F5:DE:11:89:BF:25:3B:E8:F4:C5:7F:AC:20:12:E1:46:68:2E:1D:09:CF:07:6C:A9:56:10:AF:C1:B2:E8:A1:C2:08:F7:7A:E4:B3:03:1D:63:FD:46:40:AC:53:C7:3F:AE:CD:76:8B:92:B4:52:C2:3D:9D:85:32:84:30:D9:52:50:3B:28:1D:26:9F:2A:F1:EB:E9:E8:CA:8A:C0:A4:1F:A3:53:3C:27:5E:F2:29:F8:29:4C:1B:47:19:42:E5:D1:79:71:51:CC:AC:8F:A0:D5:6F:1F:05:42:9A:32:E7:58:E8:AD:7C:73:75:59:D0:D1:F9:36:BE:B6:65:C7:F8:D3:BF:0B:6E:CC:F4:37:53:AA:0C:2C:9B:5E:FC:9E:1C:12:9B:E0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130255Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.026) 0:00:21.052 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.020) 0:00:21.073 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.020) 0:00:21.093 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.020) 0:00:21.114 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.023) 0:00:21.138 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:03:03 +0000 (0:00:00.022) 0:00:21.160 ********* 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.055766", "end": "2024-07-13 13:03:04.071439", "rc": 0, "start": "2024-07-13 13:03:04.015673" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.252) 0:00:21.413 ********* 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-ci6sjj3vhq/tests/tests_fs_attrs.yml:67 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.026) 0:00:21.439 ********* ok: [sut] META: ran handlers TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.464) 0:00:21.904 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.012) 0:00:21.917 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:11 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.021) 0:00:21.938 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:16 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.059) 0:00:21.997 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:20 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.025) 0:00:22.023 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Saturday 13 July 2024 13:03:04 +0000 (0:00:00.031) 0:00:22.054 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Saturday 13 July 2024 13:03:07 +0000 (0:00:02.460) 0:00:24.515 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 Saturday 13 July 2024 13:03:09 +0000 (0:00:02.486) 0:00:27.002 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:63 Saturday 13 July 2024 13:03:09 +0000 (0:00:00.208) 0:00:27.210 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Saturday 13 July 2024 13:03:10 +0000 (0:00:00.228) 0:00:27.439 ********* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-13 13:02:54 UTC", "ActiveEnterTimestampMonotonic": "770426335", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket dbus.socket system.slice syslog.target dbus.service sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-13 13:02:54 UTC", "AssertTimestampMonotonic": "770414687", "Before": "multi-user.target 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": "yes", "ConditionTimestamp": "Sat 2024-07-13 13:02:54 UTC", "ConditionTimestampMonotonic": "770414687", "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": "10778", "ExecMainStartTimestamp": "Sat 2024-07-13 13:02:54 UTC", "ExecMainStartTimestampMonotonic": "770415589", "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-07-13 13:02:54 UTC] ; stop_time=[n/a] ; pid=10778 ; 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-07-13 13:02:54 UTC", "InactiveExitTimestampMonotonic": "770415640", "InvocationID": "75bdd86e3f5d4047bc1930af8e0708c2", "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": "10778", "MemoryAccounting": "yes", "MemoryCurrent": "3592192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "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-07-13 13:02:54 UTC", "StateChangeTimestampMonotonic": "770426335", "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": "22405", "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-07-13 13:02:54 UTC", "WatchdogTimestampMonotonic": "770426332", "WatchdogUSec": "0" } } TASK [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Saturday 13 July 2024 13:03:10 +0000 (0:00:00.329) 0:00:27.768 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:156 Saturday 13 July 2024 13:03:11 +0000 (0:00:01.301) 0:00:29.069 ********* 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-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:168 Saturday 13 July 2024 13:03:11 +0000 (0:00:00.032) 0:00:29.102 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Stop tracking certificates] ************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:184 Saturday 13 July 2024 13:03:11 +0000 (0:00:00.016) 0:00:29.118 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Remove files] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:189 Saturday 13 July 2024 13:03:11 +0000 (0:00:00.018) 0:00:29.137 ********* 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-ci6sjj3vhq/tests/tests_fs_attrs.yml:85 Saturday 13 July 2024 13:03:11 +0000 (0:00:00.021) 0:00:29.159 ********* ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:112 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.472) 0:00:29.631 ********* included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut included: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml for sut TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.030) 0:00:29.662 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.008) 0:00:29.670 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.016) 0:00:29.687 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.016) 0:00:29.704 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:03:12 +0000 (0:00:00.018) 0:00:29.723 ********* 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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:03:14 +0000 (0:00:02.460) 0:00:32.183 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875790.8320985, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "25dd53b543f08d044b496f1bdbdb1515b0946797", "ctime": 1720875790.8840976, "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": 1720875790.8290987, "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": "1759450401", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.202) 0:00:32.385 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.021) 0:00:32.406 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.023) 0:00:32.430 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.020) 0:00:32.450 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875790.7850995, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "37d874beda0d41fc4421ecf2567bdfce69416f32", "ctime": 1720875790.8850975, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6894945, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1720875790.8290987, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "3585313993", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.204) 0:00:32.655 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.021) 0:00:32.676 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.023) 0:00:32.699 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "38:F0:BA:10:63:DA:85:9E:B7:95:26:DA:F5:7C:9A:5F:66:01:1E:20" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "14:B5:58:E4:0E:22:25:CD:35:0C:89:90:AA:E5:CD:7D:FD:84:8D:81:5B:7C:80:EC:22:E7:9B:07:94:76:C9:85:E5:34:F7:4E:4B:6D:FF:68:0C:D6:85:4F:96:19:98:34:81:B0:79:23:1E:3E:88:8E:C3:DE:07:80:EC:C8:27:1D:33:DC:54:FF:FA:FC:BA:D4:D8:35:57:98:1B:62:35:58:6E:A2:47:28:43:FB:90:71:AD:D1:38:43:CD:24:CF:23:34:08:EF:C0:38:39:74:F0:0C:AA:07:5F:2F:3A:38:AE:8A:40:01:53:3E:D0:B1:C5:49:8F:E0:0C:95:7F:66:71:4E:FB:4D:87:76:D0:F9:28:5E:BB:2D:25:FA:39:1F:F9:05:CE:64:5E:97:ED:CE:B8:2E:62:86:2C:47:07:4C:ED:19:C7:03:3A:E2:E8:75:3B:76:30:11:72:B7:39:5E:9C:9C:20:BB:65:EE:A3:50:70:B8:15:F3:13:E2:1B:D1:E7:ED:45:B7:19:5F:89:F4:09:EF:8F:A3:05:5E:32:E8:2B:2E:4D:85:5C:08:07:90:82:78:C4:1A:46:F5:24:00:70:BE:47:A3:63:6E:42:6A:08:28:A2:04:4E:F4:BC:BC:C2:45:4C:78:93:C7:75:84:81:B7:33:F7:CF:C1:D8:40:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130310Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.267) 0:00:32.967 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "38:F0:BA:10:63:DA:85:9E:B7:95:26:DA:F5:7C:9A:5F:66:01:1E:20" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "14:B5:58:E4:0E:22:25:CD:35:0C:89:90:AA:E5:CD:7D:FD:84:8D:81:5B:7C:80:EC:22:E7:9B:07:94:76:C9:85:E5:34:F7:4E:4B:6D:FF:68:0C:D6:85:4F:96:19:98:34:81:B0:79:23:1E:3E:88:8E:C3:DE:07:80:EC:C8:27:1D:33:DC:54:FF:FA:FC:BA:D4:D8:35:57:98:1B:62:35:58:6E:A2:47:28:43:FB:90:71:AD:D1:38:43:CD:24:CF:23:34:08:EF:C0:38:39:74:F0:0C:AA:07:5F:2F:3A:38:AE:8A:40:01:53:3E:D0:B1:C5:49:8F:E0:0C:95:7F:66:71:4E:FB:4D:87:76:D0:F9:28:5E:BB:2D:25:FA:39:1F:F9:05:CE:64:5E:97:ED:CE:B8:2E:62:86:2C:47:07:4C:ED:19:C7:03:3A:E2:E8:75:3B:76:30:11:72:B7:39:5E:9C:9C:20:BB:65:EE:A3:50:70:B8:15:F3:13:E2:1B:D1:E7:ED:45:B7:19:5F:89:F4:09:EF:8F:A3:05:5E:32:E8:2B:2E:4D:85:5C:08:07:90:82:78:C4:1A:46:F5:24:00:70:BE:47:A3:63:6E:42:6A:08:28:A2:04:4E:F4:BC:BC:C2:45:4C:78:93:C7:75:84:81:B7:33:F7:CF:C1:D8:40:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130310Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.019) 0:00:32.986 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.023) 0:00:33.010 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.021) 0:00:33.032 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.028) 0:00:33.060 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.029) 0:00:33.090 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:03:15 +0000 (0:00:00.036) 0:00:33.127 ********* 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.060581", "end": "2024-07-13 13:03:16.044521", "rc": 0, "start": "2024-07-13 13:03:15.983940" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.257) 0:00:33.385 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.022) 0:00:33.407 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.009) 0:00:33.416 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.021) 0:00:33.438 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.019) 0:00:33.457 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Saturday 13 July 2024 13:03:16 +0000 (0:00:00.032) 0:00:33.489 ********* 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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:40 Saturday 13 July 2024 13:03:18 +0000 (0:00:02.485) 0:00:35.975 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875791.578085, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e3841872d0a1870127c540df935254589b7b07e5", "ctime": 1720875791.5750852, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894954, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720875791.5750852, "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": "1048861873", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:45 Saturday 13 July 2024 13:03:18 +0000 (0:00:00.200) 0:00:36.176 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:51 Saturday 13 July 2024 13:03:18 +0000 (0:00:00.019) 0:00:36.196 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:63 Saturday 13 July 2024 13:03:18 +0000 (0:00:00.021) 0:00:36.217 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:69 Saturday 13 July 2024 13:03:18 +0000 (0:00:00.019) 0:00:36.236 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720875791.5300858, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "966a27c7e77a7b2c22c42de88089fe00f0601699", "ctime": 1720875791.5750852, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894951, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720875791.5750852, "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": "2333231277", "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-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:74 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.202) 0:00:36.439 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:80 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.019) 0:00:36.458 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.021) 0:00:36.479 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "3F:F6:E5:68:D3:3A:29:0C:91:53:94:2B:1E:18:88:FE:B4:1A:D6:4A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "94:41:F7:6F:08:96:21:F1:06:A6:AF:3C:B4:D9:8B:19:68:F7:3A:FD:9A:F8:DF:73:61:EC:06:F7:6E:32:6C:A7:58:81:F6:FA:5F:CA:62:18:81:68:85:AB:65:D3:35:53:D5:0C:C9:5B:9E:E7:AC:42:2F:16:79:CB:5E:3D:39:5A:FA:45:58:82:C2:78:D7:7E:4B:96:DC:17:E8:AC:39:75:78:75:2B:2B:15:7D:E2:6D:44:BA:29:0C:C4:4F:A1:05:BA:BC:A1:28:60:8E:AF:13:53:74:87:BA:F3:48:35:FC:47:CA:83:B3:55:B6:B9:5E:7A:74:AB:59:33:F0:72:50:91:25:B9:DC:9A:28:B5:6A:82:49:AA:B6:13:95:54:38:12:A2:C9:D3:E5:A3:35:B1:2F:BD:F2:0D:28:A2:C4:99:9F:05:D4:B6:4B:9D:B4:C3:9C:F3:EF:DB:03:44:0F:70:FA:B5:31:37:27:E7:E1:D1:B8:A7:F9:35:66:00:01:C1:38:3A:53:2A:90:02:EE:04:71:DE:0B:9F:29:0A:F3:A1:BB:6F:65:37:09:25:A2:15:80:0D:AA:F7:70:99:83:C6:3B:7A:48:21:39:4B:AB:C0:9D:52:F5:10:81:73:CF:CA:66:6B:58:4E:A0:27:48:A7:A3:AE:65:57:94:EB:B0:7D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130311Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:98 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.265) 0:00:36.745 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "0B:DF:26:71:C3:E7:B2:3F:0A:66:95:04:F9:44:57:AD:57:BE:84:C1" }, "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": "3F:F6:E5:68:D3:3A:29:0C:91:53:94:2B:1E:18:88:FE:B4:1A:D6:4A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "94:41:F7:6F:08:96:21:F1:06:A6:AF:3C:B4:D9:8B:19:68:F7:3A:FD:9A:F8:DF:73:61:EC:06:F7:6E:32:6C:A7:58:81:F6:FA:5F:CA:62:18:81:68:85:AB:65:D3:35:53:D5:0C:C9:5B:9E:E7:AC:42:2F:16:79:CB:5E:3D:39:5A:FA:45:58:82:C2:78:D7:7E:4B:96:DC:17:E8:AC:39:75:78:75:2B:2B:15:7D:E2:6D:44:BA:29:0C:C4:4F:A1:05:BA:BC:A1:28:60:8E:AF:13:53:74:87:BA:F3:48:35:FC:47:CA:83:B3:55:B6:B9:5E:7A:74:AB:59:33:F0:72:50:91:25:B9:DC:9A:28:B5:6A:82:49:AA:B6:13:95:54:38:12:A2:C9:D3:E5:A3:35:B1:2F:BD:F2:0D:28:A2:C4:99:9F:05:D4:B6:4B:9D:B4:C3:9C:F3:EF:DB:03:44:0F:70:FA:B5:31:37:27:E7:E1:D1:B8:A7:F9:35:66:00:01:C1:38:3A:53:2A:90:02:EE:04:71:DE:0B:9F:29:0A:F3:A1:BB:6F:65:37:09:25:A2:15:80:0D:AA:F7:70:99:83:C6:3B:7A:48:21:39:4B:AB:C0:9D:52:F5:10:81:73:CF:CA:66:6B:58:4E:A0:27:48:A7:A3:AE:65:57:94:EB:B0:7D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250713130254Z", "not_valid_before": "20240713130311Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:102 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.019) 0:00:36.765 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:111 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.019) 0:00:36.784 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:120 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.019) 0:00:36.803 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:127 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.020) 0:00:36.824 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:138 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.023) 0:00:36.848 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:151 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.022) 0:00:36.871 ********* 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.060085", "end": "2024-07-13 13:03:19.780981", "rc": 0, "start": "2024-07-13 13:03:19.720896" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:160 Saturday 13 July 2024 13:03:19 +0000 (0:00:00.250) 0:00:37.121 ********* 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 13 July 2024 13:03:19 +0000 (0:00:00.018) 0:00:37.140 ********* =============================================================================== linux-system-roles.certificate : Ensure provider packages are installed --- 4.21s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 3.99s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.61s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 Ensure python3 is installed --------------------------------------------- 2.49s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure provider packages are installed --- 2.49s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:24 Ensure python3 is installed --------------------------------------------- 2.49s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 2.46s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.46s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:29 linux-system-roles.certificate : Ensure certificate requests ------------ 1.30s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 linux-system-roles.certificate : Ensure certificate requests ------------ 1.29s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:104 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:2 --------------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.67s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 Gathering Facts --------------------------------------------------------- 0.49s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:14 -------------------- Gathering Facts --------------------------------------------------------- 0.48s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.47s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 0.46s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:67 -------------------- Parse certificate ------------------------------------------------------- 0.46s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tasks/assert_certificate_parameters.yml:92 Ensure user exists ------------------------------------------------------ 0.40s /WORKDIR/git-weekly-ci6sjj3vhq/tests/tests_fs_attrs.yml:5 --------------------- linux-system-roles.certificate : Ensure provider service is running ----- 0.33s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:92 linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.32s /WORKDIR/git-weekly-ci6sjj3vhq/tests/roles/linux-system-roles.certificate/tasks/main.yml:37 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---