# 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_roleqhe2a55r/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:7 Thursday 25 July 2024 16:33:19 +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_roleqhe2a55r/tests/tests_deploy_keys.yml:12 Thursday 25 July 2024 16:33:20 +0000 (0:00:00.770) 0:00:00.783 ********* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysx7m7pac2", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:19 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.327) 0:00:01.110 ********* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysx7m7pac2" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:23 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.018) 0:00:01.129 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.012) 0:00:01.142 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.022) 0:00:01.164 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.019) 0:00:01.184 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.241) 0:00:01.426 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.020) 0:00:01.446 ********* 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_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.024) 0:00:01.470 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:33:21 +0000 (0:00:00.037) 0:00:01.508 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: libjose-14-1.el9.x86_64", "Installed: jose-14-1.el9.x86_64", "Installed: http-parser-2.9.4-6.el9.x86_64", "Installed: tang-14-2.el9.x86_64" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:33:25 +0000 (0:00:04.264) 0:00:05.773 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:33:25 +0000 (0:00:00.017) 0:00:05.791 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.272) 0:00:06.063 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.017) 0:00:06.081 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.021) 0:00:06.103 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.010) 0:00:06.113 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.169) 0:00:06.283 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.008) 0:00:06.291 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.240) 0:00:06.532 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.010) 0:00:06.542 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.010) 0:00:06.553 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.008) 0:00:06.561 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:33:26 +0000 (0:00:00.009) 0:00:06.570 ********* changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "AccessSELinuxContext": "system_u:object_r:tangd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "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": "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 cap_checkpoint_restore", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "\"man:tang(8)\"", "DynamicUser": "no", "ExecStartPre": "{ path=/usr/bin/chown ; argv[]=/usr/bin/chown -R tang:tang /var/db/tang ; ignore_errors=yes ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "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", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22342", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogSignal": "6", "Writable": "no" } } TASK [Fetch the keys from every host] ****************************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:27 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.636) 0:00:07.207 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.013) 0:00:07.220 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.010) 0:00:07.231 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.009) 0:00:07.241 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.008) 0:00:07.249 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.008) 0:00:07.258 ********* 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_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.015) 0:00:07.273 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:33:27 +0000 (0:00:00.014) 0:00:07.288 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.877) 0:00:08.166 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.008) 0:00:08.174 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.171) 0:00:08.345 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.020) 0:00:08.366 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.009) 0:00:08.376 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925206.0115905, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925206.0215907, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:33:28 +0000 (0:00:00.232) 0:00:08.608 ********* changed: [sut] => (item={'path': '/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 327156033, 'dev': 51713, 'nlink': 1, 'atime': 1721925206.0115905, 'mtime': 1721925206.0115905, 'ctime': 1721925207.1545982, '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": "94510fcc499c0fe5a61d09862b395a253a084c73", "dest": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "item": { "atime": 1721925206.0115905, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "27788dd6f8288b12649770994a00a301", "remote_checksum": "94510fcc499c0fe5a61d09862b395a253a084c73", "remote_md5sum": null } changed: [sut] => (item={'path': '/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 327156034, 'dev': 51713, 'nlink': 1, 'atime': 1721925206.0215907, 'mtime': 1721925206.0215907, 'ctime': 1721925207.1545982, '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": "6542fcb40ea65f206c43f2088d909468d8c6552c", "dest": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "item": { "atime": 1721925206.0215907, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "26ac52ae54031cdae63809ed42584ece", "remote_checksum": "6542fcb40ea65f206c43f2088d909468d8c6552c", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.446) 0:00:09.055 ********* skipping: [sut] => (item={'path': '/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 327156033, 'dev': 51713, 'nlink': 1, 'atime': 1721925206.0115905, 'mtime': 1721925206.0115905, 'ctime': 1721925207.1545982, '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": 1721925206.0115905, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "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/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 327156034, 'dev': 51713, 'nlink': 1, 'atime': 1721925206.0215907, 'mtime': 1721925206.0215907, 'ctime': 1721925207.1545982, '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": 1721925206.0215907, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.017) 0:00:09.072 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.009) 0:00:09.082 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.123) 0:00:09.205 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.010) 0:00:09.215 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925208.814757, "ctime": 1721925208.8097572, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432282, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925208.8097572, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.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": 1721925209.0287576, "ctime": 1721925209.0247576, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925209.0247576, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.105) 0:00:09.321 ********* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 419432282, 'dev': 97, 'nlink': 1, 'atime': 1721925208.814757, 'mtime': 1721925208.8097572, 'ctime': 1721925208.8097572, '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": 1721925208.814757, "ctime": 1721925208.8097572, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432282, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925208.8097572, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.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_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 419432283, 'dev': 97, 'nlink': 1, 'atime': 1721925209.0287576, 'mtime': 1721925209.0247576, 'ctime': 1721925209.0247576, '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": 1721925209.0287576, "ctime": 1721925209.0247576, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925209.0247576, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.015) 0:00:09.337 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.009) 0:00:09.347 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.008) 0:00:09.355 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.018) 0:00:09.373 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.010) 0:00:09.384 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.168) 0:00:09.552 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.008) 0:00:09.561 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.173) 0:00:09.734 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.010) 0:00:09.744 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.011) 0:00:09.755 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.010) 0:00:09.766 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:33:29 +0000 (0:00:00.009) 0:00:09.775 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "AccessSELinuxContext": "system_u:object_r:tangd_unit_file_t:s0", "ActiveEnterTimestamp": "Thu 2024-07-25 16:33:27 UTC", "ActiveEnterTimestampMonotonic": "484155829", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:33:27 UTC", "AssertTimestampMonotonic": "484139950", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4823000", "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 cap_checkpoint_restore", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:33:27 UTC", "ConditionTimestampMonotonic": "484139947", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4546", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "\"man:tang(8)\"", "DynamicUser": "no", "ExecStartPre": "{ path=/usr/bin/chown ; argv[]=/usr/bin/chown -R tang:tang /var/db/tang ; ignore_errors=yes ; start_time=[Thu 2024-07-25 16:33:27 UTC] ; stop_time=[Thu 2024-07-25 16:33:27 UTC] ; pid=9106 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:33:27 UTC", "InactiveExitTimestampMonotonic": "484149622", "InvocationID": "08d4e0e05ac3403b8dc22d755fb5b354", "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": "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "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", "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:33:27 UTC", "StateChangeTimestampMonotonic": "484155829", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22342", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "sockets.target", "WatchdogSignal": "6", "Writable": "no" } } TASK [Gather keys before redeploy] ********************************************* task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:35 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.304) 0:00:10.080 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925208.742609, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925208.9676104, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:44 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.172) 0:00:10.253 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.013) 0:00:10.266 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.010) 0:00:10.277 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.009) 0:00:10.287 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.008) 0:00:10.296 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.010) 0:00:10.306 ********* 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_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.016) 0:00:10.322 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:33:30 +0000 (0:00:00.014) 0:00:10.337 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.865) 0:00:11.202 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.009) 0:00:11.212 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.170) 0:00:11.383 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.018) 0:00:11.401 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.010) 0:00:11.411 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925208.742609, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925208.9676104, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.170) 0:00:11.581 ********* skipping: [sut] => (item={'path': '/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 327156033, 'dev': 51713, 'nlink': 1, 'atime': 1721925208.742609, 'mtime': 1721925206.0115905, 'ctime': 1721925207.1545982, '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": 1721925208.742609, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "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/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 327156034, 'dev': 51713, 'nlink': 1, 'atime': 1721925208.9676104, 'mtime': 1721925206.0215907, 'ctime': 1721925207.1545982, '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": 1721925208.9676104, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.016) 0:00:11.598 ********* skipping: [sut] => (item={'path': '/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 327156033, 'dev': 51713, 'nlink': 1, 'atime': 1721925208.742609, 'mtime': 1721925206.0115905, 'ctime': 1721925207.1545982, '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": 1721925208.742609, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "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/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 327156034, 'dev': 51713, 'nlink': 1, 'atime': 1721925208.9676104, 'mtime': 1721925206.0215907, 'ctime': 1721925207.1545982, '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": 1721925208.9676104, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.016) 0:00:11.614 ********* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.8qrhvebcnbde_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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.169) 0:00:11.783 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.103) 0:00:11.887 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.009) 0:00:11.897 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925208.814757, "ctime": 1721925208.8097572, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432282, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925208.8097572, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.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": 1721925209.0287576, "ctime": 1721925209.0247576, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925209.0247576, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:33:31 +0000 (0:00:00.104) 0:00:12.002 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 419432282, 'dev': 97, 'nlink': 1, 'atime': 1721925208.814757, 'mtime': 1721925208.8097572, 'ctime': 1721925208.8097572, '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": "94510fcc499c0fe5a61d09862b395a253a084c73", "dest": "/tmp/ansible.8qrhvebcnbde_server_keys/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "gid": 993, "group": "tang", "item": { "atime": 1721925208.814757, "ctime": 1721925208.8097572, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432282, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925208.8097572, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.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": "27788dd6f8288b12649770994a00a301", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1721925212.02103-3919-268726333312452/source", "state": "file", "uid": 996 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 419432283, 'dev': 97, 'nlink': 1, 'atime': 1721925209.0287576, 'mtime': 1721925209.0247576, 'ctime': 1721925209.0247576, '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": "6542fcb40ea65f206c43f2088d909468d8c6552c", "dest": "/tmp/ansible.8qrhvebcnbde_server_keys/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "gid": 993, "group": "tang", "item": { "atime": 1721925209.0287576, "ctime": 1721925209.0247576, "dev": 97, "gid": 1001, "gr_name": "jenkins", "inode": 419432283, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721925209.0247576, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysx7m7pac2/sut/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.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": "26ac52ae54031cdae63809ed42584ece", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1721925212.559188-3919-265923007864039/source", "state": "file", "uid": 996 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:33:33 +0000 (0:00:01.028) 0:00:13.030 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.8qrhvebcnbde_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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.176) 0:00:13.206 ********* changed: [sut] => { "changed": true, "path": "/tmp/ansible.8qrhvebcnbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.177) 0:00:13.384 ********* included: /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.017) 0:00:13.402 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.010) 0:00:13.413 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.169) 0:00:13.582 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.010) 0:00:13.593 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.180) 0:00:13.773 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.009) 0:00:13.783 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.011) 0:00:13.794 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.008) 0:00:13.803 ********* 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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:33:33 +0000 (0:00:00.009) 0:00:13.812 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "AccessSELinuxContext": "system_u:object_r:tangd_unit_file_t:s0", "ActiveEnterTimestamp": "Thu 2024-07-25 16:33:27 UTC", "ActiveEnterTimestampMonotonic": "484155829", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:33:27 UTC", "AssertTimestampMonotonic": "484139950", "Backlog": "4096", "Before": "sockets.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4823000", "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 cap_checkpoint_restore", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:33:27 UTC", "ConditionTimestampMonotonic": "484139947", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4546", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "Documentation": "\"man:tang(8)\"", "DynamicUser": "no", "ExecStartPre": "{ path=/usr/bin/chown ; argv[]=/usr/bin/chown -R tang:tang /var/db/tang ; ignore_errors=yes ; start_time=[Thu 2024-07-25 16:33:27 UTC] ; stop_time=[Thu 2024-07-25 16:33:27 UTC] ; pid=9106 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FinalKillSignal": "9", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:33:27 UTC", "InactiveExitTimestampMonotonic": "484149622", "InvocationID": "08d4e0e05ac3403b8dc22d755fb5b354", "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": "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": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "8192", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "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", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestartKillSignal": "15", "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", "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:33:27 UTC", "StateChangeTimestampMonotonic": "484155829", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "0", "TasksMax": "22342", "TimeoutCleanUSec": "infinity", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Timestamping": "off", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "sockets.target", "WatchdogSignal": "6", "Writable": "no" } } TASK [Gather keys after redeploy] ********************************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:52 Thursday 25 July 2024 16:33:34 +0000 (0:00:00.303) 0:00:14.116 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721925208.742609, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0115905, "nlink": 1, "path": "/var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 996, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721925208.9676104, "ctime": 1721925207.1545982, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 327156034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721925206.0215907, "nlink": 1, "path": "/var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 996, "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_roleqhe2a55r/tests/tests_deploy_keys.yml:61 Thursday 25 July 2024 16:33:34 +0000 (0:00:00.175) 0:00:14.291 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:67 Thursday 25 July 2024 16:33:34 +0000 (0:00:00.012) 0:00:14.304 ********* included: /WORKDIR/git-include_roleqhe2a55r/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tasks/cleanup.yml:2 Thursday 25 July 2024 16:33:34 +0000 (0:00:00.012) 0:00:14.316 ********* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysx7m7pac2", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-include_roleqhe2a55r/tests/tasks/cleanup.yml:9 Thursday 25 July 2024 16:33:34 +0000 (0:00:00.111) 0:00:14.428 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysx7m7pac2', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysx7m7pac2\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysx7m7pac2\"/* \"/tmp/nbde_server_deploy_keysx7m7pac2\"/.* || :\nfi\n", "delta": "0:00:00.007429", "end": "2024-07-25 16:33:34.640230", "item": { "path": "/tmp/nbde_server_deploy_keysx7m7pac2", "remove_dir": "true" }, "rc": 0, "start": "2024-07-25 16:33:34.632801" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysx7m7pac2 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.004515", "end": "2024-07-25 16:33:34.807896", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:33:34.803381" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/8cRdQxp5A2ugieQOEPoyodsbyKbRM4mNAwZQDc2ZhVw.jwk /var/db/tang/fTC6vYroDDnnFxD_Rr0nhh9orjrrE2PHTkyp7qZHJUg.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.004550", "end": "2024-07-25 16:33:34.974512", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:33:34.969962" } 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:33:34 +0000 (0:00:00.584) 0:00:15.012 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 4.26s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 1.03s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.88s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.87s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:7 --------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.64s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.58s /WORKDIR/git-include_roleqhe2a55r/tests/tasks/cleanup.yml:9 ------------------- linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.45s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Create tmpdir for server keys ------------------------------------------- 0.33s /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:12 -------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.30s /WORKDIR/git-include_roleqhe2a55r/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.30s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.27s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.24s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.24s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.23s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-include_roleqhe2a55r/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_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang --- 0.18s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Gather keys after redeploy ---------------------------------------------- 0.18s /WORKDIR/git-include_roleqhe2a55r/tests/tests_deploy_keys.yml:52 -------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.17s /WORKDIR/git-include_roleqhe2a55r/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---