# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-include_role8oc_bdvb/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run role] **************************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_default.yml:8 Thursday 25 July 2024 16:46:05 +0000 (0:00:00.014) 0:00:00.014 ********* 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:46:05 +0000 (0:00:00.010) 0:00:00.024 ********* 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:46:05 +0000 (0:00:00.019) 0:00:00.044 ********* ok: [sut] 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:46:06 +0000 (0:00:00.617) 0:00:00.661 ********* 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:46:06 +0000 (0:00:00.204) 0:00:00.866 ********* 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:46:06 +0000 (0:00:00.018) 0:00:00.885 ********* 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:46:06 +0000 (0:00:00.020) 0:00:00.906 ********* 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:46:06 +0000 (0:00:00.020) 0:00:00.926 ********* 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 538 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:46:15 +0000 (0:00:08.689) 0:00:09.615 ********* 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:46:15 +0000 (0:00:00.019) 0:00:09.634 ********* 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:46:15 +0000 (0:00:00.233) 0:00:09.868 ********* 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:46:15 +0000 (0:00:00.016) 0:00:09.884 ********* 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:46:15 +0000 (0:00:00.019) 0:00:09.904 ********* 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:46:15 +0000 (0:00:00.007) 0:00:09.912 ********* 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:46:15 +0000 (0:00:00.135) 0:00:10.047 ********* 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:46:15 +0000 (0:00:00.008) 0:00:10.056 ********* 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:46:16 +0000 (0:00:00.207) 0:00:10.264 ********* 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:46:16 +0000 (0:00:00.009) 0:00:10.273 ********* 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:46:16 +0000 (0:00:00.009) 0:00:10.283 ********* 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:46:16 +0000 (0:00:00.009) 0:00:10.292 ********* 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:46:16 +0000 (0:00:00.009) 0:00:10.301 ********* 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": "sockets.target shutdown.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 [Verify role results] ***************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_default.yml:13 Thursday 25 July 2024 16:46:16 +0000 (0:00:00.672) 0:00:10.974 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml for sut TASK [Gather state of required packages] *************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:2 Thursday 25 July 2024 16:46:16 +0000 (0:00:00.009) 0:00:10.983 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [Check whether required packages are installed] *************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:11 Thursday 25 July 2024 16:46:17 +0000 (0:00:00.654) 0:00:11.637 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Gather state of services] ************************************************ task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:15 Thursday 25 July 2024 16:46:17 +0000 (0:00:00.009) 0:00:11.647 ********* 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:46:16 UTC", "ActiveEnterTimestampMonotonic": "1355727961", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:46:16 UTC", "AssertTimestampMonotonic": "1355726501", "Backlog": "128", "Before": "sockets.target multi-user.target shutdown.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:46:16 UTC", "ConditionTimestampMonotonic": "1355726499", "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:46:16 UTC", "InactiveExitTimestampMonotonic": "1355727961", "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 [Check services are enabled and started] ********************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:24 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.455) 0:00:12.102 ********* ok: [sut] => (item={'status': {'DevicePolicy': 'auto', 'RuntimeDirectoryMode': '0755', 'UnitFileState': 'enabled', 'MaxConnections': '64', 'LimitSIGPENDING': '14311', 'OOMScoreAdjust': '0', 'NConnections': '0', 'LoadState': 'loaded', 'IPTOS': '-1', 'ProtectHome': 'no', 'Broadcast': 'no', 'TTYVTDisallocate': 'no', 'TTYVHangup': 'no', 'ReceiveBuffer': '0', 'LimitSTACK': '18446744073709551615', 'DeferAcceptUSec': '0', 'ActiveEnterTimestampMonotonic': '1355727961', 'StandardError': 'inherit', 'AssertTimestamp': 'Thu 2024-07-25 16:46:16 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Thu 2024-07-25 16:46:16 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'sockets.target multi-user.target shutdown.target tangd@0.service', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1355727961', 'Mark': '-1', 'Priority': '-1', 'SendSIGHUP': 'no', 'SyslogPriority': '30', 'SameProcessGroup': 'no', 'LimitNPROC': '14311', 'SystemCallErrorNumber': '0', 'UMask': '0022', 'NonBlocking': 'no', 'CPUQuotaPerSecUSec': 'infinity', 'CapabilityBoundingSet': '18446744073709551615', 'TTYReset': 'no', 'RefuseManualStart': 'no', 'KillMode': 'control-group', 'SyslogLevelPrefix': 'yes', 'LimitRSS': '18446744073709551615', 'LimitRTPRIO': '0', 'PassCredentials': 'no', 'Delegate': 'no', 'TasksCurrent': '18446744073709551615', 'LimitCORE': '18446744073709551615', 'JobTimeoutUSec': '0', 'TimerSlackNSec': '50000', 'SubState': 'listening', 'CPUSchedulingResetOnFork': 'no', 'Result': 'success', 'KeepAliveIntervalUSec': '0', 'CPUShares': '18446744073709551615', 'NoDelay': 'no', 'IPTTL': '-1', 'ConditionResult': 'yes', 'ConditionTimestampMonotonic': '1355726499', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Thu 2024-07-25 16:46:16 UTC', 'FragmentPath': '/usr/lib/systemd/system/tangd.socket', 'StartupCPUShares': '18446744073709551615', 'ActiveState': 'active', 'KeepAlive': 'no', 'LimitDATA': '18446744073709551615', 'UnitFilePreset': 'disabled', 'MemoryCurrent': '18446744073709551615', 'LimitRTTIME': '18446744073709551615', 'ListenStream': '[::]:80', 'WantedBy': 'multi-user.target', 'PipeSize': '0', 'ConditionTimestamp': 'Thu 2024-07-25 16:46:16 UTC', 'CPUAccounting': 'no', 'CPUSchedulingPolicy': '0', 'PrivateNetwork': 'no', 'Transparent': 'no', 'LimitNOFILE': '4096', 'CanReload': 'no', 'RefuseManualStop': 'no', 'Triggers': 'tangd@0.service', 'SocketMode': '0666', 'TasksAccounting': 'no', 'NeedDaemonReload': 'no', 'SecureBits': '0', 'StandardInput': 'null', 'AssertTimestampMonotonic': '1355726501', 'DefaultDependencies': 'yes', 'Requires': 'sysinit.target -.slice', 'TasksMax': '18446744073709551615', 'BindIPv6Only': 'default', 'LimitMEMLOCK': '65536', 'StopWhenUnneeded': 'no', 'LimitMSGQUEUE': '819200', 'TimeoutUSec': '1min 30s', 'AmbientCapabilities': '0', 'FreeBind': 'no', 'CollectMode': 'inactive', 'KeepAliveTimeUSec': '0', 'BlockIOAccounting': 'no', 'CanStop': 'yes', 'PrivateTmp': 'no', 'NoNewPrivileges': 'no', 'AssertResult': 'yes', 'LimitLOCKS': '18446744073709551615', 'AllowIsolate': 'no', 'LimitNICE': '0', 'After': 'sysinit.target -.slice', 'OnFailureJobMode': 'replace', 'KeepAliveProbes': '0', 'CanIsolate': 'no', 'Conflicts': 'shutdown.target', 'StandardOutput': 'journal', 'MountFlags': '0', 'InactiveEnterTimestampMonotonic': '0', 'SendSIGKILL': 'yes', 'MemoryAccounting': 'no', 'IgnoreSIGPIPE': 'yes', 'Transient': 'no', 'IOScheduling': '0', 'Description': 'Tang Server socket', 'ReusePort': 'no', 'ActiveExitTimestampMonotonic': '0', 'ControlPID': '0', 'Accept': 'yes', 'Names': 'tangd.socket', 'ProtectSystem': 'no', 'PrivateDevices': 'no', 'Id': 'tangd.socket'}, 'name': 'tangd.socket', 'changed': False, 'enabled': True, 'state': 'started', 'invocation': {'module_args': {'no_block': False, 'force': None, 'name': 'tangd.socket', 'daemon_reexec': False, 'enabled': True, 'daemon_reload': False, 'state': 'started', 'masked': None, 'scope': None, 'user': None}}, 'failed': False, 'item': 'tangd.socket', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "enabled": true, "failed": false, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "tangd.socket", "no_block": false, "scope": null, "state": "started", "user": null } }, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Thu 2024-07-25 16:46:16 UTC", "ActiveEnterTimestampMonotonic": "1355727961", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 16:46:16 UTC", "AssertTimestampMonotonic": "1355726501", "Backlog": "128", "Before": "sockets.target multi-user.target shutdown.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:46:16 UTC", "ConditionTimestampMonotonic": "1355726499", "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:46:16 UTC", "InactiveExitTimestampMonotonic": "1355727961", "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" } } } MSG: All assertions passed TASK [Include the appropriate provider verification tasks] ********************* task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:29 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.015) 0:00:12.118 ********* included: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-tang-results.yml for sut TASK [Gather state of keys] **************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-tang-results.yml:2 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.009) 0:00:12.128 ********* ok: [sut] => { "arguments": { "cachedir": null, "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": null }, "changed": false, "state": "keys-created" } TASK [Check whether there are keys] ******************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-tang-results.yml:10 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.133) 0:00:12.261 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tests_default.yml:16 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.016) 0:00:12.278 ********* 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:46:18 +0000 (0:00:00.018) 0:00:12.297 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:9 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.019) 0:00:12.316 ********* skipping: [sut] => (item={'path': '', 'remove_dir': 'true'}) => { "ansible_loop_var": "item", "changed": false, "item": { "path": "", "remove_dir": "true" }, "skip_reason": "Conditional result was False" } 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.007700", "end": "2024-07-25 16:46:18.472870", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:46:18.465170" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/amCSQyYQDQ6uTBwprtUb37l8sqs.jwk /var/db/tang/nuiEYpPb-oUivFDZNohknNyuKXU.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.004941", "end": "2024-07-25 16:46:18.619470", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-07-25 16:46:18.614529" } STDERR: + '[' false = true ']' + rm -rf '/var/cache/tang/*' '/var/cache/tang/.*' META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=23 changed=4 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 25 July 2024 16:46:18 +0000 (0:00:00.380) 0:00:12.697 ********* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 8.69s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.67s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Gather state of required packages --------------------------------------- 0.65s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:2 ------- linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.62s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Gather state of services ------------------------------------------------ 0.46s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-role-results.yml:15 ------ Remove managed node files/directories ----------------------------------- 0.38s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:9 ------------------- 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 : 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 : Check if system is ostree -------------- 0.20s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:11 linux-system-roles.nbde_server : Stat the tangd custom port systemd directory --- 0.14s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Gather state of keys ---------------------------------------------------- 0.13s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-tang-results.yml:2 ------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:20 linux-system-roles.nbde_server : Include the appropriate provider tasks --- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 linux-system-roles.nbde_server : Set version specific variables --------- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 linux-system-roles.nbde_server : Manage firewall and SELinux for port --- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 Remove control node files/directories ----------------------------------- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/cleanup.yml:2 ------------------- linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 linux-system-roles.nbde_server : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 Cleanup ----------------------------------------------------------------- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/tests_default.yml:16 ------------------ Check whether there are keys -------------------------------------------- 0.02s /WORKDIR/git-include_role8oc_bdvb/tests/tasks/verify-tang-results.yml:10 ------ ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---