# 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-weekly-cinhjrjn01/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [Run role] **************************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_default.yml:8 Saturday 03 August 2024 13:39:07 +0000 (0:00:00.015) 0:00:00.015 ******* 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:07 +0000 (0:00:00.010) 0:00:00.025 ******* 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:07 +0000 (0:00:00.021) 0:00:00.047 ******* ok: [sut] 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:08 +0000 (0:00:00.492) 0:00:00.540 ******* 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:08 +0000 (0:00:00.188) 0:00:00.728 ******* 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:08 +0000 (0:00:00.022) 0:00:00.750 ******* 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:08 +0000 (0:00:00.023) 0:00:00.774 ******* 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:08 +0000 (0:00:00.023) 0:00:00.797 ******* 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 592 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:16 +0000 (0:00:07.852) 0:00:08.650 ******* 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:16 +0000 (0:00:00.018) 0:00:08.668 ******* 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:16 +0000 (0:00:00.212) 0:00:08.880 ******* 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:16 +0000 (0:00:00.018) 0:00:08.898 ******* 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:16 +0000 (0:00:00.020) 0:00:08.919 ******* 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:16 +0000 (0:00:00.007) 0:00:08.926 ******* 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:16 +0000 (0:00:00.116) 0:00:09.043 ******* 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:16 +0000 (0:00:00.009) 0:00:09.052 ******* 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:16 +0000 (0:00:00.200) 0:00:09.253 ******* 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:16 +0000 (0:00:00.008) 0:00:09.262 ******* 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:16 +0000 (0:00:00.009) 0:00:09.271 ******* 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:16 +0000 (0:00:00.007) 0:00:09.279 ******* 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:16 +0000 (0:00:00.009) 0:00:09.288 ******* 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 [Verify role results] ***************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_default.yml:13 Saturday 03 August 2024 13:39:17 +0000 (0:00:00.588) 0:00:09.877 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml for sut TASK [Gather state of required packages] *************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:2 Saturday 03 August 2024 13:39:17 +0000 (0:00:00.009) 0:00:09.886 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } lsrpackages: tang TASK [Check whether required packages are installed] *************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:11 Saturday 03 August 2024 13:39:17 +0000 (0:00:00.555) 0:00:10.442 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Gather state of services] ************************************************ task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:15 Saturday 03 August 2024 13:39:17 +0000 (0:00:00.009) 0:00:10.452 ******* 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:17 UTC", "ActiveEnterTimestampMonotonic": "1288724044", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:39:17 UTC", "AssertTimestampMonotonic": "1288722875", "Backlog": "128", "Before": "shutdown.target sockets.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-03 13:39:17 UTC", "ConditionTimestampMonotonic": "1288722874", "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:17 UTC", "InactiveExitTimestampMonotonic": "1288724044", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "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-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:24 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.390) 0:00:10.842 ******* 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': '1288724044', 'StandardError': 'inherit', 'AssertTimestamp': 'Sat 2024-08-03 13:39:17 UTC', 'IgnoreOnSnapshot': 'no', 'NAccepted': '0', 'CPUSchedulingPriority': '0', 'KillSignal': '15', 'LimitFSIZE': '18446744073709551615', 'BlockIOWeight': '18446744073709551615', 'IgnoreOnIsolate': 'no', 'LimitCPU': '18446744073709551615', 'Backlog': '128', 'InactiveExitTimestamp': 'Sat 2024-08-03 13:39:17 UTC', 'SendBuffer': '0', 'Nice': '0', 'MemoryLimit': '18446744073709551615', 'CanStart': 'yes', 'DirectoryMode': '0755', 'JobTimeoutAction': 'none', 'Before': 'shutdown.target sockets.target multi-user.target tangd@0.service', 'PassSecurity': 'no', 'LimitAS': '18446744073709551615', 'RemoveOnStop': 'no', 'InactiveExitTimestampMonotonic': '1288724044', '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': '1288722874', 'StartupBlockIOWeight': '18446744073709551615', 'ActiveEnterTimestamp': 'Sat 2024-08-03 13:39:17 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': 'Sat 2024-08-03 13:39:17 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': '1288722875', 'DefaultDependencies': 'yes', 'Requires': '-.slice sysinit.target', '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': '-.slice sysinit.target', '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": "Sat 2024-08-03 13:39:17 UTC", "ActiveEnterTimestampMonotonic": "1288724044", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.slice sysinit.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-08-03 13:39:17 UTC", "AssertTimestampMonotonic": "1288722875", "Backlog": "128", "Before": "shutdown.target sockets.target multi-user.target tangd@0.service", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-08-03 13:39:17 UTC", "ConditionTimestampMonotonic": "1288722874", "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:17 UTC", "InactiveExitTimestampMonotonic": "1288724044", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "-.slice sysinit.target", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "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-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:29 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.016) 0:00:10.859 ******* included: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-tang-results.yml for sut TASK [Gather state of keys] **************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-tang-results.yml:2 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.009) 0:00:10.869 ******* 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-weekly-cinhjrjn01/tests/tasks/verify-tang-results.yml:10 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.113) 0:00:10.982 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tests_default.yml:16 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.009) 0:00:10.992 ******* 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:18 +0000 (0:00:00.009) 0:00:11.002 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove managed node files/directories] *********************************** task path: /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml:9 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.008) 0:00:11.011 ******* 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.005504", "end": "2024-08-03 13:39:18.719036", "item": { "path": "/var/db/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:39:18.713532" } STDERR: + '[' false = true ']' + rm -rf /var/db/tang/sXgfdJzCqaG-qIFG8GOnHA9Qw5g.jwk /var/db/tang/Uag2ZFmHrDk2u7exP_YRrkQtNaY.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.004272", "end": "2024-08-03 13:39:18.835577", "item": { "path": "/var/cache/tang", "remove_dir": "false" }, "rc": 0, "start": "2024-08-03 13:39:18.831305" } 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 Saturday 03 August 2024 13:39:18 +0000 (0:00:00.319) 0:00:11.330 ******* =============================================================================== linux-system-roles.nbde_server : Ensure tang is installed --------------- 7.85s /WORKDIR/git-weekly-cinhjrjn01/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.59s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:41 Gather state of required packages --------------------------------------- 0.56s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:2 ---------- linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.49s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Gather state of services ------------------------------------------------ 0.39s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:15 --------- Remove managed node files/directories ----------------------------------- 0.32s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/cleanup.yml:9 ---------------------- 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.19s /WORKDIR/git-weekly-cinhjrjn01/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.12s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/tangd-custom-port.yml:14 Gather state of keys ---------------------------------------------------- 0.11s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-tang-results.yml:2 ---------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.02s /WORKDIR/git-weekly-cinhjrjn01/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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 linux-system-roles.nbde_server : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:16 linux-system-roles.nbde_server : Set version specific variables --------- 0.02s /WORKDIR/git-weekly-cinhjrjn01/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-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:32 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.02s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:9 linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.02s /WORKDIR/git-weekly-cinhjrjn01/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:27 Check services are enabled and started ---------------------------------- 0.02s /WORKDIR/git-weekly-cinhjrjn01/tests/tasks/verify-role-results.yml:24 --------- Run role ---------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-cinhjrjn01/tests/tests_default.yml:8 ---------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---