diff options
author | Adrian Villin <avillin@cisco.com> | 2024-08-20 14:36:12 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2024-08-21 15:38:19 +0000 |
commit | 58cb6ba81833a79a877448aa60d7d68604ad6c4e (patch) | |
tree | 9b85360b64933bfeb64a40f3b31caa9fcc1a630d /extras/hs-test/hs_test.sh | |
parent | 4995d0da8cd2569966a7e4e29c8235712743eb4f (diff) |
hs-test: fix vppinstance logs and disable trace
- fixed a bug where vppinstance logs would concatenate -> each test now
has its own bind mount
- removed "--trace" flag to avoid skipped tests printing a full
stack trace. They are now only printed in the summary.
Type: test
Change-Id: Ib7f4254717cc798e456b9fca6f81685c8153ee2d
Signed-off-by: Adrian Villin <avillin@cisco.com>
Diffstat (limited to 'extras/hs-test/hs_test.sh')
-rw-r--r-- | extras/hs-test/hs_test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/hs_test.sh b/extras/hs-test/hs_test.sh index 04b546c8e59..c53c5a9de88 100644 --- a/extras/hs-test/hs_test.sh +++ b/extras/hs-test/hs_test.sh @@ -122,7 +122,7 @@ fi mkdir -p summary # shellcheck disable=SC2086 -sudo -E go run github.com/onsi/ginkgo/v2/ginkgo --trace --json-report=summary/report.json $ginkgo_args -- $args +sudo -E go run github.com/onsi/ginkgo/v2/ginkgo --json-report=summary/report.json $ginkgo_args -- $args jq -r '.[0] | .SpecReports[] | select((.State == "failed") or (.State == "timedout") or (.State == "panicked")) | select(.Failure != null) | "TestName: \(.LeafNodeText)\nSuite:\n\(.Failure.FailureNodeLocation.FileName)\nMessage:\n\(.Failure.Message)\n Full Stack Trace:\n\(.Failure.Location.FullStackTrace)\n"' summary/report.json > summary/failed-summary.log \ && echo "Summary generated -> summary/failed-summary.log" |