From 9685bc38902254b9156b9c94a91fc1a8d1f88298 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Tue, 25 Jun 2024 04:54:40 -0400 Subject: [PATCH] [6.15.z] Adapt to changes in broker stderr handling (#15502) Co-authored-by: dosas --- robottelo/host_helpers/satellite_mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robottelo/host_helpers/satellite_mixins.py b/robottelo/host_helpers/satellite_mixins.py index 73d1280c6c0..bce360b8657 100644 --- a/robottelo/host_helpers/satellite_mixins.py +++ b/robottelo/host_helpers/satellite_mixins.py @@ -246,7 +246,7 @@ def available_capsule_port(self): f"ss -tnaH sport ge {port_pool[0]} sport le {port_pool[-1]}" " | awk '{n=split($4, p, \":\"); print p[n]}' | sort -u" ) - if ss_cmd.stderr[1]: + if ss_cmd.stderr: raise CapsuleTunnelError( f'Failed to create ssh tunnel: Error getting port status: {ss_cmd.stderr}' )