ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpleia1jva executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 21:42:56 +0000 (0:00:00.017) 0:00:00.017 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 21:42:57 +0000 (0:00:01.305) 0:00:01.322 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.31s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:6 Thursday 07 July 2022 21:42:57 +0000 (0:00:00.055) 0:00:01.378 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:42:59 +0000 (0:00:01.153) 0:00:02.532 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:42:59 +0000 (0:00:00.028) 0:00:02.561 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Thursday 07 July 2022 21:42:59 +0000 (0:00:00.537) 0:00:03.098 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpgu7_x0wv/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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:42:59 +0000 (0:00:00.040) 0:00:03.139 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:42:59 +0000 (0:00:00.032) 0:00:03.172 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:43:01 +0000 (0:00:01.495) 0:00:04.667 ********* changed: [/cache/rhel-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:43:01 +0000 (0:00:00.576) 0:00:05.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:43:01 +0000 (0:00:00.036) 0:00:05.281 ********* skipping: [/cache/rhel-8.qcow2] => { "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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:43:01 +0000 (0:00:00.036) 0:00:05.317 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:38:37 EDT", "ActiveEnterTimestampMonotonic": "20479940", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:38:37 EDT", "AssertTimestampMonotonic": "20478392", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.target sockets.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": "Thu 2022-07-07 17:38:37 EDT", "ConditionTimestampMonotonic": "20478392", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:38:37 EDT", "InactiveExitTimestampMonotonic": "20479940", "InvocationID": "1618d3ba82f440b3ba3bf2d51fc33f29", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-07 17:38:37 EDT", "StateChangeTimestampMonotonic": "20479940", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys] ************************************************************* task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:14 Thursday 07 July 2022 21:43:02 +0000 (0:00:00.845) 0:00:06.163 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 26, "files": [ { "atime": 1657230180.754885, "ctime": 1657230180.759885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230180.754885, "nlink": 1, "path": "/var/db/tang/125dFsqpeRobnNqm-cmXOnH_bv4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230180.758885, "ctime": 1657230180.759885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574180, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230180.758885, "nlink": 1, "path": "/var/db/tang/Rn9cYXNlZNEtZeLxN7_IsKbQAMg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:43:03 +0000 (0:00:00.570) 0:00:06.733 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:43:03 +0000 (0:00:00.034) 0:00:06.768 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Thursday 07 July 2022 21:43:03 +0000 (0:00:00.538) 0:00:07.306 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpgu7_x0wv/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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:43:03 +0000 (0:00:00.043) 0:00:07.349 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:43:03 +0000 (0:00:00.033) 0:00:07.383 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:43:05 +0000 (0:00:01.282) 0:00:08.665 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:43:05 +0000 (0:00:00.035) 0:00:08.701 ********* ok: [/cache/rhel-8.qcow2] => { "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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:43:05 +0000 (0:00:00.433) 0:00:09.134 ********* skipping: [/cache/rhel-8.qcow2] => { "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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:43:05 +0000 (0:00:00.035) 0:00:09.169 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:38:37 EDT", "ActiveEnterTimestampMonotonic": "20479940", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:38:37 EDT", "AssertTimestampMonotonic": "20478392", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.target sockets.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": "Thu 2022-07-07 17:38:37 EDT", "ConditionTimestampMonotonic": "20478392", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:38:37 EDT", "InactiveExitTimestampMonotonic": "20479940", "InvocationID": "1618d3ba82f440b3ba3bf2d51fc33f29", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-07 17:38:37 EDT", "StateChangeTimestampMonotonic": "20479940", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:31 Thursday 07 July 2022 21:43:06 +0000 (0:00:00.519) 0:00:09.689 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 26, "files": [ { "atime": 1657230180.754885, "ctime": 1657230180.759885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574149, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230180.754885, "nlink": 1, "path": "/var/db/tang/125dFsqpeRobnNqm-cmXOnH_bv4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230180.758885, "ctime": 1657230180.759885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574180, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230180.758885, "nlink": 1, "path": "/var/db/tang/Rn9cYXNlZNEtZeLxN7_IsKbQAMg.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:42 Thursday 07 July 2022 21:43:06 +0000 (0:00:00.403) 0:00:10.092 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:43:06 +0000 (0:00:00.032) 0:00:10.124 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:43:06 +0000 (0:00:00.026) 0:00:10.151 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Thursday 07 July 2022 21:43:07 +0000 (0:00:00.522) 0:00:10.673 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpgu7_x0wv/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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:43:07 +0000 (0:00:00.037) 0:00:10.711 ********* included: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:43:07 +0000 (0:00:00.029) 0:00:10.740 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:43:08 +0000 (0:00:01.509) 0:00:12.250 ********* changed: [/cache/rhel-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:43:09 +0000 (0:00:00.424) 0:00:12.674 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:43:09 +0000 (0:00:00.034) 0:00:12.708 ********* skipping: [/cache/rhel-8.qcow2] => { "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: /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:43:09 +0000 (0:00:00.033) 0:00:12.742 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:38:37 EDT", "ActiveEnterTimestampMonotonic": "20479940", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:38:37 EDT", "AssertTimestampMonotonic": "20478392", "Backlog": "128", "Before": "tangd@0.service multi-user.target shutdown.target sockets.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": "Thu 2022-07-07 17:38:37 EDT", "ConditionTimestampMonotonic": "20478392", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:38:37 EDT", "InactiveExitTimestampMonotonic": "20479940", "InvocationID": "1618d3ba82f440b3ba3bf2d51fc33f29", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MessageQueueMaxMessages": "0", "MessageQueueMessageSize": "0", "MountAPIVFS": "no", "MountFlags": "", "NAccepted": "0", "NConnections": "0", "NRefused": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassPacketInfo": "no", "PassSecurity": "no", "Perpetual": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveIPC": "no", "RemoveOnStop": "no", "Requires": "system.slice sysinit.target", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "SocketMode": "0666", "SocketProtocol": "0", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2022-07-07 17:38:37 EDT", "StateChangeTimestampMonotonic": "20479940", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:52 Thursday 07 July 2022 21:43:09 +0000 (0:00:00.543) 0:00:13.286 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 28, "files": [ { "atime": 1657230188.188885, "ctime": 1657230188.194885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230188.188885, "nlink": 1, "path": "/var/db/tang/QtoXxlbM9R-7Z9dCoT4xyngODCs.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230188.193885, "ctime": 1657230188.194885, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574182, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230188.193885, "nlink": 1, "path": "/var/db/tang/9H1iOHE103nM_44xGXGJBR2GpFM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:63 Thursday 07 July 2022 21:43:10 +0000 (0:00:00.368) 0:00:13.654 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=28 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 07 July 2022 21:43:10 +0000 (0:00:00.041) 0:00:13.696 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.51s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.50s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 set up internal repositories -------------------------------------------- 1.31s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.nbde_server : Ensure tang is installed --------------- 1.28s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:6 -------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.85s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.58s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Gather keys ------------------------------------------------------------- 0.57s /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:14 ------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.54s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.54s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.54s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.52s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.52s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.43s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.42s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.40s /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:31 ------------------- Gather keys after running with nbde_server_rotate_keys set -------------- 0.37s /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:52 ------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Check whether keys changed - nbde_server_rotate_keys set ---------------- 0.04s /tmp/tmpgu7_x0wv/tests/tests_nbde_server_rotate_keys.yml:63 ------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpgu7_x0wv/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpleia1jva executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 21:48:39 +0000 (0:00:00.018) 0:00:00.018 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 21:48:40 +0000 (0:00:01.298) 0:00:01.317 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_nbde_server_rotate_keys.yml ************************************ 1 plays in /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml PLAY [Verify behavior of nbde_server_rotate_keys] ****************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 Thursday 07 July 2022 21:48:40 +0000 (0:00:00.043) 0:00:01.361 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:48:41 +0000 (0:00:01.039) 0:00:02.400 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:48:41 +0000 (0:00:00.028) 0:00:02.429 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Thursday 07 July 2022 21:48:42 +0000 (0:00:00.517) 0:00:02.947 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:48:42 +0000 (0:00:00.038) 0:00:02.985 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:48:42 +0000 (0:00:00.033) 0:00:03.019 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:48:43 +0000 (0:00:01.422) 0:00:04.441 ********* changed: [/cache/rhel-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:48:44 +0000 (0:00:00.497) 0:00:04.939 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:48:44 +0000 (0:00:00.032) 0:00:04.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:48:44 +0000 (0:00:00.032) 0:00:05.004 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ActiveEnterTimestampMonotonic": "20726033", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:43:49 EDT", "AssertTimestampMonotonic": "20724482", "Backlog": "128", "Before": "tangd@0.service sockets.target multi-user.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ConditionTimestampMonotonic": "20724481", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:43:49 EDT", "InactiveExitTimestampMonotonic": "20726033", "InvocationID": "c63276bfd2d1444c8a8061e47a4f6def", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "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": "Thu 2022-07-07 17:43:49 EDT", "StateChangeTimestampMonotonic": "20726033", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys] ************************************************************* task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 Thursday 07 July 2022 21:48:45 +0000 (0:00:00.780) 0:00:05.784 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 28, "files": [ { "atime": 1657230523.9291697, "ctime": 1657230523.9331696, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230523.9291697, "nlink": 1, "path": "/var/db/tang/gxMibw0xW-KjSuyvKyLbnxJ-0rM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230523.9331696, "ctime": 1657230523.9331696, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574180, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230523.9331696, "nlink": 1, "path": "/var/db/tang/yA5OSkZk6lHwyW-336C3CaQ30tU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:48:45 +0000 (0:00:00.494) 0:00:06.278 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:48:45 +0000 (0:00:00.029) 0:00:06.307 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Thursday 07 July 2022 21:48:46 +0000 (0:00:00.498) 0:00:06.806 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:48:46 +0000 (0:00:00.048) 0:00:06.854 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:48:46 +0000 (0:00:00.036) 0:00:06.891 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:48:47 +0000 (0:00:01.200) 0:00:08.091 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:48:47 +0000 (0:00:00.035) 0:00:08.126 ********* ok: [/cache/rhel-8.qcow2] => { "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 [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:48:47 +0000 (0:00:00.369) 0:00:08.495 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:48:48 +0000 (0:00:00.035) 0:00:08.531 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ActiveEnterTimestampMonotonic": "20726033", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:43:49 EDT", "AssertTimestampMonotonic": "20724482", "Backlog": "128", "Before": "tangd@0.service sockets.target multi-user.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ConditionTimestampMonotonic": "20724481", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:43:49 EDT", "InactiveExitTimestampMonotonic": "20726033", "InvocationID": "c63276bfd2d1444c8a8061e47a4f6def", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "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": "Thu 2022-07-07 17:43:49 EDT", "StateChangeTimestampMonotonic": "20726033", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys not set] ********** task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 Thursday 07 July 2022 21:48:48 +0000 (0:00:00.506) 0:00:09.037 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 28, "files": [ { "atime": 1657230523.9291697, "ctime": 1657230523.9331696, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230523.9291697, "nlink": 1, "path": "/var/db/tang/gxMibw0xW-KjSuyvKyLbnxJ-0rM.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230523.9331696, "ctime": 1657230523.9331696, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574180, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230523.9331696, "nlink": 1, "path": "/var/db/tang/yA5OSkZk6lHwyW-336C3CaQ30tU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys not set] ************ task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:42 Thursday 07 July 2022 21:48:48 +0000 (0:00:00.346) 0:00:09.384 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Thursday 07 July 2022 21:48:48 +0000 (0:00:00.062) 0:00:09.447 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Thursday 07 July 2022 21:48:48 +0000 (0:00:00.026) 0:00:09.474 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Thursday 07 July 2022 21:48:49 +0000 (0:00:00.509) 0:00:09.983 ********* ok: [/cache/rhel-8.qcow2] => { "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": [ "/tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Thursday 07 July 2022 21:48:49 +0000 (0:00:00.069) 0:00:10.053 ********* included: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Thursday 07 July 2022 21:48:49 +0000 (0:00:00.032) 0:00:10.086 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Thursday 07 July 2022 21:48:50 +0000 (0:00:01.228) 0:00:11.314 ********* changed: [/cache/rhel-8.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-rotated", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-rotated" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Thursday 07 July 2022 21:48:51 +0000 (0:00:00.405) 0:00:11.719 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Thursday 07 July 2022 21:48:51 +0000 (0:00:00.032) 0:00:11.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Thursday 07 July 2022 21:48:51 +0000 (0:00:00.031) 0:00:11.783 ********* ok: [/cache/rhel-8.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ActiveEnterTimestampMonotonic": "20726033", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 17:43:49 EDT", "AssertTimestampMonotonic": "20724482", "Backlog": "128", "Before": "tangd@0.service sockets.target multi-user.target shutdown.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "Broadcast": "no", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "no", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2022-07-07 17:43:49 EDT", "ConditionTimestampMonotonic": "20724481", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/tangd.socket", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "FailureAction": "none", "FileDescriptorName": "tangd.socket", "FlushPending": "no", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "FreezerState": "running", "GID": "[not set]", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2022-07-07 17:43:49 EDT", "InactiveExitTimestampMonotonic": "20726033", "InvocationID": "c63276bfd2d1444c8a8061e47a4f6def", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "0", "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": "Thu 2022-07-07 17:43:49 EDT", "StateChangeTimestampMonotonic": "20726033", "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": "0", "TasksMax": "11153", "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" } } META: role_complete for /cache/rhel-8.qcow2 TASK [Gather keys after running with nbde_server_rotate_keys set] ************** task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 Thursday 07 July 2022 21:48:51 +0000 (0:00:00.532) 0:00:12.315 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 30, "files": [ { "atime": 1657230530.7101696, "ctime": 1657230530.7151697, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574151, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230530.7101696, "nlink": 1, "path": "/var/db/tang/Vp_Nrc6ov-NfJBIA0v83ojwoU5c.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657230530.7141695, "ctime": 1657230530.7151697, "dev": 64515, "gid": 988, "gr_name": "tang", "inode": 17574182, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1657230530.7141695, "nlink": 1, "path": "/var/db/tang/p-sLclYzuVCfnrQTmqV7JYkTIVw.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 991, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check whether keys changed - nbde_server_rotate_keys set] **************** task path: /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:63 Thursday 07 July 2022 21:48:52 +0000 (0:00:00.344) 0:00:12.659 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=28 changed=2 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Thursday 07 July 2022 21:48:52 +0000 (0:00:00.038) 0:00:12.698 ********* =============================================================================== fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.42s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.23s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 1.20s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:6 -------- fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.78s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.53s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.52s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.51s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.51s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.50s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.50s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Gather keys ------------------------------------------------------------- 0.49s /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:14 ------- fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.41s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.37s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Gather keys after running with nbde_server_rotate_keys not set ---------- 0.35s /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:31 ------- Gather keys after running with nbde_server_rotate_keys set -------------- 0.34s /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:52 ------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.07s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Check whether keys changed - nbde_server_rotate_keys not set ------------ 0.06s /tmp/tmp8pwd0cqj/tests/nbde_server/tests_nbde_server_rotate_keys.yml:42 ------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.05s /tmp/tmpleia1jva/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7