# 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-ci41s79u_n/.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-ci41s79u_n/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:2 Saturday 01 June 2024 12:48:57 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:5 Saturday 01 June 2024 12:48:59 +0000 (0:00:02.464) 0:00:02.475 ********* 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-ci41s79u_n/tests/tests_fs_attrs.yml:9 Saturday 01 June 2024 12:49:00 +0000 (0:00:00.582) 0:00:03.057 ********* 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-ci41s79u_n/tests/tests_fs_attrs.yml:14 Saturday 01 June 2024 12:49:00 +0000 (0:00:00.346) 0:00:03.404 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 01 June 2024 12:49:02 +0000 (0:00:02.060) 0:00:05.464 ********* included: /WORKDIR/git-weekly-ci41s79u_n/.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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 01 June 2024 12:49:02 +0000 (0:00:00.011) 0:00:05.476 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 01 June 2024 12:49:02 +0000 (0:00:00.019) 0:00:05.496 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 01 June 2024 12:49:03 +0000 (0:00:00.284) 0:00:05.780 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 01 June 2024 12:49:03 +0000 (0:00:00.015) 0:00:05.796 ********* 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-ci41s79u_n/.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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 01 June 2024 12:49:03 +0000 (0:00:00.025) 0:00:05.822 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycparser-2.20-14.fc40.noarch", "Installed: python3-cffi-1.16.0-4.fc40.x86_64", "Installed: python3-ply-3.11-23.fc40.noarch", "Installed: python3-cryptography-41.0.7-1.fc40.x86_64", "Installed: python3-pyasn1-0.5.1-3.fc40.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 01 June 2024 12:49:08 +0000 (0:00:04.918) 0:00:10.741 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: python3-packaging-23.2-4.fc40.noarch", "Installed: certmonger-0.79.19-5.fc40.x86_64", "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 01 June 2024 12:49:11 +0000 (0:00:03.780) 0:00:14.521 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 01 June 2024 12:49:12 +0000 (0:00:00.427) 0:00:14.949 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 01 June 2024 12:49:12 +0000 (0:00:00.276) 0:00:15.225 ********* 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 sysinit.target syslog.target systemd-journald.socket system.slice basic.target dbus-broker.service network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "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": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "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": "14751", "LimitNPROCSoft": "14751", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14751", "LimitSIGPENDINGSoft": "14751", "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": "3527847936", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "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": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "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": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4425", "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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 01 June 2024 12:49:13 +0000 (0:00:00.945) 0:00:16.171 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 01 June 2024 12:49:15 +0000 (0:00:01.791) 0:00:17.963 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 01 June 2024 12:49:15 +0000 (0:00:00.033) 0:00:17.996 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 01 June 2024 12:49:15 +0000 (0:00:00.018) 0:00:18.015 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 01 June 2024 12:49:15 +0000 (0:00:00.018) 0:00:18.033 ********* 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-ci41s79u_n/tests/tests_fs_attrs.yml:32 Saturday 01 June 2024 12:49:15 +0000 (0:00:00.030) 0:00:18.063 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:61 Saturday 01 June 2024 12:49:17 +0000 (0:00:02.146) 0:00:20.210 ********* included: /WORKDIR/git-weekly-ci41s79u_n/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-ci41s79u_n/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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 12:49:17 +0000 (0:00:00.021) 0:00:20.232 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 12:49:17 +0000 (0:00:00.007) 0:00:20.240 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 12:49:17 +0000 (0:00:00.010) 0:00:20.251 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 12:49:17 +0000 (0:00:00.010) 0:00:20.261 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 12:49:17 +0000 (0:00:00.007) 0:00:20.269 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 12:49:19 +0000 (0:00:01.375) 0:00:21.645 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246154.3738945, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "adf64a7ce5291c5e67a97c7e8916aa2524e16363", "ctime": 1717246154.5158882, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203510, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1717246154.3698945, "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": "1272792821", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.233) 0:00:21.878 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.011) 0:00:21.889 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.020) 0:00:21.910 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.019) 0:00:21.929 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246154.316897, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e7550c6bfa6afe63013f0460032043a4f887940b", "ctime": 1717246154.517888, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203509, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1717246154.3698945, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "2825034336", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.233) 0:00:22.163 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.012) 0:00:22.175 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.021) 0:00:22.197 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "A8:6A:06:5E:9A:4C:6B:58:CB:36:09:70:EA:C7:87:D2:98:9F:CB:45" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "89:FB:AC:36:1D:46:63:98:EB:75:67:0D:E5:BE:E2:7F:93:61:40:31:37:24:3F:B3:80:01:3D:74:CC:01:2C:F2:0C:CC:D1:C1:E4:A7:AC:99:6D:9A:FB:19:60:D7:C7:92:EE:5C:97:57:10:9E:4F:5E:90:B6:48:AF:A3:65:98:C5:2F:E6:7E:10:C6:35:42:34:7A:C3:27:BE:A9:20:8C:97:EA:B9:A2:65:37:C1:34:23:A7:2A:AB:58:AC:69:14:15:F9:25:1E:E3:43:4C:85:F9:30:9B:FA:5A:98:A4:F0:F6:C5:C8:0D:09:61:71:A7:CD:5A:BB:9A:ED:D2:FF:54:F5:A1:CC:B0:29:0B:C1:81:B9:9F:F6:F1:7B:E8:B0:78:5A:0B:8A:C2:64:82:B6:CE:0C:2F:12:36:BE:5B:28:B0:4D:38:73:14:27:87:34:82:09:79:70:72:D6:CC:76:FD:45:CD:5D:9A:C3:16:1A:06:4F:90:A1:7F:17:9F:FB:98:64:31:DE:B9:29:59:44:49:42:A7:2C:B0:BF:67:73:AC:2D:80:E0:0D:D3:2A:10:39:AA:B8:CF:A4:92:74:7E:4E:A6:50:8B:B1:74:69:1E:9D:C9:E1:10:1B:17:09:84:54:FA:50:36:B1:12:EE:8B:FD:6D:5E:CF:DC:1F:1C:FD:A3:DD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124914Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.346) 0:00:22.543 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "A8:6A:06:5E:9A:4C:6B:58:CB:36:09:70:EA:C7:87:D2:98:9F:CB:45" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "89:FB:AC:36:1D:46:63:98:EB:75:67:0D:E5:BE:E2:7F:93:61:40:31:37:24:3F:B3:80:01:3D:74:CC:01:2C:F2:0C:CC:D1:C1:E4:A7:AC:99:6D:9A:FB:19:60:D7:C7:92:EE:5C:97:57:10:9E:4F:5E:90:B6:48:AF:A3:65:98:C5:2F:E6:7E:10:C6:35:42:34:7A:C3:27:BE:A9:20:8C:97:EA:B9:A2:65:37:C1:34:23:A7:2A:AB:58:AC:69:14:15:F9:25:1E:E3:43:4C:85:F9:30:9B:FA:5A:98:A4:F0:F6:C5:C8:0D:09:61:71:A7:CD:5A:BB:9A:ED:D2:FF:54:F5:A1:CC:B0:29:0B:C1:81:B9:9F:F6:F1:7B:E8:B0:78:5A:0B:8A:C2:64:82:B6:CE:0C:2F:12:36:BE:5B:28:B0:4D:38:73:14:27:87:34:82:09:79:70:72:D6:CC:76:FD:45:CD:5D:9A:C3:16:1A:06:4F:90:A1:7F:17:9F:FB:98:64:31:DE:B9:29:59:44:49:42:A7:2C:B0:BF:67:73:AC:2D:80:E0:0D:D3:2A:10:39:AA:B8:CF:A4:92:74:7E:4E:A6:50:8B:B1:74:69:1E:9D:C9:E1:10:1B:17:09:84:54:FA:50:36:B1:12:EE:8B:FD:6D:5E:CF:DC:1F:1C:FD:A3:DD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124914Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.011) 0:00:22.554 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 12:49:19 +0000 (0:00:00.020) 0:00:22.575 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.011) 0:00:22.586 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.019) 0:00:22.606 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.022) 0:00:22.628 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.021) 0:00:22.650 ********* 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.048388", "end": "2024-06-01 12:49:20.370709", "rc": 0, "start": "2024-06-01 12:49:20.322321" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.327) 0:00:22.977 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.019) 0:00:22.997 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.008) 0:00:23.006 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.010) 0:00:23.017 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.011) 0:00:23.029 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 12:49:20 +0000 (0:00:00.009) 0:00:23.038 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 12:49:21 +0000 (0:00:01.386) 0:00:24.424 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246155.2338572, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ccb50aa25efcb95f7964b5c96808cca04d98394f", "ctime": 1717246155.3438523, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203512, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1717246155.2298572, "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": "3732316996", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.234) 0:00:24.659 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.011) 0:00:24.670 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.021) 0:00:24.691 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.019) 0:00:24.711 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246155.1768596, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bd893ec33c400fc7361b5ad73e9ffd59b9ffc718", "ctime": 1717246155.3448522, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203511, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1717246155.2298572, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "2980804137", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.236) 0:00:24.947 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.011) 0:00:24.958 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.020) 0:00:24.979 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "A2:F8:BE:14:E9:8F:28:D1:D2:F7:83:DD:AB:60:EE:26:17:F0:7E:B4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:AE:24:55:D7:EE:5F:8D:23:C3:E7:3C:AB:A9:7D:C8:58:74:29:02:CD:40:05:AB:D5:A6:43:3A:52:03:66:45:2F:1D:4A:EC:2A:A3:0A:EB:B7:5D:82:0A:E2:72:9A:45:A2:E3:B1:0F:7B:B7:33:3F:74:9A:11:5C:6B:BC:0C:51:FB:28:06:86:6D:67:CA:DA:31:53:85:25:ED:3A:B4:DA:C2:CE:13:62:94:83:9E:9A:79:98:03:20:87:81:D7:11:C7:B8:EA:7C:18:46:3D:25:3C:2C:FB:8B:A5:DD:87:C9:F8:C8:DC:B9:E8:8F:8C:AB:CB:D9:AC:F8:09:1C:E4:69:95:B7:77:8A:51:86:16:1C:F4:75:60:17:17:41:B3:BD:81:8A:51:1B:76:16:C2:E2:A1:EC:B8:84:1D:3A:53:EE:6B:D7:4B:FF:14:8A:1E:B6:E5:27:54:44:5A:4D:EA:43:5D:C3:7A:F3:66:FB:61:8F:7E:76:75:AB:7A:64:87:F2:47:74:04:CA:43:33:58:2B:2F:41:6B:21:1E:78:F9:0C:3D:03:F0:98:D3:41:60:4E:39:F5:2B:1D:B8:B7:F3:AB:A6:09:BA:23:9D:C3:CF:87:E4:F9:3C:C8:22:6A:B2:F8:A2:F1:BC:62:29:CE:32:FC:D8:20:CB:C8:02:4B:0C:25" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124915Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.283) 0:00:25.262 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "A2:F8:BE:14:E9:8F:28:D1:D2:F7:83:DD:AB:60:EE:26:17:F0:7E:B4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4C:AE:24:55:D7:EE:5F:8D:23:C3:E7:3C:AB:A9:7D:C8:58:74:29:02:CD:40:05:AB:D5:A6:43:3A:52:03:66:45:2F:1D:4A:EC:2A:A3:0A:EB:B7:5D:82:0A:E2:72:9A:45:A2:E3:B1:0F:7B:B7:33:3F:74:9A:11:5C:6B:BC:0C:51:FB:28:06:86:6D:67:CA:DA:31:53:85:25:ED:3A:B4:DA:C2:CE:13:62:94:83:9E:9A:79:98:03:20:87:81:D7:11:C7:B8:EA:7C:18:46:3D:25:3C:2C:FB:8B:A5:DD:87:C9:F8:C8:DC:B9:E8:8F:8C:AB:CB:D9:AC:F8:09:1C:E4:69:95:B7:77:8A:51:86:16:1C:F4:75:60:17:17:41:B3:BD:81:8A:51:1B:76:16:C2:E2:A1:EC:B8:84:1D:3A:53:EE:6B:D7:4B:FF:14:8A:1E:B6:E5:27:54:44:5A:4D:EA:43:5D:C3:7A:F3:66:FB:61:8F:7E:76:75:AB:7A:64:87:F2:47:74:04:CA:43:33:58:2B:2F:41:6B:21:1E:78:F9:0C:3D:03:F0:98:D3:41:60:4E:39:F5:2B:1D:B8:B7:F3:AB:A6:09:BA:23:9D:C3:CF:87:E4:F9:3C:C8:22:6A:B2:F8:A2:F1:BC:62:29:CE:32:FC:D8:20:CB:C8:02:4B:0C:25" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124915Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.010) 0:00:25.273 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.020) 0:00:25.293 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.010) 0:00:25.303 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.018) 0:00:25.322 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.021) 0:00:25.344 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 12:49:22 +0000 (0:00:00.020) 0:00:25.365 ********* 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.048324", "end": "2024-06-01 12:49:23.026081", "rc": 0, "start": "2024-06-01 12:49:22.977757" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 12:49:23 +0000 (0:00:00.268) 0:00:25.633 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:67 Saturday 01 June 2024 12:49:23 +0000 (0:00:00.029) 0:00:25.662 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 01 June 2024 12:49:25 +0000 (0:00:02.049) 0:00:27.712 ********* included: /WORKDIR/git-weekly-ci41s79u_n/.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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 01 June 2024 12:49:25 +0000 (0:00:00.012) 0:00:27.724 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 01 June 2024 12:49:25 +0000 (0:00:00.018) 0:00:27.743 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 01 June 2024 12:49:25 +0000 (0:00:00.012) 0:00:27.755 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 01 June 2024 12:49:25 +0000 (0:00:00.011) 0:00:27.767 ********* 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-ci41s79u_n/.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_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 01 June 2024 12:49:25 +0000 (0:00:00.023) 0:00:27.791 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 01 June 2024 12:49:26 +0000 (0:00:01.382) 0:00:29.173 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 01 June 2024 12:49:27 +0000 (0:00:01.363) 0:00:30.537 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 01 June 2024 12:49:28 +0000 (0:00:00.249) 0:00:30.787 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 01 June 2024 12:49:28 +0000 (0:00:00.249) 0:00:31.037 ********* 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-01 12:49:13 UTC", "ActiveEnterTimestampMonotonic": "397543256", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice syslog.target sysinit.target dbus.socket systemd-journald.socket network.target dbus-broker.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-06-01 12:49:13 UTC", "AssertTimestampMonotonic": "397507605", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "982531000", "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-01 12:49:13 UTC", "ConditionTimestampMonotonic": "397507601", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5731", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "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": "5528", "ExecMainStartTimestamp": "Sat 2024-06-01 12:49:13 UTC", "ExecMainStartTimestampMonotonic": "397518258", "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-01 12:49:13 UTC] ; stop_time=[n/a] ; pid=5528 ; 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-01 12:49:13 UTC] ; stop_time=[n/a] ; pid=5528 ; 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": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "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-01 12:49:13 UTC", "InactiveExitTimestampMonotonic": "397518829", "InvocationID": "c01e07354ffe41c3bac2bdf2c7cc909c", "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": "14751", "LimitNPROCSoft": "14751", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14751", "LimitSIGPENDINGSoft": "14751", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5528", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3319812096", "MemoryCurrent": "4120576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "19861504", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "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 sysinit.target 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", "SetLoginEnvironment": "no", "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": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestamp": "Sat 2024-06-01 12:49:13 UTC", "StateChangeTimestampMonotonic": "397543256", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4425", "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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 01 June 2024 12:49:28 +0000 (0:00:00.423) 0:00:31.460 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 01 June 2024 12:49:30 +0000 (0:00:01.504) 0:00:32.965 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 01 June 2024 12:49:30 +0000 (0:00:00.031) 0:00:32.997 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 01 June 2024 12:49:30 +0000 (0:00:00.017) 0:00:33.014 ********* 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-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 01 June 2024 12:49:30 +0000 (0:00:00.018) 0:00:33.032 ********* 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-ci41s79u_n/tests/tests_fs_attrs.yml:85 Saturday 01 June 2024 12:49:30 +0000 (0:00:00.028) 0:00:33.061 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:112 Saturday 01 June 2024 12:49:32 +0000 (0:00:02.150) 0:00:35.211 ********* included: /WORKDIR/git-weekly-ci41s79u_n/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-ci41s79u_n/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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 12:49:32 +0000 (0:00:00.023) 0:00:35.234 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 12:49:32 +0000 (0:00:00.008) 0:00:35.243 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 12:49:32 +0000 (0:00:00.011) 0:00:35.255 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 12:49:32 +0000 (0:00:00.010) 0:00:35.266 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 12:49:32 +0000 (0:00:00.007) 0:00:35.274 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 12:49:34 +0000 (0:00:01.370) 0:00:36.645 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246169.516238, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "468b513c7c67d0a8dc03f512540e6e5e12d344e1", "ctime": 1717246169.6172335, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203514, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1717246169.512238, "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": "1125259192", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.234) 0:00:36.879 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.011) 0:00:36.890 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.020) 0:00:36.911 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.019) 0:00:36.930 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246169.4592404, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea6d4e85bcfc38d4ad528cde993ebd7f8e40cd17", "ctime": 1717246169.6192334, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203513, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1717246169.512238, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "160242777", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.234) 0:00:37.164 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.013) 0:00:37.178 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.021) 0:00:37.200 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "AE:9F:BA:09:39:A2:94:7E:70:B9:42:8A:CD:40:50:3A:73:E2:8D:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4D:88:77:A8:BA:D6:15:82:34:F2:8A:56:49:B7:D6:B8:16:39:FF:5C:A3:BA:CE:08:17:CA:48:82:9D:94:F9:10:12:BF:EF:BE:E5:7C:E6:E8:C6:E2:CA:6E:B6:14:D6:1B:2F:16:23:41:B9:05:C6:BC:2E:F5:37:BA:37:6F:39:F9:80:3E:AD:9F:04:DD:BB:FD:1D:E6:41:77:21:E1:AA:21:07:73:4A:DA:B0:46:40:85:96:57:F3:6F:4C:57:6F:FB:8E:1B:AD:5F:75:23:0B:B1:42:78:CF:4A:36:9F:81:78:F5:8C:C5:24:1F:F3:29:89:E5:D5:A7:9D:55:00:8E:89:67:AE:A7:56:4F:89:93:ED:25:36:0C:72:E7:37:2A:8D:B2:2B:52:89:10:20:FD:5D:51:8B:6B:72:01:68:72:1D:B0:50:5C:14:6B:E9:EE:74:A3:E2:D7:36:ED:20:F2:9C:76:06:90:2B:B4:57:46:B3:8B:DF:39:73:22:3A:A7:46:25:B5:43:D8:60:E5:A9:31:82:2C:AD:BB:B2:49:2D:00:2C:EA:D0:04:73:D3:13:9B:26:FF:EB:88:FA:C7:14:05:7C:91:AF:D5:FE:53:1C:C4:08:98:8F:8D:6A:00:A6:9E:D1:41:18:FA:FF:06:E1:E1:B3:4D:50:6C:BB:BA:05:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124929Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.283) 0:00:37.483 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "AE:9F:BA:09:39:A2:94:7E:70:B9:42:8A:CD:40:50:3A:73:E2:8D:E5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4D:88:77:A8:BA:D6:15:82:34:F2:8A:56:49:B7:D6:B8:16:39:FF:5C:A3:BA:CE:08:17:CA:48:82:9D:94:F9:10:12:BF:EF:BE:E5:7C:E6:E8:C6:E2:CA:6E:B6:14:D6:1B:2F:16:23:41:B9:05:C6:BC:2E:F5:37:BA:37:6F:39:F9:80:3E:AD:9F:04:DD:BB:FD:1D:E6:41:77:21:E1:AA:21:07:73:4A:DA:B0:46:40:85:96:57:F3:6F:4C:57:6F:FB:8E:1B:AD:5F:75:23:0B:B1:42:78:CF:4A:36:9F:81:78:F5:8C:C5:24:1F:F3:29:89:E5:D5:A7:9D:55:00:8E:89:67:AE:A7:56:4F:89:93:ED:25:36:0C:72:E7:37:2A:8D:B2:2B:52:89:10:20:FD:5D:51:8B:6B:72:01:68:72:1D:B0:50:5C:14:6B:E9:EE:74:A3:E2:D7:36:ED:20:F2:9C:76:06:90:2B:B4:57:46:B3:8B:DF:39:73:22:3A:A7:46:25:B5:43:D8:60:E5:A9:31:82:2C:AD:BB:B2:49:2D:00:2C:EA:D0:04:73:D3:13:9B:26:FF:EB:88:FA:C7:14:05:7C:91:AF:D5:FE:53:1C:C4:08:98:8F:8D:6A:00:A6:9E:D1:41:18:FA:FF:06:E1:E1:B3:4D:50:6C:BB:BA:05:58" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124929Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.011) 0:00:37.494 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.019) 0:00:37.513 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.010) 0:00:37.524 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.018) 0:00:37.543 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 12:49:34 +0000 (0:00:00.022) 0:00:37.565 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.021) 0:00:37.587 ********* 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.051839", "end": "2024-06-01 12:49:35.253315", "rc": 0, "start": "2024-06-01 12:49:35.201476" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.275) 0:00:37.862 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:2 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.020) 0:00:37.883 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:9 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.008) 0:00:37.892 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:14 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.012) 0:00:37.904 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:18 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.011) 0:00:37.916 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Saturday 01 June 2024 12:49:35 +0000 (0:00:00.008) 0:00:37.924 ********* 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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:38 Saturday 01 June 2024 12:49:36 +0000 (0:00:01.408) 0:00:39.333 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246170.2582057, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e0e4bbe13fc83abe80971a25c1d9a70feaee2749", "ctime": 1717246170.254206, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203520, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717246170.254206, "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": "3058118504", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:43 Saturday 01 June 2024 12:49:36 +0000 (0:00:00.234) 0:00:39.567 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:49 Saturday 01 June 2024 12:49:36 +0000 (0:00:00.012) 0:00:39.579 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:59 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.022) 0:00:39.602 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:65 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.021) 0:00:39.624 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1717246170.1992083, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f4e26ced81f331ad1bac4433f2f402eb519894f7", "ctime": 1717246170.253206, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203517, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1717246170.253206, "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": "3074040527", "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-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:70 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.236) 0:00:39.861 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:76 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.012) 0:00:39.873 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:86 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.021) 0:00:39.895 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "AF:E6:DE:A1:29:1A:59:2C:69:17:90:C8:23:9D:CC:B7:DE:12:FA:B8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4F:08:69:EF:45:C6:C2:C2:55:0E:78:FE:63:58:96:61:4A:D7:CC:86:60:B4:98:A3:EF:DE:FE:D2:00:D7:F5:4D:80:94:8D:78:48:CE:28:F2:85:C5:AC:E4:21:62:72:7B:3E:F3:E7:FB:1A:5F:EE:A5:A0:99:0C:88:E8:40:8F:32:16:51:17:74:15:6B:65:F1:A8:74:3B:45:78:E7:E9:28:DF:B3:E3:05:AB:6F:C2:D9:F6:F4:86:D7:B4:E6:03:17:F7:A7:66:2C:25:E7:D4:C0:0E:BE:BB:57:5D:18:1B:3E:9C:18:C6:F6:D3:4C:80:23:77:2B:59:A1:74:2E:E1:FE:54:60:61:DF:54:FA:D2:A8:90:71:1D:F8:A9:15:AC:F9:C8:C0:16:72:37:84:9E:23:DF:A2:4B:E6:D8:11:3C:4C:FC:1E:FD:E1:ED:31:BD:04:32:C1:B1:F9:E2:3B:7E:14:79:8B:2A:3E:92:FA:AA:4C:6A:78:2D:B4:97:77:E1:07:2A:78:A5:66:88:0E:2B:83:42:1A:34:0A:74:29:BF:D1:06:02:48:AA:A1:60:45:EE:F6:78:A8:F1:FF:51:C7:31:72:E0:66:AC:A6:F4:4E:4E:08:F5:EE:D1:B8:39:D3:2F:6A:65:6D:9D:60:42:47:D8:11:55:09:9A:A4:D4:32:CA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124930Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:92 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.288) 0:00:40.183 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "90:D1:D5:17:8C:14:29:16:8B:E3:FD:11:CB:76:A0:69:81:08:18:47" }, "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": "AF:E6:DE:A1:29:1A:59:2C:69:17:90:C8:23:9D:CC:B7:DE:12:FA:B8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "4F:08:69:EF:45:C6:C2:C2:55:0E:78:FE:63:58:96:61:4A:D7:CC:86:60:B4:98:A3:EF:DE:FE:D2:00:D7:F5:4D:80:94:8D:78:48:CE:28:F2:85:C5:AC:E4:21:62:72:7B:3E:F3:E7:FB:1A:5F:EE:A5:A0:99:0C:88:E8:40:8F:32:16:51:17:74:15:6B:65:F1:A8:74:3B:45:78:E7:E9:28:DF:B3:E3:05:AB:6F:C2:D9:F6:F4:86:D7:B4:E6:03:17:F7:A7:66:2C:25:E7:D4:C0:0E:BE:BB:57:5D:18:1B:3E:9C:18:C6:F6:D3:4C:80:23:77:2B:59:A1:74:2E:E1:FE:54:60:61:DF:54:FA:D2:A8:90:71:1D:F8:A9:15:AC:F9:C8:C0:16:72:37:84:9E:23:DF:A2:4B:E6:D8:11:3C:4C:FC:1E:FD:E1:ED:31:BD:04:32:C1:B1:F9:E2:3B:7E:14:79:8B:2A:3E:92:FA:AA:4C:6A:78:2D:B4:97:77:E1:07:2A:78:A5:66:88:0E:2B:83:42:1A:34:0A:74:29:BF:D1:06:02:48:AA:A1:60:45:EE:F6:78:A8:F1:FF:51:C7:31:72:E0:66:AC:A6:F4:4E:4E:08:F5:EE:D1:B8:39:D3:2F:6A:65:6D:9D:60:42:47:D8:11:55:09:9A:A4:D4:32:CA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250601124913Z", "not_valid_before": "20240601124930Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:96 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.012) 0:00:40.196 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:104 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.022) 0:00:40.218 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:112 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.013) 0:00:40.231 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:119 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.020) 0:00:40.252 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:130 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.023) 0:00:40.276 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:143 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.022) 0:00:40.299 ********* 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.052520", "end": "2024-06-01 12:49:37.968432", "rc": 0, "start": "2024-06-01 12:49:37.915912" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:152 Saturday 01 June 2024 12:49:37 +0000 (0:00:00.278) 0:00:40.577 ********* 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 01 June 2024 12:49:38 +0000 (0:00:00.024) 0:00:40.601 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.92s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.78s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.46s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:2 --------------------- Gathering Facts --------------------------------------------------------- 2.15s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 2.15s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 2.06s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:14 -------------------- Gathering Facts --------------------------------------------------------- 2.05s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:67 -------------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.79s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.50s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 1.41s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.39s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.38s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 1.38s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.37s /WORKDIR/git-weekly-ci41s79u_n/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.36s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.95s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure user exists ------------------------------------------------------ 0.58s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:5 --------------------- fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.43s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.42s /WORKDIR/git-weekly-ci41s79u_n/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure group "somegroup" exists ----------------------------------------- 0.35s /WORKDIR/git-weekly-ci41s79u_n/tests/tests_fs_attrs.yml:9 --------------------- ---^---^---^---^---^--- # 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. ---^---^---^---^---^---