# 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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:7 Saturday 10 August 2024 13:18:52 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:12 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.708) 0:00:00.721 ******* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keyscvcouaft", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:19 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.174) 0:00:00.896 ******* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keyscvcouaft" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:23 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.017) 0:00:00.913 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.012) 0:00:00.926 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.021) 0:00:00.947 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 10 August 2024 13:18:53 +0000 (0:00:00.018) 0:00:00.966 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 10 August 2024 13:18:54 +0000 (0:00:00.228) 0:00:01.194 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 10 August 2024 13:18:54 +0000 (0:00:00.020) 0:00:01.214 ******* 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-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 10 August 2024 13:18:54 +0000 (0:00:00.023) 0:00:01.237 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 10 August 2024 13:18:54 +0000 (0:00:00.022) 0:00:01.260 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: http-parser-2.9.4-6.el9.x86_64", "Installed: tang-14-2.el9.x86_64", "Installed: libjose-14-1.el9.x86_64", "Installed: jose-14-1.el9.x86_64" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 10 August 2024 13:18:58 +0000 (0:00:04.401) 0:00:05.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 10 August 2024 13:18:58 +0000 (0:00:00.017) 0:00:05.679 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 10 August 2024 13:18:58 +0000 (0:00:00.253) 0:00:05.933 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 10 August 2024 13:18:58 +0000 (0:00:00.017) 0:00:05.950 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 10 August 2024 13:18:58 +0000 (0:00:00.021) 0:00:05.971 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 10 August 2024 13:18:58 +0000 (0:00:00.008) 0:00:05.980 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.165) 0:00:06.146 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.012) 0:00:06.158 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.241) 0:00:06.400 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.016) 0:00:06.416 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.010) 0:00:06.427 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.009) 0:00:06.436 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.008) 0:00:06.445 ******* 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 system.slice systemd-journald.socket", "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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:27 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.607) 0:00:07.053 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.025) 0:00:07.078 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.022) 0:00:07.101 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.018) 0:00:07.120 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 10 August 2024 13:18:59 +0000 (0:00:00.017) 0:00:07.137 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 10 August 2024 13:19:00 +0000 (0:00:00.011) 0:00:07.149 ******* 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-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 10 August 2024 13:19:00 +0000 (0:00:00.021) 0:00:07.170 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 10 August 2024 13:19:00 +0000 (0:00:00.031) 0:00:07.201 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 10 August 2024 13:19:00 +0000 (0:00:00.931) 0:00:08.133 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 10 August 2024 13:19:01 +0000 (0:00:00.008) 0:00:08.142 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 10 August 2024 13:19:01 +0000 (0:00:00.195) 0:00:08.337 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 10 August 2024 13:19:01 +0000 (0:00:00.066) 0:00:08.403 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 10 August 2024 13:19:01 +0000 (0:00:00.025) 0:00:08.429 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295938.7630813, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295938.7720814, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 10 August 2024 13:19:01 +0000 (0:00:00.268) 0:00:08.697 ******* changed: [sut] => (item={'path': '/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 362807617, 'dev': 51713, 'nlink': 1, 'atime': 1723295938.7630813, 'mtime': 1723295938.7630813, 'ctime': 1723295939.8790925, '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": "3def674d5ef8d307fe2836116666d0660ea469cf", "dest": "/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk", "item": { "atime": 1723295938.7630813, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": "fd690ea7bc6eebc329b7b98883c4878b", "remote_checksum": "3def674d5ef8d307fe2836116666d0660ea469cf", "remote_md5sum": null } changed: [sut] => (item={'path': '/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 362807618, 'dev': 51713, 'nlink': 1, 'atime': 1723295938.7720814, 'mtime': 1723295938.7720814, 'ctime': 1723295939.8790925, '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": "3952c7d3b4363a1030be693417dc056b10e04026", "dest": "/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk", "item": { "atime": 1723295938.7720814, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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": "c760ac1b38c25ea90f9f337e8d29f222", "remote_checksum": "3952c7d3b4363a1030be693417dc056b10e04026", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.472) 0:00:09.169 ******* skipping: [sut] => (item={'path': '/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 362807617, 'dev': 51713, 'nlink': 1, 'atime': 1723295938.7630813, 'mtime': 1723295938.7630813, 'ctime': 1723295939.8790925, '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": 1723295938.7630813, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 362807618, 'dev': 51713, 'nlink': 1, 'atime': 1723295938.7720814, 'mtime': 1723295938.7720814, 'ctime': 1723295939.8790925, '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": 1723295938.7720814, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.020) 0:00:09.189 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.009) 0:00:09.199 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.106) 0:00:09.305 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.009) 0:00:09.315 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295941.7984967, "ctime": 1723295941.7934966, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295941.7934966, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295942.021499, "ctime": 1723295942.0164988, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052263, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295942.0164988, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.120) 0:00:09.435 ******* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 109052262, 'dev': 45, 'nlink': 1, 'atime': 1723295941.7984967, 'mtime': 1723295941.7934966, 'ctime': 1723295941.7934966, '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": 1723295941.7984967, "ctime": 1723295941.7934966, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295941.7934966, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 109052263, 'dev': 45, 'nlink': 1, 'atime': 1723295942.021499, 'mtime': 1723295942.0164988, 'ctime': 1723295942.0164988, '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": 1723295942.021499, "ctime": 1723295942.0164988, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052263, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295942.0164988, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.015) 0:00:09.450 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.009) 0:00:09.460 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.030) 0:00:09.490 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.017) 0:00:09.508 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.011) 0:00:09.520 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.171) 0:00:09.692 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.009) 0:00:09.701 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.180) 0:00:09.882 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.021) 0:00:09.903 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.016) 0:00:09.920 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.015) 0:00:09.936 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 10 August 2024 13:19:02 +0000 (0:00:00.019) 0:00:09.955 ******* 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": "Sat 2024-08-10 13:18:59 UTC", "ActiveEnterTimestampMonotonic": "455910394", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 13:18:59 UTC", "AssertTimestampMonotonic": "455893241", "Backlog": "4096", "Before": "shutdown.target sockets.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": "4581000", "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": "Sat 2024-08-10 13:18:59 UTC", "ConditionTimestampMonotonic": "455893238", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4497", "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=[Sat 2024-08-10 13:18:59 UTC] ; stop_time=[Sat 2024-08-10 13:18:59 UTC] ; pid=8870 ; 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": "Sat 2024-08-10 13:18:59 UTC", "InactiveExitTimestampMonotonic": "455904576", "InvocationID": "243cbc0811ad476ab000ae84bfd69faa", "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": "Sat 2024-08-10 13:18:59 UTC", "StateChangeTimestampMonotonic": "455910394", "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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:35 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.285) 0:00:10.240 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295941.7051108, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295941.944113, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:44 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.161) 0:00:10.401 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.013) 0:00:10.415 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.015) 0:00:10.430 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.009) 0:00:10.439 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.008) 0:00:10.448 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.008) 0:00:10.456 ******* 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-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.014) 0:00:10.471 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 10 August 2024 13:19:03 +0000 (0:00:00.014) 0:00:10.486 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.920) 0:00:11.406 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.009) 0:00:11.416 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.174) 0:00:11.591 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.018) 0:00:11.609 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.011) 0:00:11.621 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295941.7051108, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295941.944113, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.171) 0:00:11.792 ******* skipping: [sut] => (item={'path': '/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 362807617, 'dev': 51713, 'nlink': 1, 'atime': 1723295941.7051108, 'mtime': 1723295938.7630813, 'ctime': 1723295939.8790925, '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": 1723295941.7051108, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 362807618, 'dev': 51713, 'nlink': 1, 'atime': 1723295941.944113, 'mtime': 1723295938.7720814, 'ctime': 1723295939.8790925, '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": 1723295941.944113, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.019) 0:00:11.812 ******* skipping: [sut] => (item={'path': '/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 354, 'inode': 362807617, 'dev': 51713, 'nlink': 1, 'atime': 1723295941.7051108, 'mtime': 1723295938.7630813, 'ctime': 1723295939.8790925, '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": 1723295941.7051108, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 996, 'gid': 993, 'size': 349, 'inode': 362807618, 'dev': 51713, 'nlink': 1, 'atime': 1723295941.944113, 'mtime': 1723295938.7720814, 'ctime': 1723295939.8790925, '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": 1723295941.944113, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.039) 0:00:11.852 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.82pm36_pnbde_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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.173) 0:00:12.025 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 10 August 2024 13:19:04 +0000 (0:00:00.104) 0:00:12.130 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 10 August 2024 13:19:05 +0000 (0:00:00.012) 0:00:12.142 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295941.7984967, "ctime": 1723295941.7934966, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295941.7934966, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295942.021499, "ctime": 1723295942.0164988, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052263, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295942.0164988, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 10 August 2024 13:19:05 +0000 (0:00:00.148) 0:00:12.290 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 109052262, 'dev': 45, 'nlink': 1, 'atime': 1723295941.7984967, 'mtime': 1723295941.7934966, 'ctime': 1723295941.7934966, '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": "3def674d5ef8d307fe2836116666d0660ea469cf", "dest": "/tmp/ansible.82pm36_pnbde_server_keys/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.jwk", "gid": 993, "group": "tang", "item": { "atime": 1723295941.7984967, "ctime": 1723295941.7934966, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052262, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295941.7934966, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": "fd690ea7bc6eebc329b7b98883c4878b", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1723295945.2105846-2677-197395248976744/source", "state": "file", "uid": 996 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 109052263, 'dev': 45, 'nlink': 1, 'atime': 1723295942.021499, 'mtime': 1723295942.0164988, 'ctime': 1723295942.0164988, '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": "3952c7d3b4363a1030be693417dc056b10e04026", "dest": "/tmp/ansible.82pm36_pnbde_server_keys/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk", "gid": 993, "group": "tang", "item": { "atime": 1723295942.021499, "ctime": 1723295942.0164988, "dev": 45, "gid": 1001, "gr_name": "jenkins", "inode": 109052263, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1723295942.0164988, "nlink": 1, "path": "/tmp/nbde_server_deploy_keyscvcouaft/sut/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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": "c760ac1b38c25ea90f9f337e8d29f222", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1723295945.7302043-2677-134250506803659/source", "state": "file", "uid": 996 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 10 August 2024 13:19:06 +0000 (0:00:01.004) 0:00:13.295 ******* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.82pm36_pnbde_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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.163) 0:00:13.459 ******* changed: [sut] => { "changed": true, "path": "/tmp/ansible.82pm36_pnbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.168) 0:00:13.627 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.016) 0:00:13.643 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.008) 0:00:13.652 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.160) 0:00:13.813 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.010) 0:00:13.823 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.167) 0:00:13.991 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.009) 0:00:14.001 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.009) 0:00:14.010 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.008) 0:00:14.019 ******* 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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 10 August 2024 13:19:06 +0000 (0:00:00.009) 0:00:14.029 ******* 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": "Sat 2024-08-10 13:18:59 UTC", "ActiveEnterTimestampMonotonic": "455910394", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-10 13:18:59 UTC", "AssertTimestampMonotonic": "455893241", "Backlog": "4096", "Before": "shutdown.target sockets.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": "4581000", "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": "Sat 2024-08-10 13:18:59 UTC", "ConditionTimestampMonotonic": "455893238", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4497", "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=[Sat 2024-08-10 13:18:59 UTC] ; stop_time=[Sat 2024-08-10 13:18:59 UTC] ; pid=8870 ; 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": "Sat 2024-08-10 13:18:59 UTC", "InactiveExitTimestampMonotonic": "455904576", "InvocationID": "243cbc0811ad476ab000ae84bfd69faa", "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": "Sat 2024-08-10 13:18:59 UTC", "StateChangeTimestampMonotonic": "455910394", "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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:52 Saturday 10 August 2024 13:19:07 +0000 (0:00:00.309) 0:00:14.338 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1723295941.7051108, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807617, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7630813, "nlink": 1, "path": "/var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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": 1723295941.944113, "ctime": 1723295939.8790925, "dev": 51713, "gid": 993, "gr_name": "tang", "inode": 362807618, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1723295938.7720814, "nlink": 1, "path": "/var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.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-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:61 Saturday 10 August 2024 13:19:07 +0000 (0:00:00.170) 0:00:14.508 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:67 Saturday 10 August 2024 13:19:07 +0000 (0:00:00.012) 0:00:14.521 ******* included: /WORKDIR/git-weekly-cizjuzvbm5/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tasks/cleanup.yml:2 Saturday 10 August 2024 13:19:07 +0000 (0:00:00.012) 0:00:14.534 ******* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keyscvcouaft", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cizjuzvbm5/tests/tasks/cleanup.yml:9 Saturday 10 August 2024 13:19:07 +0000 (0:00:00.116) 0:00:14.650 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keyscvcouaft', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keyscvcouaft\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keyscvcouaft\"/* \"/tmp/nbde_server_deploy_keyscvcouaft\"/.* || :\nfi\n", "delta": "0:00:00.004330", "end": "2024-08-10 13:19:07.730961", "item": { "path": "/tmp/nbde_server_deploy_keyscvcouaft", "remove_dir": "true" }, "rc": 0, "start": "2024-08-10 13:19:07.726631" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keyscvcouaft 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.004534", "end": "2024-08-10 13:19:07.928133", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-10 13:19:07.923599" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/GtlfPS2NuOFGLV3Y5j7Tp_nWvLqv7DTGiymrVaZZx9E.jwk /var/db/tang/tQq86RfSID71P-2Swf2miJGNQqMQC76iTLTtLVp4_cM.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.004523", "end": "2024-08-10 13:19:08.097514", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-10 13:19:08.092991" } 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 Saturday 10 August 2024 13:19:08 +0000 (0:00:00.605) 0:00:15.256 ******* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 4.40s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 1.00s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.93s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.92s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.71s /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:7 ------------------ linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.61s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.61s /WORKDIR/git-weekly-cizjuzvbm5/tests/tasks/cleanup.yml:9 ---------------------- linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.47s /WORKDIR/git-weekly-cizjuzvbm5/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.31s /WORKDIR/git-weekly-cizjuzvbm5/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-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.27s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.25s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.24s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.23s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.20s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.18s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Create tmpdir for server keys ------------------------------------------- 0.17s /WORKDIR/git-weekly-cizjuzvbm5/tests/tests_deploy_keys.yml:12 ----------------- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.17s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Prepare deployment directory - create --- 0.17s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.17s /WORKDIR/git-weekly-cizjuzvbm5/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---