# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.13.6] 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.13/lib/python3.8/site-packages/ansible ansible collection location = /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection executable location = /opt/ansible-2.13/bin/ansible-playbook python version = 3.8.13 (default, Jun 24 2022, 15:27:57) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 3 plays in /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:2 Saturday 28 January 2023 18:05:30 +0000 (0:00:00.014) 0:00:00.014 ****** ok: [sut] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:5 Saturday 28 January 2023 18:05:31 +0000 (0:00:01.209) 0:00:01.224 ****** 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/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:9 Saturday 28 January 2023 18:05:32 +0000 (0:00:00.559) 0:00:01.783 ****** 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/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:13 Saturday 28 January 2023 18:05:32 +0000 (0:00:00.502) 0:00:02.285 ****** ok: [sut] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 28 January 2023 18:05:33 +0000 (0:00:00.770) 0:00:03.056 ****** included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 28 January 2023 18:05:33 +0000 (0:00:00.049) 0:00:03.106 ****** ok: [sut] TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Saturday 28 January 2023 18:05:34 +0000 (0:00:00.458) 0:00:03.564 ****** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 28 January 2023 18:05:34 +0000 (0:00:00.068) 0:00:03.633 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.3.7-6.el8.noarch" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Saturday 28 January 2023 18:05:36 +0000 (0:00:02.712) 0:00:06.345 ****** 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-1.51.0-8.el8.x86_64", "Installed: xmlrpc-c-client-1.51.0-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Saturday 28 January 2023 18:05:40 +0000 (0:00:03.863) 0:00:10.209 ****** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Saturday 28 January 2023 18:05:42 +0000 (0:00:01.998) 0:00:12.208 ****** changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Saturday 28 January 2023 18:05:43 +0000 (0:00:01.220) 0:00:13.428 ****** 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 systemd-journald.socket syslog.target dbus.socket basic.target dbus.service network.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": "14014", "LimitNPROCSoft": "14014", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14014", "LimitSIGPENDINGSoft": "14014", "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 sysinit.target dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22423", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Saturday 28 January 2023 18:05:52 +0000 (0:00:08.531) 0:00:21.960 ****** 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. META: role_complete for sut META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:31 Saturday 28 January 2023 18:05:57 +0000 (0:00:05.372) 0:00:27.333 ****** ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:60 Saturday 28 January 2023 18:05:59 +0000 (0:00:01.861) 0:00:29.195 ****** included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0640'}) included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/certid.crt', 'key_path': '/etc/pki/tls/private/certid.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 1040, 'group': 1041, 'mode': '0640'}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 28 January 2023 18:06:00 +0000 (0:00:01.037) 0:00:30.232 ****** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Saturday 28 January 2023 18:06:01 +0000 (0:00:00.425) 0:00:30.658 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Saturday 28 January 2023 18:06:03 +0000 (0:00:02.297) 0:00:32.956 ****** changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting pip Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB) Installing collected packages: pip Found existing installation: pip 9.0.3 Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 Successfully installed pip-21.3.1 STDERR: You are using pip version 21.3.1, however version 22.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. TASK [Install certreader] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 28 January 2023 18:06:10 +0000 (0:00:07.084) 0:00:40.041 ****** changed: [sut] => { "changed": true, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "cryptography<35", "certreader>=0.1.1" ], "name": [ "cryptography<35", "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Collecting cryptography<35 Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB) Collecting certreader>=0.1.1 Downloading certreader-0.1.1.tar.gz (4.4 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting cffi>=1.12 Downloading cffi-1.15.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (402 kB) Collecting pyasn1 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting pyyaml Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) Using legacy 'setup.py install' for certreader, since package 'wheel' is not installed. Installing collected packages: pycparser, cffi, pyyaml, pyasn1, cryptography, certreader Running setup.py install for certreader: started Running setup.py install for certreader: finished with status 'done' Successfully installed certreader-0.1.1 cffi-1.15.1 cryptography-3.4.8 pyasn1-0.4.8 pycparser-2.21 pyyaml-6.0 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Saturday 28 January 2023 18:06:15 +0000 (0:00:04.877) 0:00:44.918 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674929155.838367, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "18187e59a50f879023c250342a6f421312b5dd75", "ctime": 1674929156.00137, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 897, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1674929155.835367, "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": "1872240001", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:31 Saturday 28 January 2023 18:06:18 +0000 (0:00:02.702) 0:00:47.621 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:37 Saturday 28 January 2023 18:06:18 +0000 (0:00:00.615) 0:00:48.236 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:47 Saturday 28 January 2023 18:06:19 +0000 (0:00:00.813) 0:00:49.050 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:53 Saturday 28 January 2023 18:06:20 +0000 (0:00:00.513) 0:00:49.563 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674929155.7383652, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a24c4af40e7e8dd0ca2464f5ca906c580e190b6d", "ctime": 1674929156.00137, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 8389207, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1674929155.835367, "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": "2928635050", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:58 Saturday 28 January 2023 18:06:21 +0000 (0:00:01.081) 0:00:50.645 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:64 Saturday 28 January 2023 18:06:21 +0000 (0:00:00.601) 0:00:51.247 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Saturday 28 January 2023 18:06:22 +0000 (0:00:00.971) 0:00:52.218 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_fs_attrs.crt" ], "delta": "0:00:00.318408", "end": "2023-01-28 18:06:25.739905", "rc": 0, "start": "2023-01-28 18:06:25.421497" } STDOUT: { "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "extensions": { "keyUsage": { "value": [ "digital_signature", "key_encipherment" ], "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "www.example.com" } ], "critical": false }, "extendedKeyUsage": { "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" } ], "critical": false }, "basicConstraints": { "value": { "ca": false }, "critical": true }, "subjectKeyIdentifier": { "value": "2C:31:00:FA:DD:6B:A5:21:B0:BE:82:BA:36:96:EE:09:3D:F1:9C:59", "critical": false }, "authorityKeyIdentifier": { "value": "B0:FF:C4:84:0B:91:B7:04:1D:31:E5:7C:1D:B2:1D:49:FB:0F:50:20", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:3C:A1:6E:E6:6E:EC:DD:73:48:E9:14:AA:D2:55:3B:EF:90:C6:A6:FE:A5:B1:31:36:10:BE:92:E4:C1:0E:1B:10:39:4A:46:7E:53:23:03:2A:1B:5B:91:ED:8F:F4:5B:13:AF:70:ED:24:7E:2C:78:30:D0:49:53:F2:62:17:34:7A:6F:B6:93:35:FA:6D:C8:4B:47:92:EF:76:A3:29:4D:89:58:B1:ED:19:B0:7B:C4:6B:95:D3:81:8B:4C:F0:8B:75:46:10:70:85:A2:0B:74:DB:0E:99:D3:1E:1B:B9:F8:0F:16:4F:4F:8A:7E:81:7F:C9:9E:C2:92:93:3A:68:01:1F:03:F2:C7:9C:8B:B6:D5:D3:76:2C:00:09:86:2D:F8:9F:D4:F3:2B:20:2E:3D:9A:FF:9B:36:A5:B5:4A:3C:0F:8E:E8:FB:65:FE:E2:6F:A9:A8:06:BC:E6:F2:E0:7A:BA:3E:71:46:E0:96:2C:35:00:DC:D1:C4:D2:C7:9C:EB:A0:15:D0:40:C7:51:D6:FE:A6:D8:0B:96:4F:2E:38:3A:57:90:72:FA:D7:99:D5:CD:76:E5:D4:4C:76:19:55:C0:00:6A:B8:27:67:AF:96:7B:D8:5D:A2:40:FF:3C:24:28:05:6C:1C:8E:8D:1F:54:71:12:D5:0A:42:05:F6:4A:0A:26" }, "key_size": 2048, "validity": { "not_valid_after": "2024-01-28 18:05:52", "not_valid_before": "2023-01-28 18:05:55" } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:79 Saturday 28 January 2023 18:06:26 +0000 (0:00:03.346) 0:00:55.565 ****** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B0:FF:C4:84:0B:91:B7:04:1D:31:E5:7C:1D:B2:1D:49:FB:0F:50:20" }, "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": "2C:31:00:FA:DD:6B:A5:21:B0:BE:82:BA:36:96:EE:09:3D:F1:9C:59" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "40:3C:A1:6E:E6:6E:EC:DD:73:48:E9:14:AA:D2:55:3B:EF:90:C6:A6:FE:A5:B1:31:36:10:BE:92:E4:C1:0E:1B:10:39:4A:46:7E:53:23:03:2A:1B:5B:91:ED:8F:F4:5B:13:AF:70:ED:24:7E:2C:78:30:D0:49:53:F2:62:17:34:7A:6F:B6:93:35:FA:6D:C8:4B:47:92:EF:76:A3:29:4D:89:58:B1:ED:19:B0:7B:C4:6B:95:D3:81:8B:4C:F0:8B:75:46:10:70:85:A2:0B:74:DB:0E:99:D3:1E:1B:B9:F8:0F:16:4F:4F:8A:7E:81:7F:C9:9E:C2:92:93:3A:68:01:1F:03:F2:C7:9C:8B:B6:D5:D3:76:2C:00:09:86:2D:F8:9F:D4:F3:2B:20:2E:3D:9A:FF:9B:36:A5:B5:4A:3C:0F:8E:E8:FB:65:FE:E2:6F:A9:A8:06:BC:E6:F2:E0:7A:BA:3E:71:46:E0:96:2C:35:00:DC:D1:C4:D2:C7:9C:EB:A0:15:D0:40:C7:51:D6:FE:A6:D8:0B:96:4F:2E:38:3A:57:90:72:FA:D7:99:D5:CD:76:E5:D4:4C:76:19:55:C0:00:6A:B8:27:67:AF:96:7B:D8:5D:A2:40:FF:3C:24:28:05:6C:1C:8E:8D:1F:54:71:12:D5:0A:42:05:F6:4A:0A:26" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "2024-01-28 18:05:52", "not_valid_before": "2023-01-28 18:05:55" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:83 Saturday 28 January 2023 18:06:26 +0000 (0:00:00.534) 0:00:56.099 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:91 Saturday 28 January 2023 18:06:27 +0000 (0:00:00.852) 0:00:56.952 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:99 Saturday 28 January 2023 18:06:27 +0000 (0:00:00.502) 0:00:57.454 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:106 Saturday 28 January 2023 18:06:29 +0000 (0:00:01.177) 0:00:58.632 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:118 Saturday 28 January 2023 18:06:29 +0000 (0:00:00.545) 0:00:59.178 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:132 Saturday 28 January 2023 18:06:30 +0000 (0:00:00.959) 0:01:00.138 ****** 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.065217", "end": "2023-01-28 18:06:31.495522", "rc": 0, "start": "2023-01-28 18:06:31.430305" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 Saturday 28 January 2023 18:06:31 +0000 (0:00:01.103) 0:01:01.241 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:2 Saturday 28 January 2023 18:06:32 +0000 (0:00:01.267) 0:01:02.508 ****** ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Saturday 28 January 2023 18:06:33 +0000 (0:00:00.554) 0:01:03.062 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Install the package, force upgrade] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Saturday 28 January 2023 18:06:36 +0000 (0:00:03.052) 0:01:06.115 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "-U", "pip" ], "name": [ "pip" ], "requirements": null, "state": "latest", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: pip in ./certificate-tests-venv/lib/python3.6/site-packages (21.3.1) TASK [Install certreader] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Saturday 28 January 2023 18:06:38 +0000 (0:00:02.236) 0:01:08.352 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/pip3", "install", "cryptography<35", "certreader>=0.1.1" ], "name": [ "cryptography<35", "certreader>=0.1.1" ], "requirements": null, "state": "present", "version": null, "virtualenv": "/tmp/certificate-tests-venv" } STDOUT: Requirement already satisfied: cryptography<35 in ./certificate-tests-venv/lib/python3.6/site-packages (3.4.8) Requirement already satisfied: certreader>=0.1.1 in ./certificate-tests-venv/lib/python3.6/site-packages (0.1.1) Requirement already satisfied: cffi>=1.12 in ./certificate-tests-venv/lib/python3.6/site-packages (from cryptography<35) (1.15.1) Requirement already satisfied: pyasn1 in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (0.4.8) Requirement already satisfied: pyyaml in ./certificate-tests-venv/lib/python3.6/site-packages (from certreader>=0.1.1) (6.0) Requirement already satisfied: pycparser in ./certificate-tests-venv/lib/python3.6/site-packages (from cffi>=1.12->cryptography<35) (2.21) TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Saturday 28 January 2023 18:06:41 +0000 (0:00:02.317) 0:01:10.670 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674929157.1343908, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5cfc9683b1934cb805c0c6c2653a92173271b659", "ctime": 1674929157.197392, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 901, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1674929157.130391, "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": "2002849799", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:31 Saturday 28 January 2023 18:06:41 +0000 (0:00:00.752) 0:01:11.422 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:37 Saturday 28 January 2023 18:06:42 +0000 (0:00:00.376) 0:01:11.799 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:47 Saturday 28 January 2023 18:06:42 +0000 (0:00:00.408) 0:01:12.208 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:53 Saturday 28 January 2023 18:06:43 +0000 (0:00:00.399) 0:01:12.608 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674929157.0733898, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "97e321144ffe1638deaa683eac05886bf7235459", "ctime": 1674929157.197392, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 8389973, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1674929157.130391, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1708, "uid": 1040, "version": "1042618120", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:58 Saturday 28 January 2023 18:06:44 +0000 (0:00:01.020) 0:01:13.628 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:64 Saturday 28 January 2023 18:06:44 +0000 (0:00:00.335) 0:01:13.963 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Saturday 28 January 2023 18:06:45 +0000 (0:00:00.594) 0:01:14.558 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/certid.crt" ], "delta": "0:00:00.317924", "end": "2023-01-28 18:06:45.836104", "rc": 0, "start": "2023-01-28 18:06:45.518180" } STDOUT: { "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "extensions": { "keyUsage": { "value": [ "digital_signature", "key_encipherment" ], "critical": false }, "subjectAltName": { "value": [ { "name": "DNS", "value": "www.example.com" } ], "critical": false }, "extendedKeyUsage": { "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" } ], "critical": false }, "basicConstraints": { "value": { "ca": false }, "critical": true }, "subjectKeyIdentifier": { "value": "DE:72:ED:92:C3:4E:68:36:D7:09:E2:30:93:63:47:AC:87:54:7A:DB", "critical": false }, "authorityKeyIdentifier": { "value": "B0:FF:C4:84:0B:91:B7:04:1D:31:E5:7C:1D:B2:1D:49:FB:0F:50:20", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:A2:DB:48:67:25:DE:94:F5:00:4C:23:4C:52:57:1F:91:3B:E1:90:13:B3:52:7A:5D:31:6C:7B:2E:54:D0:26:DD:40:00:69:DA:4C:FB:DC:81:EC:5F:EA:E3:1B:98:2E:D4:3B:A2:E8:56:A1:F1:5A:9D:19:10:80:48:10:FA:FE:39:DD:DB:21:A5:AD:C6:C1:AD:2C:A7:1E:76:2D:5D:80:92:32:C1:1F:DF:47:71:73:0C:20:DE:DF:9E:5D:A8:30:7C:6D:7D:5A:3A:21:5D:9A:B6:B0:63:C8:9E:1B:DF:74:93:1B:C9:99:F5:B5:87:84:31:DE:4B:E3:73:6A:AB:1F:82:8B:F5:ED:4B:4B:B9:D1:FC:25:17:C3:A4:41:D8:6D:CA:03:2F:9E:D0:80:CA:80:35:EB:86:8A:56:56:D4:52:6B:91:D4:A4:CF:41:0B:FF:F1:EB:69:C3:2D:42:50:45:30:02:4F:8F:0B:FE:AB:65:98:D1:AC:3A:6B:09:A1:CD:72:42:2F:83:A0:A6:0E:EA:EF:4C:D5:9B:3B:1D:C1:C2:BB:A3:65:DC:30:64:83:84:F0:3E:FD:1C:86:94:06:53:7B:58:C0:1F:E1:71:D5:66:D9:BA:9D:AD:B5:C2:0B:1E:91:59:B9:51:8F:D3:08:3D:D6:CC:B1:EC:14:14:6D:31" }, "key_size": 2048, "validity": { "not_valid_after": "2024-01-28 18:05:52", "not_valid_before": "2023-01-28 18:05:57" } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:79 Saturday 28 January 2023 18:06:46 +0000 (0:00:01.040) 0:01:15.598 ****** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B0:FF:C4:84:0B:91:B7:04:1D:31:E5:7C:1D:B2:1D:49:FB:0F:50:20" }, "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": "DE:72:ED:92:C3:4E:68:36:D7:09:E2:30:93:63:47:AC:87:54:7A:DB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:A2:DB:48:67:25:DE:94:F5:00:4C:23:4C:52:57:1F:91:3B:E1:90:13:B3:52:7A:5D:31:6C:7B:2E:54:D0:26:DD:40:00:69:DA:4C:FB:DC:81:EC:5F:EA:E3:1B:98:2E:D4:3B:A2:E8:56:A1:F1:5A:9D:19:10:80:48:10:FA:FE:39:DD:DB:21:A5:AD:C6:C1:AD:2C:A7:1E:76:2D:5D:80:92:32:C1:1F:DF:47:71:73:0C:20:DE:DF:9E:5D:A8:30:7C:6D:7D:5A:3A:21:5D:9A:B6:B0:63:C8:9E:1B:DF:74:93:1B:C9:99:F5:B5:87:84:31:DE:4B:E3:73:6A:AB:1F:82:8B:F5:ED:4B:4B:B9:D1:FC:25:17:C3:A4:41:D8:6D:CA:03:2F:9E:D0:80:CA:80:35:EB:86:8A:56:56:D4:52:6B:91:D4:A4:CF:41:0B:FF:F1:EB:69:C3:2D:42:50:45:30:02:4F:8F:0B:FE:AB:65:98:D1:AC:3A:6B:09:A1:CD:72:42:2F:83:A0:A6:0E:EA:EF:4C:D5:9B:3B:1D:C1:C2:BB:A3:65:DC:30:64:83:84:F0:3E:FD:1C:86:94:06:53:7B:58:C0:1F:E1:71:D5:66:D9:BA:9D:AD:B5:C2:0B:1E:91:59:B9:51:8F:D3:08:3D:D6:CC:B1:EC:14:14:6D:31" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "2024-01-28 18:05:52", "not_valid_before": "2023-01-28 18:05:57" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:83 Saturday 28 January 2023 18:06:47 +0000 (0:00:01.091) 0:01:16.690 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:91 Saturday 28 January 2023 18:06:48 +0000 (0:00:01.310) 0:01:18.001 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:99 Saturday 28 January 2023 18:06:49 +0000 (0:00:00.631) 0:01:18.633 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:106 Saturday 28 January 2023 18:06:49 +0000 (0:00:00.323) 0:01:18.956 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:118 Saturday 28 January 2023 18:06:50 +0000 (0:00:01.133) 0:01:20.090 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:132 Saturday 28 January 2023 18:06:51 +0000 (0:00:00.682) 0:01:20.773 ****** 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.064816", "end": "2023-01-28 18:06:51.938741", "rc": 0, "start": "2023-01-28 18:06:51.873925" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 Saturday 28 January 2023 18:06:52 +0000 (0:00:00.939) 0:01:21.712 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=55 changed=10 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Saturday 28 January 2023 18:06:52 +0000 (0:00:00.726) 0:01:22.439 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure provider service is running --- 8.53s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Install the package, force upgrade -------------------------------------- 7.08s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 5.37s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Install certreader ------------------------------------------------------ 4.88s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.86s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Parse certificate ------------------------------------------------------- 3.35s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Ensure python3 is installed --------------------------------------------- 3.05s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.71s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Retrieve certificate file stats ----------------------------------------- 2.70s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Install certreader ------------------------------------------------------ 2.32s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 2.30s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 Install the package, force upgrade -------------------------------------- 2.24s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 2.00s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Gathering Facts --------------------------------------------------------- 1.86s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:31 -- Verify certificate subject ---------------------------------------------- 1.31s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:83 Verify certificate auto-renew flag -------------------------------------- 1.27s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 1.22s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Gathering Facts --------------------------------------------------------- 1.21s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_fs_attrs.yml:2 --- Verify key size --------------------------------------------------------- 1.18s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:99 Verify certificate Key Usage -------------------------------------------- 1.13s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:106 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---