# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_deploy_keys.yml ************************************************ 1 plays in /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:7 Thursday 25 July 2024 16:38:05 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:12 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.654) 0:00:00.666 ********* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysbfb3ojjn", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:19 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.162) 0:00:00.829 ********* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysbfb3ojjn" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:23 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.018) 0:00:00.848 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.013) 0:00:00.861 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.023) 0:00:00.885 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.032) 0:00:00.917 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.269) 0:00:01.187 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.021) 0:00:01.208 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.024) 0:00:01.232 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:38:06 +0000 (0:00:00.024) 0:00:01.257 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: jose-10-2.el8.x86_64", "Installed: tang-7-8.el8.x86_64", "Installed: http-parser-2.8.0-9.el8.x86_64", "Installed: libjose-10-2.el8.x86_64" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:38:10 +0000 (0:00:04.099) 0:00:05.357 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:38:10 +0000 (0:00:00.018) 0:00:05.376 ********* changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.277) 0:00:05.653 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.019) 0:00:05.672 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.023) 0:00:05.695 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.011) 0:00:05.707 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.171) 0:00:05.878 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.010) 0:00:05.889 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.262) 0:00:06.151 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.010) 0:00:06.162 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.011) 0:00:06.174 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.016) 0:00:06.190 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:38:11 +0000 (0:00:00.009) 0:00:06.200 ********* changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Writable": "no" } } TASK [Fetch the keys from every host] ****************************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:27 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.629) 0:00:06.830 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.014) 0:00:06.844 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.023) 0:00:06.867 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.010) 0:00:06.877 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.016) 0:00:06.894 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.015) 0:00:06.909 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.017) 0:00:06.926 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:38:12 +0000 (0:00:00.015) 0:00:06.942 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:38:14 +0000 (0:00:02.380) 0:00:09.322 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:38:14 +0000 (0:00:00.016) 0:00:09.338 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.171) 0:00:09.510 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.018) 0:00:09.529 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.009) 0:00:09.539 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925491.2170708, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925491.226071, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.249) 0:00:09.789 ********* changed: [sut] => (item={'path': '/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 35651905, 'dev': 51713, 'nlink': 1, 'atime': 1721925491.2170708, 'mtime': 1721925491.2170708, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "13f8d3522047b9410e87d06386f47285b2fc7591", "dest": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "item": { "atime": 1721925491.2170708, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "cade62573f4a0fd0e92755826227ed6d", "remote_checksum": "13f8d3522047b9410e87d06386f47285b2fc7591", "remote_md5sum": null } changed: [sut] => (item={'path': '/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 35651906, 'dev': 51713, 'nlink': 1, 'atime': 1721925491.226071, 'mtime': 1721925491.226071, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e09e54692ca3300a79cb8e2f4776f74fbbdd0be7", "dest": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "item": { "atime": 1721925491.226071, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "06f04388265db4f38563f7708f6fe2bb", "remote_checksum": "e09e54692ca3300a79cb8e2f4776f74fbbdd0be7", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.433) 0:00:10.223 ********* skipping: [sut] => (item={'path': '/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 35651905, 'dev': 51713, 'nlink': 1, 'atime': 1721925491.2170708, 'mtime': 1721925491.2170708, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925491.2170708, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 35651906, 'dev': 51713, 'nlink': 1, 'atime': 1721925491.226071, 'mtime': 1721925491.226071, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925491.226071, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.027) 0:00:10.250 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.012) 0:00:10.263 ********* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.115) 0:00:10.378 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:38:15 +0000 (0:00:00.010) 0:00:10.388 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925495.5993097, "ctime": 1721925495.5963097, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.5963097, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925495.8093102, "ctime": 1721925495.8063102, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.8063102, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.117) 0:00:10.506 ********* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 377498028, 'dev': 67, 'nlink': 1, 'atime': 1721925495.5993097, 'mtime': 1721925495.5963097, 'ctime': 1721925495.5963097, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.5993097, "ctime": 1721925495.5963097, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.5963097, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 377498029, 'dev': 67, 'nlink': 1, 'atime': 1721925495.8093102, 'mtime': 1721925495.8063102, 'ctime': 1721925495.8063102, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.8093102, "ctime": 1721925495.8063102, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.8063102, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.022) 0:00:10.528 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.017) 0:00:10.545 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.012) 0:00:10.558 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.018) 0:00:10.577 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.011) 0:00:10.588 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.172) 0:00:10.760 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.013) 0:00:10.774 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.180) 0:00:10.954 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.010) 0:00:10.965 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.012) 0:00:10.977 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.010) 0:00:10.988 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.008) 0:00:10.997 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2024-07-25 16:38:12 UTC", "ActiveEnterTimestampMonotonic": "771406567", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:38:12 UTC", "AssertTimestampMonotonic": "771404434", "Backlog": "128", "Before": "shutdown.target multi-user.target sockets.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:38:12 UTC", "ConditionTimestampMonotonic": "771404432", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:38:12 UTC", "InactiveExitTimestampMonotonic": "771406567", "InvocationID": "3dae309cbc5448c6b9bbb6733ea19bce", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2024-07-25 16:38:12 UTC", "StateChangeTimestampMonotonic": "771406567", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } TASK [Gather keys before redeploy] ********************************************* task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:35 Thursday 25 July 2024 16:38:16 +0000 (0:00:00.294) 0:00:11.291 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925495.5411017, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925495.7511034, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:44 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.174) 0:00:11.465 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.026) 0:00:11.492 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.023) 0:00:11.516 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.011) 0:00:11.527 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.010) 0:00:11.538 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.011) 0:00:11.549 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.019) 0:00:11.569 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:38:17 +0000 (0:00:00.015) 0:00:11.584 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:38:19 +0000 (0:00:02.371) 0:00:13.955 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:38:19 +0000 (0:00:00.010) 0:00:13.966 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:38:19 +0000 (0:00:00.201) 0:00:14.168 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:38:19 +0000 (0:00:00.032) 0:00:14.200 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:38:19 +0000 (0:00:00.012) 0:00:14.212 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925495.5411017, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925495.7511034, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:38:19 +0000 (0:00:00.181) 0:00:14.394 ********* skipping: [sut] => (item={'path': '/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 35651905, 'dev': 51713, 'nlink': 1, 'atime': 1721925495.5411017, 'mtime': 1721925491.2170708, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.5411017, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 35651906, 'dev': 51713, 'nlink': 1, 'atime': 1721925495.7511034, 'mtime': 1721925491.226071, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.7511034, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.019) 0:00:14.413 ********* skipping: [sut] => (item={'path': '/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 35651905, 'dev': 51713, 'nlink': 1, 'atime': 1721925495.5411017, 'mtime': 1721925491.2170708, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.5411017, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 35651906, 'dev': 51713, 'nlink': 1, 'atime': 1721925495.7511034, 'mtime': 1721925491.226071, 'ctime': 1721925491.228071, 'gr_name': 'tang', 'pw_name': 'tang', 'wusr': False, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721925495.7511034, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.063) 0:00:14.476 ********* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.7l5qidjynbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.181) 0:00:14.658 ********* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.117) 0:00:14.775 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.011) 0:00:14.787 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925495.5993097, "ctime": 1721925495.5963097, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.5963097, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925495.8093102, "ctime": 1721925495.8063102, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.8063102, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:38:20 +0000 (0:00:00.232) 0:00:15.019 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 377498028, 'dev': 67, 'nlink': 1, 'atime': 1721925495.5993097, 'mtime': 1721925495.5963097, 'ctime': 1721925495.5963097, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "13f8d3522047b9410e87d06386f47285b2fc7591", "dest": "/tmp/ansible.7l5qidjynbde_server_keys/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "gid": 991, "group": "tang", "item": { "atime": 1721925495.5993097, "ctime": 1721925495.5963097, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.5963097, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "cade62573f4a0fd0e92755826227ed6d", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1721925500.6540725-3050-69975660504089/source", "state": "file", "uid": 994 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 377498029, 'dev': 67, 'nlink': 1, 'atime': 1721925495.8093102, 'mtime': 1721925495.8063102, 'ctime': 1721925495.8063102, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e09e54692ca3300a79cb8e2f4776f74fbbdd0be7", "dest": "/tmp/ansible.7l5qidjynbde_server_keys/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "gid": 991, "group": "tang", "item": { "atime": 1721925495.8093102, "ctime": 1721925495.8063102, "dev": 67, "gid": 1001, "gr_name": "jenkins", "inode": 377498029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925495.8063102, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn/sut/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "06f04388265db4f38563f7708f6fe2bb", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1721925501.2584548-3050-234916725339156/source", "state": "file", "uid": 994 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:38:21 +0000 (0:00:01.103) 0:00:16.123 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.7l5qidjynbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:38:21 +0000 (0:00:00.177) 0:00:16.300 ********* changed: [sut] => { "changed": true, "path": "/tmp/ansible.7l5qidjynbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.181) 0:00:16.482 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.018) 0:00:16.500 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.010) 0:00:16.510 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.175) 0:00:16.686 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.010) 0:00:16.696 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.182) 0:00:16.879 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.012) 0:00:16.891 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.013) 0:00:16.905 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.009) 0:00:16.914 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.009) 0:00:16.924 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2024-07-25 16:38:12 UTC", "ActiveEnterTimestampMonotonic": "771406567", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:38:12 UTC", "AssertTimestampMonotonic": "771404434", "Backlog": "128", "Before": "shutdown.target multi-user.target sockets.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:38:12 UTC", "ConditionTimestampMonotonic": "771404432", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:38:12 UTC", "InactiveExitTimestampMonotonic": "771406567", "InvocationID": "3dae309cbc5448c6b9bbb6733ea19bce", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2024-07-25 16:38:12 UTC", "StateChangeTimestampMonotonic": "771406567", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } TASK [Gather keys after redeploy] ********************************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:52 Thursday 25 July 2024 16:38:22 +0000 (0:00:00.298) 0:00:17.223 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925495.5411017, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651905, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.2170708, "nlink": 1, "path": "/var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925495.7511034, "ctime": 1721925491.228071, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 35651906, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925491.226071, "nlink": 1, "path": "/var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:61 Thursday 25 July 2024 16:38:23 +0000 (0:00:00.185) 0:00:17.408 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:67 Thursday 25 July 2024 16:38:23 +0000 (0:00:00.021) 0:00:17.430 ********* included: /WORKDIR/git-include_roleyqdx09rp/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tasks/cleanup.yml:2 Thursday 25 July 2024 16:38:23 +0000 (0:00:00.041) 0:00:17.471 ********* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysbfb3ojjn", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-include_roleyqdx09rp/tests/tasks/cleanup.yml:9 Thursday 25 July 2024 16:38:23 +0000 (0:00:00.111) 0:00:17.583 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysbfb3ojjn', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysbfb3ojjn\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysbfb3ojjn\"/* \"/tmp/nbde_server_deploy_keysbfb3ojjn\"/.* || :\nfi\n", "delta": "0:00:00.003637", "end": "2024-07-25 16:38:23.415471", "item": { "path": "/tmp/nbde_server_deploy_keysbfb3ojjn", "remove_dir": "true" }, "rc": 0, "start": "2024-07-25 16:38:23.411834" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysbfb3ojjn changed: [sut] => (item={'path': '/var/db/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/db/tang\"\nelse\n rm -rf \"/var/db/tang\"/* \"/var/db/tang\"/.* || :\nfi\n", "delta": "0:00:00.003765", "end": "2024-07-25 16:38:23.586753", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:38:23.582988" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/RQS1fV5Nb__CPhDMOwW2SFUHFSI.jwk /var/db/tang/ZcXkVSh8UsLT8vh-qOgLtnexTaQ.jwk /var/db/tang/. /var/db/tang/.. rm: refusing to remove '.' or '..' directory: skipping '/var/db/tang/.' rm: refusing to remove '.' or '..' directory: skipping '/var/db/tang/..' + : changed: [sut] => (item={'path': '/var/cache/tang', 'remove_dir': 'false'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"false\" = true ]; then\n rm -rf \"/var/cache/tang\"\nelse\n rm -rf \"/var/cache/tang\"/* \"/var/cache/tang\"/.* || :\nfi\n", "delta": "0:00:00.003655", "end": "2024-07-25 16:38:23.752678", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:38:23.749023" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=54 changed=10 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Thursday 25 July 2024 16:38:23 +0000 (0:00:00.595) 0:00:18.178 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 4.10s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.38s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.37s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 1.10s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Gathering Facts --------------------------------------------------------- 0.65s /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:7 --------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.63s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.60s /WORKDIR/git-include_roleyqdx09rp/tests/tasks/cleanup.yml:9 ------------------- linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.43s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.30s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.29s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.28s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.27s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.26s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.25s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 linux-system-roles.nbde_server : Gather host keys to be deployed -------- 0.23s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.20s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Gather keys after redeploy ---------------------------------------------- 0.19s /WORKDIR/git-include_roleyqdx09rp/tests/tests_deploy_keys.yml:52 -------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Clean up host deployment directory ----- 0.18s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.18s /WORKDIR/git-include_roleyqdx09rp/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---