# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.2] 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.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.13 (main, Jun 24 2022, 15:32:51) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] (/opt/ansible-2.14/bin/python3.9) 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_subject_complex.yml ******************************************** 2 plays in /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml:2 Sunday 12 February 2023 00:26:48 +0000 (0:00:00.524) 0:00:00.524 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Sunday 12 February 2023 00:26:56 +0000 (0:00:07.805) 0:00:08.330 ******* included: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.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-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Sunday 12 February 2023 00:26:56 +0000 (0:00:00.664) 0:00:08.995 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Sunday 12 February 2023 00:26:59 +0000 (0:00:02.617) 0:00:11.613 ******* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.2.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.2.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Sunday 12 February 2023 00:27:01 +0000 (0:00:02.212) 0:00:13.825 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-cffi-1.14.5-5.el9.x86_64", "Installed: python3-cryptography-36.0.1-2.el9.x86_64", "Installed: python3-ply-3.11-14.el9.noarch", "Installed: python3-pycparser-2.20-6.el9.noarch", "Installed: python3-pyasn1-0.4.8-6.el9.noarch" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Sunday 12 February 2023 00:27:10 +0000 (0:00:09.178) 0:00:23.004 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: nss-3.79.0-14.el9_0.x86_64", "Installed: nss-softokn-3.79.0-14.el9_0.x86_64", "Installed: nss-softokn-freebl-3.79.0-14.el9_0.x86_64", "Installed: certmonger-0.79.17-1.el9.x86_64", "Installed: nss-sysinit-3.79.0-14.el9_0.x86_64", "Installed: nss-util-3.79.0-14.el9_0.x86_64", "Installed: nspr-4.34.0-14.el9_0.x86_64" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Sunday 12 February 2023 00:27:17 +0000 (0:00:06.879) 0:00:29.884 ******* 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-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Sunday 12 February 2023 00:27:24 +0000 (0:00:06.498) 0:00:36.383 ******* 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-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Sunday 12 February 2023 00:27:28 +0000 (0:00:04.704) 0:00:41.088 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service syslog.target dbus.socket basic.target systemd-journald.socket system.slice network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "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 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13988", "LimitNPROCSoft": "13988", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13988", "LimitSIGPENDINGSoft": "13988", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22380", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Sunday 12 February 2023 00:27:41 +0000 (0:00:12.486) 0:00:53.574 ******* changed: [sut] => (item={'name': 'mycert_subject_complex', 'dns': 'www.example.com', 'common_name': '# \\\\Every"thing+that,ne;edsing\\0 ', 'contact_email': 'admin@example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "# \\\\Every\"thing+that,ne;edsing\\0 ", "contact_email": "admin@example.com", "dns": "www.example.com", "name": "mycert_subject_complex" } } MSG: Certificate requested (new). PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml:16 Sunday 12 February 2023 00:27:50 +0000 (0:00:09.531) 0:01:03.105 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml:42 Sunday 12 February 2023 00:27:54 +0000 (0:00:03.238) 0:01:06.343 ******* included: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_subject_complex.crt', 'key_path': '/etc/pki/tls/private/mycert_subject_complex.key', 'subject': [{'name': 'emailAddress', 'oid': '1.2.840.113549.1.9.1', 'value': 'admin@example.com'}, {'name': 'commonName', 'oid': '2.5.4.3', 'value': '# \\\\Every"thing+that,ne;edsing\\0 '}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:2 Sunday 12 February 2023 00:27:56 +0000 (0:00:02.104) 0:01:08.448 ******* 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-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:6 Sunday 12 February 2023 00:27:57 +0000 (0:00:01.320) 0:01:09.768 ******* 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-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:11 Sunday 12 February 2023 00:28:00 +0000 (0:00:02.442) 0:01:12.211 ******* 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: Requirement already satisfied: pip in ./certificate-tests-venv/lib/python3.9/site-packages (21.2.3) Collecting pip Downloading pip-23.0-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 21.2.3 Uninstalling pip-21.2.3: Successfully uninstalled pip-21.2.3 Successfully installed pip-23.0 TASK [Install certreader] ****************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:18 Sunday 12 February 2023 00:28:15 +0000 (0:00:15.112) 0:01:27.324 ******* 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) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 25.9 MB/s eta 0:00:00 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-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.2/441.2 kB 33.7 MB/s eta 0:00:00 Collecting pyasn1 Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 15.1 MB/s eta 0:00:00 Collecting pyyaml Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 kB 36.8 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 18.7 MB/s eta 0:00:00 Installing collected packages: pyasn1, pyyaml, pycparser, cffi, 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 STDERR: DEPRECATION: certreader is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:26 Sunday 12 February 2023 00:28:21 +0000 (0:00:06.448) 0:01:33.772 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1676161668.3225224, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6485a57d260d25ea4bce65ded60018d29677b5ea", "ctime": 1676161668.3195224, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13128, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1676161668.3195224, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_subject_complex.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1375, "uid": 0, "version": "3359545820", "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-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:31 Sunday 12 February 2023 00:28:30 +0000 (0:00:09.212) 0:01:42.985 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:37 Sunday 12 February 2023 00:28:32 +0000 (0:00:01.313) 0:01:44.298 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:47 Sunday 12 February 2023 00:28:35 +0000 (0:00:03.277) 0:01:47.576 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:53 Sunday 12 February 2023 00:28:39 +0000 (0:00:04.095) 0:01:51.671 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1676161668.2505207, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "427e91947bf67eaa2a9969eea7171b7c340629ae", "ctime": 1676161668.3195224, "dev": 51716, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25178370, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1676161668.3195224, "nlink": 1, "path": "/etc/pki/tls/private/mycert_subject_complex.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "4044747598", "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-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:58 Sunday 12 February 2023 00:28:41 +0000 (0:00:01.741) 0:01:53.413 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:64 Sunday 12 February 2023 00:28:42 +0000 (0:00:00.915) 0:01:54.329 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:74 Sunday 12 February 2023 00:28:47 +0000 (0:00:04.826) 0:01:59.156 ******* ok: [sut] => { "changed": false, "cmd": [ "/tmp/certificate-tests-venv/bin/certreader2json", "/etc/pki/tls/certs/mycert_subject_complex.crt" ], "delta": "0:00:00.265330", "end": "2023-02-12 00:28:49.765040", "rc": 0, "start": "2023-02-12 00:28:49.499710" } STDOUT: { "subject": [ { "name": "emailAddress", "oid": "1.2.840.113549.1.9.1", "value": "admin@example.com" }, { "name": "commonName", "oid": "2.5.4.3", "value": "# \\\\Every\"thing+that,ne;edsing\\0 " } ], "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": "64:FA:F6:DB:76:F7:AA:A3:06:74:4D:49:4A:1B:67:51:4B:79:C7:23", "critical": false }, "authorityKeyIdentifier": { "value": "38:61:68:D9:4B:C5:0F:73:2D:2C:ED:84:77:AF:AA:AB:FE:3A:BA:AB", "critical": false } }, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B5:0E:12:9D:DC:86:71:D4:BF:1C:D0:20:77:10:6B:4D:A9:D7:9D:B4:6F:10:1D:EB:1F:49:AC:1F:39:9B:D8:39:BE:F0:E0:4D:82:20:EA:CD:74:88:C7:B5:68:D7:23:5D:81:F7:4F:8B:14:81:8C:73:81:68:3F:7F:4A:0E:6E:C3:42:42:F0:35:CA:66:6A:CE:88:2A:86:68:47:D0:3B:CF:D6:25:56:83:5F:EA:B0:F4:0C:C5:13:B1:24:FB:1C:A0:F7:DF:D9:24:80:7A:60:32:49:8A:78:B4:14:95:28:FA:08:55:2F:0B:45:C9:A2:C2:32:60:BF:C7:AB:13:69:08:AA:BA:16:0C:82:62:55:79:DA:AB:9A:65:96:D9:58:80:B1:B3:6B:1F:F5:F4:AE:73:46:DA:6B:EF:A8:EC:BC:F9:B3:F0:4B:FF:76:89:02:0B:82:16:57:01:A9:5C:B5:44:07:CA:DE:83:77:27:41:5F:2E:C5:0F:09:3F:76:57:34:A3:A3:9E:F8:34:DA:4D:2B:00:A0:B9:E7:D6:40:57:2A:87:9F:10:E7:B4:E1:BE:54:7F:20:E3:CF:45:9C:33:4E:09:DD:E6:38:06:B5:7E:A7:B5:37:3D:3C:4C:FD:AF:DC:73:35:A6:41:9D:45:E8:AD:98:44:3D:90:5A:4B:18:93" }, "key_size": 2048, "validity": { "not_valid_after": "2024-02-12 00:27:41", "not_valid_before": "2023-02-12 00:27:48" } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:79 Sunday 12 February 2023 00:28:50 +0000 (0:00:03.361) 0:02:02.518 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "38:61:68:D9:4B:C5:0F:73:2D:2C:ED:84:77:AF:AA:AB:FE:3A:BA:AB" }, "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": "64:FA:F6:DB:76:F7:AA:A3:06:74:4D:49:4A:1B:67:51:4B:79:C7:23" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B5:0E:12:9D:DC:86:71:D4:BF:1C:D0:20:77:10:6B:4D:A9:D7:9D:B4:6F:10:1D:EB:1F:49:AC:1F:39:9B:D8:39:BE:F0:E0:4D:82:20:EA:CD:74:88:C7:B5:68:D7:23:5D:81:F7:4F:8B:14:81:8C:73:81:68:3F:7F:4A:0E:6E:C3:42:42:F0:35:CA:66:6A:CE:88:2A:86:68:47:D0:3B:CF:D6:25:56:83:5F:EA:B0:F4:0C:C5:13:B1:24:FB:1C:A0:F7:DF:D9:24:80:7A:60:32:49:8A:78:B4:14:95:28:FA:08:55:2F:0B:45:C9:A2:C2:32:60:BF:C7:AB:13:69:08:AA:BA:16:0C:82:62:55:79:DA:AB:9A:65:96:D9:58:80:B1:B3:6B:1F:F5:F4:AE:73:46:DA:6B:EF:A8:EC:BC:F9:B3:F0:4B:FF:76:89:02:0B:82:16:57:01:A9:5C:B5:44:07:CA:DE:83:77:27:41:5F:2E:C5:0F:09:3F:76:57:34:A3:A3:9E:F8:34:DA:4D:2B:00:A0:B9:E7:D6:40:57:2A:87:9F:10:E7:B4:E1:BE:54:7F:20:E3:CF:45:9C:33:4E:09:DD:E6:38:06:B5:7E:A7:B5:37:3D:3C:4C:FD:AF:DC:73:35:A6:41:9D:45:E8:AD:98:44:3D:90:5A:4B:18:93" }, "subject": [ { "name": "emailAddress", "oid": "1.2.840.113549.1.9.1", "value": "admin@example.com" }, { "name": "commonName", "oid": "2.5.4.3", "value": "# \\\\Every\"thing+that,ne;edsing\\0 " } ], "validity": { "not_valid_after": "2024-02-12 00:27:41", "not_valid_before": "2023-02-12 00:27:48" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:83 Sunday 12 February 2023 00:28:51 +0000 (0:00:01.611) 0:02:04.129 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:91 Sunday 12 February 2023 00:28:55 +0000 (0:00:03.146) 0:02:07.276 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:99 Sunday 12 February 2023 00:28:56 +0000 (0:00:01.028) 0:02:08.304 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:106 Sunday 12 February 2023 00:28:59 +0000 (0:00:02.887) 0:02:11.192 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:118 Sunday 12 February 2023 00:29:02 +0000 (0:00:03.922) 0:02:15.114 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:132 Sunday 12 February 2023 00:29:05 +0000 (0:00:02.554) 0:02:17.669 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_subject_complex.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.052495", "end": "2023-02-12 00:29:08.024646", "rc": 0, "start": "2023-02-12 00:29:07.972151" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:141 Sunday 12 February 2023 00:29:08 +0000 (0:00:02.890) 0:02:20.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=31 changed=8 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Sunday 12 February 2023 00:29:10 +0000 (0:00:02.233) 0:02:22.792 ******* =============================================================================== Install the package, force upgrade ------------------------------------- 15.11s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:11 fedora.linux_system_roles.certificate : Ensure provider service is running -- 12.49s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 9.53s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Retrieve certificate file stats ----------------------------------------- 9.21s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:26 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 9.13s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 7.81s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml:2 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 6.88s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 6.50s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Install certreader ------------------------------------------------------ 6.45s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:18 Verify key file owner and group ----------------------------------------- 4.83s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:64 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 4.70s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Verify certificate permissions ------------------------------------------ 4.10s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:47 Verify certificate Key Usage -------------------------------------------- 3.92s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:106 Parse certificate ------------------------------------------------------- 3.36s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:74 Verify certificate file owner and group --------------------------------- 3.28s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:37 Gathering Facts --------------------------------------------------------- 3.24s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tests_subject_complex.yml:16 Verify certificate subject ---------------------------------------------- 3.15s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:83 Retrieve auto-renew flag ------------------------------------------------ 2.89s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:132 Verify key size --------------------------------------------------------- 2.89s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/tests/tasks/assert_certificate_parameters.yml:99 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 2.62s /WORKDIR/dist-git-certificate-weekly-ci-v5a2fav0/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---