# 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-ci9ylovusq/.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-ci9ylovusq/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:2 Saturday 15 June 2024 12:46:50 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:5 Saturday 15 June 2024 12:46:51 +0000 (0:00:00.975) 0:00:00.986 ********* 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-ci9ylovusq/tests/tests_fs_attrs.yml:9 Saturday 15 June 2024 12:46:52 +0000 (0:00:00.585) 0:00:01.572 ********* 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-ci9ylovusq/tests/tests_fs_attrs.yml:14 Saturday 15 June 2024 12:46:52 +0000 (0:00:00.444) 0:00:02.016 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.745) 0:00:02.762 ********* included: /WORKDIR/git-weekly-ci9ylovusq/.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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.011) 0:00:02.773 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.017) 0:00:02.790 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.284) 0:00:03.075 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.014) 0:00:03.090 ********* 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-ci9ylovusq/.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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 15 June 2024 12:46:53 +0000 (0:00:00.022) 0:00:03.112 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.5.1-1.fc39.noarch", "Installed: python3-cryptography-41.0.7-1.fc39.x86_64", "Installed: python3-ply-3.11-20.fc39.noarch", "Installed: python3-pycparser-2.20-11.fc39.noarch", "Installed: python3-cffi-1.15.1-6.fc39.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 15 June 2024 12:47:00 +0000 (0:00:06.586) 0:00:09.699 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: dbus-tools-1:1.14.10-1.fc39.x86_64", "Installed: python3-packaging-23.1-4.fc39.noarch", "Installed: certmonger-0.79.18-2.fc39.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 15 June 2024 12:47:05 +0000 (0:00:05.343) 0:00:15.042 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 15 June 2024 12:47:06 +0000 (0:00:00.359) 0:00:15.401 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 15 June 2024 12:47:06 +0000 (0:00:00.265) 0:00:15.667 ********* 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.socket dbus-broker.service sysinit.target syslog.target basic.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "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": "system.slice dbus.socket sysinit.target", "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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 15 June 2024 12:47:07 +0000 (0:00:01.086) 0:00:16.754 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 15 June 2024 12:47:08 +0000 (0:00:01.474) 0:00:18.228 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 15 June 2024 12:47:08 +0000 (0:00:00.028) 0:00:18.257 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 15 June 2024 12:47:08 +0000 (0:00:00.016) 0:00:18.274 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 15 June 2024 12:47:08 +0000 (0:00:00.016) 0:00:18.290 ********* 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-ci9ylovusq/tests/tests_fs_attrs.yml:32 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.026) 0:00:18.317 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:61 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.745) 0:00:19.062 ********* included: /WORKDIR/git-weekly-ci9ylovusq/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-ci9ylovusq/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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.020) 0:00:19.083 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.007) 0:00:19.090 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.010) 0:00:19.100 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.009) 0:00:19.110 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:47:09 +0000 (0:00:00.006) 0:00:19.117 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:47:12 +0000 (0:00:02.193) 0:00:21.310 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455628.185351, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "52b33a156ab90bcbaa6bae8d5add0d35cfd307e9", "ctime": 1718455628.255349, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203258, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1718455628.181351, "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": "99013883", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.236) 0:00:21.546 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.010) 0:00:21.557 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.019) 0:00:21.576 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.017) 0:00:21.594 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455628.1283524, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e05e0797ce5f46ef84403287f5dc766e9cf636c9", "ctime": 1718455628.255349, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203254, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1718455628.181351, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "2323857828", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.235) 0:00:21.830 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.010) 0:00:21.841 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.019) 0:00:21.860 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "6F:D1:F4:B1:B3:19:B5:83:07:77:D6:FC:4A:A9:CD:BD:16:AA:B1:96" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:1A:AB:C1:71:9C:54:75:73:2A:6B:B0:C6:E2:F8:C2:02:E4:A0:E9:3E:9D:88:23:99:1E:89:6D:5E:FA:70:12:0A:7D:E6:01:68:1B:73:C5:2B:AF:B5:E5:AE:30:05:FF:FA:C3:F4:1C:BC:89:30:27:B8:44:0F:EE:07:D6:91:16:10:17:69:57:5A:7A:FF:15:85:83:20:23:D6:19:1B:0E:E5:40:82:8B:47:10:32:09:14:DE:4E:E1:E8:B1:54:60:5C:9F:10:12:6D:19:CD:52:39:9F:2C:A3:C9:B2:06:AD:94:64:AE:A4:11:7F:D1:97:71:6C:4C:7A:9B:40:AF:6E:98:70:A9:E7:76:46:03:96:3D:E6:FE:5D:AB:4B:6F:F6:FD:9A:51:C0:DD:44:F4:D2:3A:24:33:6E:E4:56:11:82:0B:20:0F:09:4A:F3:F6:C0:A2:5F:9A:02:6E:28:3C:05:6C:C1:21:AB:B7:F9:4A:9F:B8:EA:C1:3A:17:8D:6B:60:EE:C8:62:47:80:3C:C9:A0:70:72:2F:EB:A0:8A:A6:AE:5B:DB:33:32:96:58:93:95:DF:19:90:44:34:F5:46:08:82:2F:91:34:3C:B1:A3:62:C2:C2:6B:60:3B:01:BC:16:50:22:EE:D2:01:E1:41:17:55:BD:FA:AA:B6:4A:43:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124708Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.356) 0:00:22.216 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "6F:D1:F4:B1:B3:19:B5:83:07:77:D6:FC:4A:A9:CD:BD:16:AA:B1:96" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:1A:AB:C1:71:9C:54:75:73:2A:6B:B0:C6:E2:F8:C2:02:E4:A0:E9:3E:9D:88:23:99:1E:89:6D:5E:FA:70:12:0A:7D:E6:01:68:1B:73:C5:2B:AF:B5:E5:AE:30:05:FF:FA:C3:F4:1C:BC:89:30:27:B8:44:0F:EE:07:D6:91:16:10:17:69:57:5A:7A:FF:15:85:83:20:23:D6:19:1B:0E:E5:40:82:8B:47:10:32:09:14:DE:4E:E1:E8:B1:54:60:5C:9F:10:12:6D:19:CD:52:39:9F:2C:A3:C9:B2:06:AD:94:64:AE:A4:11:7F:D1:97:71:6C:4C:7A:9B:40:AF:6E:98:70:A9:E7:76:46:03:96:3D:E6:FE:5D:AB:4B:6F:F6:FD:9A:51:C0:DD:44:F4:D2:3A:24:33:6E:E4:56:11:82:0B:20:0F:09:4A:F3:F6:C0:A2:5F:9A:02:6E:28:3C:05:6C:C1:21:AB:B7:F9:4A:9F:B8:EA:C1:3A:17:8D:6B:60:EE:C8:62:47:80:3C:C9:A0:70:72:2F:EB:A0:8A:A6:AE:5B:DB:33:32:96:58:93:95:DF:19:90:44:34:F5:46:08:82:2F:91:34:3C:B1:A3:62:C2:C2:6B:60:3B:01:BC:16:50:22:EE:D2:01:E1:41:17:55:BD:FA:AA:B6:4A:43:34" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124708Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.010) 0:00:22.226 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.018) 0:00:22.245 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.009) 0:00:22.254 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.017) 0:00:22.272 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:47:12 +0000 (0:00:00.020) 0:00:22.292 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.019) 0:00:22.311 ********* 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.047726", "end": "2024-06-15 12:47:13.319071", "rc": 0, "start": "2024-06-15 12:47:13.271345" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.329) 0:00:22.641 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.019) 0:00:22.660 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.007) 0:00:22.668 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.010) 0:00:22.678 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.010) 0:00:22.688 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:47:13 +0000 (0:00:00.008) 0:00:22.697 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:47:15 +0000 (0:00:02.294) 0:00:24.992 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455628.7723348, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7975867a5a9ac434fec3964f213e1552aa91ba3a", "ctime": 1718455628.8943317, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203260, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1718455628.768335, "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": "3037747609", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:47:15 +0000 (0:00:00.240) 0:00:25.232 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:47:15 +0000 (0:00:00.009) 0:00:25.242 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:47:15 +0000 (0:00:00.020) 0:00:25.262 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:47:15 +0000 (0:00:00.017) 0:00:25.280 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455628.7153366, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "47d6ef50d2016e6db5356c1188b697af9512f9c5", "ctime": 1718455628.8943317, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203259, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1718455628.768335, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1708, "uid": 1040, "version": "1965586112", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.239) 0:00:25.520 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.010) 0:00:25.531 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.019) 0:00:25.550 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "B8:DE:4C:F6:69:FD:DA:2F:ED:AE:B5:82:60:30:57:7A:33:E5:D5:BA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "80:28:FC:F2:43:29:64:64:87:7C:C9:CD:C1:5D:D8:58:33:9D:A6:AC:C5:DD:89:F2:82:1B:0D:50:D0:59:DD:C2:5D:B3:91:75:C7:5C:9C:A1:87:19:A5:40:FB:F0:41:E0:0D:D0:D3:FE:2A:A9:86:2A:73:F7:A0:F0:F2:F4:37:07:B2:AD:4C:EA:31:05:FF:B6:C6:8B:89:5C:CB:A4:16:81:4D:E4:41:2C:4A:42:A5:91:3C:EF:A0:E2:13:82:61:F7:4F:01:94:38:AB:90:E3:90:0C:DC:FB:5C:0B:5B:48:CD:39:8B:B6:1D:FE:53:F1:21:E7:6E:07:85:E0:D8:B5:F3:8B:72:CA:9C:DA:74:67:95:60:0A:87:97:C1:5D:65:5A:CF:44:6D:97:E0:E0:89:C8:29:67:42:3F:02:89:4B:1D:75:85:8E:9A:35:8F:37:F3:F5:E3:83:01:6E:4D:A2:22:90:FE:97:54:DD:AE:01:C3:EE:68:D9:4F:13:46:7A:FA:46:B9:64:99:E1:AE:02:24:AF:DF:3A:6C:4B:B0:51:43:48:97:A3:65:63:BF:8E:52:A5:68:59:6D:70:D9:87:02:A4:A4:D9:0D:02:20:C1:72:BC:6C:3D:D6:9E:B5:BC:DD:66:BB:99:D6:9F:60:D2:28:67:8D:A7:CF:DB:AB:DD:A3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124708Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.300) 0:00:25.851 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "B8:DE:4C:F6:69:FD:DA:2F:ED:AE:B5:82:60:30:57:7A:33:E5:D5:BA" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "80:28:FC:F2:43:29:64:64:87:7C:C9:CD:C1:5D:D8:58:33:9D:A6:AC:C5:DD:89:F2:82:1B:0D:50:D0:59:DD:C2:5D:B3:91:75:C7:5C:9C:A1:87:19:A5:40:FB:F0:41:E0:0D:D0:D3:FE:2A:A9:86:2A:73:F7:A0:F0:F2:F4:37:07:B2:AD:4C:EA:31:05:FF:B6:C6:8B:89:5C:CB:A4:16:81:4D:E4:41:2C:4A:42:A5:91:3C:EF:A0:E2:13:82:61:F7:4F:01:94:38:AB:90:E3:90:0C:DC:FB:5C:0B:5B:48:CD:39:8B:B6:1D:FE:53:F1:21:E7:6E:07:85:E0:D8:B5:F3:8B:72:CA:9C:DA:74:67:95:60:0A:87:97:C1:5D:65:5A:CF:44:6D:97:E0:E0:89:C8:29:67:42:3F:02:89:4B:1D:75:85:8E:9A:35:8F:37:F3:F5:E3:83:01:6E:4D:A2:22:90:FE:97:54:DD:AE:01:C3:EE:68:D9:4F:13:46:7A:FA:46:B9:64:99:E1:AE:02:24:AF:DF:3A:6C:4B:B0:51:43:48:97:A3:65:63:BF:8E:52:A5:68:59:6D:70:D9:87:02:A4:A4:D9:0D:02:20:C1:72:BC:6C:3D:D6:9E:B5:BC:DD:66:BB:99:D6:9F:60:D2:28:67:8D:A7:CF:DB:AB:DD:A3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124708Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.010) 0:00:25.861 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.018) 0:00:25.880 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.010) 0:00:25.890 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.017) 0:00:25.908 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.019) 0:00:25.928 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.019) 0:00:25.947 ********* 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.047733", "end": "2024-06-15 12:47:16.900451", "rc": 0, "start": "2024-06-15 12:47:16.852718" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.276) 0:00:26.223 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:67 Saturday 15 June 2024 12:47:16 +0000 (0:00:00.026) 0:00:26.250 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.750) 0:00:27.000 ********* included: /WORKDIR/git-weekly-ci9ylovusq/.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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.011) 0:00:27.012 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.016) 0:00:27.029 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.010) 0:00:27.040 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.010) 0:00:27.050 ********* 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-ci9ylovusq/.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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 15 June 2024 12:47:17 +0000 (0:00:00.021) 0:00:27.071 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 15 June 2024 12:47:19 +0000 (0:00:02.183) 0:00:29.255 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 15 June 2024 12:47:22 +0000 (0:00:02.188) 0:00:31.443 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 15 June 2024 12:47:22 +0000 (0:00:00.254) 0:00:31.698 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 15 June 2024 12:47:22 +0000 (0:00:00.254) 0:00:31.953 ********* 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-06-15 12:47:07 UTC", "ActiveEnterTimestampMonotonic": "675392949", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target syslog.target dbus-broker.service basic.target system.slice systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-06-15 12:47:07 UTC", "AssertTimestampMonotonic": "675360600", "Before": "multi-user.target 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": "917134000", "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-06-15 12:47:07 UTC", "ConditionTimestampMonotonic": "675360596", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5744", "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": "5522", "ExecMainStartTimestamp": "Sat 2024-06-15 12:47:07 UTC", "ExecMainStartTimestampMonotonic": "675368183", "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-06-15 12:47:07 UTC] ; stop_time=[n/a] ; pid=5522 ; 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-06-15 12:47:07 UTC] ; stop_time=[n/a] ; pid=5522 ; 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-06-15 12:47:07 UTC", "InactiveExitTimestampMonotonic": "675368587", "InvocationID": "a5954c7e215e4cd583cd827a455f5e70", "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": "5522", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4055040", "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", "StateChangeTimestamp": "Sat 2024-06-15 12:47:07 UTC", "StateChangeTimestampMonotonic": "675392949", "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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 15 June 2024 12:47:23 +0000 (0:00:00.423) 0:00:32.376 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 15 June 2024 12:47:24 +0000 (0:00:01.297) 0:00:33.674 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 15 June 2024 12:47:24 +0000 (0:00:00.029) 0:00:33.704 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 15 June 2024 12:47:24 +0000 (0:00:00.016) 0:00:33.720 ********* 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-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 15 June 2024 12:47:24 +0000 (0:00:00.016) 0:00:33.736 ********* 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-ci9ylovusq/tests/tests_fs_attrs.yml:85 Saturday 15 June 2024 12:47:24 +0000 (0:00:00.026) 0:00:33.763 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:112 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.751) 0:00:34.515 ********* included: /WORKDIR/git-weekly-ci9ylovusq/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-ci9ylovusq/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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.020) 0:00:34.536 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.007) 0:00:34.543 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.010) 0:00:34.554 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.010) 0:00:34.564 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:47:25 +0000 (0:00:00.006) 0:00:34.571 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:47:27 +0000 (0:00:02.210) 0:00:36.782 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455643.588939, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "03cf49f67ac635b214c6de206112e83c04eb341d", "ctime": 1718455643.6979358, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203541, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1718455643.583939, "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": "2287931600", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:47:27 +0000 (0:00:00.241) 0:00:37.023 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:47:27 +0000 (0:00:00.010) 0:00:37.034 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:47:27 +0000 (0:00:00.019) 0:00:37.053 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:47:27 +0000 (0:00:00.018) 0:00:37.071 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455643.5319405, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6a6c87fa27058d9a9eb4afedf27c0febe0a336f5", "ctime": 1718455643.698936, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203261, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1718455643.583939, "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": "1507434727", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.240) 0:00:37.312 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.010) 0:00:37.323 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.019) 0:00:37.342 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "74:3C:62:8D:35:5C:ED:2C:6B:30:6F:5B:BA:1F:30:B0:1E:8C:B6:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7E:07:5B:F1:6A:E6:F6:AD:A5:9A:57:AA:31:C7:86:77:D1:15:84:BA:D0:25:CD:5E:D2:94:C0:A6:53:22:9D:27:D5:56:9C:8E:C6:B8:69:70:AC:35:3E:1D:FA:22:A5:4C:DC:13:E7:C8:0E:54:AB:92:A0:0D:5C:3D:08:59:A9:A8:E2:CB:E3:D8:B7:D5:6E:79:A7:0B:34:0A:81:CB:EC:A2:54:8E:F4:25:29:28:28:DF:A7:52:DE:D8:03:07:6C:5A:AD:90:01:75:C6:9C:0D:EB:6E:C7:05:33:B2:08:D1:F8:3E:7D:81:43:75:21:82:18:F9:17:98:98:5B:04:4A:6F:DD:06:4A:C2:7D:80:7F:03:38:A3:5A:8E:CC:FD:A5:BC:98:C1:06:E6:89:4F:D3:F6:B4:9E:CD:5C:DF:47:B3:AB:C3:B0:06:B8:80:F0:EC:0B:1E:94:D4:64:7F:14:51:D0:59:D6:F4:05:C4:44:F3:B3:E2:A8:80:C1:28:AF:D0:E5:F7:FD:18:50:C5:DE:64:45:AE:0B:5F:79:98:95:C7:76:CE:70:A4:99:6B:DE:AC:4C:C3:BA:C0:AC:5D:BF:4A:31:AA:B7:62:40:97:CB:49:CA:70:8E:17:86:D1:67:7D:75:8A:83:B7:0F:3F:F3:95:F5:47:DE:4D:D7:87:ED:60:4D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124723Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.303) 0:00:37.646 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "74:3C:62:8D:35:5C:ED:2C:6B:30:6F:5B:BA:1F:30:B0:1E:8C:B6:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7E:07:5B:F1:6A:E6:F6:AD:A5:9A:57:AA:31:C7:86:77:D1:15:84:BA:D0:25:CD:5E:D2:94:C0:A6:53:22:9D:27:D5:56:9C:8E:C6:B8:69:70:AC:35:3E:1D:FA:22:A5:4C:DC:13:E7:C8:0E:54:AB:92:A0:0D:5C:3D:08:59:A9:A8:E2:CB:E3:D8:B7:D5:6E:79:A7:0B:34:0A:81:CB:EC:A2:54:8E:F4:25:29:28:28:DF:A7:52:DE:D8:03:07:6C:5A:AD:90:01:75:C6:9C:0D:EB:6E:C7:05:33:B2:08:D1:F8:3E:7D:81:43:75:21:82:18:F9:17:98:98:5B:04:4A:6F:DD:06:4A:C2:7D:80:7F:03:38:A3:5A:8E:CC:FD:A5:BC:98:C1:06:E6:89:4F:D3:F6:B4:9E:CD:5C:DF:47:B3:AB:C3:B0:06:B8:80:F0:EC:0B:1E:94:D4:64:7F:14:51:D0:59:D6:F4:05:C4:44:F3:B3:E2:A8:80:C1:28:AF:D0:E5:F7:FD:18:50:C5:DE:64:45:AE:0B:5F:79:98:95:C7:76:CE:70:A4:99:6B:DE:AC:4C:C3:BA:C0:AC:5D:BF:4A:31:AA:B7:62:40:97:CB:49:CA:70:8E:17:86:D1:67:7D:75:8A:83:B7:0F:3F:F3:95:F5:47:DE:4D:D7:87:ED:60:4D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124723Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.010) 0:00:37.656 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.019) 0:00:37.675 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.010) 0:00:37.685 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.017) 0:00:37.703 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.021) 0:00:37.724 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.020) 0:00:37.744 ********* 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.051433", "end": "2024-06-15 12:47:28.701458", "rc": 0, "start": "2024-06-15 12:47:28.650025" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.280) 0:00:38.025 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.018) 0:00:38.044 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.007) 0:00:38.051 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.010) 0:00:38.062 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.010) 0:00:38.072 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:47:28 +0000 (0:00:00.007) 0:00:38.079 ********* 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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:47:30 +0000 (0:00:02.200) 0:00:40.280 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455644.2149222, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d46aa8ced92556eefd0c5ec6dac1466f7259637a", "ctime": 1718455644.2109222, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203543, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1718455644.2109222, "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": "4150093793", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.240) 0:00:40.520 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.010) 0:00:40.531 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.020) 0:00:40.551 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.019) 0:00:40.570 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455644.1579237, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "59c4cc6f401a7b8706ad0d8a971377e8f2bc477e", "ctime": 1718455644.2109222, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203542, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1718455644.2109222, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1700, "uid": 0, "version": "1321438616", "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-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.240) 0:00:40.811 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.010) 0:00:40.822 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.020) 0:00:40.842 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "01:D9:09:26:80:F3:3B:B4:0F:E7:4E:DE:7B:30:89:05:83:26:0D:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "43:3D:14:76:2B:A7:F8:52:99:80:C8:0D:25:43:25:15:C1:B0:56:FF:48:AF:01:D3:2D:65:78:79:A0:15:7C:96:A8:81:CB:B2:88:2C:0A:A5:23:54:C1:04:7A:05:78:D4:54:BC:B3:77:54:8C:5C:A3:BB:3A:24:59:D4:91:D1:2F:25:76:E3:7C:E0:4D:5C:8F:67:55:38:5F:76:AA:AA:64:98:1C:85:87:AF:98:9E:2A:4A:39:D3:B5:21:00:13:4C:AE:49:16:7E:09:10:CD:25:2E:6C:96:B3:27:1E:22:6B:0C:B2:EB:8E:74:86:A3:CF:18:2D:98:B7:08:30:A4:DA:DC:A2:4C:C5:88:84:43:7A:54:69:C0:AD:5A:4C:32:85:E5:7F:D1:58:42:06:9C:58:B8:13:54:7D:52:33:FA:04:31:C0:FC:86:2B:8E:9B:44:FE:C1:45:FC:DB:06:D7:DE:95:41:AA:00:6A:38:52:E3:88:9D:32:FA:32:CA:A2:BF:5F:5B:56:79:96:BE:F8:E6:24:1F:40:D7:20:EB:37:72:FE:B5:7F:47:5A:98:2A:27:CD:57:A2:9D:F9:E2:4E:DC:1D:95:86:68:F2:63:CA:10:9D:C8:8A:EF:AE:3C:C9:C9:EC:04:7C:91:E5:88:A2:14:34:C7:3E:42:66:BE:61:3F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124724Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.298) 0:00:41.140 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "92:24:49:8E:C9:5F:F8:AB:B1:FF:81:AE:F5:B2:A7:C9:0F:08:20:78" }, "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": "01:D9:09:26:80:F3:3B:B4:0F:E7:4E:DE:7B:30:89:05:83:26:0D:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "43:3D:14:76:2B:A7:F8:52:99:80:C8:0D:25:43:25:15:C1:B0:56:FF:48:AF:01:D3:2D:65:78:79:A0:15:7C:96:A8:81:CB:B2:88:2C:0A:A5:23:54:C1:04:7A:05:78:D4:54:BC:B3:77:54:8C:5C:A3:BB:3A:24:59:D4:91:D1:2F:25:76:E3:7C:E0:4D:5C:8F:67:55:38:5F:76:AA:AA:64:98:1C:85:87:AF:98:9E:2A:4A:39:D3:B5:21:00:13:4C:AE:49:16:7E:09:10:CD:25:2E:6C:96:B3:27:1E:22:6B:0C:B2:EB:8E:74:86:A3:CF:18:2D:98:B7:08:30:A4:DA:DC:A2:4C:C5:88:84:43:7A:54:69:C0:AD:5A:4C:32:85:E5:7F:D1:58:42:06:9C:58:B8:13:54:7D:52:33:FA:04:31:C0:FC:86:2B:8E:9B:44:FE:C1:45:FC:DB:06:D7:DE:95:41:AA:00:6A:38:52:E3:88:9D:32:FA:32:CA:A2:BF:5F:5B:56:79:96:BE:F8:E6:24:1F:40:D7:20:EB:37:72:FE:B5:7F:47:5A:98:2A:27:CD:57:A2:9D:F9:E2:4E:DC:1D:95:86:68:F2:63:CA:10:9D:C8:8A:EF:AE:3C:C9:C9:EC:04:7C:91:E5:88:A2:14:34:C7:3E:42:66:BE:61:3F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124707Z", "not_valid_before": "20240615124724Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.010) 0:00:41.151 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.018) 0:00:41.170 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.010) 0:00:41.180 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.017) 0:00:41.198 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.020) 0:00:41.218 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:47:31 +0000 (0:00:00.019) 0:00:41.238 ********* 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.051367", "end": "2024-06-15 12:47:32.193166", "rc": 0, "start": "2024-06-15 12:47:32.141799" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:47:32 +0000 (0:00:00.277) 0:00:41.516 ********* 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 15 June 2024 12:47:32 +0000 (0:00:00.023) 0:00:41.539 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 6.59s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 5.34s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.29s /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.21s /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.20s /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.19s /WORKDIR/git-weekly-ci9ylovusq/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.19s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.18s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.47s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.30s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.09s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:2 --------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:67 -------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.75s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:14 -------------------- Ensure user exists ------------------------------------------------------ 0.59s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:5 --------------------- Ensure group "somegroup" exists ----------------------------------------- 0.44s /WORKDIR/git-weekly-ci9ylovusq/tests/tests_fs_attrs.yml:9 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.42s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.36s /WORKDIR/git-weekly-ci9ylovusq/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---