From 732e0bfe9e3e57be07f8a704405ea1c52b990841 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Sun, 28 Nov 2021 21:04:04 -0800 Subject: [PATCH] tests: Add '-vv' verbose flags to Kokoro/Nightly/Weekly tests Without this verbose flag, there is no information output on the tests currently running. Output is only given on the pass/fail status of a test after completion. This is unhelpful if the tests fail due to a timeout (e.g., a test has stalled). The '-vv' verbose flags sets up the TestLib package to output when a test has started execution. This information can help in figuring out which test caused a timeout event to occur. Change-Id: I14e6752d40a7c8d7189211584073ba79c88ed7d5 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53305 Maintainer: Bobby R. Bruce Tested-by: kokoro Reviewed-by: Jason Lowe-Power --- tests/jenkins/presubmit-stage2.sh | 2 +- tests/nightly.sh | 2 +- tests/weekly.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jenkins/presubmit-stage2.sh b/tests/jenkins/presubmit-stage2.sh index d4d5841de6..6e73394a0d 100755 --- a/tests/jenkins/presubmit-stage2.sh +++ b/tests/jenkins/presubmit-stage2.sh @@ -46,5 +46,5 @@ set -e # Look for tests in the gem5 subdirectory # Once complete, run the Google Tests cd tests -./main.py run -j4 -t4 gem5 && scons -C .. --no-compress-debug \ +./main.py run -j4 -t4 gem5 -vv && scons -C .. --no-compress-debug \ build/ARM/unittests.opt diff --git a/tests/nightly.sh b/tests/nightly.sh index 9f69eb1450..b785d553b7 100755 --- a/tests/nightly.sh +++ b/tests/nightly.sh @@ -78,7 +78,7 @@ unit_test debug # Run the gem5 long tests. docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ "${gem5_root}"/tests --rm gcr.io/gem5-test/ubuntu-20.04_all-dependencies \ - ./main.py run --length long -j${threads} -t${threads} + ./main.py run --length long -j${threads} -t${threads} -vv # Run the GPU tests. # For the GPU tests we compile and run GCN3_X86 inside a gcn-gpu container. diff --git a/tests/weekly.sh b/tests/weekly.sh index 172d9557ec..d65ee40894 100755 --- a/tests/weekly.sh +++ b/tests/weekly.sh @@ -42,7 +42,7 @@ fi # Run the gem5 very-long tests. docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ "${gem5_root}"/tests --rm gcr.io/gem5-test/ubuntu-20.04_all-dependencies \ - ./main.py run --length very-long -j${threads} -t${threads} + ./main.py run --length very-long -j${threads} -t${threads} -vv mkdir -p tests/testing-results