hs-test: add show error to failed ldp test logs 57/43057/4
authorFlorin Coras <[email protected]>
Thu, 29 May 2025 18:18:40 +0000 (14:18 -0400)
committerDave Wallace <[email protected]>
Fri, 30 May 2025 17:40:20 +0000 (17:40 +0000)
Type: test

Change-Id: I9bb2f0b574c2cdccaa68a69b2b2c5b89afc3f86f
Signed-off-by: Florin Coras <[email protected]>
extras/hs-test/infra/suite_ldp.go

index 1127f13..d1df322 100644 (file)
@@ -105,6 +105,8 @@ func (s *LdpSuite) TeardownTest() {
        if CurrentSpecReport().Failed() {
                s.CollectIperfLogs(s.Containers.ServerVpp)
                s.CollectRedisServerLogs(s.Containers.ServerVpp)
+               s.Log(s.Containers.ServerVpp.VppInstance.Vppctl("show error"))
+               s.Log(s.Containers.ClientVpp.VppInstance.Vppctl("show error"))
        }
 
        for _, container := range s.StartedContainers {