2019-12-13 17:20:23 +08:00
|
|
|
#!/bin/sh
|
2019-06-29 07:35:32 +08:00
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2020-09-01 00:04:24 +08:00
|
|
|
DEQP_WIDTH=${DEQP_WIDTH:-256}
|
|
|
|
DEQP_HEIGHT=${DEQP_HEIGHT:-256}
|
|
|
|
DEQP_CONFIG=${DEQP_CONFIG:-rgba8888d24s8ms0}
|
|
|
|
DEQP_VARIANT=${DEQP_VARIANT:-master}
|
|
|
|
|
|
|
|
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-surface-width=$DEQP_WIDTH --deqp-surface-height=$DEQP_HEIGHT"
|
2021-04-03 01:31:28 +08:00
|
|
|
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-surface-type=${DEQP_SURFACE_TYPE:-pbuffer}"
|
2020-09-01 00:04:24 +08:00
|
|
|
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-gl-config-name=$DEQP_CONFIG"
|
2019-12-13 17:20:23 +08:00
|
|
|
DEQP_OPTIONS="$DEQP_OPTIONS --deqp-visibility=hidden"
|
2019-06-29 07:35:32 +08:00
|
|
|
|
|
|
|
if [ -z "$DEQP_VER" ]; then
|
2019-11-19 15:39:00 +08:00
|
|
|
echo 'DEQP_VER must be set to something like "gles2", "gles31" or "vk" for the test run'
|
2019-06-29 07:35:32 +08:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2019-12-13 17:20:23 +08:00
|
|
|
if [ "$DEQP_VER" = "vk" ]; then
|
2019-11-14 19:09:44 +08:00
|
|
|
if [ -z "$VK_DRIVER" ]; then
|
|
|
|
echo 'VK_DRIVER must be to something like "radeon" or "intel" for the test run'
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2020-12-18 03:08:42 +08:00
|
|
|
if [ -z "$GPU_VERSION" ]; then
|
|
|
|
echo 'GPU_VERSION must be set to something like "llvmpipe" or "freedreno-a630" (the name used in .gitlab-ci/deqp-gpu-version-*.txt)'
|
2019-06-29 07:35:32 +08:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2020-03-24 19:58:30 +08:00
|
|
|
INSTALL=`pwd`/install
|
2019-06-29 07:35:32 +08:00
|
|
|
|
|
|
|
# Set up the driver environment.
|
|
|
|
export LD_LIBRARY_PATH=`pwd`/install/lib/
|
|
|
|
export EGL_PLATFORM=surfaceless
|
2021-01-27 02:13:21 +08:00
|
|
|
export VK_ICD_FILENAMES=`pwd`/install/share/vulkan/icd.d/"$VK_DRIVER"_icd.${VK_CPU:-`uname -m`}.json
|
2019-06-29 07:35:32 +08:00
|
|
|
|
|
|
|
# the runner was failing to look for libkms in /usr/local/lib for some reason
|
|
|
|
# I never figured out.
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
|
|
|
|
2020-10-30 01:29:28 +08:00
|
|
|
RESULTS=`pwd`/${DEQP_RESULTS_DIR:-results}
|
2019-06-29 07:35:32 +08:00
|
|
|
mkdir -p $RESULTS
|
|
|
|
|
2019-11-19 15:39:00 +08:00
|
|
|
# Generate test case list file.
|
2019-12-13 17:20:23 +08:00
|
|
|
if [ "$DEQP_VER" = "vk" ]; then
|
2020-09-01 00:04:24 +08:00
|
|
|
cp /deqp/mustpass/vk-$DEQP_VARIANT.txt /tmp/case-list.txt
|
2019-11-19 15:39:00 +08:00
|
|
|
DEQP=/deqp/external/vulkancts/modules/vulkan/deqp-vk
|
2021-04-03 01:37:24 +08:00
|
|
|
elif [ "$DEQP_VER" = "gles2" -o "$DEQP_VER" = "gles3" -o "$DEQP_VER" = "gles31" -o "$DEQP_VER" = "egl" ]; then
|
2020-09-01 00:04:24 +08:00
|
|
|
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
2019-11-19 15:39:00 +08:00
|
|
|
DEQP=/deqp/modules/$DEQP_VER/deqp-$DEQP_VER
|
2020-05-13 15:46:06 +08:00
|
|
|
SUITE=dEQP
|
|
|
|
else
|
2020-09-01 00:04:24 +08:00
|
|
|
cp /deqp/mustpass/$DEQP_VER-$DEQP_VARIANT.txt /tmp/case-list.txt
|
2020-05-13 15:46:06 +08:00
|
|
|
DEQP=/deqp/external/openglcts/modules/glcts
|
|
|
|
SUITE=KHR
|
2019-11-19 15:39:00 +08:00
|
|
|
fi
|
2019-06-29 07:35:32 +08:00
|
|
|
|
2020-11-07 07:55:24 +08:00
|
|
|
# If the caselist is too long to run in a reasonable amount of time, let the job
|
|
|
|
# specify what fraction (1/n) of the caselist we should run. Note: N~M is a gnu
|
|
|
|
# sed extension to match every nth line (first line is #1).
|
|
|
|
if [ -n "$DEQP_FRACTION" ]; then
|
|
|
|
sed -ni 1~$DEQP_FRACTION"p" /tmp/case-list.txt
|
|
|
|
fi
|
|
|
|
|
|
|
|
# If the job is parallel at the gitab job level, take the corresponding fraction
|
|
|
|
# of the caselist.
|
2019-06-29 07:35:32 +08:00
|
|
|
if [ -n "$CI_NODE_INDEX" ]; then
|
|
|
|
sed -ni $CI_NODE_INDEX~$CI_NODE_TOTAL"p" /tmp/case-list.txt
|
|
|
|
fi
|
|
|
|
|
2020-04-18 03:02:37 +08:00
|
|
|
if [ -n "$DEQP_CASELIST_FILTER" ]; then
|
2020-05-16 08:18:12 +08:00
|
|
|
sed -ni "/$DEQP_CASELIST_FILTER/p" /tmp/case-list.txt
|
2020-04-18 03:02:37 +08:00
|
|
|
fi
|
|
|
|
|
2019-06-29 07:35:32 +08:00
|
|
|
if [ ! -s /tmp/case-list.txt ]; then
|
|
|
|
echo "Caselist generation failed"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2020-12-18 03:08:42 +08:00
|
|
|
if [ -e "$INSTALL/deqp-$GPU_VERSION-fails.txt" ]; then
|
|
|
|
DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --baseline $INSTALL/deqp-$GPU_VERSION-fails.txt"
|
2020-10-30 01:29:28 +08:00
|
|
|
fi
|
|
|
|
|
2020-12-18 03:08:42 +08:00
|
|
|
if [ -e "$INSTALL/deqp-$GPU_VERSION-flakes.txt" ]; then
|
|
|
|
DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --flakes $INSTALL/deqp-$GPU_VERSION-flakes.txt"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "$INSTALL/deqp-$GPU_VERSION-skips.txt" ]; then
|
|
|
|
DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --skips $INSTALL/deqp-$GPU_VERSION-skips.txt"
|
|
|
|
else
|
|
|
|
DEQP_RUNNER_OPTIONS="$DEQP_RUNNER_OPTIONS --skips $INSTALL/deqp-default-skips.txt"
|
2019-06-29 07:35:32 +08:00
|
|
|
fi
|
|
|
|
|
ci: Use cts_runner for our dEQP runs.
This runner is a little project by Bas, written in C++, that spawns
threads that then loop grabbing chunks of the (randomly shuffled but
consistently so) test list and hand it to a dEQP instance. As the
remaining list gets shorter, so do the chunks, so hopefully the
threads all complete effectively at once. It also handles restarting
after crashes automatically. I've extended the runner a bit to do
what I was doing in the bash scripts before, like the skip list and
expected failures handling. This project should also be a good
baseline for extending to handle retesting of intermittent failures.
By switching to it, we can have the swrast tests just take up one job
slot on the shared runners and keep their allotment of CPUs busy,
instead of taking up job slots with single-threaded dEQP jobs. It
will also let us (eventually, once I reprovision) switch the freedreno
runners over to threading within the job instead of running concurrent
jobs, so that memory scribbles in one pipeline don't affect unrelated
pipelines, and I can experiment with their parallelism (particularly
on a306 where we are frequently backed up) without trashing other
people's jobs.
What we lose in this process is per-test output in the log (not a big
loss, I think, since we summarize fails at the end and reducing log
length keeps chrome from choking on our logs so badly). We also drop
the renderer sanity checking, since it's not saving qpa files for us
to go poke through. Given that all the drivers involved have fail
lists, if we got the wrong renderer somehow, we'd get a job failure
anyway.
v2: Rebase on droppong of the autoscale cluster and the arm64
build/test split. Use a script to deduplicate the cts-runner
build.
v3: Rebase on the amd64 build/test container split.
Acked-by: Daniel Stone <daniels@collabora.com> (v1)
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> (v2)
2019-11-05 02:54:41 +08:00
|
|
|
set +e
|
|
|
|
|
2020-03-05 22:20:34 +08:00
|
|
|
if [ -n "$DEQP_PARALLEL" ]; then
|
2020-10-30 01:29:28 +08:00
|
|
|
JOB="--jobs $DEQP_PARALLEL"
|
2020-06-27 01:59:41 +08:00
|
|
|
elif [ -n "$FDO_CI_CONCURRENT" ]; then
|
2020-10-30 01:29:28 +08:00
|
|
|
JOB="--jobs $FDO_CI_CONCURRENT"
|
2020-06-27 01:59:41 +08:00
|
|
|
else
|
2020-10-30 01:29:28 +08:00
|
|
|
JOB="--jobs 4"
|
2020-03-05 22:20:34 +08:00
|
|
|
fi
|
|
|
|
|
2020-10-30 01:29:28 +08:00
|
|
|
# If this CI lab lacks artifacts support, print the whole list of failures/flakes.
|
2020-12-19 01:48:46 +08:00
|
|
|
if [ -n "$DEQP_NO_SAVE_RESULTS" ]; then
|
2020-10-30 01:29:28 +08:00
|
|
|
SUMMARY_LIMIT="--summary-limit 0"
|
|
|
|
fi
|
|
|
|
|
2019-11-18 03:33:01 +08:00
|
|
|
run_cts() {
|
2019-11-19 15:39:00 +08:00
|
|
|
deqp=$1
|
|
|
|
caselist=$2
|
|
|
|
output=$3
|
2019-11-18 03:33:01 +08:00
|
|
|
deqp-runner \
|
2020-10-30 01:29:28 +08:00
|
|
|
run \
|
2019-11-19 15:39:00 +08:00
|
|
|
--deqp $deqp \
|
2020-10-30 01:29:28 +08:00
|
|
|
--output $RESULTS \
|
2019-11-18 03:33:01 +08:00
|
|
|
--caselist $caselist \
|
2020-12-19 08:47:51 +08:00
|
|
|
--testlog-to-xml /deqp/executor/testlog-to-xml \
|
2020-03-05 22:20:34 +08:00
|
|
|
$JOB \
|
2020-10-30 01:29:28 +08:00
|
|
|
$SUMMARY_LIMIT \
|
2019-12-13 17:20:23 +08:00
|
|
|
$DEQP_RUNNER_OPTIONS \
|
2019-11-18 03:33:01 +08:00
|
|
|
-- \
|
2019-12-13 17:20:23 +08:00
|
|
|
$DEQP_OPTIONS
|
2019-11-18 03:33:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
report_flakes() {
|
2020-10-30 01:29:28 +08:00
|
|
|
flakes=`grep ",Flake" $1 | sed 's|,Flake.*||g'`
|
|
|
|
if [ -z "$flakes" ]; then
|
|
|
|
return 0
|
|
|
|
fi
|
|
|
|
|
2019-11-18 03:33:01 +08:00
|
|
|
if [ -z "$FLAKES_CHANNEL" ]; then
|
|
|
|
return 0
|
|
|
|
fi
|
2020-10-30 01:29:28 +08:00
|
|
|
|
2020-05-06 03:17:49 +08:00
|
|
|
# The nick needs to be something unique so that multiple runners
|
|
|
|
# connecting at the same time don't race for one nick and get blocked.
|
|
|
|
# freenode has a 16-char limit on nicks (9 is the IETF standard, but
|
|
|
|
# various servers extend that). So, trim off the common prefixes of the
|
|
|
|
# runner name, and append the job ID so that software runners with more
|
|
|
|
# than one concurrent job (think swrast) don't collide. For freedreno,
|
|
|
|
# that gives us a nick as long as db410c-N-JJJJJJJJ, and it'll be a while
|
|
|
|
# before we make it to 9-digit jobs (we're at 7 so far).
|
|
|
|
runner=`echo $CI_RUNNER_DESCRIPTION | sed 's|mesa-||' | sed 's|google-freedreno-||g'`
|
|
|
|
bot="$runner-$CI_JOB_ID"
|
2019-11-18 03:33:01 +08:00
|
|
|
channel="$FLAKES_CHANNEL"
|
|
|
|
(
|
|
|
|
echo NICK $bot
|
|
|
|
echo USER $bot unused unused :Gitlab CI Notifier
|
|
|
|
sleep 10
|
|
|
|
echo "JOIN $channel"
|
|
|
|
sleep 1
|
|
|
|
desc="Flakes detected in job: $CI_JOB_URL on $CI_RUNNER_DESCRIPTION"
|
2020-05-06 01:44:46 +08:00
|
|
|
if [ -n "$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" ]; then
|
2019-11-18 03:33:01 +08:00
|
|
|
desc="$desc on branch $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME ($CI_MERGE_REQUEST_TITLE)"
|
2020-05-06 01:44:46 +08:00
|
|
|
elif [ -n "$CI_COMMIT_BRANCH" ]; then
|
|
|
|
desc="$desc on branch $CI_COMMIT_BRANCH ($CI_COMMIT_TITLE)"
|
2019-11-18 03:33:01 +08:00
|
|
|
fi
|
|
|
|
echo "PRIVMSG $channel :$desc"
|
2020-10-30 01:29:28 +08:00
|
|
|
for flake in $flakes; do
|
2019-11-18 03:33:01 +08:00
|
|
|
echo "PRIVMSG $channel :$flake"
|
|
|
|
done
|
|
|
|
echo "PRIVMSG $channel :See $CI_JOB_URL/artifacts/browse/results/"
|
|
|
|
echo "QUIT"
|
|
|
|
) | nc irc.freenode.net 6667 > /dev/null
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2020-03-06 06:35:55 +08:00
|
|
|
parse_renderer() {
|
|
|
|
RENDERER=`grep -A1 TestCaseResult.\*info.renderer $RESULTS/deqp-info.qpa | grep '<Text' | sed 's|.*<Text>||g' | sed 's|</Text>||g'`
|
|
|
|
VERSION=`grep -A1 TestCaseResult.\*info.version $RESULTS/deqp-info.qpa | grep '<Text' | sed 's|.*<Text>||g' | sed 's|</Text>||g'`
|
|
|
|
echo "Renderer: $RENDERER"
|
|
|
|
echo "Version: $VERSION "
|
2020-04-18 03:39:32 +08:00
|
|
|
|
|
|
|
if ! echo $RENDERER | grep -q $DEQP_EXPECTED_RENDERER; then
|
|
|
|
echo "Expected GL_RENDERER $DEQP_EXPECTED_RENDERER"
|
|
|
|
exit 1
|
|
|
|
fi
|
2020-03-06 06:35:55 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
check_renderer() {
|
2021-04-03 01:37:24 +08:00
|
|
|
if echo $DEQP_VER | grep -q egl; then
|
|
|
|
return
|
|
|
|
fi
|
2020-05-27 01:53:05 +08:00
|
|
|
echo "Capturing renderer info for GLES driver sanity checks"
|
2020-03-06 06:35:55 +08:00
|
|
|
# If you're having trouble loading your driver, uncommenting this may help
|
|
|
|
# debug.
|
|
|
|
# export EGL_LOG_LEVEL=debug
|
2020-04-01 15:17:25 +08:00
|
|
|
VERSION=`echo $DEQP_VER | tr '[a-z]' '[A-Z]'`
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=$TEST_LD_PRELOAD
|
2020-05-13 15:46:06 +08:00
|
|
|
$DEQP $DEQP_OPTIONS --deqp-case=$SUITE-$VERSION.info.\* --deqp-log-filename=$RESULTS/deqp-info.qpa
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=
|
2020-03-06 06:35:55 +08:00
|
|
|
parse_renderer
|
|
|
|
}
|
|
|
|
|
2020-05-27 01:53:05 +08:00
|
|
|
check_vk_device_name() {
|
|
|
|
echo "Capturing device info for VK driver sanity checks"
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=$TEST_LD_PRELOAD
|
2020-05-27 01:53:05 +08:00
|
|
|
$DEQP $DEQP_OPTIONS --deqp-case=dEQP-VK.info.device --deqp-log-filename=$RESULTS/deqp-info.qpa
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=
|
2020-05-27 01:53:05 +08:00
|
|
|
DEVICENAME=`grep deviceName $RESULTS/deqp-info.qpa | sed 's|deviceName: ||g'`
|
|
|
|
echo "deviceName: $DEVICENAME"
|
2020-08-14 06:10:18 +08:00
|
|
|
if [ -n "$DEQP_EXPECTED_RENDERER" -a "x$DEVICENAME" != "x$DEQP_EXPECTED_RENDERER" ]; then
|
2020-05-27 01:53:05 +08:00
|
|
|
echo "Expected deviceName $DEQP_EXPECTED_RENDERER"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2020-12-22 03:25:10 +08:00
|
|
|
report_load() {
|
|
|
|
echo "System load: $(cut -d' ' -f1-3 < /proc/loadavg)"
|
|
|
|
echo "# of CPU cores: $(cat /proc/cpuinfo | grep processor | wc -l)"
|
|
|
|
}
|
|
|
|
|
2019-11-18 03:33:01 +08:00
|
|
|
# wrapper to supress +x to avoid spamming the log
|
|
|
|
quiet() {
|
|
|
|
set +x
|
|
|
|
"$@"
|
|
|
|
set -x
|
|
|
|
}
|
|
|
|
|
2020-04-01 15:17:25 +08:00
|
|
|
if [ "$GALLIUM_DRIVER" = "virpipe" ]; then
|
|
|
|
# deqp is to use virpipe, and virgl_test_server llvmpipe
|
|
|
|
export GALLIUM_DRIVER="$GALLIUM_DRIVER"
|
|
|
|
|
2020-05-12 16:18:48 +08:00
|
|
|
VTEST_ARGS="--use-egl-surfaceless"
|
|
|
|
if [ "$VIRGL_HOST_API" = "GLES" ]; then
|
|
|
|
VTEST_ARGS="$VTEST_ARGS --use-gles"
|
|
|
|
fi
|
|
|
|
|
2020-04-01 15:17:25 +08:00
|
|
|
GALLIUM_DRIVER=llvmpipe \
|
|
|
|
GALLIVM_PERF="nopt,no_filter_hacks" \
|
2020-05-12 16:18:48 +08:00
|
|
|
virgl_test_server $VTEST_ARGS >$RESULTS/vtest-log.txt 2>&1 &
|
2020-04-01 15:17:25 +08:00
|
|
|
|
|
|
|
sleep 1
|
|
|
|
fi
|
|
|
|
|
2020-05-27 01:53:05 +08:00
|
|
|
if [ $DEQP_VER = vk ]; then
|
|
|
|
quiet check_vk_device_name
|
|
|
|
else
|
2020-03-06 06:35:55 +08:00
|
|
|
quiet check_renderer
|
|
|
|
fi
|
|
|
|
|
2020-10-30 01:29:28 +08:00
|
|
|
RESULTS_CSV=$RESULTS/results.csv
|
|
|
|
FAILURES_CSV=$RESULTS/failures.csv
|
2020-04-18 03:58:59 +08:00
|
|
|
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=$TEST_LD_PRELOAD
|
|
|
|
|
2020-10-30 01:29:28 +08:00
|
|
|
run_cts $DEQP /tmp/case-list.txt $RESULTS_CSV
|
ci: Use cts_runner for our dEQP runs.
This runner is a little project by Bas, written in C++, that spawns
threads that then loop grabbing chunks of the (randomly shuffled but
consistently so) test list and hand it to a dEQP instance. As the
remaining list gets shorter, so do the chunks, so hopefully the
threads all complete effectively at once. It also handles restarting
after crashes automatically. I've extended the runner a bit to do
what I was doing in the bash scripts before, like the skip list and
expected failures handling. This project should also be a good
baseline for extending to handle retesting of intermittent failures.
By switching to it, we can have the swrast tests just take up one job
slot on the shared runners and keep their allotment of CPUs busy,
instead of taking up job slots with single-threaded dEQP jobs. It
will also let us (eventually, once I reprovision) switch the freedreno
runners over to threading within the job instead of running concurrent
jobs, so that memory scribbles in one pipeline don't affect unrelated
pipelines, and I can experiment with their parallelism (particularly
on a306 where we are frequently backed up) without trashing other
people's jobs.
What we lose in this process is per-test output in the log (not a big
loss, I think, since we summarize fails at the end and reducing log
length keeps chrome from choking on our logs so badly). We also drop
the renderer sanity checking, since it's not saving qpa files for us
to go poke through. Given that all the drivers involved have fail
lists, if we got the wrong renderer somehow, we'd get a job failure
anyway.
v2: Rebase on droppong of the autoscale cluster and the arm64
build/test split. Use a script to deduplicate the cts-runner
build.
v3: Rebase on the amd64 build/test container split.
Acked-by: Daniel Stone <daniels@collabora.com> (v1)
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> (v2)
2019-11-05 02:54:41 +08:00
|
|
|
DEQP_EXITCODE=$?
|
2019-08-27 03:57:16 +08:00
|
|
|
|
2021-01-15 01:56:52 +08:00
|
|
|
export LD_PRELOAD=
|
2020-12-22 03:25:10 +08:00
|
|
|
quiet report_load
|
2020-07-28 14:22:34 +08:00
|
|
|
|
2020-12-19 08:47:51 +08:00
|
|
|
# Remove all but the first 50 individual XML files uploaded as artifacts, to
|
|
|
|
# save fd.o space when you break everything.
|
|
|
|
find $RESULTS -name \*.xml | \
|
|
|
|
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 -name \*.xml \
|
|
|
|
-exec cp /deqp/testlog.css /deqp/testlog.xsl "$RESULTS/" ";" \
|
|
|
|
-quit
|
|
|
|
|
|
|
|
deqp-runner junit \
|
|
|
|
--testsuite $DEQP_VER \
|
|
|
|
--results $RESULTS/failures.csv \
|
|
|
|
--output $RESULTS/junit.xml \
|
|
|
|
--limit 50 \
|
2021-03-25 10:46:39 +08:00
|
|
|
--template "See https://$CI_PROJECT_ROOT_NAMESPACE.pages.freedesktop.org/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/results/{{testcase}}.xml"
|
2019-11-18 03:16:09 +08:00
|
|
|
|
2020-10-30 01:29:28 +08:00
|
|
|
# Report the flakes to the IRC channel for monitoring (if configured):
|
|
|
|
quiet report_flakes $RESULTS_CSV
|
|
|
|
|
2019-11-18 03:16:09 +08:00
|
|
|
exit $DEQP_EXITCODE
|