From 4995d0da8cd2569966a7e4e29c8235712743eb4f Mon Sep 17 00:00:00 2001 From: Adrian Villin Date: Mon, 29 Jul 2024 17:54:58 +0200 Subject: hs-test: generate core dump, fix docker logs in CI Type: test Change-Id: Ie1f66cdc061d3eccefc2ce58e977d88a33340038 Signed-off-by: Adrian Villin --- extras/hs-test/script/compress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/hs-test/script') diff --git a/extras/hs-test/script/compress.sh b/extras/hs-test/script/compress.sh index c6b23cf9bdd..0e153a3b47b 100755 --- a/extras/hs-test/script/compress.sh +++ b/extras/hs-test/script/compress.sh @@ -6,7 +6,7 @@ then if [ -n "${WORKSPACE}" ] then echo -n "Copying docker logs..." - dirs=$(jq -r '.[0] | .SpecReports[] | select(.State == "failed") | .LeafNodeText' ${HS_ROOT}/summary/report.json) + dirs=$(jq -r '.[0] | .SpecReports[] | select(.State == "failed") | .LeafNodeText | split("/")[1]' ${HS_ROOT}/summary/report.json) for dirName in $dirs; do logDir=/tmp/hs-test/$dirName if [ -d "$logDir" ]; then -- cgit