From: Eric Anholt Date: Mon, 21 Dec 2020 19:25:10 +0000 (-0800) Subject: ci/deqp: Move the load reporting to a quiet block. X-Git-Tag: upstream/21.0.0~1056 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16fb50440234ee57e2d6df9becaec2a7a6a5f305;p=platform%2Fupstream%2Fmesa.git 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: --- 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.