# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_deploy_keys.yml ************************************************ 1 plays in /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:7 Thursday 25 July 2024 16:53:03 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:12 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.882) 0:00:00.894 ********* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keys9qnruirj", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:19 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.163) 0:00:01.057 ********* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keys9qnruirj" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:23 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.017) 0:00:01.074 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.012) 0:00:01.087 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.021) 0:00:01.109 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.018) 0:00:01.127 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.198) 0:00:01.325 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.020) 0:00:01.346 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.034) 0:00:01.381 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:53:04 +0000 (0:00:00.036) 0:00:01.417 ********* changed: [sut] => { "changed": true, "changes": { "installed": [ "tang" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package tang.x86_64 0:6-2.el7 will be installed\n--> Processing Dependency: jose >= 8 for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0(LIBJOSE_1.0)(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libjose.so.0()(64bit) for package: tang-6-2.el7.x86_64\n--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: tang-6-2.el7.x86_64\n--> Running transaction check\n---> Package http-parser.x86_64 0:2.7.1-9.el7 will be installed\n---> Package jose.x86_64 0:10-1.el7 will be installed\n---> Package libjose.x86_64 0:10-1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tang x86_64 6-2.el7 base 37 k\nInstalling for dependencies:\n http-parser x86_64 2.7.1-9.el7 base 29 k\n jose x86_64 10-1.el7 base 47 k\n libjose x86_64 10-1.el7 base 56 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+3 Dependent packages)\n\nTotal download size: 169 k\nInstalled size: 381 k\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 503 kB/s | 169 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libjose-10-1.el7.x86_64 1/4 \n Installing : jose-10-1.el7.x86_64 2/4 \n Installing : http-parser-2.7.1-9.el7.x86_64 3/4 \n Installing : tang-6-2.el7.x86_64 4/4 \n Verifying : tang-6-2.el7.x86_64 1/4 \n Verifying : libjose-10-1.el7.x86_64 2/4 \n Verifying : http-parser-2.7.1-9.el7.x86_64 3/4 \n Verifying : jose-10-1.el7.x86_64 4/4 \n\nInstalled:\n tang.x86_64 0:6-2.el7 \n\nDependency Installed:\n http-parser.x86_64 0:2.7.1-9.el7 jose.x86_64 0:10-1.el7 \n libjose.x86_64 0:10-1.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:53:13 +0000 (0:00:08.534) 0:00:09.952 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.017) 0:00:09.969 ********* changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.227) 0:00:10.197 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.017) 0:00:10.215 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.021) 0:00:10.237 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.009) 0:00:10.247 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.135) 0:00:10.383 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.009) 0:00:10.392 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.213) 0:00:10.605 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.010) 0:00:10.616 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.011) 0:00:10.627 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.008) 0:00:10.635 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:53:13 +0000 (0:00:00.009) 0:00:10.645 ********* changed: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Backlog": "128", "Before": "shutdown.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled" } } TASK [Fetch the keys from every host] ****************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:27 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.423) 0:00:11.068 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.012) 0:00:11.080 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.010) 0:00:11.091 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.009) 0:00:11.100 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.009) 0:00:11.110 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.008) 0:00:11.118 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.014) 0:00:11.132 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.013) 0:00:11.146 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.419) 0:00:11.565 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.009) 0:00:11.575 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:53:14 +0000 (0:00:00.137) 0:00:11.712 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.018) 0:00:11.731 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.009) 0:00:11.740 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926393.459423, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721926393.4654229, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.209) 0:00:11.950 ********* changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.459423, 'inode': 263086, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'xusr': False, 'atime': 1721926393.459423, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fbdafa65ae02915781fcef6184e17e90fdf57924", "dest": "/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "item": { "atime": 1721926393.459423, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "f30ab04f70fd6c2c769c55a19bd04dd5", "remote_checksum": "fbdafa65ae02915781fcef6184e17e90fdf57924", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.4654229, 'inode': 263087, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'xusr': False, 'atime': 1721926393.4654229, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a924fa7e66b2f7c3eed6acd91af576870c33b9d", "dest": "/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "item": { "atime": 1721926393.4654229, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "c701cc1a6fddc65d154bda551861a889", "remote_checksum": "9a924fa7e66b2f7c3eed6acd91af576870c33b9d", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.386) 0:00:12.337 ********* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.459423, 'inode': 263086, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'xusr': False, 'atime': 1721926393.459423, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926393.459423, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.4654229, 'inode': 263087, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'xusr': False, 'atime': 1721926393.4654229, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926393.4654229, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.016) 0:00:12.354 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.010) 0:00:12.364 ********* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.101) 0:00:12.466 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.009) 0:00:12.476 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926395.4295275, "ctime": 1721926395.4245274, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.4245274, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.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": 1721926395.615529, "ctime": 1721926395.609529, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.609529, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.103) 0:00:12.580 ********* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 260061177, 'dev': 84, 'nlink': 1, 'atime': 1721926395.4295275, 'mtime': 1721926395.4245274, 'ctime': 1721926395.4245274, '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": 1721926395.4295275, "ctime": 1721926395.4245274, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.4245274, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 260061178, 'dev': 84, 'nlink': 1, 'atime': 1721926395.615529, 'mtime': 1721926395.609529, 'ctime': 1721926395.609529, '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": 1721926395.615529, "ctime": 1721926395.609529, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.609529, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.016) 0:00:12.596 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.008) 0:00:12.604 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.008) 0:00:12.613 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.017) 0:00:12.630 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:53:15 +0000 (0:00:00.011) 0:00:12.642 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.134) 0:00:12.776 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.009) 0:00:12.786 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.144) 0:00:12.930 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.009) 0:00:12.940 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.010) 0:00:12.951 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.010) 0:00:12.961 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.009) 0:00:12.971 ********* 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": "Thu 2024-07-25 16:53:14 UTC", "ActiveEnterTimestampMonotonic": "1772020093", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:53:14 UTC", "AssertTimestampMonotonic": "1772018330", "Backlog": "128", "Before": "shutdown.target sockets.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:53:14 UTC", "ConditionTimestampMonotonic": "1772018328", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:53:14 UTC", "InactiveExitTimestampMonotonic": "1772020093", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys before redeploy] ********************************************* task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:35 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.223) 0:00:13.194 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926395.3613756, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721926395.550371, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Redeploy these same keys] ************************************************ task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:44 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.142) 0:00:13.337 ********* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.013) 0:00:13.350 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.010) 0:00:13.361 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.010) 0:00:13.372 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.008) 0:00:13.380 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.009) 0:00:13.389 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.014) 0:00:13.404 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Thursday 25 July 2024 16:53:16 +0000 (0:00:00.014) 0:00:13.419 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.416) 0:00:13.835 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.009) 0:00:13.845 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.135) 0:00:13.981 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.017) 0:00:13.998 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.009) 0:00:14.008 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926395.3613756, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721926395.550371, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Ensure we fetch the host keys] ********** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.140) 0:00:14.148 ********* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.459423, 'inode': 263086, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'xusr': False, 'atime': 1721926395.3613756, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926395.3613756, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.4654229, 'inode': 263087, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'xusr': False, 'atime': 1721926395.550371, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926395.550371, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.016) 0:00:14.164 ********* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.459423, 'inode': 263086, 'isgid': False, 'size': 354, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'xusr': False, 'atime': 1721926395.3613756, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926395.3613756, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1721926393.4654229, 'inode': 263087, 'isgid': False, 'size': 349, 'roth': False, 'isuid': False, 'isreg': True, 'pw_name': 'tang', 'gid': 994, 'ischr': False, 'wusr': False, 'xoth': False, 'rusr': True, 'nlink': 1, 'issock': False, 'rgrp': False, 'gr_name': 'tang', 'path': '/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'xusr': False, 'atime': 1721926395.550371, 'isdir': False, 'ctime': 1721926393.4664228, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1721926395.550371, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Prepare deployment directory - create] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.014) 0:00:14.179 ********* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.K_tpbJnbde_server_keys", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.136) 0:00:14.315 ********* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.101) 0:00:14.417 ********* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.010) 0:00:14.428 ********* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926395.4295275, "ctime": 1721926395.4245274, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.4245274, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.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": 1721926395.615529, "ctime": 1721926395.609529, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.609529, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Thursday 25 July 2024 16:53:17 +0000 (0:00:00.104) 0:00:14.532 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 260061177, 'dev': 84, 'nlink': 1, 'atime': 1721926395.4295275, 'mtime': 1721926395.4245274, 'ctime': 1721926395.4245274, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "fbdafa65ae02915781fcef6184e17e90fdf57924", "dest": "/tmp/ansible.K_tpbJnbde_server_keys/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "gid": 994, "group": "tang", "item": { "atime": 1721926395.4295275, "ctime": 1721926395.4245274, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061177, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.4245274, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "f30ab04f70fd6c2c769c55a19bd04dd5", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1721926397.8551588-4545-65227934954027/source", "state": "file", "uid": 997 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 260061178, 'dev': 84, 'nlink': 1, 'atime': 1721926395.615529, 'mtime': 1721926395.609529, 'ctime': 1721926395.609529, 'gr_name': 'jenkins', 'pw_name': 'jenkins', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': False, 'xgrp': False, 'woth': False, 'roth': False, 'xoth': False, 'isuid': False, 'isgid': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "9a924fa7e66b2f7c3eed6acd91af576870c33b9d", "dest": "/tmp/ansible.K_tpbJnbde_server_keys/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "gid": 994, "group": "tang", "item": { "atime": 1721926395.615529, "ctime": 1721926395.609529, "dev": 84, "gid": 1001, "gr_name": "jenkins", "inode": 260061178, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1721926395.609529, "nlink": 1, "path": "/tmp/nbde_server_deploy_keys9qnruirj/sut/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "md5sum": "c701cc1a6fddc65d154bda551861a889", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1721926398.33284-4545-2336999083824/source", "state": "file", "uid": 997 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Thursday 25 July 2024 16:53:18 +0000 (0:00:00.893) 0:00:15.425 ********* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.K_tpbJnbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Thursday 25 July 2024 16:53:18 +0000 (0:00:00.138) 0:00:15.564 ********* changed: [sut] => { "changed": true, "path": "/tmp/ansible.K_tpbJnbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Thursday 25 July 2024 16:53:18 +0000 (0:00:00.141) 0:00:15.705 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.017) 0:00:15.723 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.008) 0:00:15.731 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.129) 0:00:15.861 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.009) 0:00:15.870 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.134) 0:00:16.005 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.009) 0:00:16.015 ********* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.010) 0:00:16.025 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.008) 0:00:16.034 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.008) 0:00:16.042 ********* 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": "Thu 2024-07-25 16:53:14 UTC", "ActiveEnterTimestampMonotonic": "1772020093", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:53:14 UTC", "AssertTimestampMonotonic": "1772018330", "Backlog": "128", "Before": "shutdown.target sockets.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 16:53:14 UTC", "ConditionTimestampMonotonic": "1772018328", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 16:53:14 UTC", "InactiveExitTimestampMonotonic": "1772020093", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } TASK [Gather keys after redeploy] ********************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:52 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.208) 0:00:16.251 ********* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1721926395.3613756, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263086, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.459423, "nlink": 1, "path": "/var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 354, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721926395.550371, "ctime": 1721926393.4664228, "dev": 51713, "gid": 994, "gr_name": "tang", "inode": 263087, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0400", "mtime": 1721926393.4654229, "nlink": 1, "path": "/var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.jwk", "pw_name": "tang", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 997, "wgrp": false, "woth": false, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [Verify the keys are the same] ******************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:61 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.143) 0:00:16.394 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:67 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.010) 0:00:16.405 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:2 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.012) 0:00:16.417 ********* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keys9qnruirj", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:9 Thursday 25 July 2024 16:53:19 +0000 (0:00:00.107) 0:00:16.525 ********* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keys9qnruirj', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keys9qnruirj\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keys9qnruirj\"/* \"/tmp/nbde_server_deploy_keys9qnruirj\"/.* || :\nfi\n", "delta": "0:00:00.005459", "end": "2024-07-25 16:53:20.011107", "item": { "path": "/tmp/nbde_server_deploy_keys9qnruirj", "remove_dir": "true" }, "rc": 0, "start": "2024-07-25 16:53:20.005648" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keys9qnruirj 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.005874", "end": "2024-07-25 16:53:20.152459", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:53:20.146585" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/bzxHXKsseNwi48_RlUTpmk9_gLU.jwk /var/db/tang/PhR3FPMjySz4XNq1VH6LNk1sK_4.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.005170", "end": "2024-07-25 16:53:20.295425", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:53:20.290255" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=54 changed=10 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Thursday 25 July 2024 16:53:20 +0000 (0:00:00.502) 0:00:17.028 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 8.53s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 0.89s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:7 --------------- Remove managed node files/directories ----------------------------------- 0.50s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:9 ------------------- linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.42s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.42s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.42s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.39s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.23s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.22s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.21s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.21s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.21s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.20s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Create tmpdir for server keys ------------------------------------------- 0.16s /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:12 -------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Gather keys after redeploy ---------------------------------------------- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:52 -------------- Gather keys before redeploy --------------------------------------------- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/tests_deploy_keys.yml:35 -------------- linux-system-roles.nbde_server : Clean up host deployment directory ----- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---