From 16fb50440234ee57e2d6df9becaec2a7a6a5f305 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 21 Dec 2020 11:25:10 -0800 Subject: [PATCH] ci/deqp: Move the load reporting to a quiet block. No need for debug printing of how we computed it any more, brings the deqp failures more into highlight in the job log. Reviewed-by: Christian Gmeiner Part-of: --- .gitlab-ci/deqp-runner.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index 6d04fdb..4a3585f 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -204,6 +204,11 @@ check_vk_device_name() { fi } +report_load() { + echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)" + echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)" +} + # wrapper to supress +x to avoid spamming the log quiet() { set +x @@ -239,8 +244,7 @@ FAILURES_CSV=$RESULTS/failures.csv run_cts $DEQP /tmp/case-list.txt $RESULTS_CSV DEQP_EXITCODE=$? -echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)" -echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)" +quiet report_load # Remove all but the first 50 individual XML files uploaded as artifacts, to # save fd.o space when you break everything. -- 2.7.4