# 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_principal.yml ************************************************** 3 plays in /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml PLAY [Test issuing certificate with principal.] ******************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:2 Saturday 28 January 2023 18:50:48 +0000 (0:00:00.177) 0:00:00.178 ****** 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:50:53 +0000 (0:00:05.623) 0:00:05.801 ****** 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:50:54 +0000 (0:00:00.587) 0:00:06.389 ****** 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:50:56 +0000 (0:00:01.904) 0:00:08.293 ****** 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:50:57 +0000 (0:00:00.967) 0:00:09.260 ****** 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:51:06 +0000 (0:00:09.251) 0:00:18.512 ****** 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:51:11 +0000 (0:00:05.060) 0:00:23.573 ****** 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:51:14 +0000 (0:00:02.798) 0:00:26.371 ****** 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:51:16 +0000 (0:00:02.279) 0:00:28.651 ****** 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": "network.target system.slice basic.target dbus.socket syslog.target sysinit.target systemd-journald.socket dbus.service", "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 dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "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:51:37 +0000 (0:00:21.015) 0:00:49.667 ****** changed: [sut] => (item={'name': 'mycert_principal', 'dns': 'www.example.com', 'principal': 'HTTP/www.example.com@EXAMPLE.COM', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_principal", "principal": "HTTP/www.example.com@EXAMPLE.COM" } } MSG: Certificate requested (new). 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_principal.yml:13 Saturday 28 January 2023 18:51:48 +0000 (0:00:10.734) 0:01:00.401 ****** ok: [sut] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:33 Saturday 28 January 2023 18:51:50 +0000 (0:00:02.332) 0:01:02.734 ****** included: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_principal.crt', 'key_path': '/etc/pki/tls/private/mycert_principal.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}, {'name': 'Universal Principal Name (UPN)', 'value': 'HTTP/www.example.com@EXAMPLE.COM', 'oid': '1.3.6.1.4.1.311.20.2.3'}, {'name': 'Kerberos principalname', 'value': 'HTTP/www.example.com@EXAMPLE.COM', 'oid': '1.3.6.1.5.2.2'}]}) 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:51:51 +0000 (0:00:01.010) 0:01:03.744 ****** 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:51:52 +0000 (0:00:00.778) 0:01:04.522 ****** 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:51:55 +0000 (0:00:02.823) 0:01:07.346 ****** 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:52:02 +0000 (0:00:07.657) 0:01:15.004 ****** 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:52:08 +0000 (0:00:05.714) 0:01:20.718 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931907.0277116, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "45ef171a53b8c710f0c2a7557cc221ad982c80a6", "ctime": 1674931907.0237114, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 897, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931907.0237114, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_principal.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1456, "uid": 0, "version": "239459548", "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:52:17 +0000 (0:00:08.607) 0:01:29.326 ****** 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:52:18 +0000 (0:00:00.759) 0:01:30.085 ****** 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:52:18 +0000 (0:00:00.740) 0:01:30.825 ****** 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:52:20 +0000 (0:00:01.853) 0:01:32.679 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1674931906.94171, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "00eff151dd64e8db7faf1876bf64a6bbb10c8ba7", "ctime": 1674931907.0237114, "dev": 51715, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8389123, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1674931907.0237114, "nlink": 1, "path": "/etc/pki/tls/private/mycert_principal.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "1832919823", "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:52:22 +0000 (0:00:01.554) 0:01:34.233 ****** 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:52:22 +0000 (0:00:00.641) 0:01:34.875 ****** 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:52:25 +0000 (0:00:02.259) 0:01:37.135 ****** ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_principal.crt" ], "delta": "0:00:00.326455", "end": "2023-01-28 18:52:31.456077", "rc": 0, "start": "2023-01-28 18:52:31.129622" } 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" }, { "name": "Universal Principal Name (UPN)", "value": "HTTP/www.example.com@EXAMPLE.COM", "oid": "1.3.6.1.4.1.311.20.2.3" }, { "name": "Kerberos principalname", "value": "HTTP/www.example.com@EXAMPLE.COM", "oid": "1.3.6.1.5.2.2" } ], "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:04:C1:69:82:7E:96:DE:14:D0:02:99:64:D1:EA:85:90:E0:BD:6B", "critical": false }, "authorityKeyIdentifier": { "value": "5A:7C:C4:62:40:CE:4A:E1:62:90:7D:DD:31:B9:BE:1B:90:8B:3F:E3", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:34:92:72:7E:33:29:B9:15:15:C3:17:4E:60:9B:7B:1D:B0:3A:69:DA:EF:60:CA:80:D0:6A:F4:EA:1B:17:35:AD:99:E3:0B:D0:00:21:B4:B8:8C:97:87:DE:87:B4:3F:24:1E:6D:E3:DD:CD:DC:EB:70:5C:BF:87:E9:A4:3A:F8:41:76:D8:4C:B5:14:DB:1E:EC:EE:3A:6C:7B:69:26:29:62:E5:3F:2F:06:5E:7C:10:E8:72:1A:0C:F4:1C:C4:68:A5:A9:7D:4B:76:80:DC:11:FF:98:BF:AF:DC:51:95:9C:FD:C4:B8:7D:63:8A:35:41:C0:7E:97:33:0B:E0:49:68:F8:BA:8A:CA:EC:F6:E8:CD:F0:9A:76:1F:AA:4F:C7:4D:DB:78:27:E8:EE:87:4F:49:F3:93:C8:7B:D6:DA:A1:58:7F:81:4E:D5:A6:5E:7D:52:74:AF:48:E0:B5:0E:3F:D5:2E:71:E1:78:2E:E2:35:77:41:9A:FB:FB:B8:1D:23:57:62:5A:9E:71:A1:8C:7A:BD:75:AE:58:66:FC:6E:62:ED:93:40:87:0D:3E:BD:FA:33:C2:B0:E5:A0:D3:A0:35:2B:A2:B8:4B:A7:2A:9D:28:96:1D:E7:0C:96:65:44:AD:F9:10:A0:52:E3:33:26:DB:8D:0C:E3:44:8B:19:01:72:FA" }, "key_size": 2048, "validity": { "not_valid_after": "2024-01-28 18:51:37", "not_valid_before": "2023-01-28 18:51:47" } } 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:52:31 +0000 (0:00:06.853) 0:01:43.989 ****** ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "5A:7C:C4:62:40:CE:4A:E1:62:90:7D:DD:31:B9:BE:1B:90:8B:3F:E3" }, "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" }, { "name": "Universal Principal Name (UPN)", "oid": "1.3.6.1.4.1.311.20.2.3", "value": "HTTP/www.example.com@EXAMPLE.COM" }, { "name": "Kerberos principalname", "oid": "1.3.6.1.5.2.2", "value": "HTTP/www.example.com@EXAMPLE.COM" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "DE:04:C1:69:82:7E:96:DE:14:D0:02:99:64:D1:EA:85:90:E0:BD:6B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:34:92:72:7E:33:29:B9:15:15:C3:17:4E:60:9B:7B:1D:B0:3A:69:DA:EF:60:CA:80:D0:6A:F4:EA:1B:17:35:AD:99:E3:0B:D0:00:21:B4:B8:8C:97:87:DE:87:B4:3F:24:1E:6D:E3:DD:CD:DC:EB:70:5C:BF:87:E9:A4:3A:F8:41:76:D8:4C:B5:14:DB:1E:EC:EE:3A:6C:7B:69:26:29:62:E5:3F:2F:06:5E:7C:10:E8:72:1A:0C:F4:1C:C4:68:A5:A9:7D:4B:76:80:DC:11:FF:98:BF:AF:DC:51:95:9C:FD:C4:B8:7D:63:8A:35:41:C0:7E:97:33:0B:E0:49:68:F8:BA:8A:CA:EC:F6:E8:CD:F0:9A:76:1F:AA:4F:C7:4D:DB:78:27:E8:EE:87:4F:49:F3:93:C8:7B:D6:DA:A1:58:7F:81:4E:D5:A6:5E:7D:52:74:AF:48:E0:B5:0E:3F:D5:2E:71:E1:78:2E:E2:35:77:41:9A:FB:FB:B8:1D:23:57:62:5A:9E:71:A1:8C:7A:BD:75:AE:58:66:FC:6E:62:ED:93:40:87:0D:3E:BD:FA:33:C2:B0:E5:A0:D3:A0:35:2B:A2:B8:4B:A7:2A:9D:28:96:1D:E7:0C:96:65:44:AD:F9:10:A0:52:E3:33:26:DB:8D:0C:E3:44:8B:19:01:72:FA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "2024-01-28 18:51:37", "not_valid_before": "2023-01-28 18:51:47" } } }, "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:52:33 +0000 (0:00:01.927) 0:01:45.917 ****** 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:52:35 +0000 (0:00:02.113) 0:01:48.030 ****** 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:52:37 +0000 (0:00:01.556) 0:01:49.586 ****** 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:52:39 +0000 (0:00:02.126) 0:01:51.713 ****** 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:52:40 +0000 (0:00:01.182) 0:01:52.895 ****** 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:52:43 +0000 (0:00:02.315) 0:01:55.210 ****** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_principal.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.063934", "end": "2023-01-28 18:52:44.461622", "rc": 0, "start": "2023-01-28 18:52:44.397688" } 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:52:44 +0000 (0:00:01.826) 0:01:57.037 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Test issuing certificate with invalid principal.] ************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:40 Saturday 28 January 2023 18:52:47 +0000 (0:00:02.588) 0:01:59.625 ****** 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:52:52 +0000 (0:00:04.552) 0:02:04.178 ****** 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:52:53 +0000 (0:00:01.553) 0:02:05.731 ****** 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:52:57 +0000 (0:00:03.812) 0:02:09.544 ****** 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:53:00 +0000 (0:00:02.828) 0:02:12.373 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do 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:53:04 +0000 (0:00:04.071) 0:02:16.445 ****** ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do 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:53:09 +0000 (0:00:04.912) 0:02:21.358 ****** 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 [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:53:11 +0000 (0:00:02.433) 0:02:23.791 ****** 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 [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:53:14 +0000 (0:00:02.600) 0:02:26.392 ****** ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2023-01-28 18:51:37 UTC", "ActiveEnterTimestampMonotonic": "954371566", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target syslog.target dbus.socket system.slice dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2023-01-28 18:51:36 UTC", "AssertTimestampMonotonic": "954124751", "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 2023-01-28 18:51:36 UTC", "ConditionTimestampMonotonic": "954124749", "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": "6452", "ExecMainStartTimestamp": "Sat 2023-01-28 18:51:36 UTC", "ExecMainStartTimestampMonotonic": "954125930", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2023-01-28 18:51:36 UTC] ; stop_time=[n/a] ; pid=6452 ; 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 2023-01-28 18:51:36 UTC", "InactiveExitTimestampMonotonic": "954126004", "InvocationID": "70b6ffc414db4bb5aa8560d88bfcde9f", "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": "6452", "MemoryAccounting": "yes", "MemoryCurrent": "6508544", "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 sysinit.target 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 2023-01-28 18:51:37 UTC", "StateChangeTimestampMonotonic": "954371566", "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": "22423", "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 2023-01-28 18:51:37 UTC", "WatchdogTimestampMonotonic": "954371562", "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:53:18 +0000 (0:00:04.637) 0:02:31.029 ****** failed: [sut] (item={'name': 'mycertinvalid', 'dns': 'www.example.com', 'principal': 'HTTP/abc', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycertinvalid", "principal": "HTTP/abc" } } MSG: Invalid principal 'HTTP/abc'. It should be formatted as 'primary/instance@REALM' TASK [Assert...] *************************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:61 Saturday 28 January 2023 18:53:24 +0000 (0:00:05.306) 0:02:36.335 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=40 changed=8 unreachable=0 failed=0 skipped=2 rescued=1 ignored=0 Saturday 28 January 2023 18:53:25 +0000 (0:00:01.462) 0:02:37.798 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure provider service is running -- 21.02s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 fedora.linux_system_roles.certificate : Ensure certificate requests ---- 10.73s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 9.25s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Retrieve certificate file stats ----------------------------------------- 8.61s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:26 Install the package, force upgrade -------------------------------------- 7.66s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:11 Parse certificate ------------------------------------------------------- 6.85s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:74 Install certreader ------------------------------------------------------ 5.71s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 5.62s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:2 -- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 5.31s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 5.06s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.91s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 fedora.linux_system_roles.certificate : Ensure provider service is running --- 4.64s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Gathering Facts --------------------------------------------------------- 4.55s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tests_principal.yml:40 - fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.07s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 3.81s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 2.83s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Ensure python3 is installed --------------------------------------------- 2.82s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:6 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 2.80s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 2.60s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Verify certificate auto-renew flag -------------------------------------- 2.59s /WORKDIR/dist-git-certificate-weekly-ci-_trtb3qr/tests/tasks/assert_certificate_parameters.yml:141 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---