# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ciqlknluu3/.collection executable location = /opt/ansible-2.16/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.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:2 Saturday 06 July 2024 14:32:10 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:5 Saturday 06 July 2024 14:32:11 +0000 (0:00:00.993) 0:00:01.005 ********* 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-ciqlknluu3/tests/tests_fs_attrs.yml:9 Saturday 06 July 2024 14:32:12 +0000 (0:00:00.686) 0:00:01.691 ********* 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-ciqlknluu3/tests/tests_fs_attrs.yml:14 Saturday 06 July 2024 14:32:13 +0000 (0:00:00.436) 0:00:02.127 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 06 July 2024 14:32:13 +0000 (0:00:00.764) 0:00:02.892 ********* included: /WORKDIR/git-weekly-ciqlknluu3/.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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 06 July 2024 14:32:13 +0000 (0:00:00.011) 0:00:02.903 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 06 July 2024 14:32:13 +0000 (0:00:00.018) 0:00:02.922 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 06 July 2024 14:32:14 +0000 (0:00:00.280) 0:00:03.203 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 06 July 2024 14:32:14 +0000 (0:00:00.015) 0:00:03.218 ********* 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" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 06 July 2024 14:32:14 +0000 (0:00:00.023) 0:00:03.241 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycparser-2.20-11.fc39.noarch", "Installed: python3-pyasn1-0.5.1-1.fc39.noarch", "Installed: python3-cffi-1.15.1-6.fc39.x86_64", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: python3-ply-3.11-20.fc39.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 06 July 2024 14:32:20 +0000 (0:00:06.750) 0:00:09.992 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.18-2.fc39.x86_64", "Installed: dbus-tools-1:1.14.10-1.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 06 July 2024 14:32:25 +0000 (0:00:04.925) 0:00:14.917 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 06 July 2024 14:32:26 +0000 (0:00:00.426) 0:00:15.343 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 06 July 2024 14:32:26 +0000 (0:00:00.297) 0:00:15.640 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus-broker.service sysinit.target network.target dbus.socket syslog.target basic.target systemd-journald.socket system.slice", "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", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "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", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "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": "14756", "LimitNPROCSoft": "14756", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14756", "LimitSIGPENDINGSoft": "14756", "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", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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 system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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]", "StartupMemoryHigh": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "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": "4426", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 06 July 2024 14:32:27 +0000 (0:00:01.228) 0:00:16.868 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 06 July 2024 14:32:29 +0000 (0:00:01.877) 0:00:18.746 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 06 July 2024 14:32:29 +0000 (0:00:00.030) 0:00:18.776 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 06 July 2024 14:32:29 +0000 (0:00:00.020) 0:00:18.797 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 06 July 2024 14:32:29 +0000 (0:00:00.018) 0:00:18.815 ********* 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-ciqlknluu3/tests/tests_fs_attrs.yml:32 Saturday 06 July 2024 14:32:29 +0000 (0:00:00.028) 0:00:18.844 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:61 Saturday 06 July 2024 14:32:30 +0000 (0:00:01.041) 0:00:19.886 ********* included: /WORKDIR/git-weekly-ciqlknluu3/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-ciqlknluu3/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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:2 Saturday 06 July 2024 14:32:30 +0000 (0:00:00.024) 0:00:19.910 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:9 Saturday 06 July 2024 14:32:30 +0000 (0:00:00.009) 0:00:19.920 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:14 Saturday 06 July 2024 14:32:30 +0000 (0:00:00.013) 0:00:19.933 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:18 Saturday 06 July 2024 14:32:30 +0000 (0:00:00.015) 0:00:19.948 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 Saturday 06 July 2024 14:32:30 +0000 (0:00:00.008) 0:00:19.957 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:38 Saturday 06 July 2024 14:32:33 +0000 (0:00:02.177) 0:00:22.135 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276348.7246795, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cad3698d0f3da729f9f43f347104da5e9119c6ef", "ctime": 1720276348.8096797, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1720276348.7206795, "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": "3108715929", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:43 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.237) 0:00:22.372 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:49 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.010) 0:00:22.383 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:59 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.020) 0:00:22.404 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:65 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.019) 0:00:22.423 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276348.6406794, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "afa52fafaf9634989f28dfec505a03908a5129ab", "ctime": 1720276348.8096797, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1720276348.7206795, "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": "397029034", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:70 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.246) 0:00:22.669 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:76 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.010) 0:00:22.680 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:86 Saturday 06 July 2024 14:32:33 +0000 (0:00:00.020) 0:00:22.700 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "06:B1:3C:57:1D:2C:AD:7D:3C:7A:2A:9D:B8:94:22:60:F8:FF:C0:4E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "55:1D:A1:E9:11:85:09:8F:B6:12:63:0B:76:FC:E1:53:95:D3:78:E3:4D:5A:E1:ED:6C:C6:AE:E0:A4:2A:EB:13:4A:B4:8A:E3:B2:5D:84:64:45:5F:EF:51:6B:18:D5:63:A8:DB:64:A9:59:0A:BF:EC:FE:94:F5:9C:80:78:A3:1D:A1:C6:65:E1:79:2B:96:3F:93:23:F5:58:0F:34:59:12:3E:71:BC:A5:29:3F:E8:EF:D8:20:C7:04:A9:93:FD:55:4F:17:20:0A:7F:E1:66:2A:47:B6:5B:B4:19:99:8C:83:9F:AE:60:B2:89:39:60:65:BE:0D:AC:F4:13:75:78:7F:2D:0A:02:B2:8D:74:65:0E:2C:4E:7B:14:1A:B0:18:11:41:67:68:D9:F2:AE:D3:45:BC:02:EE:6E:ED:CD:8A:99:B7:EC:D5:E6:F4:E5:67:CC:2F:9D:8F:A6:0C:8E:5F:15:D9:A4:78:44:59:C8:D1:B8:08:EF:5A:2E:93:96:8C:3D:EE:2D:AD:9E:1F:B1:B2:50:B5:EF:F6:B9:C3:16:63:F2:F3:B9:80:18:45:F0:39:01:54:A0:44:D9:27:76:CA:96:66:72:EE:1A:65:75:F5:14:EE:4B:A9:28:26:D0:AC:89:BA:3F:73:1A:D1:50:74:81:67:12:C0:0F:87:40:32:F4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143228Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:92 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.352) 0:00:23.052 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "06:B1:3C:57:1D:2C:AD:7D:3C:7A:2A:9D:B8:94:22:60:F8:FF:C0:4E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "55:1D:A1:E9:11:85:09:8F:B6:12:63:0B:76:FC:E1:53:95:D3:78:E3:4D:5A:E1:ED:6C:C6:AE:E0:A4:2A:EB:13:4A:B4:8A:E3:B2:5D:84:64:45:5F:EF:51:6B:18:D5:63:A8:DB:64:A9:59:0A:BF:EC:FE:94:F5:9C:80:78:A3:1D:A1:C6:65:E1:79:2B:96:3F:93:23:F5:58:0F:34:59:12:3E:71:BC:A5:29:3F:E8:EF:D8:20:C7:04:A9:93:FD:55:4F:17:20:0A:7F:E1:66:2A:47:B6:5B:B4:19:99:8C:83:9F:AE:60:B2:89:39:60:65:BE:0D:AC:F4:13:75:78:7F:2D:0A:02:B2:8D:74:65:0E:2C:4E:7B:14:1A:B0:18:11:41:67:68:D9:F2:AE:D3:45:BC:02:EE:6E:ED:CD:8A:99:B7:EC:D5:E6:F4:E5:67:CC:2F:9D:8F:A6:0C:8E:5F:15:D9:A4:78:44:59:C8:D1:B8:08:EF:5A:2E:93:96:8C:3D:EE:2D:AD:9E:1F:B1:B2:50:B5:EF:F6:B9:C3:16:63:F2:F3:B9:80:18:45:F0:39:01:54:A0:44:D9:27:76:CA:96:66:72:EE:1A:65:75:F5:14:EE:4B:A9:28:26:D0:AC:89:BA:3F:73:1A:D1:50:74:81:67:12:C0:0F:87:40:32:F4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143228Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:96 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.011) 0:00:23.064 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:104 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.021) 0:00:23.086 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:112 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.012) 0:00:23.098 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:119 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.022) 0:00:23.120 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:130 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.024) 0:00:23.144 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:143 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.025) 0:00:23.169 ********* 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.041210", "end": "2024-07-06 14:32:34.437139", "rc": 0, "start": "2024-07-06 14:32:34.395929" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:152 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.348) 0:00:23.518 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:2 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.024) 0:00:23.543 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:9 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.008) 0:00:23.552 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:14 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.023) 0:00:23.576 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:18 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.027) 0:00:23.603 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 Saturday 06 July 2024 14:32:34 +0000 (0:00:00.013) 0:00:23.617 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:38 Saturday 06 July 2024 14:32:36 +0000 (0:00:02.152) 0:00:25.769 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276349.5426807, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "41c837a1ff35905752ea32986d85c6b1a5498d14", "ctime": 1720276349.664681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1720276349.5366807, "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": "3711996973", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:43 Saturday 06 July 2024 14:32:36 +0000 (0:00:00.230) 0:00:26.000 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:49 Saturday 06 July 2024 14:32:36 +0000 (0:00:00.011) 0:00:26.011 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:59 Saturday 06 July 2024 14:32:36 +0000 (0:00:00.020) 0:00:26.031 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:65 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.019) 0:00:26.051 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276349.4656806, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "278f510fff73b968fe4748e4711fd5e90e2bff1d", "ctime": 1720276349.664681, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1720276349.5366807, "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": "1963561351", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:70 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.234) 0:00:26.286 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:76 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.010) 0:00:26.297 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:86 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.021) 0:00:26.318 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "F7:6D:05:5E:63:27:63:E2:9A:CF:EF:DB:E9:80:F2:C7:69:A8:EB:10" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "35:6C:67:FC:86:E6:AF:FA:2E:B7:69:22:BD:1E:00:29:51:CA:6B:73:E4:F8:4E:8B:10:06:E6:66:B9:A2:F6:AF:E2:E4:A4:BF:38:07:96:DD:4F:EA:09:2A:BF:CD:EA:BD:BA:D7:7A:38:25:11:5E:57:17:F5:6D:A8:FE:0E:61:75:7A:C1:97:E5:8C:4E:59:96:D1:E2:5A:95:24:CC:50:52:2F:A0:4D:92:9F:5B:9D:88:69:07:72:47:CB:49:60:BE:03:48:05:AF:17:79:E9:44:E3:1B:61:80:E2:A8:82:8B:46:33:C0:50:FE:A1:51:2E:0A:1E:6C:FA:C2:54:BB:1E:41:66:D3:79:45:4D:5D:14:0E:5D:00:50:01:AA:89:8D:08:82:5A:9A:B2:3B:57:D0:5D:1B:B1:12:3E:33:81:54:EA:C5:42:83:44:F1:E2:E5:6F:58:A1:EB:CC:DF:40:E9:E7:EE:2F:FD:6F:06:DA:B9:14:F8:59:82:EF:DB:F5:4B:1E:28:D6:5E:E6:B4:4E:7B:DF:69:C7:9A:4E:5E:4C:E4:74:6F:64:CC:D9:43:F8:E3:7A:24:FB:E2:92:B7:17:B4:22:2C:32:7B:7B:08:8C:2F:2F:DF:66:55:C0:D5:85:B4:EB:5F:B6:2B:EE:0B:B3:E1:82:00:6B:67:AB:4D:9E:D6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143229Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:92 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.288) 0:00:26.607 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "F7:6D:05:5E:63:27:63:E2:9A:CF:EF:DB:E9:80:F2:C7:69:A8:EB:10" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "35:6C:67:FC:86:E6:AF:FA:2E:B7:69:22:BD:1E:00:29:51:CA:6B:73:E4:F8:4E:8B:10:06:E6:66:B9:A2:F6:AF:E2:E4:A4:BF:38:07:96:DD:4F:EA:09:2A:BF:CD:EA:BD:BA:D7:7A:38:25:11:5E:57:17:F5:6D:A8:FE:0E:61:75:7A:C1:97:E5:8C:4E:59:96:D1:E2:5A:95:24:CC:50:52:2F:A0:4D:92:9F:5B:9D:88:69:07:72:47:CB:49:60:BE:03:48:05:AF:17:79:E9:44:E3:1B:61:80:E2:A8:82:8B:46:33:C0:50:FE:A1:51:2E:0A:1E:6C:FA:C2:54:BB:1E:41:66:D3:79:45:4D:5D:14:0E:5D:00:50:01:AA:89:8D:08:82:5A:9A:B2:3B:57:D0:5D:1B:B1:12:3E:33:81:54:EA:C5:42:83:44:F1:E2:E5:6F:58:A1:EB:CC:DF:40:E9:E7:EE:2F:FD:6F:06:DA:B9:14:F8:59:82:EF:DB:F5:4B:1E:28:D6:5E:E6:B4:4E:7B:DF:69:C7:9A:4E:5E:4C:E4:74:6F:64:CC:D9:43:F8:E3:7A:24:FB:E2:92:B7:17:B4:22:2C:32:7B:7B:08:8C:2F:2F:DF:66:55:C0:D5:85:B4:EB:5F:B6:2B:EE:0B:B3:E1:82:00:6B:67:AB:4D:9E:D6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143229Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:96 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.011) 0:00:26.618 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:104 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.019) 0:00:26.638 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:112 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.010) 0:00:26.649 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:119 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.019) 0:00:26.668 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:130 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.022) 0:00:26.690 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:143 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.020) 0:00:26.710 ********* 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.038319", "end": "2024-07-06 14:32:37.904885", "rc": 0, "start": "2024-07-06 14:32:37.866566" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:152 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.261) 0:00:26.971 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:67 Saturday 06 July 2024 14:32:37 +0000 (0:00:00.030) 0:00:27.001 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.751) 0:00:27.753 ********* included: /WORKDIR/git-weekly-ciqlknluu3/.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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.010) 0:00:27.764 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.018) 0:00:27.782 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.011) 0:00:27.793 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.011) 0:00:27.805 ********* 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" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 06 July 2024 14:32:38 +0000 (0:00:00.022) 0:00:27.827 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 06 July 2024 14:32:40 +0000 (0:00:02.171) 0:00:29.999 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 06 July 2024 14:32:43 +0000 (0:00:02.173) 0:00:32.173 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 06 July 2024 14:32:43 +0000 (0:00:00.258) 0:00:32.431 ********* 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": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 06 July 2024 14:32:43 +0000 (0:00:00.256) 0:00:32.688 ********* 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-07-06 14:32:27 UTC", "ActiveEnterTimestampMonotonic": "936073087", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.socket dbus-broker.service basic.target sysinit.target systemd-journald.socket syslog.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-06 14:32:27 UTC", "AssertTimestampMonotonic": "935901639", "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": "1033117000", "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-07-06 14:32:27 UTC", "ConditionTimestampMonotonic": "935901637", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5885", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5552", "ExecMainStartTimestamp": "Sat 2024-07-06 14:32:27 UTC", "ExecMainStartTimestampMonotonic": "935903956", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-07-06 14:32:27 UTC] ; stop_time=[n/a] ; pid=5552 ; 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-07-06 14:32:27 UTC] ; stop_time=[n/a] ; pid=5552 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "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-07-06 14:32:27 UTC", "InactiveExitTimestampMonotonic": "935904396", "InvocationID": "288b123d200c4b3ba7c21015bd9e3e8f", "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": "14756", "LimitNPROCSoft": "14756", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14756", "LimitSIGPENDINGSoft": "14756", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5552", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3969024", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "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]", "StartupMemoryHigh": "18446744073709551615", "StartupMemoryLow": "0", "StartupMemoryMax": "18446744073709551615", "StartupMemorySwapMax": "18446744073709551615", "StartupMemoryZSwapMax": "18446744073709551615", "StateChangeTimestamp": "Sat 2024-07-06 14:32:27 UTC", "StateChangeTimestampMonotonic": "936073087", "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": "4426", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 06 July 2024 14:32:44 +0000 (0:00:00.423) 0:00:33.112 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 06 July 2024 14:32:45 +0000 (0:00:01.287) 0:00:34.399 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 06 July 2024 14:32:45 +0000 (0:00:00.030) 0:00:34.429 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 06 July 2024 14:32:45 +0000 (0:00:00.018) 0:00:34.447 ********* 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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 06 July 2024 14:32:45 +0000 (0:00:00.018) 0:00:34.466 ********* 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-ciqlknluu3/tests/tests_fs_attrs.yml:85 Saturday 06 July 2024 14:32:45 +0000 (0:00:00.028) 0:00:34.495 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:112 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.743) 0:00:35.239 ********* included: /WORKDIR/git-weekly-ciqlknluu3/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-ciqlknluu3/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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:2 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.022) 0:00:35.261 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:9 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.008) 0:00:35.270 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:14 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.011) 0:00:35.282 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:18 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.010) 0:00:35.293 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 Saturday 06 July 2024 14:32:46 +0000 (0:00:00.008) 0:00:35.301 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:38 Saturday 06 July 2024 14:32:48 +0000 (0:00:02.173) 0:00:37.474 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276364.5497036, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "1bd53cf5bb1a739e1b7c1b6fbe8b252fd02f5a5f", "ctime": 1720276364.6867037, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203565, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1720276364.5457036, "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": "3062482851", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:43 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.244) 0:00:37.718 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:49 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.011) 0:00:37.730 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:59 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.021) 0:00:37.751 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:65 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.022) 0:00:37.774 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276364.4967034, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ff3144f7506a30a6ff5bb5088ba6f4cf7a60642f", "ctime": 1720276364.6877038, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203564, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1720276364.5457036, "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": "1208598275", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:70 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.235) 0:00:38.009 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:76 Saturday 06 July 2024 14:32:48 +0000 (0:00:00.012) 0:00:38.021 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:86 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.021) 0:00:38.043 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "58:92:55:32:37:84:84:AA:9C:D3:D3:BD:D5:14:8F:2D:23:AF:E6:BD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5B:5D:A4:E3:1A:27:1F:8F:DD:E7:3D:56:12:53:41:2F:AA:72:6F:59:5B:47:73:C1:6B:3E:A4:B3:54:E9:AA:2A:5F:14:82:54:6A:C5:1E:36:67:77:A8:F2:19:BD:7B:21:F2:9E:15:6D:61:A2:A0:07:6A:96:72:22:D8:4A:8C:59:48:6D:EF:40:3D:E1:06:4C:11:4F:49:69:EE:13:98:CD:15:01:D4:6E:19:85:E9:9E:3C:F7:73:94:E7:2C:53:36:5A:F2:8D:56:2E:D8:39:11:1A:68:4F:E4:D8:3C:DD:6D:8E:93:97:26:D2:C2:5C:C9:44:88:67:1C:22:88:CF:1C:BA:1F:12:CE:9E:9C:F0:74:06:3D:17:49:1C:46:F7:40:9B:78:5E:25:8C:19:20:53:54:8F:01:16:77:57:CF:08:7A:57:86:97:1F:A7:16:C7:FE:1B:0F:77:FC:B3:67:5F:FA:04:E9:EC:F7:C5:D6:17:EA:01:D1:18:89:0D:F5:3F:35:DA:23:02:F1:B1:BD:4D:21:20:9D:37:2D:F0:CA:14:70:29:B8:E2:FE:F1:D7:81:E9:43:20:C3:54:53:93:84:DA:F9:57:C6:00:A1:83:BD:6B:6E:68:27:16:BB:2C:B0:79:93:77:B2:CB:F3:88:66:53:84:86:DD:79:55:D2:8B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143244Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:92 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.293) 0:00:38.336 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "58:92:55:32:37:84:84:AA:9C:D3:D3:BD:D5:14:8F:2D:23:AF:E6:BD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5B:5D:A4:E3:1A:27:1F:8F:DD:E7:3D:56:12:53:41:2F:AA:72:6F:59:5B:47:73:C1:6B:3E:A4:B3:54:E9:AA:2A:5F:14:82:54:6A:C5:1E:36:67:77:A8:F2:19:BD:7B:21:F2:9E:15:6D:61:A2:A0:07:6A:96:72:22:D8:4A:8C:59:48:6D:EF:40:3D:E1:06:4C:11:4F:49:69:EE:13:98:CD:15:01:D4:6E:19:85:E9:9E:3C:F7:73:94:E7:2C:53:36:5A:F2:8D:56:2E:D8:39:11:1A:68:4F:E4:D8:3C:DD:6D:8E:93:97:26:D2:C2:5C:C9:44:88:67:1C:22:88:CF:1C:BA:1F:12:CE:9E:9C:F0:74:06:3D:17:49:1C:46:F7:40:9B:78:5E:25:8C:19:20:53:54:8F:01:16:77:57:CF:08:7A:57:86:97:1F:A7:16:C7:FE:1B:0F:77:FC:B3:67:5F:FA:04:E9:EC:F7:C5:D6:17:EA:01:D1:18:89:0D:F5:3F:35:DA:23:02:F1:B1:BD:4D:21:20:9D:37:2D:F0:CA:14:70:29:B8:E2:FE:F1:D7:81:E9:43:20:C3:54:53:93:84:DA:F9:57:C6:00:A1:83:BD:6B:6E:68:27:16:BB:2C:B0:79:93:77:B2:CB:F3:88:66:53:84:86:DD:79:55:D2:8B" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143244Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:96 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.011) 0:00:38.347 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:104 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.019) 0:00:38.367 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:112 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.010) 0:00:38.378 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:119 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.019) 0:00:38.397 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:130 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.022) 0:00:38.420 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:143 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.022) 0:00:38.443 ********* 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.043253", "end": "2024-07-06 14:32:49.648206", "rc": 0, "start": "2024-07-06 14:32:49.604953" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:152 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.273) 0:00:38.717 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:2 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.020) 0:00:38.738 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:9 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.008) 0:00:38.746 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:14 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.012) 0:00:38.759 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:18 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.012) 0:00:38.771 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 Saturday 06 July 2024 14:32:49 +0000 (0:00:00.008) 0:00:38.779 ********* 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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:38 Saturday 06 July 2024 14:32:51 +0000 (0:00:02.192) 0:00:40.972 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276365.2707047, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bfbd53fd2277fcfae42d2691730f13778bce5caf", "ctime": 1720276365.2677047, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203567, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720276365.2677047, "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": "3994133293", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:43 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.243) 0:00:41.216 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:49 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.011) 0:00:41.227 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:59 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.021) 0:00:41.248 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:65 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.020) 0:00:41.269 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1720276365.2187045, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "96212501937383714ecc5ba2d0317450b6453bda", "ctime": 1720276365.2677047, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203566, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1720276365.2677047, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3815464352", "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-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:70 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.240) 0:00:41.510 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:76 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.013) 0:00:41.523 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:86 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.022) 0:00:41.545 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "80:D6:37:D2:84:2A:01:C1:55:94:C3:F9:A7:59:35:C9:53:90:20:FE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:5F:86:F0:40:8A:8B:97:8A:7A:C4:EC:BF:E3:66:F5:8A:EA:3D:0F:4B:CF:32:B9:C0:50:5A:86:87:B2:49:01:4E:90:38:E1:3D:D8:EE:FE:9C:90:6C:1A:89:79:D8:84:CB:7D:5E:A1:E2:CA:6C:74:D2:FB:9B:8F:BF:DB:4F:7F:C1:BC:BC:66:EB:DB:3D:FF:1B:4D:D0:A7:7F:8B:AC:AB:A4:54:46:0F:57:5A:5D:AE:AA:03:0A:B6:C6:57:71:81:E0:32:A1:F8:E5:B4:5F:F0:49:F8:07:75:13:0A:F0:3F:A2:BC:B4:CC:12:05:B4:23:44:76:99:F2:0C:17:3D:4C:26:E3:75:5E:F9:6A:EE:CE:5C:D5:CD:59:F7:73:EF:02:57:34:B5:FC:DF:0C:1D:44:FA:4F:F5:47:FA:A2:48:A5:84:6D:8F:29:A6:4E:39:12:01:51:2C:8F:4E:70:FC:E8:6D:3E:ED:BA:CA:54:70:94:AF:55:81:B7:27:35:69:B7:CC:58:0F:6E:23:04:30:0B:AA:61:82:C1:CC:B1:09:39:EB:BD:8D:04:1C:DC:03:D5:30:43:01:A5:05:45:98:3A:46:08:34:A9:23:5D:84:DB:EB:9A:47:C3:5E:70:F6:EC:29:A6:A1:CC:A7:11:36:97:DD:E6:BA:46:25:51:00:B1" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143245Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:92 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.297) 0:00:41.843 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "D0:06:6E:17:63:E1:94:9A:E1:70:5F:6E:F0:BA:B9:D5:50:3F:E1:80" }, "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": "80:D6:37:D2:84:2A:01:C1:55:94:C3:F9:A7:59:35:C9:53:90:20:FE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:5F:86:F0:40:8A:8B:97:8A:7A:C4:EC:BF:E3:66:F5:8A:EA:3D:0F:4B:CF:32:B9:C0:50:5A:86:87:B2:49:01:4E:90:38:E1:3D:D8:EE:FE:9C:90:6C:1A:89:79:D8:84:CB:7D:5E:A1:E2:CA:6C:74:D2:FB:9B:8F:BF:DB:4F:7F:C1:BC:BC:66:EB:DB:3D:FF:1B:4D:D0:A7:7F:8B:AC:AB:A4:54:46:0F:57:5A:5D:AE:AA:03:0A:B6:C6:57:71:81:E0:32:A1:F8:E5:B4:5F:F0:49:F8:07:75:13:0A:F0:3F:A2:BC:B4:CC:12:05:B4:23:44:76:99:F2:0C:17:3D:4C:26:E3:75:5E:F9:6A:EE:CE:5C:D5:CD:59:F7:73:EF:02:57:34:B5:FC:DF:0C:1D:44:FA:4F:F5:47:FA:A2:48:A5:84:6D:8F:29:A6:4E:39:12:01:51:2C:8F:4E:70:FC:E8:6D:3E:ED:BA:CA:54:70:94:AF:55:81:B7:27:35:69:B7:CC:58:0F:6E:23:04:30:0B:AA:61:82:C1:CC:B1:09:39:EB:BD:8D:04:1C:DC:03:D5:30:43:01:A5:05:45:98:3A:46:08:34:A9:23:5D:84:DB:EB:9A:47:C3:5E:70:F6:EC:29:A6:A1:CC:A7:11:36:97:DD:E6:BA:46:25:51:00:B1" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250706143228Z", "not_valid_before": "20240706143245Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:96 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.012) 0:00:41.856 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:104 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.021) 0:00:41.877 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:112 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.011) 0:00:41.889 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:119 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.019) 0:00:41.909 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:130 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.022) 0:00:41.932 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:143 Saturday 06 July 2024 14:32:52 +0000 (0:00:00.021) 0:00:41.954 ********* 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.043569", "end": "2024-07-06 14:32:53.156117", "rc": 0, "start": "2024-07-06 14:32:53.112548" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:152 Saturday 06 July 2024 14:32:53 +0000 (0:00:00.266) 0:00:42.221 ********* 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 06 July 2024 14:32:53 +0000 (0:00:00.025) 0:00:42.246 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 6.75s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.93s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.19s /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.18s /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.17s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.17s /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.17s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.15s /WORKDIR/git-weekly-ciqlknluu3/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.88s /WORKDIR/git-weekly-ciqlknluu3/.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-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.23s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 1.04s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:2 --------------------- Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:14 -------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:67 -------------------- Gathering Facts --------------------------------------------------------- 0.74s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:85 -------------------- Ensure user exists ------------------------------------------------------ 0.69s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:5 --------------------- Ensure group "somegroup" exists ----------------------------------------- 0.44s /WORKDIR/git-weekly-ciqlknluu3/tests/tests_fs_attrs.yml:9 --------------------- fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.43s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.42s /WORKDIR/git-weekly-ciqlknluu3/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---