# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_deploy_keys.yml ************************************************ 1 plays in /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml PLAY [Test nbde_server_deploy_keys] ******************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:7 Saturday 03 August 2024 13:39:33 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Create tmpdir for server keys] ******************************************* task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:12 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.716) 0:00:00.728 ******* changed: [sut -> localhost] => { "changed": true, "gid": 1001, "group": "jenkins", "mode": "0700", "owner": "jenkins", "path": "/tmp/nbde_server_deploy_keysrug_sunj", "size": 6, "state": "directory", "uid": 1000090000 } TASK [Set nbde_server_keys_dir] ************************************************ task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:19 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.166) 0:00:00.894 ******* ok: [sut] => { "ansible_facts": { "nbde_server_keys_dir": "/tmp/nbde_server_deploy_keysrug_sunj" }, "changed": false } TASK [Ensure we have keys] ***************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:23 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.020) 0:00:00.915 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.013) 0:00:00.929 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.023) 0:00:00.952 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.020) 0:00:00.972 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.200) 0:00:01.173 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_is_ostree": false }, "changed": false } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.022) 0:00:01.196 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.024) 0:00:01.220 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:39:34 +0000 (0:00:00.024) 0:00:01.245 ******* 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 614 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" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:39:41 +0000 (0:00:06.863) 0:00:08.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.019) 0:00:08.128 ******* changed: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": true, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.205) 0:00:08.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.017) 0:00:08.351 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.021) 0:00:08.373 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.010) 0:00:08.383 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.112) 0:00:08.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.008) 0:00:08.504 ******* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:39:41 +0000 (0:00:00.203) 0:00:08.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.009) 0:00:08.718 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.010) 0:00:08.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.010) 0:00:08.739 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.010) 0:00:08.749 ******* 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": "sysinit.target -.slice", "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": "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": "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-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:27 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.386) 0:00:09.135 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.012) 0:00:09.148 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.012) 0:00:09.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.010) 0:00:09.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.009) 0:00:09.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.009) 0:00:09.191 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.016) 0:00:09.208 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.015) 0:00:09.223 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.345) 0:00:09.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.009) 0:00:09.579 ******* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.110) 0:00:09.689 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 03 August 2024 13:39:42 +0000 (0:00:00.019) 0:00:09.709 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.010) 0:00:09.719 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692381.6039305, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692381.6099305, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.181) 0:00:09.901 ******* changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1722692381.6039305, '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/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'xusr': False, 'atime': 1722692381.6039305, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "5ba079895c48402ea73afc70ab8b95e5f70c560c", "dest": "/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk", "item": { "atime": 1722692381.6039305, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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": "d4aa108b027ff31cc0c635ab7ad8d7a9", "remote_checksum": "5ba079895c48402ea73afc70ab8b95e5f70c560c", "remote_md5sum": null } changed: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1722692381.6099305, '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/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'xusr': False, 'atime': 1722692381.6099305, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": true, "checksum": "e354ff6777baedb0ab736a0a21b4d2a5e5f50239", "dest": "/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk", "item": { "atime": 1722692381.6099305, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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": "1171e72659ecf606f1f6b643cf12c6de", "remote_checksum": "e354ff6777baedb0ab736a0a21b4d2a5e5f50239", "remote_md5sum": null } TASK [linux-system-roles.nbde_server : Ensure we fetch the keys for deploying in every host] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.324) 0:00:10.225 ******* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1722692381.6039305, '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/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'xusr': False, 'atime': 1722692381.6039305, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692381.6039305, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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': 1722692381.6099305, '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/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'xusr': False, 'atime': 1722692381.6099305, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692381.6099305, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.017) 0:00:10.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather common keys to be deployed] ****** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.010) 0:00:10.253 ******* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.108) 0:00:10.362 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.009) 0:00:10.371 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692383.353547, "ctime": 1722692383.3495471, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.3495471, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692383.508548, "ctime": 1722692383.5045478, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.5045478, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.110) 0:00:10.482 ******* skipping: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 218106105, 'dev': 57, 'nlink': 1, 'atime': 1722692383.353547, 'mtime': 1722692383.3495471, 'ctime': 1722692383.3495471, '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": 1722692383.353547, "ctime": 1722692383.3495471, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.3495471, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.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_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 218106106, 'dev': 57, 'nlink': 1, 'atime': 1722692383.508548, 'mtime': 1722692383.5045478, 'ctime': 1722692383.5045478, '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": 1722692383.508548, "ctime": 1722692383.5045478, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.5045478, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.016) 0:00:10.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.011) 0:00:10.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.010) 0:00:10.519 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.015) 0:00:10.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.008) 0:00:10.544 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.112) 0:00:10.657 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:39:43 +0000 (0:00:00.009) 0:00:10.666 ******* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.117) 0:00:10.784 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.009) 0:00:10.794 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.011) 0:00:10.805 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.010) 0:00:10.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.009) 0:00:10.825 ******* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-08-03 13:39:42 UTC", "ActiveEnterTimestampMonotonic": "1295499592", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:39:42 UTC", "AssertTimestampMonotonic": "1295498594", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service 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": "yes", "ConditionTimestamp": "Sat 2024-08-03 13:39:42 UTC", "ConditionTimestampMonotonic": "1295498593", "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": "Sat 2024-08-03 13:39:42 UTC", "InactiveExitTimestampMonotonic": "1295499592", "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-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:35 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.182) 0:00:11.007 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692383.294945, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692383.4549463, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:44 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.112) 0:00:11.120 ******* TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.013) 0:00:11.133 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for sut TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.012) 0:00:11.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Check if system is ostree] ************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.010) 0:00:11.156 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.008) 0:00:11.165 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.009) 0:00:11.174 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.014) 0:00:11.189 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for sut TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.014) 0:00:11.204 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.339) 0:00:11.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.011) 0:00:11.555 ******* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.114) 0:00:11.670 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml for sut TASK [linux-system-roles.nbde_server : Make sure nbde_server_keys_dir is set] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:6 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.019) 0:00:11.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Gather keys to be fetched] ************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Saturday 03 August 2024 13:39:44 +0000 (0:00:00.011) 0:00:11.701 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692383.294945, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692383.4549463, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.115) 0:00:11.817 ******* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1722692381.6039305, '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/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'xusr': False, 'atime': 1722692383.294945, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692383.294945, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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': 1722692381.6099305, '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/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'xusr': False, 'atime': 1722692383.4549463, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692383.4549463, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:41 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.016) 0:00:11.833 ******* skipping: [sut] => (item={'uid': 997, 'woth': False, 'mtime': 1722692381.6039305, '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/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'xusr': False, 'atime': 1722692383.294945, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692383.294945, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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': 1722692381.6099305, '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/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'xusr': False, 'atime': 1722692383.4549463, 'isdir': False, 'ctime': 1722692381.6099305, 'isblk': False, 'xgrp': False, 'dev': 51713, 'wgrp': False, 'isfifo': False, 'mode': '0400', 'islnk': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "atime": 1722692383.4549463, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:64 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.017) 0:00:11.851 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.xXtYs5nbde_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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:73 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.110) 0:00:11.961 ******* ok: [sut -> localhost] => { "changed": false, "examined": 1, "files": [], "matched": 0 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - common keys] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:82 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.113) 0:00:12.075 ******* TASK [linux-system-roles.nbde_server : Gather host keys to be deployed] ******** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:96 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.009) 0:00:12.084 ******* ok: [sut -> localhost] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692383.353547, "ctime": 1722692383.3495471, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.3495471, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692383.508548, "ctime": 1722692383.5045478, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.5045478, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk", "pw_name": "jenkins", "rgrp": false, "roth": false, "rusr": true, "size": 349, "uid": 1000090000, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 2 } TASK [linux-system-roles.nbde_server : Prepare for deploying keys - host keys] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Saturday 03 August 2024 13:39:45 +0000 (0:00:00.107) 0:00:12.192 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 354, 'inode': 218106105, 'dev': 57, 'nlink': 1, 'atime': 1722692383.353547, 'mtime': 1722692383.3495471, 'ctime': 1722692383.3495471, '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": "5ba079895c48402ea73afc70ab8b95e5f70c560c", "dest": "/tmp/ansible.xXtYs5nbde_server_keys/J_xJonpjyn9muzoeZbGrM6sUvMw.jwk", "gid": 994, "group": "tang", "item": { "atime": 1722692383.353547, "ctime": 1722692383.3495471, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.3495471, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/J_xJonpjyn9muzoeZbGrM6sUvMw.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": "d4aa108b027ff31cc0c635ab7ad8d7a9", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 354, "src": "/root/.ansible/tmp/ansible-tmp-1722692385.5152023-2978-17696147895961/source", "state": "file", "uid": 997 } changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk', 'mode': '0600', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 1000090000, 'gid': 1001, 'size': 349, 'inode': 218106106, 'dev': 57, 'nlink': 1, 'atime': 1722692383.508548, 'mtime': 1722692383.5045478, 'ctime': 1722692383.5045478, '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": "e354ff6777baedb0ab736a0a21b4d2a5e5f50239", "dest": "/tmp/ansible.xXtYs5nbde_server_keys/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk", "gid": 994, "group": "tang", "item": { "atime": 1722692383.508548, "ctime": 1722692383.5045478, "dev": 57, "gid": 1001, "gr_name": "jenkins", "inode": 218106106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0600", "mtime": 1722692383.5045478, "nlink": 1, "path": "/tmp/nbde_server_deploy_keysrug_sunj/sut/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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": "1171e72659ecf606f1f6b643cf12c6de", "mode": "0400", "owner": "tang", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 349, "src": "/root/.ansible/tmp/ansible-tmp-1722692385.9402237-2978-231289771945571/source", "state": "file", "uid": 997 } TASK [linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.783) 0:00:12.975 ******* ok: [sut] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": "/tmp/ansible.xXtYs5nbde_server_keys", "state": "keys-deployed", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-deployed" } TASK [linux-system-roles.nbde_server : Clean up host deployment directory] ***** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.116) 0:00:13.091 ******* changed: [sut] => { "changed": true, "path": "/tmp/ansible.xXtYs5nbde_server_keys/", "state": "absent" } TASK [linux-system-roles.nbde_server : Manage firewall and SELinux for port] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.117) 0:00:13.209 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml for sut TASK [Ensure tang port is labeled tangd_port_t for SELinux] ******************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:2 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.016) 0:00:13.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Stat the tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.009) 0:00:13.236 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.nbde_server : Get a list of files in the tangd custom directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:19 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.108) 0:00:13.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Manage tangd custom port systemd directory] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.009) 0:00:13.354 ******* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/tangd.socket.d", "state": "absent" } TASK [linux-system-roles.nbde_server : Creates the file with the port entry that we want tangd to listen to] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:46 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.119) 0:00:13.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Set flag to to tell main that the port has changed] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:55 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.010) 0:00:13.484 ******* ok: [sut] => { "ansible_facts": { "__nbde_server_port_changed": false }, "changed": false } TASK [Ensure the desired port is added to firewalld] *************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:61 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.012) 0:00:13.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Reload the daemons so the new changes take effect] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:36 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.010) 0:00:13.507 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.009) 0:00:13.517 ******* ok: [sut] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Sat 2024-08-03 13:39:42 UTC", "ActiveEnterTimestampMonotonic": "1295499592", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:39:42 UTC", "AssertTimestampMonotonic": "1295498594", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service 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": "yes", "ConditionTimestamp": "Sat 2024-08-03 13:39:42 UTC", "ConditionTimestampMonotonic": "1295498593", "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": "Sat 2024-08-03 13:39:42 UTC", "InactiveExitTimestampMonotonic": "1295499592", "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-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:52 Saturday 03 August 2024 13:39:46 +0000 (0:00:00.185) 0:00:13.703 ******* ok: [sut] => { "changed": false, "examined": 2, "files": [ { "atime": 1722692383.294945, "ctime": 1722692381.6099305, "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": 1722692381.6039305, "nlink": 1, "path": "/var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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": 1722692383.4549463, "ctime": 1722692381.6099305, "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": 1722692381.6099305, "nlink": 1, "path": "/var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.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-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:61 Saturday 03 August 2024 13:39:47 +0000 (0:00:00.114) 0:00:13.817 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:67 Saturday 03 August 2024 13:39:47 +0000 (0:00:00.012) 0:00:13.830 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml for sut TASK [Remove control node files/directories] *********************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml:2 Saturday 03 August 2024 13:39:47 +0000 (0:00:00.012) 0:00:13.842 ******* changed: [sut -> localhost] => { "changed": true, "path": "/tmp/nbde_server_deploy_keysrug_sunj", "state": "absent" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml:9 Saturday 03 August 2024 13:39:47 +0000 (0:00:00.110) 0:00:13.953 ******* changed: [sut] => (item={'path': '/tmp/nbde_server_deploy_keysrug_sunj', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": true, "cmd": "set -euxo pipefail\nif [ \"true\" = true ]; then\n rm -rf \"/tmp/nbde_server_deploy_keysrug_sunj\"\nelse\n rm -rf \"/tmp/nbde_server_deploy_keysrug_sunj\"/* \"/tmp/nbde_server_deploy_keysrug_sunj\"/.* || :\nfi\n", "delta": "0:00:00.003547", "end": "2024-08-03 13:39:47.393287", "item": { "path": "/tmp/nbde_server_deploy_keysrug_sunj", "remove_dir": "true" }, "rc": 0, "start": "2024-08-03 13:39:47.389740" } STDERR: + '[' true = true ']' + rm -rf /tmp/nbde_server_deploy_keysrug_sunj 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.003670", "end": "2024-08-03 13:39:47.499941", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:39:47.496271" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/5rrU6tw_j3lIF6Hqp_Bk1MCYhnw.jwk /var/db/tang/J_xJonpjyn9muzoeZbGrM6sUvMw.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.003473", "end": "2024-08-03 13:39:47.610185", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:39:47.606712" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=54 changed=10 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0 Saturday 03 August 2024 13:39:47 +0000 (0:00:00.379) 0:00:14.333 ******* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 6.86s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Prepare for deploying keys - host keys --- 0.78s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:105 Gathering Facts --------------------------------------------------------- 0.72s /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:7 ------------------ linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.39s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Remove managed node files/directories ----------------------------------- 0.38s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml:9 ---------------------- linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.35s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.34s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure we fetch the host keys ---------- 0.32s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:28 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.21s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:18 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.20s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Check if system is ostree -------------- 0.20s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.19s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.18s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.18s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 Create tmpdir for server keys ------------------------------------------- 0.17s /WORKDIR/git-weekly-cinhjrjn01/tests/tests_deploy_keys.yml:12 ----------------- linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Clean up host deployment directory ----- 0.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:133 linux-system-roles.nbde_server : Manage tangd custom port systemd directory --- 0.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:35 linux-system-roles.nbde_server : Ensure we perform the keys deployment to tang --- 0.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:120 linux-system-roles.nbde_server : Gather keys to be fetched -------------- 0.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tang-key-management.yml:17 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---