Skip to content

Commit 2fc9501

Browse files
committed
test: add more information to test
Sometimes this test fails in al2023. Add more information to help debugging. Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 619f798 commit 2fc9501

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/framework/utils_vsock.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,13 @@ def check_guest_connections(vm, server_port_path, blob_path, blob_hash):
235235
cmd += "done;"
236236
cmd += "for w in $workers; do wait $w || exit -1; done"
237237

238-
ecode, _, _ = vm.ssh.run(cmd)
238+
ecode, stdout, stderr = vm.ssh.run(cmd)
239239

240240
echo_server.exit()
241241
assert echo_server.error is None
242242

243-
assert ecode == 0, ecode
243+
print(stdout.read())
244+
assert ecode == 0, stderr.read()
244245

245246

246247
def make_host_port_path(uds_path, port):

0 commit comments

Comments
 (0)