# 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-ci057_mws6/.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-ci057_mws6/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:2 Saturday 15 June 2024 12:40:43 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:5 Saturday 15 June 2024 12:40:45 +0000 (0:00:02.354) 0:00:02.365 ********* 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-ci057_mws6/tests/tests_fs_attrs.yml:9 Saturday 15 June 2024 12:40:45 +0000 (0:00:00.523) 0:00:02.888 ********* 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-ci057_mws6/tests/tests_fs_attrs.yml:14 Saturday 15 June 2024 12:40:46 +0000 (0:00:00.398) 0:00:03.287 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 15 June 2024 12:40:48 +0000 (0:00:02.085) 0:00:05.372 ********* included: /WORKDIR/git-weekly-ci057_mws6/.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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 15 June 2024 12:40:48 +0000 (0:00:00.011) 0:00:05.384 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 15 June 2024 12:40:48 +0000 (0:00:00.017) 0:00:05.401 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 15 June 2024 12:40:48 +0000 (0:00:00.280) 0:00:05.682 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 15 June 2024 12:40:48 +0000 (0:00:00.014) 0:00:05.697 ********* 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-ci057_mws6/.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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 15 June 2024 12:40:48 +0000 (0:00:00.023) 0:00:05.720 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "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", "Installed: python3-pycparser-2.20-14.fc40.noarch", "Installed: python3-cffi-1.16.0-4.fc40.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 15 June 2024 12:40:53 +0000 (0:00:04.609) 0:00:10.329 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64", "Installed: certmonger-0.79.19-5.fc40.x86_64", "Installed: python3-packaging-23.2-4.fc40.noarch" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 15 June 2024 12:40:56 +0000 (0:00:03.647) 0:00:13.976 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 15 June 2024 12:40:57 +0000 (0:00:00.415) 0:00:14.392 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 15 June 2024 12:40:57 +0000 (0:00:00.270) 0:00:14.663 ********* 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": "syslog.target dbus-broker.service network.target systemd-journald.socket system.slice dbus.socket basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "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": "3483258880", "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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 15 June 2024 12:40:58 +0000 (0:00:00.957) 0:00:15.621 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 15 June 2024 12:41:00 +0000 (0:00:01.682) 0:00:17.303 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 15 June 2024 12:41:00 +0000 (0:00:00.029) 0:00:17.333 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 15 June 2024 12:41:00 +0000 (0:00:00.016) 0:00:17.350 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 15 June 2024 12:41:00 +0000 (0:00:00.017) 0:00:17.367 ********* 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-ci057_mws6/tests/tests_fs_attrs.yml:32 Saturday 15 June 2024 12:41:00 +0000 (0:00:00.027) 0:00:17.395 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:61 Saturday 15 June 2024 12:41:02 +0000 (0:00:02.229) 0:00:19.624 ********* included: /WORKDIR/git-weekly-ci057_mws6/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-ci057_mws6/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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:41:02 +0000 (0:00:00.021) 0:00:19.646 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:41:02 +0000 (0:00:00.008) 0:00:19.655 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:41:02 +0000 (0:00:00.011) 0:00:19.667 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:41:02 +0000 (0:00:00.010) 0:00:19.677 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:41:02 +0000 (0:00:00.007) 0:00:19.684 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:41:04 +0000 (0:00:01.437) 0:00:21.121 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455259.3510857, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e19e31ed31a3d796d607593924314db92f3bbae2", "ctime": 1718455259.4530845, "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": 1718455259.3470857, "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": "3067230951", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.235) 0:00:21.357 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.010) 0:00:21.368 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.020) 0:00:21.388 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.019) 0:00:21.407 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455259.2950864, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3d9aacb88b77bdec612f61a9e76640363d3a0ab0", "ctime": 1718455259.4540846, "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": 1718455259.3470857, "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": "2945630401", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.235) 0:00:21.643 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.010) 0:00:21.654 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:41:04 +0000 (0:00:00.020) 0:00:21.674 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "66:4B:F8:0E:37:BC:8D:EC:52:6E:FE:08:29:25:28:83:41:E7:F4:2F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "49:B0:30:04:B3:93:8E:CC:27:DA:F7:C2:2C:3E:49:23:92:03:B7:F9:75:B2:96:B3:62:54:E5:5E:1F:0C:4C:38:AD:D3:08:92:10:A3:1D:0A:5A:4D:9D:9E:19:B6:17:B2:09:52:B3:D7:C1:12:35:EC:FA:AA:7B:17:50:3D:FA:EC:B1:D0:5D:DD:F5:41:9F:9F:AE:20:22:2A:5A:4B:0B:52:47:51:BD:80:63:56:B1:F2:89:D0:76:17:D7:C4:54:E8:28:0A:57:53:6C:3C:EB:B8:B1:6B:06:1E:CE:36:1D:AE:0A:07:3A:2F:79:30:69:AF:24:03:4F:DD:E7:0B:26:A9:63:2F:E5:3C:FF:86:C2:A7:7E:80:BC:FE:3A:0B:23:76:20:F2:7F:F0:2D:EE:90:CB:CA:35:4C:CE:F1:C0:54:AC:B8:E8:FF:41:B7:C9:9B:94:F7:D5:AA:3D:6C:99:FE:45:B6:8B:08:22:D6:B8:7F:DD:D3:2F:A7:19:D9:52:8D:FB:BB:71:E4:0D:0B:73:36:7B:38:99:E5:62:C0:1C:4D:CD:BD:42:78:27:14:D8:D2:C1:1D:D0:1A:F5:9D:B8:0D:A7:B9:22:C5:5C:27:F3:F8:D4:89:E1:E3:94:DE:5C:B9:BA:24:9C:11:6D:E0:78:B2:02:4E:07:2C:76:FB:94:6B:9F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124059Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.346) 0:00:22.020 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "66:4B:F8:0E:37:BC:8D:EC:52:6E:FE:08:29:25:28:83:41:E7:F4:2F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "49:B0:30:04:B3:93:8E:CC:27:DA:F7:C2:2C:3E:49:23:92:03:B7:F9:75:B2:96:B3:62:54:E5:5E:1F:0C:4C:38:AD:D3:08:92:10:A3:1D:0A:5A:4D:9D:9E:19:B6:17:B2:09:52:B3:D7:C1:12:35:EC:FA:AA:7B:17:50:3D:FA:EC:B1:D0:5D:DD:F5:41:9F:9F:AE:20:22:2A:5A:4B:0B:52:47:51:BD:80:63:56:B1:F2:89:D0:76:17:D7:C4:54:E8:28:0A:57:53:6C:3C:EB:B8:B1:6B:06:1E:CE:36:1D:AE:0A:07:3A:2F:79:30:69:AF:24:03:4F:DD:E7:0B:26:A9:63:2F:E5:3C:FF:86:C2:A7:7E:80:BC:FE:3A:0B:23:76:20:F2:7F:F0:2D:EE:90:CB:CA:35:4C:CE:F1:C0:54:AC:B8:E8:FF:41:B7:C9:9B:94:F7:D5:AA:3D:6C:99:FE:45:B6:8B:08:22:D6:B8:7F:DD:D3:2F:A7:19:D9:52:8D:FB:BB:71:E4:0D:0B:73:36:7B:38:99:E5:62:C0:1C:4D:CD:BD:42:78:27:14:D8:D2:C1:1D:D0:1A:F5:9D:B8:0D:A7:B9:22:C5:5C:27:F3:F8:D4:89:E1:E3:94:DE:5C:B9:BA:24:9C:11:6D:E0:78:B2:02:4E:07:2C:76:FB:94:6B:9F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124059Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.010) 0:00:22.031 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.019) 0:00:22.051 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.010) 0:00:22.062 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.018) 0:00:22.080 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.021) 0:00:22.101 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.020) 0:00:22.122 ********* 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.048967", "end": "2024-06-15 12:41:05.446094", "rc": 0, "start": "2024-06-15 12:41:05.397127" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.331) 0:00:22.453 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.020) 0:00:22.474 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.008) 0:00:22.483 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.010) 0:00:22.493 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.011) 0:00:22.505 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:41:05 +0000 (0:00:00.009) 0:00:22.514 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:41:06 +0000 (0:00:01.435) 0:00:23.950 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455260.204076, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "00b71669e40507d7eff364ad2a40d8eb9f8012b1", "ctime": 1718455260.2840753, "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": 1718455260.200076, "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": "4285318443", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.238) 0:00:24.188 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.010) 0:00:24.199 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.021) 0:00:24.221 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.019) 0:00:24.240 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455260.1470768, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4c53e485ce0cfbf544dc1bf05e1ac86dbab32c01", "ctime": 1718455260.2840753, "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": 1718455260.200076, "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": "2958849511", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.236) 0:00:24.477 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.010) 0:00:24.488 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.020) 0:00:24.508 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "00:4A:C7:2F:31:F8:28:D5:60:E3:1B:FA:FD:F6:CD:D0:1B:44:F3:48" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:41:73:D4:BC:CD:0E:D3:2E:89:C5:3C:95:00:4F:92:CF:06:65:1F:2F:27:50:9B:F2:1A:FD:AB:93:41:73:1B:BC:9C:AC:02:68:54:6B:EA:60:BB:0E:DF:5C:35:A9:BC:C4:62:53:77:A7:1A:DF:A6:F6:CD:F4:1A:AE:53:73:AD:B4:96:F9:BA:FA:D6:40:B4:65:75:7E:C5:77:9B:E2:D7:0E:2A:1D:78:52:74:EA:20:00:D5:9E:0F:E7:14:37:D0:F4:D3:81:0D:49:5D:27:30:35:EB:96:8B:C2:B1:80:C9:B1:3F:A3:3E:95:35:21:2D:7B:86:13:7B:E8:0F:4A:3E:15:70:46:9F:17:4B:78:CF:57:6F:40:DF:08:40:CD:20:02:7E:6D:5A:2D:E0:9F:14:12:F9:03:AE:9F:5A:60:28:C1:A8:AE:3D:2C:E7:CE:51:2C:64:BF:38:84:DC:35:19:55:AC:63:5A:79:F5:86:7D:0A:D7:76:F4:0A:31:90:10:28:51:6C:25:FF:7D:5B:BB:93:8A:8F:2E:7C:A1:35:51:1C:F9:8B:81:92:01:AD:8F:A6:9D:C2:6D:8B:93:AA:35:30:9D:7A:44:C3:03:43:DF:61:47:6E:88:DC:FD:02:8D:6C:82:A5:98:52:BF:6D:91:D2:C9:05:C3:8B:C2:BA:05" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124100Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.285) 0:00:24.793 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "00:4A:C7:2F:31:F8:28:D5:60:E3:1B:FA:FD:F6:CD:D0:1B:44:F3:48" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7A:41:73:D4:BC:CD:0E:D3:2E:89:C5:3C:95:00:4F:92:CF:06:65:1F:2F:27:50:9B:F2:1A:FD:AB:93:41:73:1B:BC:9C:AC:02:68:54:6B:EA:60:BB:0E:DF:5C:35:A9:BC:C4:62:53:77:A7:1A:DF:A6:F6:CD:F4:1A:AE:53:73:AD:B4:96:F9:BA:FA:D6:40:B4:65:75:7E:C5:77:9B:E2:D7:0E:2A:1D:78:52:74:EA:20:00:D5:9E:0F:E7:14:37:D0:F4:D3:81:0D:49:5D:27:30:35:EB:96:8B:C2:B1:80:C9:B1:3F:A3:3E:95:35:21:2D:7B:86:13:7B:E8:0F:4A:3E:15:70:46:9F:17:4B:78:CF:57:6F:40:DF:08:40:CD:20:02:7E:6D:5A:2D:E0:9F:14:12:F9:03:AE:9F:5A:60:28:C1:A8:AE:3D:2C:E7:CE:51:2C:64:BF:38:84:DC:35:19:55:AC:63:5A:79:F5:86:7D:0A:D7:76:F4:0A:31:90:10:28:51:6C:25:FF:7D:5B:BB:93:8A:8F:2E:7C:A1:35:51:1C:F9:8B:81:92:01:AD:8F:A6:9D:C2:6D:8B:93:AA:35:30:9D:7A:44:C3:03:43:DF:61:47:6E:88:DC:FD:02:8D:6C:82:A5:98:52:BF:6D:91:D2:C9:05:C3:8B:C2:BA:05" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124100Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.012) 0:00:24.805 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.019) 0:00:24.825 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.010) 0:00:24.835 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.018) 0:00:24.854 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.021) 0:00:24.875 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:41:07 +0000 (0:00:00.020) 0:00:24.896 ********* 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.048680", "end": "2024-06-15 12:41:08.160469", "rc": 0, "start": "2024-06-15 12:41:08.111789" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:41:08 +0000 (0:00:00.271) 0:00:25.168 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:67 Saturday 15 June 2024 12:41:08 +0000 (0:00:00.027) 0:00:25.195 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 15 June 2024 12:41:10 +0000 (0:00:02.175) 0:00:27.370 ********* included: /WORKDIR/git-weekly-ci057_mws6/.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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 15 June 2024 12:41:10 +0000 (0:00:00.011) 0:00:27.381 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 15 June 2024 12:41:10 +0000 (0:00:00.017) 0:00:27.399 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 15 June 2024 12:41:10 +0000 (0:00:00.011) 0:00:27.410 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 15 June 2024 12:41:10 +0000 (0:00:00.010) 0:00:27.420 ********* 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-ci057_mws6/.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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 15 June 2024 12:41:10 +0000 (0:00:00.022) 0:00:27.443 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 15 June 2024 12:41:11 +0000 (0:00:01.428) 0:00:28.872 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 15 June 2024 12:41:13 +0000 (0:00:01.530) 0:00:30.402 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 15 June 2024 12:41:13 +0000 (0:00:00.252) 0:00:30.654 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 15 June 2024 12:41:13 +0000 (0:00:00.255) 0:00:30.910 ********* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-06-15 12:40:58 UTC", "ActiveEnterTimestampMonotonic": "421582254", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus-broker.service basic.target systemd-journald.socket network.target dbus.socket sysinit.target system.slice syslog.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-06-15 12:40:58 UTC", "AssertTimestampMonotonic": "421551253", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "890060000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-06-15 12:40:58 UTC", "ConditionTimestampMonotonic": "421551249", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5910", "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": "5536", "ExecMainStartTimestamp": "Sat 2024-06-15 12:40:58 UTC", "ExecMainStartTimestampMonotonic": "421559154", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-06-15 12:40:58 UTC] ; stop_time=[n/a] ; pid=5536 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-06-15 12:40:58 UTC] ; stop_time=[n/a] ; pid=5536 ; 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-15 12:40:58 UTC", "InactiveExitTimestampMonotonic": "421559462", "InvocationID": "968710b20a0440d0ae235bb11e3be91b", "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": "5536", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3450265600", "MemoryCurrent": "4112384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "19951616", "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": "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", "StateChangeTimestamp": "Sat 2024-06-15 12:40:58 UTC", "StateChangeTimestampMonotonic": "421582254", "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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 15 June 2024 12:41:14 +0000 (0:00:00.423) 0:00:31.333 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 15 June 2024 12:41:15 +0000 (0:00:01.271) 0:00:32.605 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 15 June 2024 12:41:15 +0000 (0:00:00.029) 0:00:32.635 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 15 June 2024 12:41:15 +0000 (0:00:00.016) 0:00:32.652 ********* 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-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 15 June 2024 12:41:15 +0000 (0:00:00.017) 0:00:32.669 ********* 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-ci057_mws6/tests/tests_fs_attrs.yml:85 Saturday 15 June 2024 12:41:15 +0000 (0:00:00.027) 0:00:32.697 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:112 Saturday 15 June 2024 12:41:17 +0000 (0:00:02.172) 0:00:34.870 ********* included: /WORKDIR/git-weekly-ci057_mws6/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-ci057_mws6/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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:41:17 +0000 (0:00:00.021) 0:00:34.892 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:41:17 +0000 (0:00:00.008) 0:00:34.900 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:41:17 +0000 (0:00:00.010) 0:00:34.911 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:41:17 +0000 (0:00:00.010) 0:00:34.922 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:41:17 +0000 (0:00:00.007) 0:00:34.929 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:41:19 +0000 (0:00:01.431) 0:00:36.361 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455274.8449054, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cd31b3c5e7ae5b07cf581bbc7a4f2e63d3099f9b", "ctime": 1718455274.961904, "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": 1718455274.8409054, "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": "780802431", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.235) 0:00:36.596 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.010) 0:00:36.607 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.020) 0:00:36.627 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.018) 0:00:36.646 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455274.788906, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4c20677579cdecac331dab38f14f3619091bc38e", "ctime": 1718455274.963904, "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": 1718455274.8409054, "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": "569810105", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.236) 0:00:36.882 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.010) 0:00:36.893 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:41:19 +0000 (0:00:00.021) 0:00:36.915 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "64:F9:74:44:94:E8:64:16:63:5F:0F:51:4E:EB:23:FA:22:BB:C1:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:D7:4E:70:7F:A4:C7:98:D3:4A:30:A8:58:AD:FE:7F:A6:A8:CD:F7:81:CF:9A:85:77:3B:DB:92:5F:EE:89:56:2F:9F:2F:C0:A0:35:00:20:F2:A2:6A:AB:A9:E3:BC:48:7F:F8:49:53:22:B3:66:5E:4D:9F:19:CF:EE:0C:6A:2F:32:7F:A9:DE:1D:38:F1:8C:F4:CA:DF:2C:46:84:20:BA:64:38:1A:85:F4:30:9D:CD:C9:7D:26:E3:C3:3C:77:4C:DF:CB:9E:D3:D3:E2:15:50:C9:A0:B6:62:1E:ED:74:72:03:5E:86:A8:A4:A7:5E:7B:24:2A:48:66:C4:5E:0A:41:78:BC:76:D0:C4:2D:CD:A9:B0:3D:9F:4A:88:4D:91:3B:32:3E:B6:F9:1A:E0:89:E0:D9:93:8C:29:CA:F4:40:3C:A5:7E:A7:58:9C:36:38:C1:AE:FD:26:0F:15:26:97:76:2B:B7:ED:75:D9:CD:F9:3B:B9:86:F5:86:CA:1B:36:92:D7:E2:82:3A:52:CD:A3:7B:A7:DF:71:97:69:3B:F9:CE:03:F6:FF:4A:0B:92:78:E6:F5:B0:A4:24:1C:B3:D7:37:7A:5B:B9:66:E0:FA:AD:BA:27:FE:4B:A5:38:29:E2:76:0F:93:90:EC:31:5D:CD:28:11:BE:A8:18:AB:F5:2C:86" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124114Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.288) 0:00:37.204 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "64:F9:74:44:94:E8:64:16:63:5F:0F:51:4E:EB:23:FA:22:BB:C1:11" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:D7:4E:70:7F:A4:C7:98:D3:4A:30:A8:58:AD:FE:7F:A6:A8:CD:F7:81:CF:9A:85:77:3B:DB:92:5F:EE:89:56:2F:9F:2F:C0:A0:35:00:20:F2:A2:6A:AB:A9:E3:BC:48:7F:F8:49:53:22:B3:66:5E:4D:9F:19:CF:EE:0C:6A:2F:32:7F:A9:DE:1D:38:F1:8C:F4:CA:DF:2C:46:84:20:BA:64:38:1A:85:F4:30:9D:CD:C9:7D:26:E3:C3:3C:77:4C:DF:CB:9E:D3:D3:E2:15:50:C9:A0:B6:62:1E:ED:74:72:03:5E:86:A8:A4:A7:5E:7B:24:2A:48:66:C4:5E:0A:41:78:BC:76:D0:C4:2D:CD:A9:B0:3D:9F:4A:88:4D:91:3B:32:3E:B6:F9:1A:E0:89:E0:D9:93:8C:29:CA:F4:40:3C:A5:7E:A7:58:9C:36:38:C1:AE:FD:26:0F:15:26:97:76:2B:B7:ED:75:D9:CD:F9:3B:B9:86:F5:86:CA:1B:36:92:D7:E2:82:3A:52:CD:A3:7B:A7:DF:71:97:69:3B:F9:CE:03:F6:FF:4A:0B:92:78:E6:F5:B0:A4:24:1C:B3:D7:37:7A:5B:B9:66:E0:FA:AD:BA:27:FE:4B:A5:38:29:E2:76:0F:93:90:EC:31:5D:CD:28:11:BE:A8:18:AB:F5:2C:86" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124114Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.010) 0:00:37.214 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.019) 0:00:37.234 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.010) 0:00:37.245 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.018) 0:00:37.263 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.022) 0:00:37.285 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.021) 0:00:37.306 ********* 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.052521", "end": "2024-06-15 12:41:20.577638", "rc": 0, "start": "2024-06-15 12:41:20.525117" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.280) 0:00:37.587 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:2 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.019) 0:00:37.607 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:9 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.008) 0:00:37.615 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:14 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.011) 0:00:37.627 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:18 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.011) 0:00:37.639 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Saturday 15 June 2024 12:41:20 +0000 (0:00:00.007) 0:00:37.646 ********* 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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:38 Saturday 15 June 2024 12:41:22 +0000 (0:00:01.435) 0:00:39.082 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455275.4988976, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "465db8f221c9cd022b1f1a61daa224de4e20a7d4", "ctime": 1718455275.4948976, "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": 1718455275.4948976, "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": "4146730390", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:43 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.238) 0:00:39.321 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:49 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.010) 0:00:39.331 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:59 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.020) 0:00:39.352 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:65 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.019) 0:00:39.371 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1718455275.441898, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f1220560c0d946bfcd15ae19450ea61bfe342f99", "ctime": 1718455275.4948976, "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": 1718455275.4948976, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1298091817", "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-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:70 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.237) 0:00:39.608 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:76 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.010) 0:00:39.619 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:86 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.020) 0:00:39.640 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "0A:C5:93:46:8F:67:0D:2B:52:EF:76:54:3A:3A:4C:3F:1E:C9:7F:4E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "65:1F:2F:ED:04:4E:D1:5E:A5:73:1A:69:B5:F4:89:0C:07:0A:7F:1D:40:DA:51:CC:9B:76:A9:E1:86:0C:AB:9B:39:32:7D:8D:EC:D4:84:B6:D1:DA:34:12:FA:54:54:A3:D8:18:63:79:FB:DF:87:41:91:6A:3C:73:A7:E4:86:3B:68:E9:9D:63:A1:40:04:12:47:39:B8:93:42:C0:6D:0D:4D:70:BB:6F:D9:E5:2D:38:E7:9B:7D:6F:9B:DF:4C:19:2A:3D:22:59:60:56:6F:DA:99:7E:6B:60:90:09:EC:88:84:08:BA:5E:51:31:C8:6C:4C:7A:02:C5:DE:F6:07:88:97:54:96:17:DA:6C:45:DE:8C:3A:84:0D:87:13:6E:0C:72:D9:F5:14:E3:E1:F4:0C:6C:AB:B4:64:21:C7:70:32:63:D6:47:06:63:F2:61:AD:8A:E3:C1:EF:24:47:20:BF:AE:0C:A2:AB:E1:5D:C2:58:91:68:A0:02:87:C8:F3:9F:F5:E8:D7:F1:77:96:E8:7E:0A:13:73:E4:95:F8:B8:A0:AF:ED:1E:56:61:81:98:EE:45:F9:4A:87:64:D9:7C:E7:8E:79:37:00:43:3F:A6:BA:53:D0:8D:F0:25:FB:57:FA:79:D7:EC:39:58:93:9E:36:AD:D6:25:F8:AA:89:DA:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124115Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:92 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.286) 0:00:39.926 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "B7:B5:A2:55:17:74:56:A5:08:FC:9E:8A:56:E4:35:69:E5:5F:DA:D2" }, "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": "0A:C5:93:46:8F:67:0D:2B:52:EF:76:54:3A:3A:4C:3F:1E:C9:7F:4E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "65:1F:2F:ED:04:4E:D1:5E:A5:73:1A:69:B5:F4:89:0C:07:0A:7F:1D:40:DA:51:CC:9B:76:A9:E1:86:0C:AB:9B:39:32:7D:8D:EC:D4:84:B6:D1:DA:34:12:FA:54:54:A3:D8:18:63:79:FB:DF:87:41:91:6A:3C:73:A7:E4:86:3B:68:E9:9D:63:A1:40:04:12:47:39:B8:93:42:C0:6D:0D:4D:70:BB:6F:D9:E5:2D:38:E7:9B:7D:6F:9B:DF:4C:19:2A:3D:22:59:60:56:6F:DA:99:7E:6B:60:90:09:EC:88:84:08:BA:5E:51:31:C8:6C:4C:7A:02:C5:DE:F6:07:88:97:54:96:17:DA:6C:45:DE:8C:3A:84:0D:87:13:6E:0C:72:D9:F5:14:E3:E1:F4:0C:6C:AB:B4:64:21:C7:70:32:63:D6:47:06:63:F2:61:AD:8A:E3:C1:EF:24:47:20:BF:AE:0C:A2:AB:E1:5D:C2:58:91:68:A0:02:87:C8:F3:9F:F5:E8:D7:F1:77:96:E8:7E:0A:13:73:E4:95:F8:B8:A0:AF:ED:1E:56:61:81:98:EE:45:F9:4A:87:64:D9:7C:E7:8E:79:37:00:43:3F:A6:BA:53:D0:8D:F0:25:FB:57:FA:79:D7:EC:39:58:93:9E:36:AD:D6:25:F8:AA:89:DA:94" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250615124058Z", "not_valid_before": "20240615124115Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:96 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.012) 0:00:39.938 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:104 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.020) 0:00:39.959 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:112 Saturday 15 June 2024 12:41:22 +0000 (0:00:00.011) 0:00:39.970 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:119 Saturday 15 June 2024 12:41:23 +0000 (0:00:00.019) 0:00:39.989 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:130 Saturday 15 June 2024 12:41:23 +0000 (0:00:00.021) 0:00:40.011 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:143 Saturday 15 June 2024 12:41:23 +0000 (0:00:00.020) 0:00:40.031 ********* 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.052141", "end": "2024-06-15 12:41:23.300066", "rc": 0, "start": "2024-06-15 12:41:23.247925" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:152 Saturday 15 June 2024 12:41:23 +0000 (0:00:00.275) 0:00:40.306 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 15 June 2024 12:41:23 +0000 (0:00:00.024) 0:00:40.331 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.61s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.65s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.35s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:2 --------------------- Gathering Facts --------------------------------------------------------- 2.23s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 2.18s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:67 -------------------- Gathering Facts --------------------------------------------------------- 2.17s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 2.09s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:14 -------------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.68s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.53s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.44s /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.44s /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.44s /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.43s /WORKDIR/git-weekly-ci057_mws6/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.43s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.27s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.96s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure user exists ------------------------------------------------------ 0.52s /WORKDIR/git-weekly-ci057_mws6/tests/tests_fs_attrs.yml:5 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.42s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.42s /WORKDIR/git-weekly-ci057_mws6/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure group "somegroup" exists ----------------------------------------- 0.40s /WORKDIR/git-weekly-ci057_mws6/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. ---^---^---^---^---^---