# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cif68lym7g/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:2 Saturday 03 August 2024 12:43:10 +0000 (0:00:00.018) 0:00:00.019 ******* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:5 Saturday 03 August 2024 12:43:11 +0000 (0:00:00.916) 0:00:00.935 ******* 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-cif68lym7g/tests/tests_fs_attrs.yml:9 Saturday 03 August 2024 12:43:12 +0000 (0:00:00.430) 0:00:01.366 ******* 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-cif68lym7g/tests/tests_fs_attrs.yml:14 Saturday 03 August 2024 12:43:12 +0000 (0:00:00.336) 0:00:01.702 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.680) 0:00:02.383 ******* included: /WORKDIR/git-weekly-cif68lym7g/.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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.011) 0:00:02.394 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.012) 0:00:02.406 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.245) 0:00:02.652 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.014) 0:00:02.667 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 12:43:13 +0000 (0:00:00.024) 0:00:02.691 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pyasn1-0.5.1-4.el10.noarch", "Installed: python3-cffi-1.16.0-5.el10.x86_64", "Installed: python3-cryptography-41.0.7-2.el10.x86_64", "Installed: python3-ply-3.11-24.el10.noarch", "Installed: python3-pycparser-2.20-15.el10.noarch" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 12:43:16 +0000 (0:00:02.734) 0:00:05.426 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: nspr-4.35.0-27.el10.x86_64", "Installed: nss-3.101.0-6.el10.x86_64", "Installed: certmonger-0.79.20-2.el10.x86_64", "Installed: dbus-tools-1:1.14.10-4.el10.x86_64", "Installed: nss-softokn-3.101.0-6.el10.x86_64", "Installed: nss-softokn-freebl-3.101.0-6.el10.x86_64", "Installed: nss-sysinit-3.101.0-6.el10.x86_64", "Installed: python3-packaging-23.2-5.el10.noarch", "Installed: nss-util-3.101.0-6.el10.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 12:43:19 +0000 (0:00:02.991) 0:00:08.417 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 12:43:19 +0000 (0:00:00.290) 0:00:08.708 ******* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 12:43:19 +0000 (0:00:00.219) 0:00:08.928 ******* 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.socket system.slice network.target basic.target systemd-journald.socket sysinit.target dbus-broker.service", "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", "DynamicUser": "no", "EffectiveMemoryHigh": "3700944896", "EffectiveMemoryMax": "3700944896", "EffectiveTasksMax": "22402", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestampMonotonic": "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "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": "3282419712", "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", "MemoryZSwapWriteback": "yes", "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 system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "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": "22402", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 12:43:20 +0000 (0:00:00.833) 0:00:09.761 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 12:43:22 +0000 (0:00:01.717) 0:00:11.479 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 12:43:22 +0000 (0:00:00.024) 0:00:11.503 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 12:43:22 +0000 (0:00:00.011) 0:00:11.514 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 12:43:22 +0000 (0:00:00.012) 0:00:11.527 ******* 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-cif68lym7g/tests/tests_fs_attrs.yml:32 Saturday 03 August 2024 12:43:22 +0000 (0:00:00.024) 0:00:11.552 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:61 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.682) 0:00:12.234 ******* included: /WORKDIR/git-weekly-cif68lym7g/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-cif68lym7g/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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.021) 0:00:12.256 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.009) 0:00:12.266 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.012) 0:00:12.278 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.011) 0:00:12.290 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.007) 0:00:12.297 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:43:23 +0000 (0:00:00.713) 0:00:13.010 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689001.2782257, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0e56ce0daff03afa44a54673b7a957a1a9cc496c", "ctime": 1722689001.4072258, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6405303, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722689001.2762258, "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": "3507263891", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.210) 0:00:13.220 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.011) 0:00:13.232 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.020) 0:00:13.253 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.016) 0:00:13.269 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689001.2302258, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6ce0fa1e6e1300f0b53ff85b27c8848d814ddbbf", "ctime": 1722689001.4082258, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4899906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722689001.2762258, "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": "1432473010", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.202) 0:00:13.471 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.011) 0:00:13.483 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.016) 0:00:13.499 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "21:2D:44:1A:E5:34:29:C3:69:11:F1:CD:A2:B8:EE:21:00:2C:D1:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:04:24:C7:F7:6C:F6:0F:EE:1C:76:2A:90:32:66:E0:91:3D:11:4D:41:05:0A:76:6C:CB:53:84:2B:C7:59:91:85:C4:04:70:E2:69:EB:BC:23:BC:76:43:26:76:8B:DA:BC:24:94:1D:E4:E1:5D:D1:9B:FB:E3:01:E8:44:C3:F0:5C:5F:4F:36:BE:E3:91:AD:8E:78:00:C2:1E:1B:D9:DC:EB:B3:B0:4C:A9:3D:79:05:EB:42:79:C3:23:12:D4:1A:E9:82:FF:16:DE:0F:4D:37:C3:CA:43:C0:FF:F6:FA:1D:95:ED:D8:8E:25:F1:F9:CB:D7:FE:B0:23:09:FE:66:6F:E7:E3:A4:8D:4B:58:07:8E:30:62:04:8B:30:A4:B1:95:C0:3A:FB:F2:ED:6E:05:5E:8D:46:1A:AC:FB:C9:E5:9B:CF:28:DD:C3:07:B3:8D:11:DD:0D:4B:1C:90:B1:4F:A2:CC:13:B8:BE:EA:B9:37:91:1C:A0:CA:F8:08:49:0E:DC:E3:2D:A6:12:93:E0:83:FF:76:66:35:5A:B9:B5:FE:A9:D4:D6:F1:9B:92:2B:F9:EE:EC:2E:8E:83:CB:84:A9:A4:95:AA:AA:2A:57:DE:15:02:BF:01:6C:30:4D:A6:E9:59:BB:94:FF:51:D5:02:28:AC:4B:C3:07:BD:84:FD:99:B1" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124321Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.298) 0:00:13.797 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "21:2D:44:1A:E5:34:29:C3:69:11:F1:CD:A2:B8:EE:21:00:2C:D1:06" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "68:04:24:C7:F7:6C:F6:0F:EE:1C:76:2A:90:32:66:E0:91:3D:11:4D:41:05:0A:76:6C:CB:53:84:2B:C7:59:91:85:C4:04:70:E2:69:EB:BC:23:BC:76:43:26:76:8B:DA:BC:24:94:1D:E4:E1:5D:D1:9B:FB:E3:01:E8:44:C3:F0:5C:5F:4F:36:BE:E3:91:AD:8E:78:00:C2:1E:1B:D9:DC:EB:B3:B0:4C:A9:3D:79:05:EB:42:79:C3:23:12:D4:1A:E9:82:FF:16:DE:0F:4D:37:C3:CA:43:C0:FF:F6:FA:1D:95:ED:D8:8E:25:F1:F9:CB:D7:FE:B0:23:09:FE:66:6F:E7:E3:A4:8D:4B:58:07:8E:30:62:04:8B:30:A4:B1:95:C0:3A:FB:F2:ED:6E:05:5E:8D:46:1A:AC:FB:C9:E5:9B:CF:28:DD:C3:07:B3:8D:11:DD:0D:4B:1C:90:B1:4F:A2:CC:13:B8:BE:EA:B9:37:91:1C:A0:CA:F8:08:49:0E:DC:E3:2D:A6:12:93:E0:83:FF:76:66:35:5A:B9:B5:FE:A9:D4:D6:F1:9B:92:2B:F9:EE:EC:2E:8E:83:CB:84:A9:A4:95:AA:AA:2A:57:DE:15:02:BF:01:6C:30:4D:A6:E9:59:BB:94:FF:51:D5:02:28:AC:4B:C3:07:BD:84:FD:99:B1" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124321Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.011) 0:00:13.808 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.013) 0:00:13.822 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.010) 0:00:13.833 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.013) 0:00:13.846 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.016) 0:00:13.862 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:43:24 +0000 (0:00:00.017) 0:00:13.879 ******* 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.036350", "end": "2024-08-03 12:43:25.112193", "rc": 0, "start": "2024-08-03 12:43:25.075843" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.273) 0:00:14.153 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.014) 0:00:14.168 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.007) 0:00:14.175 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.010) 0:00:14.186 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.010) 0:00:14.196 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.008) 0:00:14.205 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.610) 0:00:14.816 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689002.3392262, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a6d6b44f8e21fe69db890497786338ebdd4aa3b8", "ctime": 1722689002.4242263, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 6405304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722689002.3362262, "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": "1815435245", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:43:25 +0000 (0:00:00.203) 0:00:15.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.011) 0:00:15.031 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.016) 0:00:15.047 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.014) 0:00:15.061 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689002.2862263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "211a6fd85d22e11f14b87f25febe241836ec0ab2", "ctime": 1722689002.4242263, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 4899907, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1722689002.3362262, "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": "832383379", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.200) 0:00:15.262 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.010) 0:00:15.273 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.015) 0:00:15.288 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "69:DC:2F:F3:CE:BF:C3:4D:6B:ED:CC:79:DB:70:80:EA:87:0E:D5:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "E6:35:D2:20:40:0C:12:7C:AE:87:04:CD:AF:E8:33:82:9B:31:E6:AB:E3:3D:FE:50:E0:24:B0:A1:99:E6:2A:4D:56:C6:33:00:E2:AE:B7:D1:70:84:5C:B4:D5:1F:6C:4A:16:A3:CC:83:81:97:A0:EC:F5:5C:F3:1A:39:8E:10:F2:44:57:31:EA:D8:B7:9B:FA:31:F3:C7:EF:EE:EB:6B:07:E4:49:E9:49:EE:A7:E6:65:79:C5:B6:0D:A9:FC:F0:8E:73:41:B6:3F:7A:B7:39:3E:16:87:BD:91:BD:CA:31:63:2D:60:60:08:A1:43:03:50:E3:00:40:F7:57:F0:EC:01:E3:3C:84:8E:47:DA:45:91:84:A2:B0:08:8D:9D:85:EE:DC:26:68:B4:F1:64:8F:3A:84:3C:15:05:7D:46:BE:0A:E5:89:B5:44:02:97:D6:D7:95:DA:BA:8A:9E:2E:C0:56:E1:BF:48:0F:71:6F:F5:4B:44:B8:D5:DF:BD:8E:78:CE:A6:AF:33:E2:10:C2:E0:E2:C3:7C:87:8A:BB:1C:CF:E2:41:9E:F0:28:59:11:B2:8D:65:92:0B:9B:50:22:13:AA:D9:1C:42:8F:C0:0D:DB:CD:AC:C1:6E:BF:DA:17:F8:BF:2E:7F:16:3F:CC:A1:9C:2B:AF:81:4B:DA:3E:E8:9D:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124322Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.239) 0:00:15.527 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "69:DC:2F:F3:CE:BF:C3:4D:6B:ED:CC:79:DB:70:80:EA:87:0E:D5:08" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "E6:35:D2:20:40:0C:12:7C:AE:87:04:CD:AF:E8:33:82:9B:31:E6:AB:E3:3D:FE:50:E0:24:B0:A1:99:E6:2A:4D:56:C6:33:00:E2:AE:B7:D1:70:84:5C:B4:D5:1F:6C:4A:16:A3:CC:83:81:97:A0:EC:F5:5C:F3:1A:39:8E:10:F2:44:57:31:EA:D8:B7:9B:FA:31:F3:C7:EF:EE:EB:6B:07:E4:49:E9:49:EE:A7:E6:65:79:C5:B6:0D:A9:FC:F0:8E:73:41:B6:3F:7A:B7:39:3E:16:87:BD:91:BD:CA:31:63:2D:60:60:08:A1:43:03:50:E3:00:40:F7:57:F0:EC:01:E3:3C:84:8E:47:DA:45:91:84:A2:B0:08:8D:9D:85:EE:DC:26:68:B4:F1:64:8F:3A:84:3C:15:05:7D:46:BE:0A:E5:89:B5:44:02:97:D6:D7:95:DA:BA:8A:9E:2E:C0:56:E1:BF:48:0F:71:6F:F5:4B:44:B8:D5:DF:BD:8E:78:CE:A6:AF:33:E2:10:C2:E0:E2:C3:7C:87:8A:BB:1C:CF:E2:41:9E:F0:28:59:11:B2:8D:65:92:0B:9B:50:22:13:AA:D9:1C:42:8F:C0:0D:DB:CD:AC:C1:6E:BF:DA:17:F8:BF:2E:7F:16:3F:CC:A1:9C:2B:AF:81:4B:DA:3E:E8:9D:04" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124322Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.012) 0:00:15.539 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.021) 0:00:15.561 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.011) 0:00:15.573 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.014) 0:00:15.587 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.029) 0:00:15.617 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.017) 0:00:15.634 ******* 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.034348", "end": "2024-08-03 12:43:26.817987", "rc": 0, "start": "2024-08-03 12:43:26.783639" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.227) 0:00:15.861 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:67 Saturday 03 August 2024 12:43:26 +0000 (0:00:00.023) 0:00:15.884 ******* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 03 August 2024 12:43:28 +0000 (0:00:01.686) 0:00:17.571 ******* included: /WORKDIR/git-weekly-cif68lym7g/.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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 03 August 2024 12:43:28 +0000 (0:00:00.011) 0:00:17.582 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 03 August 2024 12:43:28 +0000 (0:00:00.012) 0:00:17.595 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 03 August 2024 12:43:28 +0000 (0:00:00.010) 0:00:17.606 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 03 August 2024 12:43:28 +0000 (0:00:00.009) 0:00:17.616 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [sut] => (item=CentOS_10.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 03 August 2024 12:43:28 +0000 (0:00:00.023) 0:00:17.639 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 03 August 2024 12:43:29 +0000 (0:00:00.595) 0:00:18.234 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 03 August 2024 12:43:29 +0000 (0:00:00.607) 0:00:18.842 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 03 August 2024 12:43:30 +0000 (0:00:00.216) 0:00:19.059 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 03 August 2024 12:43:30 +0000 (0:00:00.221) 0:00:19.280 ******* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-08-03 12:43:20 UTC", "ActiveEnterTimestampMonotonic": "247827910", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target dbus-broker.service system.slice syslog.target network.target systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 12:43:20 UTC", "AssertTimestampMonotonic": "247789193", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "832901000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-03 12:43:20 UTC", "ConditionTimestampMonotonic": "247789190", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "4636", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveMemoryHigh": "3700944896", "EffectiveMemoryMax": "3700944896", "EffectiveTasksMax": "22402", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainHandoffTimestamp": "Sat 2024-08-03 12:43:20 UTC", "ExecMainHandoffTimestampMonotonic": "247801514", "ExecMainPID": "8089", "ExecMainStartTimestamp": "Sat 2024-08-03 12:43:20 UTC", "ExecMainStartTimestampMonotonic": "247790331", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-08-03 12:43:20 UTC] ; stop_time=[n/a] ; pid=8089 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-08-03 12:43:20 UTC] ; stop_time=[n/a] ; pid=8089 ; 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-08-03 12:43:20 UTC", "InactiveExitTimestampMonotonic": "247792442", "InvocationID": "b5ac10bc38874c01aec96412ce7c0575", "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": "14001", "LimitNPROCSoft": "14001", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14001", "LimitSIGPENDINGSoft": "14001", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8089", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3272024064", "MemoryCurrent": "2539520", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "11403264", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MemoryZSwapWriteback": "yes", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target dbus.socket system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "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-08-03 12:43:20 UTC", "StateChangeTimestampMonotonic": "247827910", "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": "22402", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 03 August 2024 12:43:30 +0000 (0:00:00.386) 0:00:19.667 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 03 August 2024 12:43:31 +0000 (0:00:01.164) 0:00:20.831 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 03 August 2024 12:43:31 +0000 (0:00:00.028) 0:00:20.860 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 03 August 2024 12:43:31 +0000 (0:00:00.013) 0:00:20.873 ******* 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-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 03 August 2024 12:43:31 +0000 (0:00:00.013) 0:00:20.887 ******* 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-cif68lym7g/tests/tests_fs_attrs.yml:85 Saturday 03 August 2024 12:43:31 +0000 (0:00:00.024) 0:00:20.911 ******* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:112 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.712) 0:00:21.624 ******* included: /WORKDIR/git-weekly-cif68lym7g/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-cif68lym7g/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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.021) 0:00:21.645 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.007) 0:00:21.652 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.010) 0:00:21.663 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.010) 0:00:21.674 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:43:32 +0000 (0:00:00.007) 0:00:21.682 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.585) 0:00:22.268 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689011.0942304, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "907d591508b96e290a6fb461c38c55c1b4e2336f", "ctime": 1722689011.2062304, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 6405305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722689011.0922303, "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": "3344065325", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.199) 0:00:22.468 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.010) 0:00:22.479 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.015) 0:00:22.494 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.014) 0:00:22.508 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689011.0502303, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7b722741b9dc15bbe39d8f2b4f3c42a25a03b29e", "ctime": 1722689011.2072303, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 4899905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1722689011.0922303, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "2321903863", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.204) 0:00:22.712 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.011) 0:00:22.723 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.016) 0:00:22.739 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "D2:2B:5D:6B:FA:E9:67:71:E7:00:48:FC:D0:9D:9F:19:12:0E:92:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:4E:E1:8E:75:5E:48:C3:F9:7D:76:75:46:66:46:23:3B:2A:AF:8C:B4:A2:B0:EA:5B:4C:C9:64:A4:20:81:22:CD:08:E1:54:5F:49:05:0C:F1:CD:34:BF:87:71:0B:0C:5E:79:98:54:2B:5D:D9:FC:C8:95:7E:4A:A5:72:C7:8A:9A:E4:9A:4B:5B:49:87:17:B0:1C:75:4D:49:CA:AA:A6:7F:13:54:A2:8C:BF:A1:CF:43:6F:4D:1B:87:A2:68:76:41:E3:10:52:D3:C4:2D:6B:AB:B9:C6:35:0B:1B:A7:1B:7E:89:2B:90:58:81:15:BB:B1:3A:0D:65:72:32:7E:C2:09:1F:4D:4A:90:89:7C:8A:99:84:5C:70:D5:6F:1D:01:9F:69:31:E0:E0:B5:35:A0:58:82:57:E1:D5:7B:49:F6:80:05:21:1C:16:C9:AD:EA:77:61:7D:47:A3:5E:45:7C:AD:60:34:BE:02:63:49:D8:19:4D:C9:4E:8D:64:78:91:9D:BE:C9:DD:D3:E8:43:A0:5E:F6:CA:74:37:9C:00:A2:67:A6:9F:83:F8:B7:DB:AF:C7:02:00:80:7C:79:7F:DB:6A:FA:98:0B:80:96:F4:1A:7B:A3:16:0C:61:D2:B6:09:7A:2C:EB:93:6C:66:52:4C:60:EB:98:81:DC:04:8B:44" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124331Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.241) 0:00:22.980 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "D2:2B:5D:6B:FA:E9:67:71:E7:00:48:FC:D0:9D:9F:19:12:0E:92:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "16:4E:E1:8E:75:5E:48:C3:F9:7D:76:75:46:66:46:23:3B:2A:AF:8C:B4:A2:B0:EA:5B:4C:C9:64:A4:20:81:22:CD:08:E1:54:5F:49:05:0C:F1:CD:34:BF:87:71:0B:0C:5E:79:98:54:2B:5D:D9:FC:C8:95:7E:4A:A5:72:C7:8A:9A:E4:9A:4B:5B:49:87:17:B0:1C:75:4D:49:CA:AA:A6:7F:13:54:A2:8C:BF:A1:CF:43:6F:4D:1B:87:A2:68:76:41:E3:10:52:D3:C4:2D:6B:AB:B9:C6:35:0B:1B:A7:1B:7E:89:2B:90:58:81:15:BB:B1:3A:0D:65:72:32:7E:C2:09:1F:4D:4A:90:89:7C:8A:99:84:5C:70:D5:6F:1D:01:9F:69:31:E0:E0:B5:35:A0:58:82:57:E1:D5:7B:49:F6:80:05:21:1C:16:C9:AD:EA:77:61:7D:47:A3:5E:45:7C:AD:60:34:BE:02:63:49:D8:19:4D:C9:4E:8D:64:78:91:9D:BE:C9:DD:D3:E8:43:A0:5E:F6:CA:74:37:9C:00:A2:67:A6:9F:83:F8:B7:DB:AF:C7:02:00:80:7C:79:7F:DB:6A:FA:98:0B:80:96:F4:1A:7B:A3:16:0C:61:D2:B6:09:7A:2C:EB:93:6C:66:52:4C:60:EB:98:81:DC:04:8B:44" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124331Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.012) 0:00:22.993 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.015) 0:00:23.008 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:43:33 +0000 (0:00:00.011) 0:00:23.020 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.014) 0:00:23.034 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.017) 0:00:23.051 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.015) 0:00:23.067 ******* 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.037318", "end": "2024-08-03 12:43:34.250682", "rc": 0, "start": "2024-08-03 12:43:34.213364" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.225) 0:00:23.293 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:2 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.016) 0:00:23.309 ******* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:9 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.009) 0:00:23.319 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:14 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.010) 0:00:23.329 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:18 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.010) 0:00:23.340 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.007) 0:00:23.348 ******* 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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:38 Saturday 03 August 2024 12:43:34 +0000 (0:00:00.601) 0:00:23.950 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689011.6692305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "14dbbd0d365f46e1c741df00d3693daf07bd7a35", "ctime": 1722689011.6662307, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6405306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689011.6662307, "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": "446656338", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:43 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.204) 0:00:24.154 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:49 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.011) 0:00:24.166 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:59 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.016) 0:00:24.182 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:65 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.015) 0:00:24.198 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1722689011.6222305, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e4220df60a4cddc111fc3f2aa34ff0bb0548f33", "ctime": 1722689011.6662307, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4899908, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1722689011.6662307, "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": "3512231552", "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-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:70 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.224) 0:00:24.422 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:76 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.011) 0:00:24.434 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.017) 0:00:24.452 ******* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "6B:08:9F:25:71:44:DA:0D:17:B1:2F:F2:99:64:5A:62:CD:58:6F:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "E3:6E:97:2D:CC:BC:3D:99:0A:66:E0:72:9C:67:02:47:A5:0F:AA:3C:42:08:37:E9:FA:B6:6C:B8:8D:F5:FF:E3:A0:9E:DD:49:90:DE:39:BB:19:66:A3:99:5A:74:DD:8C:C8:5B:7E:43:54:97:29:E9:AD:CE:B3:4B:76:5D:69:61:2B:20:BF:85:64:02:8E:23:06:7C:F7:7C:2B:FA:05:E3:28:D2:06:7A:96:23:AD:85:EC:89:60:B5:17:70:99:DE:3A:90:2B:68:7B:FB:C7:79:FD:C1:6B:FF:69:3B:B1:05:16:AE:C5:6E:E1:01:9C:F9:F4:93:BF:70:05:55:E1:13:3C:64:BE:E5:D4:9F:D0:D4:70:01:F1:01:F6:BC:A8:62:6D:74:0E:DB:96:4B:38:DC:43:0F:79:47:FC:35:CC:A3:63:3E:8A:52:E0:F6:55:92:72:C1:E4:A7:A0:C3:8D:E2:E4:7A:25:76:0E:A3:CC:A6:BF:39:41:3E:DD:2C:FB:50:A1:09:B7:D4:6C:33:BF:69:1C:E7:B4:D1:B0:DE:58:0F:6B:FA:0A:77:7E:68:AA:30:5D:6E:8D:8C:A3:59:BB:AC:EE:68:CF:3D:A2:5B:C8:02:30:5D:5C:53:A9:E1:F0:5A:13:B5:49:DD:AF:C8:F3:1E:20:B3:37:D6:F3:89:65:DB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124331Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:92 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.241) 0:00:24.693 ******* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "28:06:0C:70:43:70:49:03:69:EE:5D:7B:2C:B6:E4:27:C9:97:F9:DD" }, "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": "6B:08:9F:25:71:44:DA:0D:17:B1:2F:F2:99:64:5A:62:CD:58:6F:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "E3:6E:97:2D:CC:BC:3D:99:0A:66:E0:72:9C:67:02:47:A5:0F:AA:3C:42:08:37:E9:FA:B6:6C:B8:8D:F5:FF:E3:A0:9E:DD:49:90:DE:39:BB:19:66:A3:99:5A:74:DD:8C:C8:5B:7E:43:54:97:29:E9:AD:CE:B3:4B:76:5D:69:61:2B:20:BF:85:64:02:8E:23:06:7C:F7:7C:2B:FA:05:E3:28:D2:06:7A:96:23:AD:85:EC:89:60:B5:17:70:99:DE:3A:90:2B:68:7B:FB:C7:79:FD:C1:6B:FF:69:3B:B1:05:16:AE:C5:6E:E1:01:9C:F9:F4:93:BF:70:05:55:E1:13:3C:64:BE:E5:D4:9F:D0:D4:70:01:F1:01:F6:BC:A8:62:6D:74:0E:DB:96:4B:38:DC:43:0F:79:47:FC:35:CC:A3:63:3E:8A:52:E0:F6:55:92:72:C1:E4:A7:A0:C3:8D:E2:E4:7A:25:76:0E:A3:CC:A6:BF:39:41:3E:DD:2C:FB:50:A1:09:B7:D4:6C:33:BF:69:1C:E7:B4:D1:B0:DE:58:0F:6B:FA:0A:77:7E:68:AA:30:5D:6E:8D:8C:A3:59:BB:AC:EE:68:CF:3D:A2:5B:C8:02:30:5D:5C:53:A9:E1:F0:5A:13:B5:49:DD:AF:C8:F3:1E:20:B3:37:D6:F3:89:65:DB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250803124320Z", "not_valid_before": "20240803124331Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:96 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.011) 0:00:24.705 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:104 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.015) 0:00:24.720 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:112 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.012) 0:00:24.733 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:119 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.014) 0:00:24.747 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:130 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.018) 0:00:24.766 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:143 Saturday 03 August 2024 12:43:35 +0000 (0:00:00.025) 0:00:24.792 ******* 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.038622", "end": "2024-08-03 12:43:35.983647", "rc": 0, "start": "2024-08-03 12:43:35.945025" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:152 Saturday 03 August 2024 12:43:36 +0000 (0:00:00.234) 0:00:25.026 ******* 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 03 August 2024 12:43:36 +0000 (0:00:00.030) 0:00:25.056 ******* =============================================================================== fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.99s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.73s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.72s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.69s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:67 -------------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.16s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.92s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:2 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.83s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.71s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:14 -------------------- Ensure python3 is installed --------------------------------------------- 0.61s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.61s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.60s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 0.60s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 0.59s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:28 Ensure user exists ------------------------------------------------------ 0.43s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:5 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.39s /WORKDIR/git-weekly-cif68lym7g/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure group "somegroup" exists ----------------------------------------- 0.34s /WORKDIR/git-weekly-cif68lym7g/tests/tests_fs_attrs.yml:9 --------------------- Parse certificate ------------------------------------------------------- 0.30s /WORKDIR/git-weekly-cif68lym7g/tests/tasks/assert_certificate_parameters.yml:86 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---