# 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_fetch_keys_deploy_not_set.yml ********************************** 1 plays in /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml PLAY [Test nbde_server_fetch_keys with nbde_server_deploy_keys not set] ******** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:11 Saturday 27 July 2024 13:23:49 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:16 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.698) 0:00:00.710 ********* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:23 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.168) 0:00:00.879 ********* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:27 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.018) 0:00:00.898 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.013) 0:00:00.911 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.023) 0:00:00.935 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.020) 0:00:00.955 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.259) 0:00:01.215 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.020) 0:00:01.235 ********* 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-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.023) 0:00:01.258 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 13:23:50 +0000 (0:00:00.023) 0:00:01.281 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 27 July 2024 13:23:53 +0000 (0:00:02.585) 0:00:03.867 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 27 July 2024 13:23:53 +0000 (0:00:00.017) 0:00:03.885 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 27 July 2024 13:23:53 +0000 (0:00:00.278) 0:00:04.164 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 27 July 2024 13:23:53 +0000 (0:00:00.019) 0:00:04.183 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 27 July 2024 13:23:53 +0000 (0:00:00.025) 0:00:04.209 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 13:23:53 +0000 (0:00:00.010) 0:00:04.219 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.185) 0:00:04.404 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.010) 0:00:04.415 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.286) 0:00:04.701 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.010) 0:00:04.712 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.010) 0:00:04.722 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.009) 0:00:04.732 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.010) 0:00:04.742 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-07-27 13:23:41 UTC", "ActiveEnterTimestampMonotonic": "793661896", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:23:41 UTC", "AssertTimestampMonotonic": "793659438", "Backlog": "128", "Before": "sockets.target multi-user.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 13:23:41 UTC", "ConditionTimestampMonotonic": "793659436", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 13:23:41 UTC", "InactiveExitTimestampMonotonic": "793661896", "InvocationID": "c70df6be4bb84f46b2714bd6e0941f56", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-27 13:23:41 UTC", "StateChangeTimestampMonotonic": "793661896", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } TASK [Gather keys] ************************************************************* task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:32 Saturday 27 July 2024 13:23:54 +0000 (0:00:00.482) 0:00:05.224 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722086633.8371325, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8371325, "nlink": 1, "path": "/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722086633.8421323, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8421323, "nlink": 1, "path": "/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Run with nbde_server_deploy_keys not set to check the keys] ************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:41 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.260) 0:00:05.484 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.012) 0:00:05.497 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.012) 0:00:05.509 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.018) 0:00:05.528 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.026) 0:00:05.554 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.016) 0:00:05.571 ********* 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-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.021) 0:00:05.592 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 27 July 2024 13:23:55 +0000 (0:00:00.015) 0:00:05.608 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 27 July 2024 13:23:57 +0000 (0:00:02.515) 0:00:08.123 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 27 July 2024 13:23:57 +0000 (0:00:00.009) 0:00:08.133 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.202) 0:00:08.336 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.019) 0:00:08.356 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.010) 0:00:08.366 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722086633.8371325, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8371325, "nlink": 1, "path": "/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722086633.8421323, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8421323, "nlink": 1, "path": "/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.186) 0:00:08.553 ********* changed: [sut] => (item={'path': '/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 37748930, 'dev': 51713, 'nlink': 1, 'atime': 1722086633.8371325, 'mtime': 1722086633.8371325, 'ctime': 1722086633.8451324, '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": "99275a59e77afab7f89291dd2290d5ef2f95b5d4", "dest": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "item": { "atime": 1722086633.8371325, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8371325, "nlink": 1, "path": "/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "b8378ad3671a5b8ac343fa5ca948285e", "remote_checksum": "99275a59e77afab7f89291dd2290d5ef2f95b5d4", "remote_md5sum": null } changed: [sut] => (item={'path': '/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 37748931, 'dev': 51713, 'nlink': 1, 'atime': 1722086633.8421323, 'mtime': 1722086633.8421323, 'ctime': 1722086633.8451324, '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": "ba51833c9a44acb5ec5c771924dd9741415ebfa8", "dest": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "item": { "atime": 1722086633.8421323, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8421323, "nlink": 1, "path": "/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "26a9e3e04bec78cdf034bac0b71c5574", "remote_checksum": "ba51833c9a44acb5ec5c771924dd9741415ebfa8", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.480) 0:00:09.033 ********* skipping: [sut] => (item={'path': '/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 354, 'inode': 37748930, 'dev': 51713, 'nlink': 1, 'atime': 1722086633.8371325, 'mtime': 1722086633.8371325, 'ctime': 1722086633.8451324, '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": 1722086633.8371325, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748930, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8371325, "nlink": 1, "path": "/var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0400', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 994, 'gid': 991, 'size': 349, 'inode': 37748931, 'dev': 51713, 'nlink': 1, 'atime': 1722086633.8421323, 'mtime': 1722086633.8421323, 'ctime': 1722086633.8451324, '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": 1722086633.8421323, "ctime": 1722086633.8451324, "dev": 51713, "gid": 991, "gr_name": "tang", "inode": 37748931, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1722086633.8421323, "nlink": 1, "path": "/var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 994, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.024) 0:00:09.057 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.032) 0:00:09.089 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.106) 0:00:09.196 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 27 July 2024 13:23:58 +0000 (0:00:00.009) 0:00:09.205 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1722086638.4884074, "ctime": 1722086638.4844074, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.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": 1722086638.7204092, "ctime": 1722086638.715409, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.117) 0:00:09.323 ********* skipping: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 96469995, 'dev': 49, 'nlink': 1, 'atime': 1722086638.4884074, 'mtime': 1722086638.4844074, 'ctime': 1722086638.4844074, '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": 1722086638.4884074, "ctime": 1722086638.4844074, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.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_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 96469996, 'dev': 49, 'nlink': 1, 'atime': 1722086638.7204092, 'mtime': 1722086638.715409, 'ctime': 1722086638.715409, '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": 1722086638.7204092, "ctime": 1722086638.715409, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.018) 0:00:09.342 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.012) 0:00:09.354 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.012) 0:00:09.367 ********* included: /WORKDIR/git-weekly-ciqwwn57en/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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.018) 0:00:09.385 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.010) 0:00:09.395 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.185) 0:00:09.580 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.010) 0:00:09.591 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.195) 0:00:09.786 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.010) 0:00:09.796 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.011) 0:00:09.807 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.010) 0:00:09.818 ********* 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-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.009) 0:00:09.827 ********* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-07-27 13:23:41 UTC", "ActiveEnterTimestampMonotonic": "793661896", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 13:23:41 UTC", "AssertTimestampMonotonic": "793659438", "Backlog": "128", "Before": "sockets.target multi-user.target tangd@0.service shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-07-27 13:23:41 UTC", "ConditionTimestampMonotonic": "793659436", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-07-27 13:23:41 UTC", "InactiveExitTimestampMonotonic": "793661896", "InvocationID": "c70df6be4bb84f46b2714bd6e0941f56", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KeyringMode": "shared", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "Listen": "[::]:80 (Stream)", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "Mark": "-1", "MaxConnections": "64", "MaxConnectionsPerSource": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "sysinit.target system.slice", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-07-27 13:23:41 UTC", "StateChangeTimestampMonotonic": "793661896", "StateDirectoryMode": "0755", "StopWhenUnneeded": "no", "SubState": "listening", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22406", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "TriggerLimitBurst": "200", "TriggerLimitIntervalUSec": "2s", "Triggers": "tangd@0.service", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Writable": "no" } } TASK [Check whether the keys were properly fetched] **************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:50 Saturday 27 July 2024 13:23:59 +0000 (0:00:00.323) 0:00:10.151 ********* ok: [sut -> localhost] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 96469995, 'dev': 49, 'nlink': 1, 'atime': 1722086638.4884074, 'mtime': 1722086638.4844074, 'ctime': 1722086638.4844074, '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": 1722086638.4884074, "ctime": 1722086638.4844074, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.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 }, "stat": { "atime": 1722086638.4884074, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "99275a59e77afab7f89291dd2290d5ef2f95b5d4", "ctime": 1722086638.4844074, "dev": 49, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } ok: [sut -> localhost] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 96469996, 'dev': 49, 'nlink': 1, 'atime': 1722086638.7204092, 'mtime': 1722086638.715409, 'ctime': 1722086638.715409, '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": 1722086638.7204092, "ctime": 1722086638.715409, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.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 }, "stat": { "atime": 1722086638.7204092, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ba51833c9a44acb5ec5c771924dd9741415ebfa8", "ctime": 1722086638.715409, "dev": 49, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the common keys are correct] ************************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:57 Saturday 27 July 2024 13:24:00 +0000 (0:00:00.223) 0:00:10.375 ********* ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 96469995, 'dev': 49, 'nlink': 1, 'atime': 1722086638.4884074, 'mtime': 1722086638.4844074, 'ctime': 1722086638.4844074, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'jenkins', 'gr_name': 'jenkins', 'checksum': '99275a59e77afab7f89291dd2290d5ef2f95b5d4', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 96469995, 'dev': 49, 'nlink': 1, 'atime': 1722086638.4884074, 'mtime': 1722086638.4844074, 'ctime': 1722086638.4844074, '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'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk" } }, "item": { "atime": 1722086638.4884074, "ctime": 1722086638.4844074, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.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 }, "stat": { "atime": 1722086638.4884074, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "99275a59e77afab7f89291dd2290d5ef2f95b5d4", "ctime": 1722086638.4844074, "dev": 49, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 96469995, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1722086638.4844074, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed ok: [sut] => (item={'changed': False, 'stat': {'exists': True, 'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 96469996, 'dev': 49, 'nlink': 1, 'atime': 1722086638.7204092, 'mtime': 1722086638.715409, 'ctime': 1722086638.715409, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'jenkins', 'gr_name': 'jenkins', 'checksum': 'ba51833c9a44acb5ec5c771924dd9741415ebfa8', 'mimetype': 'application/json', 'charset': 'us-ascii', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'failed': False, 'item': {'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 96469996, 'dev': 49, 'nlink': 1, 'atime': 1722086638.7204092, 'mtime': 1722086638.715409, 'ctime': 1722086638.715409, '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'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk" } }, "item": { "atime": 1722086638.7204092, "ctime": 1722086638.715409, "dev": 49, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.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 }, "stat": { "atime": 1722086638.7204092, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ba51833c9a44acb5ec5c771924dd9741415ebfa8", "ctime": 1722086638.715409, "dev": 49, "device_type": 0, "executable": false, "exists": true, "gid": 1001, "gr_name": "jenkins", "inode": 96469996, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "application/json", "mode": "0600", "mtime": 1722086638.715409, "nlink": 1, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3/sut/whiG-5P1KJ1NsdmTD99s5fbMLQg.jwk", "pw_name": "jenkins", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "version": null, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:62 Saturday 27 July 2024 13:24:00 +0000 (0:00:00.021) 0:00:10.396 ********* included: /WORKDIR/git-weekly-ciqwwn57en/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tasks/cleanup.yml:2 Saturday 27 July 2024 13:24:00 +0000 (0:00:00.012) 0:00:10.408 ********* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-ciqwwn57en/tests/tasks/cleanup.yml:9 Saturday 27 July 2024 13:24:00 +0000 (0:00:00.113) 0:00:10.522 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3\"\nelse\n rm -rf \"/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3\"/* \"/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3\"/.* || :\nfi\n", "delta": "0:00:00.004462", "end": "2024-07-27 13:24:00.484656", "item": { "path": "/tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3", "remove_dir": "true" }, "rc": 0, "start": "2024-07-27 13:24:00.480194" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_fetch_keys_deploy_not_set0bxs9pw3 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.004801", "end": "2024-07-27 13:24:00.676666", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-27 13:24:00.671865" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/LUJk7Ia9zRystX8F1ZwD8Dx6Xq0.jwk /var/db/tang/whiG-5P1KJ1NsdmTD99s5fbMLQg.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.004496", "end": "2024-07-27 13:24:00.866250", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-27 13:24:00.861754" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=36 changed=5 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Saturday 27 July 2024 13:24:00 +0000 (0:00:00.662) 0:00:11.184 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.59s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 2.52s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:11 --- Remove managed node files/directories ----------------------------------- 0.66s /WORKDIR/git-weekly-ciqwwn57en/tests/tasks/cleanup.yml:9 ---------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.48s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.48s /WORKDIR/git-weekly-ciqwwn57en/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.32s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.29s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.28s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Gather keys ------------------------------------------------------------- 0.26s /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:32 --- linux-system-roles.nbde_server : Check if system is ostree -------------- 0.26s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Check whether the keys were properly fetched ---------------------------- 0.22s /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:50 --- linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.20s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.20s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.19s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.19s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.19s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Create tmpdir for server keys ------------------------------------------- 0.17s /WORKDIR/git-weekly-ciqwwn57en/tests/tests_fetch_keys_deploy_not_set.yml:16 --- linux-system-roles.nbde_server : Gather host keys to be deployed -------- 0.12s /WORKDIR/git-weekly-ciqwwn57en/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Remove control node files/directories ----------------------------------- 0.11s /WORKDIR/git-weekly-ciqwwn57en/tests/tasks/cleanup.yml:2 ---------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---