From 4014a20da33d1a22a6e311a2783bf98cbe073ea8 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 11 Feb 2026 14:36:37 +0100 Subject: [PATCH] ci/deqp-runner: also limit the number of test log and caselist files Avoids job log spam like https://gitlab.freedesktop.org/mesa/mesa/-/jobs/92981114 Part-of: --- .gitlab-ci/deqp-runner.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/deqp-runner.sh b/.gitlab-ci/deqp-runner.sh index e83cd281325..fb86abafa29 100755 --- a/.gitlab-ci/deqp-runner.sh +++ b/.gitlab-ci/deqp-runner.sh @@ -182,12 +182,23 @@ set -x report_load -# Remove all but the first 50 individual XML files uploaded as artifacts, to -# save fd.o space when you break everything. +# Remove all but the first 50 individual XML, test log and caselist +# files uploaded as artifacts, to save fd.o space and avoid job log spam +# when you break everything. +# Note that each of these pattern gets to keep 50 files, but there is nothing +# making sure the remaining 50 files of each correspond to the same tests. find $RESULTS_DIR -name \*.xml | \ sort -n | sed -n '1,+49!p' | \ xargs rm -f +find $RESULTS_DIR -name 'c*.r*.caselist.txt' | \ + sort -n | + sed -n '1,+49!p' | \ + xargs rm -f +find $RESULTS_DIR -name 'c*.r*.log' | \ + sort -n | + sed -n '1,+49!p' | \ + xargs rm -f # If any QPA XMLs are there, then include the XSL/CSS in our artifacts. find $RESULTS_DIR -name \*.xml \