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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39829>
This commit is contained in:
parent
888ac904a3
commit
4014a20da3
1 changed files with 13 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue