# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci14sh1l5t/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 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 *************************************************** 5 plays in /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:2 Saturday 10 August 2024 12:49:20 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:5 Saturday 10 August 2024 12:49:21 +0000 (0:00:00.797) 0:00:00.816 ******* changed: [sut] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:9 Saturday 10 August 2024 12:49:21 +0000 (0:00:00.344) 0:00:01.161 ******* changed: [sut] => { "changed": true, "gid": 1041, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:14 Saturday 10 August 2024 12:49:21 +0000 (0:00:00.271) 0:00:01.432 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.577) 0:00:02.009 ******* included: /WORKDIR/git-weekly-ci14sh1l5t/.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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.027) 0:00:02.037 ******* skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.014) 0:00:02.051 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.240) 0:00:02.292 ******* ok: [sut] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.017) 0:00:02.309 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 10 August 2024 12:49:22 +0000 (0:00:00.035) 0:00:02.345 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-cffi-1.14.5-5.el9.x86_64", "Installed: python3-ply-3.11-14.el9.noarch", "Installed: python3-pycparser-2.20-6.el9.noarch", "Installed: python3-cryptography-36.0.1-4.el9.x86_64", "Installed: python3-pyasn1-0.4.8-6.el9.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 10 August 2024 12:49:26 +0000 (0:00:03.847) 0:00:06.192 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.17-2.el9.x86_64", "Installed: python3-packaging-20.9-5.el9.noarch", "Installed: python3-pyparsing-2.4.7-9.el9.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 10 August 2024 12:49:28 +0000 (0:00:02.279) 0:00:08.472 ******* 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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 10 August 2024 12:49:29 +0000 (0:00:00.244) 0:00:08.717 ******* 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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 10 August 2024 12:49:29 +0000 (0:00:00.184) 0:00:08.901 ******* 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": "basic.target syslog.target system.slice sysinit.target network.target dbus-broker.service dbus.socket systemd-journald.socket", "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": "infinity", "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "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": "22342", "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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 10 August 2024 12:49:30 +0000 (0:00:00.697) 0:00:09.599 ******* changed: [sut] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [sut] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 10 August 2024 12:49:31 +0000 (0:00:01.288) 0:00:10.888 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.027) 0:00:10.915 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.011) 0:00:10.927 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.012) 0:00:10.939 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:32 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.022) 0:00:10.962 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:61 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.569) 0:00:11.531 ******* included: /WORKDIR/git-weekly-ci14sh1l5t/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/git-weekly-ci14sh1l5t/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/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.021) 0:00:11.552 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.007) 0:00:11.560 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 12:49:31 +0000 (0:00:00.010) 0:00:11.571 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 12:49:32 +0000 (0:00:00.010) 0:00:11.581 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 12:49:32 +0000 (0:00:00.007) 0:00:11.589 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 12:49:32 +0000 (0:00:00.894) 0:00:12.483 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294170.5248685, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2bb05e7c8bd9d716bd44f17cf67f2fad113560a3", "ctime": 1723294170.6608694, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 2560062, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294170.5228684, "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": "692724904", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.174) 0:00:12.658 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.012) 0:00:12.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.016) 0:00:12.686 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.014) 0:00:12.700 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294170.4758682, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "46ef66d8bb6d027e4190b8afb1ae337cd0173309", "ctime": 1723294170.6618693, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 210213, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294170.5228684, "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": "3887024973", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.171) 0:00:12.872 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.010) 0:00:12.883 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.015) 0:00:12.898 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B7:D2:97:2E:9A:58:59:20:A9:EB:0D:57:87:E0:72:7D:E2:57:92:C1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "23:BA:E9:99:CC:C4:A1:CA:5C:40:8F:9F:BC:5D:A9:5F:49:7A:EE:72:59:A8:C9:F4:11:67:71:1E:57:AD:B6:8B:94:77:A1:82:04:0F:7A:8E:5C:88:E6:A9:8C:BA:0B:FC:75:86:08:8D:5F:2D:55:95:94:81:B0:65:9C:37:B0:FA:06:C3:BD:C6:AD:C5:4B:9B:33:B3:F3:B8:B6:B7:7F:B4:75:1C:77:C1:A7:1B:DA:3C:BC:79:E2:F3:AB:7C:F3:BE:A9:7B:25:B1:16:F7:8F:D1:ED:ED:5E:9B:08:72:76:5C:97:E0:36:58:46:7E:4C:7B:EA:23:87:EA:F3:DC:0B:90:59:43:83:B7:53:9C:44:2D:95:3D:69:E8:0A:A7:A7:C3:F4:D5:FF:08:BC:DE:0D:D5:CB:5C:E2:43:40:18:1E:AA:80:9D:BD:41:B2:E3:F5:8B:9A:7C:BD:97:73:ED:62:3B:E1:E8:20:00:5E:A9:09:55:78:B0:73:59:33:2B:BF:85:1C:4C:74:66:35:33:A6:FC:3B:EE:80:59:30:AB:F2:DC:CF:63:05:52:92:E9:0E:3F:64:3B:57:C3:FD:D3:00:3E:92:BB:23:B8:44:CD:00:54:7C:AC:79:9A:85:C4:C2:4C:0E:B9:05:A7:22:2A:E7:DC:17:E3:DF:4D:93:83:BA:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124930Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.262) 0:00:13.161 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "B7:D2:97:2E:9A:58:59:20:A9:EB:0D:57:87:E0:72:7D:E2:57:92:C1" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "23:BA:E9:99:CC:C4:A1:CA:5C:40:8F:9F:BC:5D:A9:5F:49:7A:EE:72:59:A8:C9:F4:11:67:71:1E:57:AD:B6:8B:94:77:A1:82:04:0F:7A:8E:5C:88:E6:A9:8C:BA:0B:FC:75:86:08:8D:5F:2D:55:95:94:81:B0:65:9C:37:B0:FA:06:C3:BD:C6:AD:C5:4B:9B:33:B3:F3:B8:B6:B7:7F:B4:75:1C:77:C1:A7:1B:DA:3C:BC:79:E2:F3:AB:7C:F3:BE:A9:7B:25:B1:16:F7:8F:D1:ED:ED:5E:9B:08:72:76:5C:97:E0:36:58:46:7E:4C:7B:EA:23:87:EA:F3:DC:0B:90:59:43:83:B7:53:9C:44:2D:95:3D:69:E8:0A:A7:A7:C3:F4:D5:FF:08:BC:DE:0D:D5:CB:5C:E2:43:40:18:1E:AA:80:9D:BD:41:B2:E3:F5:8B:9A:7C:BD:97:73:ED:62:3B:E1:E8:20:00:5E:A9:09:55:78:B0:73:59:33:2B:BF:85:1C:4C:74:66:35:33:A6:FC:3B:EE:80:59:30:AB:F2:DC:CF:63:05:52:92:E9:0E:3F:64:3B:57:C3:FD:D3:00:3E:92:BB:23:B8:44:CD:00:54:7C:AC:79:9A:85:C4:C2:4C:0E:B9:05:A7:22:2A:E7:DC:17:E3:DF:4D:93:83:BA:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124930Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.011) 0:00:13.172 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.015) 0:00:13.187 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.010) 0:00:13.198 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.014) 0:00:13.213 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.016) 0:00:13.229 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.016) 0:00:13.246 ******* 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.037178", "end": "2024-08-10 12:49:33.906790", "rc": 0, "start": "2024-08-10 12:49:33.869612" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.249) 0:00:13.495 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.016) 0:00:13.512 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.008) 0:00:13.520 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.010) 0:00:13.531 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.010) 0:00:13.542 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 12:49:33 +0000 (0:00:00.007) 0:00:13.550 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 12:49:34 +0000 (0:00:00.819) 0:00:14.369 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294171.1558723, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "58475daf1a866063a848925a979121710b6fc360", "ctime": 1723294171.2818732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 2632135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294171.1528723, "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": "77506277", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 12:49:34 +0000 (0:00:00.172) 0:00:14.542 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 12:49:34 +0000 (0:00:00.011) 0:00:14.553 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 12:49:34 +0000 (0:00:00.016) 0:00:14.569 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.014) 0:00:14.584 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294171.108872, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e12fdc13f4243d475c3c9791435a283bd737b5a", "ctime": 1723294171.2818732, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 210214, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1723294171.1528723, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "2361625052", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.172) 0:00:14.756 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.012) 0:00:14.769 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.016) 0:00:14.785 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "52:EB:25:D0:5C:F6:D5:48:56:86:75:F4:D7:85:CA:60:71:E8:A7:D5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:C4:89:84:AB:87:0C:90:20:B2:C1:50:9D:41:AA:E1:07:E6:DB:7B:C2:04:82:42:F2:25:FE:F9:99:71:58:74:C4:80:B2:31:3A:7B:95:43:48:A6:EB:BA:0D:3A:CB:43:39:82:40:CB:B5:9E:1F:F5:E1:2F:1F:95:33:D4:2C:49:7B:C0:40:FA:12:08:27:44:AC:A2:51:2E:AE:93:82:24:6C:BC:23:B4:2F:43:01:65:E0:DC:E9:89:22:5A:34:B2:6D:6D:FE:00:87:38:AB:D8:EE:88:B1:EB:50:B8:76:2F:C1:2A:FD:B1:99:4D:30:8B:D0:D4:06:88:AC:31:40:A1:AA:D8:01:7C:98:4F:7D:EB:63:93:F3:98:DD:94:81:D2:64:4A:0B:FC:6C:00:69:34:80:11:8F:D0:F5:1E:F1:1A:CA:73:5A:C3:59:78:0B:C1:47:0C:49:17:16:CE:7C:C6:27:AF:05:AD:7B:5D:74:D4:71:5F:C9:44:57:D3:FF:ED:80:BD:8D:EA:A6:18:30:A5:EC:DE:2E:FA:CB:DB:A9:56:D0:F9:A1:07:05:87:14:C9:81:DC:BB:46:15:58:9F:90:38:16:07:19:2A:2F:F1:E3:29:57:48:D7:9F:E1:95:7A:21:B9:57:65:6A:49:11:BD:61:00:CA:12:BB:9F:6F:3F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124931Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.205) 0:00:14.990 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "52:EB:25:D0:5C:F6:D5:48:56:86:75:F4:D7:85:CA:60:71:E8:A7:D5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:C4:89:84:AB:87:0C:90:20:B2:C1:50:9D:41:AA:E1:07:E6:DB:7B:C2:04:82:42:F2:25:FE:F9:99:71:58:74:C4:80:B2:31:3A:7B:95:43:48:A6:EB:BA:0D:3A:CB:43:39:82:40:CB:B5:9E:1F:F5:E1:2F:1F:95:33:D4:2C:49:7B:C0:40:FA:12:08:27:44:AC:A2:51:2E:AE:93:82:24:6C:BC:23:B4:2F:43:01:65:E0:DC:E9:89:22:5A:34:B2:6D:6D:FE:00:87:38:AB:D8:EE:88:B1:EB:50:B8:76:2F:C1:2A:FD:B1:99:4D:30:8B:D0:D4:06:88:AC:31:40:A1:AA:D8:01:7C:98:4F:7D:EB:63:93:F3:98:DD:94:81:D2:64:4A:0B:FC:6C:00:69:34:80:11:8F:D0:F5:1E:F1:1A:CA:73:5A:C3:59:78:0B:C1:47:0C:49:17:16:CE:7C:C6:27:AF:05:AD:7B:5D:74:D4:71:5F:C9:44:57:D3:FF:ED:80:BD:8D:EA:A6:18:30:A5:EC:DE:2E:FA:CB:DB:A9:56:D0:F9:A1:07:05:87:14:C9:81:DC:BB:46:15:58:9F:90:38:16:07:19:2A:2F:F1:E3:29:57:48:D7:9F:E1:95:7A:21:B9:57:65:6A:49:11:BD:61:00:CA:12:BB:9F:6F:3F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124931Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.011) 0:00:15.002 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.018) 0:00:15.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.018) 0:00:15.039 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.027) 0:00:15.067 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.027) 0:00:15.095 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.021) 0:00:15.116 ******* 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.037231", "end": "2024-08-10 12:49:35.727457", "rc": 0, "start": "2024-08-10 12:49:35.690226" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.199) 0:00:15.316 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:67 Saturday 10 August 2024 12:49:35 +0000 (0:00:00.030) 0:00:15.346 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.572) 0:00:15.919 ******* included: /WORKDIR/git-weekly-ci14sh1l5t/.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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.012) 0:00:15.931 ******* skipping: [sut] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.014) 0:00:15.946 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.012) 0:00:15.959 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.013) 0:00:15.972 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [sut] => (item=CentOS_9.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 10 August 2024 12:49:36 +0000 (0:00:00.034) 0:00:16.007 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 10 August 2024 12:49:37 +0000 (0:00:00.837) 0:00:16.844 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 10 August 2024 12:49:38 +0000 (0:00:00.838) 0:00:17.683 ******* 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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 10 August 2024 12:49:38 +0000 (0:00:00.184) 0:00:17.868 ******* 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/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 10 August 2024 12:49:38 +0000 (0:00:00.194) 0:00:18.062 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-08-10 12:49:29 UTC", "ActiveEnterTimestampMonotonic": "411002740", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service syslog.target system.slice sysinit.target basic.target network.target systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 12:49:29 UTC", "AssertTimestampMonotonic": "410984282", "Before": "shutdown.target multi-user.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": "688461000", "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": "yes", "ConditionTimestamp": "Sat 2024-08-10 12:49:29 UTC", "ConditionTimestampMonotonic": "410984279", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4201", "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": "8993", "ExecMainStartTimestamp": "Sat 2024-08-10 12:49:29 UTC", "ExecMainStartTimestampMonotonic": "410995090", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-10 12:49:29 UTC] ; stop_time=[n/a] ; pid=8993 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-08-10 12:49:29 UTC] ; stop_time=[n/a] ; pid=8993 ; 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", "InactiveExitTimestamp": "Sat 2024-08-10 12:49:29 UTC", "InactiveExitTimestampMonotonic": "410995514", "InvocationID": "97f2a1710f0e41e6890637aaec59d13e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8993", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4366336", "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", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket 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]", "StateChangeTimestamp": "Sat 2024-08-10 12:49:29 UTC", "StateChangeTimestampMonotonic": "411002740", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22342", "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": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 10 August 2024 12:49:38 +0000 (0:00:00.317) 0:00:18.380 ******* changed: [sut] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. changed: [sut] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 10 August 2024 12:49:40 +0000 (0:00:01.485) 0:00:19.866 ******* skipping: [sut] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => (item=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.026) 0:00:19.892 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.013) 0:00:19.906 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.013) 0:00:19.919 ******* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:85 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.025) 0:00:19.945 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:112 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.556) 0:00:20.501 ******* included: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs_mode.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs_mode.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': '0620'}) included: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml for sut => (item={'path': '/etc/pki/tls/certs/certid_mode.crt', 'key_path': '/etc/pki/tls/private/certid_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'mode': '0600'}) TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.020) 0:00:20.521 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.007) 0:00:20.529 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.010) 0:00:20.540 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.011) 0:00:20.552 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 12:49:40 +0000 (0:00:00.008) 0:00:20.560 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 12:49:41 +0000 (0:00:00.893) 0:00:21.454 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294179.2019222, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "82660cb6877cad5539d0e7b70ec7a062b7b144cf", "ctime": 1723294179.328923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 2632136, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723294179.1999223, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "3250600081", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.175) 0:00:21.629 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.012) 0:00:21.642 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.016) 0:00:21.659 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.015) 0:00:21.674 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294179.154922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "63eafe237c05b5ee7f31438d73bece3d5221a88f", "ctime": 1723294179.328923, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 210224, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1723294179.1999223, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "1317626780", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.174) 0:00:21.848 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.012) 0:00:21.861 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.017) 0:00:21.878 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "76:7E:50:BF:AA:D3:D5:C8:52:FD:76:1D:03:6C:64:29:27:EF:40:0D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A3:37:60:CF:B8:E9:5B:C0:54:57:9D:F1:D9:AA:08:05:0E:EF:F2:1A:29:52:98:D1:3F:FF:6A:68:84:0E:E1:B0:EE:DD:80:33:9C:53:52:B8:06:1E:21:03:AF:DD:9B:B3:2A:02:02:32:86:3B:64:5D:FF:73:9C:7F:46:6D:E0:1F:F1:B3:FD:92:51:B9:FC:D0:05:56:F5:37:81:FA:33:A1:70:34:AE:A3:49:EC:21:81:82:F6:4E:68:59:A4:DC:E6:AD:33:93:5D:AE:85:EB:64:F0:3F:F9:65:77:AB:B9:73:05:11:A9:B9:27:94:83:54:C1:CA:B4:F0:EB:77:97:BB:8E:0A:12:3E:B3:9C:F4:1A:38:91:13:02:B2:95:4D:A2:3F:6D:F7:6C:E9:A9:EF:68:34:10:6E:47:EC:F6:68:17:3E:3D:1A:55:27:E3:1D:A9:3F:16:03:1C:E0:60:65:21:A6:D0:EC:7D:BE:30:9E:EC:F3:4E:4F:17:77:66:91:7C:09:E3:2A:5F:AD:19:39:39:64:DC:2A:72:F8:04:6F:2A:7B:77:7B:72:4A:61:72:AE:CE:4C:20:88:99:A7:98:F8:9A:93:A8:14:47:CC:39:3F:B0:8C:34:B7:99:A2:F3:21:54:6D:67:EF:3A:1C:43:07:64:93:90:E8:E4:AF:C6:11" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124939Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.217) 0:00:22.096 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "76:7E:50:BF:AA:D3:D5:C8:52:FD:76:1D:03:6C:64:29:27:EF:40:0D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A3:37:60:CF:B8:E9:5B:C0:54:57:9D:F1:D9:AA:08:05:0E:EF:F2:1A:29:52:98:D1:3F:FF:6A:68:84:0E:E1:B0:EE:DD:80:33:9C:53:52:B8:06:1E:21:03:AF:DD:9B:B3:2A:02:02:32:86:3B:64:5D:FF:73:9C:7F:46:6D:E0:1F:F1:B3:FD:92:51:B9:FC:D0:05:56:F5:37:81:FA:33:A1:70:34:AE:A3:49:EC:21:81:82:F6:4E:68:59:A4:DC:E6:AD:33:93:5D:AE:85:EB:64:F0:3F:F9:65:77:AB:B9:73:05:11:A9:B9:27:94:83:54:C1:CA:B4:F0:EB:77:97:BB:8E:0A:12:3E:B3:9C:F4:1A:38:91:13:02:B2:95:4D:A2:3F:6D:F7:6C:E9:A9:EF:68:34:10:6E:47:EC:F6:68:17:3E:3D:1A:55:27:E3:1D:A9:3F:16:03:1C:E0:60:65:21:A6:D0:EC:7D:BE:30:9E:EC:F3:4E:4F:17:77:66:91:7C:09:E3:2A:5F:AD:19:39:39:64:DC:2A:72:F8:04:6F:2A:7B:77:7B:72:4A:61:72:AE:CE:4C:20:88:99:A7:98:F8:9A:93:A8:14:47:CC:39:3F:B0:8C:34:B7:99:A2:F3:21:54:6D:67:EF:3A:1C:43:07:64:93:90:E8:E4:AF:C6:11" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124939Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.010) 0:00:22.106 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.015) 0:00:22.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.010) 0:00:22.132 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.013) 0:00:22.146 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.015) 0:00:22.162 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.015) 0:00:22.177 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.039112", "end": "2024-08-10 12:49:42.786966", "rc": 0, "start": "2024-08-10 12:49:42.747854" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.198) 0:00:22.375 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:2 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.014) 0:00:22.390 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:9 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.007) 0:00:22.398 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:14 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.010) 0:00:22.408 ******* skipping: [sut] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:18 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.010) 0:00:22.419 ******* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Saturday 10 August 2024 12:49:42 +0000 (0:00:00.007) 0:00:22.426 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: python3-cryptography python3-pyasn1 TASK [Retrieve certificate file stats] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:38 Saturday 10 August 2024 12:49:43 +0000 (0:00:00.827) 0:00:23.253 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294180.1569283, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5ac6f582587fea33c12161102163c5709f79491b", "ctime": 1723294180.1539283, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2632137, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723294180.1539283, "nlink": 1, "path": "/etc/pki/tls/certs/certid_mode.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1741009793", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:43 Saturday 10 August 2024 12:49:43 +0000 (0:00:00.175) 0:00:23.429 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:49 Saturday 10 August 2024 12:49:43 +0000 (0:00:00.013) 0:00:23.443 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:59 Saturday 10 August 2024 12:49:43 +0000 (0:00:00.017) 0:00:23.460 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:65 Saturday 10 August 2024 12:49:43 +0000 (0:00:00.014) 0:00:23.475 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723294180.109928, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2d63143a12876b9f79236bc67ddce9c987510cae", "ctime": 1723294180.1539283, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 358101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1723294180.1539283, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "673784280", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:70 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.174) 0:00:23.649 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:76 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.011) 0:00:23.660 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:86 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.016) 0:00:23.677 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "71:F9:3B:A5:B2:73:BF:2C:DB:20:8F:06:58:3D:9A:19:B3:35:E3:30" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "01:A3:9C:6B:64:91:F6:D7:A5:80:EC:26:33:42:AB:04:64:9E:20:9D:19:2B:C4:39:0B:45:46:20:BB:91:0E:35:07:B8:E3:19:32:F5:E9:CD:35:D7:05:74:37:25:E3:A7:75:20:43:53:1F:68:F4:B3:80:BC:BF:79:64:EC:C1:80:8A:36:3E:0E:22:D7:AC:08:46:89:24:62:D2:0D:7A:CC:BE:61:1A:21:CD:A7:88:92:AF:34:9E:1F:4C:03:BF:BF:18:66:B3:59:95:F7:6E:E0:E2:9D:92:07:99:D7:1A:A4:A1:90:69:54:D5:9E:13:F2:B4:EF:89:83:01:BF:4B:70:07:56:C9:CB:B1:EC:05:1B:FA:D4:C0:EB:18:6F:7B:EA:02:FE:45:06:0D:22:CB:AA:53:D5:34:0B:3E:2F:EF:37:DC:77:BA:3D:44:FB:3D:73:FE:72:E0:CD:D4:E2:D6:30:9C:0E:07:C6:0A:39:79:AA:8D:35:D9:03:01:A1:D4:0A:64:F6:24:19:00:F5:82:B8:73:A9:23:47:76:5E:AD:69:D7:63:BA:C3:65:86:59:8C:8D:1D:9A:63:11:A3:F2:B6:F2:9C:C0:79:12:C1:94:FE:9A:5D:AE:27:2E:85:A2:31:59:49:CC:16:C6:26:C1:2B:AD:FE:30:2F:C6:59:E9:20" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124940Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:92 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.210) 0:00:23.887 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "9A:2E:E9:8D:3A:F0:70:42:1D:AE:05:D0:55:35:A9:F3:4A:41:55:F5" }, "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": "71:F9:3B:A5:B2:73:BF:2C:DB:20:8F:06:58:3D:9A:19:B3:35:E3:30" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "01:A3:9C:6B:64:91:F6:D7:A5:80:EC:26:33:42:AB:04:64:9E:20:9D:19:2B:C4:39:0B:45:46:20:BB:91:0E:35:07:B8:E3:19:32:F5:E9:CD:35:D7:05:74:37:25:E3:A7:75:20:43:53:1F:68:F4:B3:80:BC:BF:79:64:EC:C1:80:8A:36:3E:0E:22:D7:AC:08:46:89:24:62:D2:0D:7A:CC:BE:61:1A:21:CD:A7:88:92:AF:34:9E:1F:4C:03:BF:BF:18:66:B3:59:95:F7:6E:E0:E2:9D:92:07:99:D7:1A:A4:A1:90:69:54:D5:9E:13:F2:B4:EF:89:83:01:BF:4B:70:07:56:C9:CB:B1:EC:05:1B:FA:D4:C0:EB:18:6F:7B:EA:02:FE:45:06:0D:22:CB:AA:53:D5:34:0B:3E:2F:EF:37:DC:77:BA:3D:44:FB:3D:73:FE:72:E0:CD:D4:E2:D6:30:9C:0E:07:C6:0A:39:79:AA:8D:35:D9:03:01:A1:D4:0A:64:F6:24:19:00:F5:82:B8:73:A9:23:47:76:5E:AD:69:D7:63:BA:C3:65:86:59:8C:8D:1D:9A:63:11:A3:F2:B6:F2:9C:C0:79:12:C1:94:FE:9A:5D:AE:27:2E:85:A2:31:59:49:CC:16:C6:26:C1:2B:AD:FE:30:2F:C6:59:E9:20" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250810124930Z", "not_valid_before": "20240810124940Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:96 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.011) 0:00:23.898 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:104 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.015) 0:00:23.913 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:112 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.010) 0:00:23.924 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:119 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.013) 0:00:23.938 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:130 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.018) 0:00:23.957 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:143 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.016) 0:00:23.974 ******* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.039574", "end": "2024-08-10 12:49:44.587983", "rc": 0, "start": "2024-08-10 12:49:44.548409" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:152 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.205) 0:00:24.180 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 10 August 2024 12:49:44 +0000 (0:00:00.021) 0:00:24.201 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.85s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.28s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.49s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.29s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 0.89s /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.89s /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.84s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 0.84s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 0.83s /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 0.82s /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 0.80s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:2 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.70s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.58s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:14 -------------------- Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:67 -------------------- Gathering Facts --------------------------------------------------------- 0.57s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.56s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:85 -------------------- Ensure user exists ------------------------------------------------------ 0.34s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:5 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.32s /WORKDIR/git-weekly-ci14sh1l5t/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure group "somegroup" exists ----------------------------------------- 0.27s /WORKDIR/git-weekly-ci14sh1l5t/tests/tests_fs_attrs.yml:9 --------------------- Parse certificate ------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ci14sh1l5t/tests/tasks/assert_certificate_parameters.yml:86 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---