# 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-cijo6zalcy/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:7 Saturday 03 August 2024 13:25:31 +0000 (0:00:00.099) 0:00:00.099 ******* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:12 Saturday 03 August 2024 13:25:32 +0000 (0:00:01.211) 0:00:01.311 ******* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysukvryl4s", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:19 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.298) 0:00:01.609 ******* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysukvryl4s" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:23 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.031) 0:00:01.641 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.013) 0:00:01.654 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.049) 0:00:01.704 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.021) 0:00:01.725 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.246) 0:00:01.971 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.030) 0:00:02.002 ******* 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-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.032) 0:00:02.035 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:25:33 +0000 (0:00:00.025) 0:00:02.060 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: jose-14-1.el9.x86_64", "Installed: http-parser-2.9.4-6.el9.x86_64", "Installed: tang-14-2.el9.x86_64", "Installed: libjose-14-1.el9.x86_64" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:25:38 +0000 (0:00:04.393) 0:00:06.454 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.019) 0:00:06.473 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.283) 0:00:06.756 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.018) 0:00:06.774 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.023) 0:00:06.798 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.010) 0:00:06.808 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.174) 0:00:06.983 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.010) 0:00:06.993 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.263) 0:00:07.257 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.010) 0:00:07.267 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.010) 0:00:07.278 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.009) 0:00:07.288 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:25:38 +0000 (0:00:00.009) 0:00:07.297 ******* 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": "system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "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": "[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-cijo6zalcy/tests/tests_deploy_keys.yml:27 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.707) 0:00:08.004 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.016) 0:00:08.021 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.012) 0:00:08.033 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.013) 0:00:08.046 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.010) 0:00:08.057 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.008) 0:00:08.065 ******* 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-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.016) 0:00:08.082 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:25:39 +0000 (0:00:00.014) 0:00:08.096 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:25:40 +0000 (0:00:00.912) 0:00:09.009 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:25:40 +0000 (0:00:00.009) 0:00:09.019 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:25:40 +0000 (0:00:00.181) 0:00:09.200 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 03 August 2024 13:25:40 +0000 (0:00:00.021) 0:00:09.222 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 03 August 2024 13:25:40 +0000 (0:00:00.013) 0:00:09.235 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691538.4061651, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691538.4171655, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.265) 0:00:09.501 ******* changed: [sut] => (item={'path': '/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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': 1722691538.4061651, 'mtime': 1722691538.4061651, 'ctime': 1722691539.6551883, '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": "37327172da3b8f949e2a066abface0126000e04d", "dest": "/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.jwk", "item": { "atime": 1722691538.4061651, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": "ad487717293d8a0116da90399dd65969", "remote_checksum": "37327172da3b8f949e2a066abface0126000e04d", "remote_md5sum": null } changed: [sut] => (item={'path': '/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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': 1722691538.4171655, 'mtime': 1722691538.4171655, 'ctime': 1722691539.6551883, '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": "74693c542312c98201b3823e1ed9986ae0276d97", "dest": "/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.jwk", "item": { "atime": 1722691538.4171655, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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": "7d3ae29f5e92e64b0cd55b6efab6e74a", "remote_checksum": "74693c542312c98201b3823e1ed9986ae0276d97", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.502) 0:00:10.004 ******* skipping: [sut] => (item={'path': '/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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': 1722691538.4061651, 'mtime': 1722691538.4061651, 'ctime': 1722691539.6551883, '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": 1722691538.4061651, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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': 1722691538.4171655, 'mtime': 1722691538.4171655, 'ctime': 1722691539.6551883, '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": 1722691538.4171655, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.030) 0:00:10.034 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.019) 0:00:10.053 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.145) 0:00:10.199 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 03 August 2024 13:25:41 +0000 (0:00:00.020) 0:00:10.219 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691541.4471385, "ctime": 1722691541.4321384, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.4321384, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691541.6791399, "ctime": 1722691541.6751397, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627126, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.6751397, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.118) 0:00:10.338 ******* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 423627125, 'dev': 53, 'nlink': 1, 'atime': 1722691541.4471385, 'mtime': 1722691541.4321384, 'ctime': 1722691541.4321384, '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": 1722691541.4471385, "ctime": 1722691541.4321384, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.4321384, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 423627126, 'dev': 53, 'nlink': 1, 'atime': 1722691541.6791399, 'mtime': 1722691541.6751397, 'ctime': 1722691541.6751397, '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": 1722691541.6791399, "ctime": 1722691541.6751397, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627126, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.6751397, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.020) 0:00:10.358 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.012) 0:00:10.370 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.011) 0:00:10.382 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.018) 0:00:10.400 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.010) 0:00:10.411 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.196) 0:00:10.608 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.023) 0:00:10.631 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.186) 0:00:10.817 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.011) 0:00:10.829 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.013) 0:00:10.843 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.010) 0:00:10.853 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.014) 0:00:10.867 ******* 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-03 13:25:39 UTC", "ActiveEnterTimestampMonotonic": "460171340", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:25:39 UTC", "AssertTimestampMonotonic": "460154161", "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": "5202000", "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-03 13:25:39 UTC", "ConditionTimestampMonotonic": "460154157", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4191", "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-03 13:25:39 UTC] ; stop_time=[Sat 2024-08-03 13:25:39 UTC] ; pid=8903 ; 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-03 13:25:39 UTC", "InactiveExitTimestampMonotonic": "460164891", "InvocationID": "4c08dab4fae146658c7ae82dd6d3c190", "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": "system.slice sysinit.target", "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-03 13:25:39 UTC", "StateChangeTimestampMonotonic": "460171340", "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-cijo6zalcy/tests/tests_deploy_keys.yml:35 Saturday 03 August 2024 13:25:42 +0000 (0:00:00.328) 0:00:11.196 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691541.3492198, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691541.6202247, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/tests_deploy_keys.yml:44 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.182) 0:00:11.379 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.013) 0:00:11.392 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.011) 0:00:11.404 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.017) 0:00:11.422 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.010) 0:00:11.432 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.009) 0:00:11.442 ******* 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-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.017) 0:00:11.459 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:25:43 +0000 (0:00:00.014) 0:00:11.474 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.897) 0:00:12.372 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.009) 0:00:12.381 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.184) 0:00:12.566 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.018) 0:00:12.585 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.012) 0:00:12.597 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691541.3492198, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691541.6202247, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.182) 0:00:12.779 ******* skipping: [sut] => (item={'path': '/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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': 1722691541.3492198, 'mtime': 1722691538.4061651, 'ctime': 1722691539.6551883, '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": 1722691541.3492198, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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': 1722691541.6202247, 'mtime': 1722691538.4171655, 'ctime': 1722691539.6551883, '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": 1722691541.6202247, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.017) 0:00:12.797 ******* skipping: [sut] => (item={'path': '/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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': 1722691541.3492198, 'mtime': 1722691538.4061651, 'ctime': 1722691539.6551883, '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": 1722691541.3492198, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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': 1722691541.6202247, 'mtime': 1722691538.4171655, 'ctime': 1722691539.6551883, '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": 1722691541.6202247, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.016) 0:00:12.814 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.0eqz4c0anbde_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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.178) 0:00:12.992 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.109) 0:00:13.102 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.010) 0:00:13.113 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691541.4471385, "ctime": 1722691541.4321384, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.4321384, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691541.6791399, "ctime": 1722691541.6751397, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627126, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.6751397, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 03 August 2024 13:25:44 +0000 (0:00:00.108) 0:00:13.222 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 423627125, 'dev': 53, 'nlink': 1, 'atime': 1722691541.4471385, 'mtime': 1722691541.4321384, 'ctime': 1722691541.4321384, '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": "37327172da3b8f949e2a066abface0126000e04d", "dest": "/tmp/ansible.0eqz4c0anbde_server_keys/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.jwk", "gid": 993, "group": "tang", "item": { "atime": 1722691541.4471385, "ctime": 1722691541.4321384, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627125, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.4321384, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": "ad487717293d8a0116da90399dd65969", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1722691544.943109-2515-96798689909424/source", "state": "file", "uid": 996 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 423627126, 'dev': 53, 'nlink': 1, 'atime': 1722691541.6791399, 'mtime': 1722691541.6751397, 'ctime': 1722691541.6751397, '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": "74693c542312c98201b3823e1ed9986ae0276d97", "dest": "/tmp/ansible.0eqz4c0anbde_server_keys/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.jwk", "gid": 993, "group": "tang", "item": { "atime": 1722691541.6791399, "ctime": 1722691541.6751397, "dev": 53, "gid": 1001, "gr_name": "jenkins", "inode": 423627126, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722691541.6751397, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysukvryl4s/sut/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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": "7d3ae29f5e92e64b0cd55b6efab6e74a", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1722691545.49068-2515-91163123642222/source", "state": "file", "uid": 996 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 03 August 2024 13:25:45 +0000 (0:00:01.060) 0:00:14.282 ******* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.0eqz4c0anbde_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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.186) 0:00:14.469 ******* changed: [sut] => { "changed": true, "path": "/tmp/ansible.0eqz4c0anbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.197) 0:00:14.667 ******* included: /WORKDIR/git-weekly-cijo6zalcy/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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.027) 0:00:14.694 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.012) 0:00:14.706 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.217) 0:00:14.924 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.028) 0:00:14.952 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.206) 0:00:15.159 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.011) 0:00:15.170 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.023) 0:00:15.193 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.013) 0:00:15.206 ******* 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-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:25:46 +0000 (0:00:00.013) 0:00:15.220 ******* 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-03 13:25:39 UTC", "ActiveEnterTimestampMonotonic": "460171340", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:25:39 UTC", "AssertTimestampMonotonic": "460154161", "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": "5202000", "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-03 13:25:39 UTC", "ConditionTimestampMonotonic": "460154157", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlGroupId": "4191", "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-03 13:25:39 UTC] ; stop_time=[Sat 2024-08-03 13:25:39 UTC] ; pid=8903 ; 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-03 13:25:39 UTC", "InactiveExitTimestampMonotonic": "460164891", "InvocationID": "4c08dab4fae146658c7ae82dd6d3c190", "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": "system.slice sysinit.target", "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-03 13:25:39 UTC", "StateChangeTimestampMonotonic": "460171340", "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-cijo6zalcy/tests/tests_deploy_keys.yml:52 Saturday 03 August 2024 13:25:47 +0000 (0:00:00.347) 0:00:15.568 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722691541.3492198, "ctime": 1722691539.6551883, "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": 1722691538.4061651, "nlink": 1, "path": "/var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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": 1722691541.6202247, "ctime": 1722691539.6551883, "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": 1722691538.4171655, "nlink": 1, "path": "/var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.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-cijo6zalcy/tests/tests_deploy_keys.yml:61 Saturday 03 August 2024 13:25:47 +0000 (0:00:00.215) 0:00:15.783 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:67 Saturday 03 August 2024 13:25:47 +0000 (0:00:00.040) 0:00:15.824 ******* included: /WORKDIR/git-weekly-cijo6zalcy/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tasks/cleanup.yml:2 Saturday 03 August 2024 13:25:47 +0000 (0:00:00.013) 0:00:15.837 ******* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysukvryl4s", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cijo6zalcy/tests/tasks/cleanup.yml:9 Saturday 03 August 2024 13:25:47 +0000 (0:00:00.116) 0:00:15.954 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysukvryl4s', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysukvryl4s\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysukvryl4s\"/* \"/tmp/nbde_server_deploy_keysukvryl4s\"/.* || :\nfi\n", "delta": "0:00:00.004609", "end": "2024-08-03 13:25:48.020836", "item": { "path": "/tmp/nbde_server_deploy_keysukvryl4s", "remove_dir": "true" }, "rc": 0, "start": "2024-08-03 13:25:48.016227" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysukvryl4s 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.004903", "end": "2024-08-03 13:25:48.203649", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:25:48.198746" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/Ge2DKJanQDWWNwCJ-IbEHs8u25hzkxpXFOdSQLdUCyQ.jwk /var/db/tang/wsMZy5wMeaVwXyEW-U9ri1Qn7Whb9UAAaq99AFXdvZM.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.004576", "end": "2024-08-03 13:25:48.382785", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:25:48.378209" } 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 03 August 2024 13:25:48 +0000 (0:00:00.763) 0:00:16.718 ******* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 4.39s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 1.21s /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:7 ------------------ linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 1.06s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.91s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.90s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Remove managed node files/directories ----------------------------------- 0.76s /WORKDIR/git-weekly-cijo6zalcy/tests/tasks/cleanup.yml:9 ---------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.71s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.50s /WORKDIR/git-weekly-cijo6zalcy/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.35s /WORKDIR/git-weekly-cijo6zalcy/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.33s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Create tmpdir for server keys ------------------------------------------- 0.30s /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:12 ----------------- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.28s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.27s /WORKDIR/git-weekly-cijo6zalcy/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.26s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.25s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.22s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Gather keys after redeploy ---------------------------------------------- 0.22s /WORKDIR/git-weekly-cijo6zalcy/tests/tests_deploy_keys.yml:52 ----------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.21s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Clean up host deployment directory ----- 0.20s /WORKDIR/git-weekly-cijo6zalcy/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.20s /WORKDIR/git-weekly-cijo6zalcy/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. ---^---^---^---^---^---