# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cioz_u_aqx/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:2 Saturday 22 June 2024 14:35:30 +0000 (0:00:00.011) 0:00:00.012 ********* ok: [sut] TASK [Ensure user exists] ****************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:5 Saturday 22 June 2024 14:35:32 +0000 (0:00:02.327) 0:00:02.339 ********* 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-cioz_u_aqx/tests/tests_fs_attrs.yml:9 Saturday 22 June 2024 14:35:33 +0000 (0:00:00.548) 0:00:02.887 ********* 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-cioz_u_aqx/tests/tests_fs_attrs.yml:14 Saturday 22 June 2024 14:35:33 +0000 (0:00:00.328) 0:00:03.215 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 22 June 2024 14:35:35 +0000 (0:00:02.119) 0:00:05.334 ********* included: /WORKDIR/git-weekly-cioz_u_aqx/.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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 22 June 2024 14:35:35 +0000 (0:00:00.011) 0:00:05.346 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 22 June 2024 14:35:35 +0000 (0:00:00.018) 0:00:05.364 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 22 June 2024 14:35:36 +0000 (0:00:00.270) 0:00:05.635 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 22 June 2024 14:35:36 +0000 (0:00:00.015) 0:00:05.650 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 22 June 2024 14:35:36 +0000 (0:00:00.025) 0:00:05.675 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-ply-3.11-23.fc40.noarch", "Installed: python3-cryptography-41.0.7-1.fc40.x86_64", "Installed: python3-pyasn1-0.5.1-3.fc40.noarch", "Installed: python3-pycparser-2.20-14.fc40.noarch", "Installed: python3-cffi-1.16.0-4.fc40.x86_64" ] } lsrpackages: python3-cryptography python3-dbus python3-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 22 June 2024 14:35:40 +0000 (0:00:04.579) 0:00:10.254 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "rc": 0, "results": [ "Installed: certmonger-0.79.19-5.fc40.x86_64", "Installed: python3-packaging-23.2-4.fc40.noarch", "Installed: dbus-tools-1:1.14.10-3.fc40.x86_64" ] } lsrpackages: certmonger python3-packaging TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 22 June 2024 14:35:44 +0000 (0:00:03.682) 0:00:13.936 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 22 June 2024 14:35:44 +0000 (0:00:00.344) 0:00:14.281 ********* changed: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 22 June 2024 14:35:45 +0000 (0:00:00.241) 0:00:14.523 ********* 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": "network.target systemd-journald.socket basic.target dbus-broker.service system.slice dbus.socket syslog.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14750", "LimitNPROCSoft": "14750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14750", "LimitSIGPENDINGSoft": "14750", "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": "3528900608", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "[not set]", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "[not set]", "MemorySwapMax": "infinity", "MemorySwapPeak": "[not set]", "MemoryZSwapCurrent": "[not set]", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "15", "RestartMaxDelayUSec": "infinity", "RestartMode": "normal", "RestartSteps": "0", "RestartUSec": "100ms", "RestartUSecNext": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RootEphemeral": "no", "RootImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SetLoginEnvironment": "no", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StartupMemoryHigh": "infinity", "StartupMemoryLow": "0", "StartupMemoryMax": "infinity", "StartupMemorySwapMax": "infinity", "StartupMemoryZSwapMax": "infinity", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4425", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 22 June 2024 14:35:46 +0000 (0:00:00.940) 0:00:15.463 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 22 June 2024 14:35:47 +0000 (0:00:01.485) 0:00:16.948 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 22 June 2024 14:35:47 +0000 (0:00:00.039) 0:00:16.988 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 22 June 2024 14:35:47 +0000 (0:00:00.022) 0:00:17.010 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 22 June 2024 14:35:47 +0000 (0:00:00.021) 0:00:17.032 ********* skipping: [sut] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:32 Saturday 22 June 2024 14:35:47 +0000 (0:00:00.032) 0:00:17.064 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:61 Saturday 22 June 2024 14:35:49 +0000 (0:00:02.263) 0:00:19.327 ********* included: /WORKDIR/git-weekly-cioz_u_aqx/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-cioz_u_aqx/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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:2 Saturday 22 June 2024 14:35:49 +0000 (0:00:00.024) 0:00:19.352 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:9 Saturday 22 June 2024 14:35:49 +0000 (0:00:00.009) 0:00:19.361 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:14 Saturday 22 June 2024 14:35:49 +0000 (0:00:00.013) 0:00:19.375 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:18 Saturday 22 June 2024 14:35:49 +0000 (0:00:00.012) 0:00:19.387 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 Saturday 22 June 2024 14:35:49 +0000 (0:00:00.009) 0:00:19.397 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:38 Saturday 22 June 2024 14:35:51 +0000 (0:00:01.370) 0:00:20.767 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066946.6280894, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "781026e9e65cae06b59c3d4a3931967d5157737a", "ctime": 1719066946.7580914, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203857, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1719066946.6250894, "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": "4156514284", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:43 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.223) 0:00:20.990 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:49 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.012) 0:00:21.003 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:59 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.023) 0:00:21.027 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:65 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.022) 0:00:21.049 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066946.5780888, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3c278ce6add63c34d30a4d93577178e41c83d567", "ctime": 1719066946.7590914, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203856, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1719066946.6250894, "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": "1662306276", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:70 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.225) 0:00:21.275 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:76 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.012) 0:00:21.288 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:86 Saturday 22 June 2024 14:35:51 +0000 (0:00:00.023) 0:00:21.311 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "E9:FC:3D:44:AC:73:FF:2F:96:CF:68:C3:F8:D9:3D:94:ED:DC:D2:7F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7C:33:C4:EE:72:B1:FA:30:B1:16:1E:20:B5:47:B7:AD:1A:FC:44:D9:B2:12:FE:9E:84:38:74:0C:E9:4A:C6:BD:65:24:C3:DB:C6:EE:7A:5F:DA:19:80:4A:52:A3:51:D9:FE:2E:67:60:8D:36:83:CF:71:D1:02:18:7B:15:84:C7:3A:20:1F:EC:15:33:5D:AE:9D:3A:6C:5F:E9:CE:75:1F:D1:A5:12:32:86:6C:E3:A5:86:A2:72:C6:14:9C:CA:0C:4F:70:C4:D3:96:70:F0:0F:0C:9B:D2:62:9D:90:71:60:53:EC:DD:14:E6:30:95:C9:EC:29:1E:DE:E2:2D:A7:AE:8E:F1:AF:D4:7C:7D:8A:BC:0E:73:C4:F0:AE:58:D5:F5:78:98:4E:56:65:3E:F0:71:FB:E3:BC:BB:AF:89:AF:AB:D7:06:FC:2B:C4:8A:16:D6:69:88:B0:F0:10:48:A2:5D:7D:F1:05:0F:79:25:02:C1:20:F7:AA:4E:75:7E:3A:E0:96:D5:2A:56:CA:3E:51:7D:CD:EF:2D:70:28:0A:44:D1:DE:4E:4E:0D:3D:6F:38:9E:E3:AB:01:25:5C:FE:E7:AE:41:64:17:C5:94:D4:A3:5E:17:EC:4F:10:71:17:92:FA:03:34:7A:F9:33:9C:89:E0:BE:C1:31:6E:23:5B:D8:F6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143546Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:92 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.340) 0:00:21.651 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "E9:FC:3D:44:AC:73:FF:2F:96:CF:68:C3:F8:D9:3D:94:ED:DC:D2:7F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7C:33:C4:EE:72:B1:FA:30:B1:16:1E:20:B5:47:B7:AD:1A:FC:44:D9:B2:12:FE:9E:84:38:74:0C:E9:4A:C6:BD:65:24:C3:DB:C6:EE:7A:5F:DA:19:80:4A:52:A3:51:D9:FE:2E:67:60:8D:36:83:CF:71:D1:02:18:7B:15:84:C7:3A:20:1F:EC:15:33:5D:AE:9D:3A:6C:5F:E9:CE:75:1F:D1:A5:12:32:86:6C:E3:A5:86:A2:72:C6:14:9C:CA:0C:4F:70:C4:D3:96:70:F0:0F:0C:9B:D2:62:9D:90:71:60:53:EC:DD:14:E6:30:95:C9:EC:29:1E:DE:E2:2D:A7:AE:8E:F1:AF:D4:7C:7D:8A:BC:0E:73:C4:F0:AE:58:D5:F5:78:98:4E:56:65:3E:F0:71:FB:E3:BC:BB:AF:89:AF:AB:D7:06:FC:2B:C4:8A:16:D6:69:88:B0:F0:10:48:A2:5D:7D:F1:05:0F:79:25:02:C1:20:F7:AA:4E:75:7E:3A:E0:96:D5:2A:56:CA:3E:51:7D:CD:EF:2D:70:28:0A:44:D1:DE:4E:4E:0D:3D:6F:38:9E:E3:AB:01:25:5C:FE:E7:AE:41:64:17:C5:94:D4:A3:5E:17:EC:4F:10:71:17:92:FA:03:34:7A:F9:33:9C:89:E0:BE:C1:31:6E:23:5B:D8:F6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143546Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:96 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.012) 0:00:21.664 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:104 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.023) 0:00:21.687 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:112 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.012) 0:00:21.700 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:119 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.024) 0:00:21.724 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:130 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.025) 0:00:21.750 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:143 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.025) 0:00:21.775 ********* 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.039738", "end": "2024-06-22 14:35:52.633385", "rc": 0, "start": "2024-06-22 14:35:52.593647" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:152 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.314) 0:00:22.089 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:2 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.021) 0:00:22.111 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:9 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.008) 0:00:22.120 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:14 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.012) 0:00:22.133 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:18 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.013) 0:00:22.146 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 Saturday 22 June 2024 14:35:52 +0000 (0:00:00.008) 0:00:22.155 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:38 Saturday 22 June 2024 14:35:54 +0000 (0:00:01.364) 0:00:23.519 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066947.3621001, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5a4df18a5b0a9cc0a47c90eafb2b0236f85e7f11", "ctime": 1719066947.4761019, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203859, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1719066947.3591, "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": "3471156617", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:43 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.224) 0:00:23.744 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:49 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.012) 0:00:23.757 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:59 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.023) 0:00:23.780 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:65 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.021) 0:00:23.802 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066947.3120995, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4dfc8b86fe1d5fefd77cca23327ac0d5cae78dbb", "ctime": 1719066947.4771018, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 203858, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1719066947.3591, "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": "758620809", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:70 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.223) 0:00:24.025 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:76 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.011) 0:00:24.036 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:86 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.021) 0:00:24.058 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "75:22:08:16:A7:B2:99:AF:69:74:D1:04:74:59:EE:98:64:7C:46:E4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "98:52:A1:58:99:F5:90:87:CC:59:A0:B6:D1:4D:42:D5:72:EC:67:30:71:6F:F3:C0:92:3C:8D:EB:EB:F7:14:14:CB:43:0B:83:5D:06:2C:38:32:AB:62:4E:88:5B:EC:64:E8:62:66:16:AD:66:BE:D6:BD:A8:8C:47:B6:1F:09:A3:CF:50:D4:52:46:BE:23:E2:27:DE:52:30:C8:53:F8:1F:87:A2:38:80:84:9E:B5:88:C4:58:E2:70:18:B1:9D:C5:BB:C7:06:EA:A7:71:D2:0E:B1:42:18:CD:B8:4B:60:C4:A0:37:39:42:B7:F9:56:5F:7F:04:DB:F7:6A:03:55:65:46:9E:95:D8:E6:CD:CB:3C:92:B1:38:48:52:49:26:4F:EB:51:36:74:04:45:C0:23:98:21:C9:4D:6C:39:13:7D:46:6F:98:51:0E:5B:97:20:FE:C4:1F:3F:CD:FD:20:A6:0A:C2:72:73:67:0D:86:93:28:4C:35:EF:7C:E4:3B:D5:E5:0F:73:56:7F:86:10:D0:60:60:81:CF:23:39:E2:AA:D0:CD:5B:6A:AE:BB:49:36:90:9F:D8:C0:B2:B3:83:EA:F0:A9:03:A6:23:68:99:62:F6:82:21:78:72:BF:A3:2D:DB:49:26:89:50:C4:E0:46:28:CF:60:0F:02:9E:EE:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143547Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:92 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.269) 0:00:24.328 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "75:22:08:16:A7:B2:99:AF:69:74:D1:04:74:59:EE:98:64:7C:46:E4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "98:52:A1:58:99:F5:90:87:CC:59:A0:B6:D1:4D:42:D5:72:EC:67:30:71:6F:F3:C0:92:3C:8D:EB:EB:F7:14:14:CB:43:0B:83:5D:06:2C:38:32:AB:62:4E:88:5B:EC:64:E8:62:66:16:AD:66:BE:D6:BD:A8:8C:47:B6:1F:09:A3:CF:50:D4:52:46:BE:23:E2:27:DE:52:30:C8:53:F8:1F:87:A2:38:80:84:9E:B5:88:C4:58:E2:70:18:B1:9D:C5:BB:C7:06:EA:A7:71:D2:0E:B1:42:18:CD:B8:4B:60:C4:A0:37:39:42:B7:F9:56:5F:7F:04:DB:F7:6A:03:55:65:46:9E:95:D8:E6:CD:CB:3C:92:B1:38:48:52:49:26:4F:EB:51:36:74:04:45:C0:23:98:21:C9:4D:6C:39:13:7D:46:6F:98:51:0E:5B:97:20:FE:C4:1F:3F:CD:FD:20:A6:0A:C2:72:73:67:0D:86:93:28:4C:35:EF:7C:E4:3B:D5:E5:0F:73:56:7F:86:10:D0:60:60:81:CF:23:39:E2:AA:D0:CD:5B:6A:AE:BB:49:36:90:9F:D8:C0:B2:B3:83:EA:F0:A9:03:A6:23:68:99:62:F6:82:21:78:72:BF:A3:2D:DB:49:26:89:50:C4:E0:46:28:CF:60:0F:02:9E:EE:84" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143547Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:96 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.013) 0:00:24.341 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:104 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.022) 0:00:24.363 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:112 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.013) 0:00:24.377 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:119 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.021) 0:00:24.399 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:130 Saturday 22 June 2024 14:35:54 +0000 (0:00:00.024) 0:00:24.424 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:143 Saturday 22 June 2024 14:35:55 +0000 (0:00:00.022) 0:00:24.447 ********* 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.040697", "end": "2024-06-22 14:35:55.236923", "rc": 0, "start": "2024-06-22 14:35:55.196226" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:152 Saturday 22 June 2024 14:35:55 +0000 (0:00:00.245) 0:00:24.693 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:67 Saturday 22 June 2024 14:35:55 +0000 (0:00:00.031) 0:00:24.724 ********* ok: [sut] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Saturday 22 June 2024 14:35:57 +0000 (0:00:02.129) 0:00:26.853 ********* included: /WORKDIR/git-weekly-cioz_u_aqx/.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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Saturday 22 June 2024 14:35:57 +0000 (0:00:00.015) 0:00:26.869 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Saturday 22 June 2024 14:35:57 +0000 (0:00:00.020) 0:00:26.890 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Saturday 22 June 2024 14:35:57 +0000 (0:00:00.012) 0:00:26.903 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Saturday 22 June 2024 14:35:57 +0000 (0:00:00.012) 0:00:26.915 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=Fedora.yml) => { "ansible_facts": { "__certificate_certmonger_packages": [ "certmonger", "python3-packaging" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Saturday 22 June 2024 14:35:57 +0000 (0:00:00.025) 0:00:26.941 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Saturday 22 June 2024 14:35:58 +0000 (0:00:01.375) 0:00:28.316 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Saturday 22 June 2024 14:36:00 +0000 (0:00:01.371) 0:00:29.687 ********* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Saturday 22 June 2024 14:36:00 +0000 (0:00:00.245) 0:00:29.933 ********* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Saturday 22 June 2024 14:36:00 +0000 (0:00:00.245) 0:00:30.178 ********* ok: [sut] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:certmonger_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-06-22 14:35:45 UTC", "ActiveEnterTimestampMonotonic": "474306803", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target dbus.socket dbus-broker.service sysinit.target network.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-06-22 14:35:45 UTC", "AssertTimestampMonotonic": "474251256", "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": "907144000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-06-22 14:35:45 UTC", "ConditionTimestampMonotonic": "474251253", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlGroupId": "5781", "ControlPID": "0", "CoredumpFilter": "0x33", "CoredumpReceive": "no", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DefaultStartupMemoryLow": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "5525", "ExecMainStartTimestamp": "Sat 2024-06-22 14:35:45 UTC", "ExecMainStartTimestampMonotonic": "474256088", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Sat 2024-06-22 14:35:45 UTC] ; stop_time=[n/a] ; pid=5525 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; flags= ; start_time=[Sat 2024-06-22 14:35:45 UTC] ; stop_time=[n/a] ; pid=5525 ; code=(null) ; status=0/0 }", "ExitType": "main", "ExtensionImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FileDescriptorStorePreserve": "restart", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "[not set]", "IOReadOperations": "[not set]", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "[not set]", "IOWriteOperations": "[not set]", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-06-22 14:35:45 UTC", "InactiveExitTimestampMonotonic": "474256303", "InvocationID": "6a1c4bec11724e58acea8ae3101678d4", "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": "14750", "LimitNPROCSoft": "14750", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14750", "LimitSIGPENDINGSoft": "14750", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "5525", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "3441631232", "MemoryCurrent": "4026368", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryKSM": "no", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "10543104", "MemoryPressureThresholdUSec": "200ms", "MemoryPressureWatch": "auto", "MemorySwapCurrent": "0", "MemorySwapMax": "infinity", "MemorySwapPeak": "0", "MemoryZSwapCurrent": "0", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "MountImagePolicy": "root=verity+signed+encrypted+unprotected+absent:usr=verity+signed+encrypted+unprotected+absent:home=encrypted+unprotected+absent:srv=encrypted+unprotected+absent:tmp=encrypted+unprotected+absent:var=encrypted+unprotected+absent", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus-broker.service", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket 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", "StateChangeTimestamp": "Sat 2024-06-22 14:35:45 UTC", "StateChangeTimestampMonotonic": "474306803", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SurviveFinalKillSignal": "no", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "4425", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Saturday 22 June 2024 14:36:01 +0000 (0:00:00.410) 0:00:30.589 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Saturday 22 June 2024 14:36:02 +0000 (0:00:01.229) 0:00:31.818 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Saturday 22 June 2024 14:36:02 +0000 (0:00:00.033) 0:00:31.852 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Saturday 22 June 2024 14:36:02 +0000 (0:00:00.019) 0:00:31.871 ********* 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-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Saturday 22 June 2024 14:36:02 +0000 (0:00:00.020) 0:00:31.892 ********* 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-cioz_u_aqx/tests/tests_fs_attrs.yml:85 Saturday 22 June 2024 14:36:02 +0000 (0:00:00.032) 0:00:31.924 ********* ok: [sut] TASK [Verify each certificate] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:112 Saturday 22 June 2024 14:36:04 +0000 (0:00:02.175) 0:00:34.099 ********* included: /WORKDIR/git-weekly-cioz_u_aqx/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-cioz_u_aqx/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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:2 Saturday 22 June 2024 14:36:04 +0000 (0:00:00.023) 0:00:34.123 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:9 Saturday 22 June 2024 14:36:04 +0000 (0:00:00.009) 0:00:34.132 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:14 Saturday 22 June 2024 14:36:04 +0000 (0:00:00.012) 0:00:34.144 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:18 Saturday 22 June 2024 14:36:04 +0000 (0:00:00.012) 0:00:34.156 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 Saturday 22 June 2024 14:36:04 +0000 (0:00:00.009) 0:00:34.165 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:38 Saturday 22 June 2024 14:36:06 +0000 (0:00:01.371) 0:00:35.537 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066961.6283076, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "649aa4b1b780d8bf97639a3ab8b3ceb584f30438", "ctime": 1719066961.7503092, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203861, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1719066961.6253076, "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": "494270939", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:43 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.220) 0:00:35.758 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:49 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.010) 0:00:35.769 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:59 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.021) 0:00:35.790 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:65 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.020) 0:00:35.811 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066961.5783067, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2a24407302fd1e1df9fdfed598f1de4a1c08bb49", "ctime": 1719066961.7523093, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 203860, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1719066961.6243074, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "776312131", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:70 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.222) 0:00:36.033 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:76 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.012) 0:00:36.045 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:86 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.021) 0:00:36.067 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "80:CC:32:D5:DA:5D:3C:57:7F:22:1E:5A:53:32:B0:8A:2F:22:C7:56" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B9:84:E6:84:4E:85:A8:5B:E0:88:C2:BF:24:78:E4:E2:1B:6F:3C:5E:D0:40:E4:A7:1F:E7:49:50:E1:99:30:D9:06:26:02:18:81:79:C4:03:06:82:AA:94:EB:F7:D9:7C:14:CE:FD:9A:43:B6:85:BD:BF:41:FE:AB:E6:5E:9A:E8:EA:E8:04:B9:2D:C3:42:A5:11:A2:C2:1D:31:5C:95:0D:1A:B8:4C:E7:6D:39:AB:AD:73:C0:3D:17:7E:F4:B5:FD:5D:4B:9C:69:6B:9D:3B:42:91:76:9F:4F:64:0E:6B:60:25:E9:D8:28:7B:48:2F:4D:64:62:3F:93:1E:38:13:78:8E:21:BF:A0:D3:79:D6:10:CA:20:DF:7A:8B:78:16:97:B2:05:9E:8C:EA:EC:26:17:BB:0B:66:41:BB:31:27:04:09:F5:69:EE:CF:44:EA:20:92:AA:46:34:7A:60:1D:79:E9:62:B1:16:64:16:A5:E3:9C:C5:AE:36:56:8F:91:6D:45:EE:8F:C4:5C:AA:13:8D:2F:99:E0:EC:E6:B7:25:4F:EB:B1:78:F9:FC:A3:57:8E:DA:00:3A:BF:1B:63:04:A4:F8:AC:EC:99:CD:09:2A:92:B7:2B:35:92:76:54:75:2D:75:10:98:12:B7:5D:92:49:81:FE:5D:0A:52:0C:94:C0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143601Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:92 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.270) 0:00:36.337 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "80:CC:32:D5:DA:5D:3C:57:7F:22:1E:5A:53:32:B0:8A:2F:22:C7:56" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B9:84:E6:84:4E:85:A8:5B:E0:88:C2:BF:24:78:E4:E2:1B:6F:3C:5E:D0:40:E4:A7:1F:E7:49:50:E1:99:30:D9:06:26:02:18:81:79:C4:03:06:82:AA:94:EB:F7:D9:7C:14:CE:FD:9A:43:B6:85:BD:BF:41:FE:AB:E6:5E:9A:E8:EA:E8:04:B9:2D:C3:42:A5:11:A2:C2:1D:31:5C:95:0D:1A:B8:4C:E7:6D:39:AB:AD:73:C0:3D:17:7E:F4:B5:FD:5D:4B:9C:69:6B:9D:3B:42:91:76:9F:4F:64:0E:6B:60:25:E9:D8:28:7B:48:2F:4D:64:62:3F:93:1E:38:13:78:8E:21:BF:A0:D3:79:D6:10:CA:20:DF:7A:8B:78:16:97:B2:05:9E:8C:EA:EC:26:17:BB:0B:66:41:BB:31:27:04:09:F5:69:EE:CF:44:EA:20:92:AA:46:34:7A:60:1D:79:E9:62:B1:16:64:16:A5:E3:9C:C5:AE:36:56:8F:91:6D:45:EE:8F:C4:5C:AA:13:8D:2F:99:E0:EC:E6:B7:25:4F:EB:B1:78:F9:FC:A3:57:8E:DA:00:3A:BF:1B:63:04:A4:F8:AC:EC:99:CD:09:2A:92:B7:2B:35:92:76:54:75:2D:75:10:98:12:B7:5D:92:49:81:FE:5D:0A:52:0C:94:C0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143601Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:96 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.011) 0:00:36.349 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:104 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.022) 0:00:36.372 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:112 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.011) 0:00:36.384 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:119 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.021) 0:00:36.406 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:130 Saturday 22 June 2024 14:36:06 +0000 (0:00:00.025) 0:00:36.431 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:143 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.024) 0:00:36.455 ********* 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.039820", "end": "2024-06-22 14:36:07.249973", "rc": 0, "start": "2024-06-22 14:36:07.210153" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:152 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.254) 0:00:36.710 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:2 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.023) 0:00:36.733 ********* ok: [sut] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:9 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.008) 0:00:36.742 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:14 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.013) 0:00:36.755 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:18 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.012) 0:00:36.767 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 Saturday 22 June 2024 14:36:07 +0000 (0:00:00.009) 0:00:36.777 ********* 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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:38 Saturday 22 June 2024 14:36:08 +0000 (0:00:01.390) 0:00:38.168 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066962.2623167, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0f9b42d0b1a16379985fa7e20b0064610b00e92a", "ctime": 1719066962.2593167, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203863, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1719066962.2593167, "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": "1663320403", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:43 Saturday 22 June 2024 14:36:08 +0000 (0:00:00.231) 0:00:38.399 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:49 Saturday 22 June 2024 14:36:08 +0000 (0:00:00.014) 0:00:38.414 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:59 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.025) 0:00:38.440 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:65 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.028) 0:00:38.468 ********* ok: [sut] => { "changed": false, "stat": { "atime": 1719066962.2113159, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b043ef53796b637785ccfa4b31be91d5c586ffb1", "ctime": 1719066962.2593167, "dev": 51714, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 203862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1719066962.2593167, "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": "3309618235", "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-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:70 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.221) 0:00:38.690 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:76 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.012) 0:00:38.702 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:86 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.033) 0:00:38.735 ********* ok: [sut] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "1D:77:74:3C:6E:2B:4B:30:45:07:58:66:E6:73:1C:75:65:5B:9B:BE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "96:FA:E8:28:04:65:84:0A:5B:AE:FE:63:D9:CE:8B:5A:B3:53:1E:E8:54:AD:AB:E6:46:CD:01:E4:10:49:85:D1:56:A7:03:4A:C3:DF:4C:0E:07:DC:D2:86:18:BE:17:BE:85:9A:54:35:00:F8:44:DB:5F:25:89:4D:17:8B:F6:C7:EF:C7:A0:F3:A7:D6:49:D1:D2:77:D0:18:54:CA:7C:01:62:0D:3F:54:B1:C6:B3:F9:8A:C7:E2:79:72:1C:88:F6:59:F2:97:61:7B:6C:3C:29:95:05:E4:E0:18:DF:38:9D:35:A1:94:2C:74:E9:C3:7A:42:5E:F9:A3:3A:FC:B6:A6:61:6C:40:40:0F:93:4B:CA:D6:CC:C9:3A:77:6E:5B:52:75:09:D8:10:EC:95:9A:38:E2:B8:3D:0C:FE:54:04:E3:11:A9:0B:0E:E7:94:3D:0D:29:86:B2:6F:EC:FE:1A:CA:8F:48:53:47:76:5A:15:37:E4:7A:11:DA:30:1A:FC:11:3E:43:B6:02:1E:F8:2A:6F:30:F2:C2:DB:1B:E5:15:62:D2:19:D0:E9:22:C8:88:60:7E:5F:F4:7B:E6:AC:C4:D3:C1:27:AB:31:BD:61:8A:2D:89:8D:7E:D7:1F:8E:91:9C:16:B8:74:12:92:64:DD:EA:03:5C:F1:E5:21:9F:8C:E7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143602Z" } }, "changed": false } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:92 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.271) 0:00:39.006 ********* ok: [sut] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "2C:8E:D4:8F:0E:39:35:F8:83:8B:6F:18:F9:62:8C:51:B9:EE:D5:CF" }, "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": "1D:77:74:3C:6E:2B:4B:30:45:07:58:66:E6:73:1C:75:65:5B:9B:BE" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "96:FA:E8:28:04:65:84:0A:5B:AE:FE:63:D9:CE:8B:5A:B3:53:1E:E8:54:AD:AB:E6:46:CD:01:E4:10:49:85:D1:56:A7:03:4A:C3:DF:4C:0E:07:DC:D2:86:18:BE:17:BE:85:9A:54:35:00:F8:44:DB:5F:25:89:4D:17:8B:F6:C7:EF:C7:A0:F3:A7:D6:49:D1:D2:77:D0:18:54:CA:7C:01:62:0D:3F:54:B1:C6:B3:F9:8A:C7:E2:79:72:1C:88:F6:59:F2:97:61:7B:6C:3C:29:95:05:E4:E0:18:DF:38:9D:35:A1:94:2C:74:E9:C3:7A:42:5E:F9:A3:3A:FC:B6:A6:61:6C:40:40:0F:93:4B:CA:D6:CC:C9:3A:77:6E:5B:52:75:09:D8:10:EC:95:9A:38:E2:B8:3D:0C:FE:54:04:E3:11:A9:0B:0E:E7:94:3D:0D:29:86:B2:6F:EC:FE:1A:CA:8F:48:53:47:76:5A:15:37:E4:7A:11:DA:30:1A:FC:11:3E:43:B6:02:1E:F8:2A:6F:30:F2:C2:DB:1B:E5:15:62:D2:19:D0:E9:22:C8:88:60:7E:5F:F4:7B:E6:AC:C4:D3:C1:27:AB:31:BD:61:8A:2D:89:8D:7E:D7:1F:8E:91:9C:16:B8:74:12:92:64:DD:EA:03:5C:F1:E5:21:9F:8C:E7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20250622143546Z", "not_valid_before": "20240622143602Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:96 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.013) 0:00:39.020 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:104 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.023) 0:00:39.044 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:112 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.012) 0:00:39.057 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:119 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.020) 0:00:39.077 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:130 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.029) 0:00:39.107 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:143 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.025) 0:00:39.132 ********* 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.042210", "end": "2024-06-22 14:36:09.926900", "rc": 0, "start": "2024-06-22 14:36:09.884690" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:152 Saturday 22 June 2024 14:36:09 +0000 (0:00:00.250) 0:00:39.383 ********* 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 22 June 2024 14:36:09 +0000 (0:00:00.024) 0:00:39.408 ********* =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.58s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.68s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 2.33s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:2 --------------------- Gathering Facts --------------------------------------------------------- 2.26s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:32 -------------------- Gathering Facts --------------------------------------------------------- 2.18s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:85 -------------------- Gathering Facts --------------------------------------------------------- 2.13s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:67 -------------------- Gathering Facts --------------------------------------------------------- 2.12s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:14 -------------------- fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.49s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Ensure python3 is installed --------------------------------------------- 1.39s /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.38s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 1.37s /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 1.37s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 1.37s /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 1.36s /WORKDIR/git-weekly-cioz_u_aqx/tests/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.23s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.94s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure user exists ------------------------------------------------------ 0.55s /WORKDIR/git-weekly-cioz_u_aqx/tests/tests_fs_attrs.yml:5 --------------------- fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.41s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.34s /WORKDIR/git-weekly-cioz_u_aqx/.collection/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.34s /WORKDIR/git-weekly-cioz_u_aqx/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. ---^---^---^---^---^---