Eric Engestrom
9155e0a887
ci/deqp-runner: fix --fraction-start in non-parallel jobs
...
`CI_NODE_INDEX` is only defined in `parallel:` jobs.
Without this, we end up with `--fraction-start --fraction 1`, which is
obviously invalid but somehow it hasn't blown up (yet).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30462 >
2024-08-04 20:40:26 +00:00
Mike Blumenkrantz
6cd4372460
ci: prune dri from LD_LIBRARY_PATH
...
partial revert of 50fc7cc290
Fixes: 50fc7cc290
("glx: directly link to gallium")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30346 >
2024-07-24 15:53:12 +00:00
Mike Blumenkrantz
50fc7cc290
glx: directly link to gallium
...
this eliminates the loader interface, which avoids an entire class
of issues and simplifies a bunch of code
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29771 >
2024-07-18 20:30:43 +00:00
Eric Engestrom
cc49894e34
ci: drop dead VK_CPU option
...
Unused since 1eca809680
("ci/v3dv: test v3dv in arm64
environment"), and in the meantime other code paths have been added and
do not support this (`.gitlab-ci/common/init-stage2.sh` when starting
xorg & wayland for instance), so instead of fixing dead code, let's
remove it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Samuel Pitoiset
40f39482e1
ci: uprev CTS to vulkan-cts-1.3.8.0
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27459 >
2024-04-17 21:22:36 +00:00
Eric Engestrom
e215200617
ci: use the new VK_DRIVER_FILES env var
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28516 >
2024-04-02 18:08:52 +00:00
Eric Engestrom
c73c244a6c
ci/deqp-runner: print deqp-gles version log as well
...
Fixes: 78ea3bb43d
("ci/deqp: use the proper gl/gles releases for deqp-gl*, deqp-gles*, deqp-egl")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28356 >
2024-03-24 23:23:44 +00:00
Eric Engestrom
78ea3bb43d
ci/deqp: use the proper gl/gles releases for deqp-gl*, deqp-gles*, deqp-egl
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27473 >
2024-03-04 16:53:58 +00:00
Eric Engestrom
8bb59f16ec
ci/deqp-runner: inline never-used DEQP_VARIANT variable
...
It has never been used, and we're about to change some of them and not others,
so we need to distinguish them.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27473 >
2024-03-04 16:53:58 +00:00
Eric Engestrom
fb326ef27f
ci/deqp: split vk and gl builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +00:00
Eric Engestrom
e46702f7ae
ci: deduplicate constructing the ARTIFACTS_BASE_URL
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26670 >
2023-12-13 21:12:22 +00:00
Eric Engestrom
5bdb42b1a2
zink/ci: run only the relevant jobs when changing the ci expectations
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26258 >
2023-12-07 07:55:13 +00:00
Martin Roukala (né Peres)
a1609d76ee
Revert "ci/deqp-runner: turn paths in errors into links"
...
This reverts commit d173584b6e
, which
inexplicably-but-reliably broke execution of `zink-radv-navi31-valve`[1].
Rather than experimenting for days on how to fix this, let's revert the
commit as it really isn't a critical thing to have. We'll rework it as
time permits.
[1] https://gitlab.freedesktop.org/mesa/mesa/-/jobs/51870356
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26314 >
2023-11-21 15:54:25 +02:00
Eric Engestrom
d173584b6e
ci/deqp-runner: turn paths in errors into links
...
Suggested-by: Emma Anholt <emma@anholt.net >
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26177 >
2023-11-20 19:26:53 +00:00
Eric Engestrom
1b18ca83fa
amd/ci: avoid re-running all the test jobs when changing the expectations for only one of them
...
Previously, any change to any job would trigger every job.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26127 >
2023-11-17 14:22:46 +00:00
Eric Engestrom
37970fa703
ci/build-deqp: print more detailed information about what deqp version is running
...
`git describe` tells you that you have N patches on top of tag T, but
not what these patches are, and the commit hash is useless as it is only
valid during the container build.
Replace this with:
- the tag that we are checking out
- the list of patches applied on top of it
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26013 >
2023-11-04 12:44:36 +00:00
Samuel Pitoiset
8f63419733
ci: bump the number of tests per group from 500 to 5000 for Vulkan drivers
...
Except for lvp which already forces 1.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25476 >
2023-10-18 12:52:37 +00:00
Eric Engestrom
6387c17504
ci: print deqp version in the job log
...
This allows to easily verify which version was actually running in some
job, to notice if an image tag wasn't properly bumped, for instance.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21850 >
2023-10-07 21:38:02 +00:00
David Heidelberg
45c234700f
ci: do not report failed job when flakes reporting fails
...
It's not critical for the job itself.
Suggested-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25604 >
2023-10-07 20:15:51 +00:00
Eric Engestrom
276caddbd9
ci/deqp-runner: restore exit-on-error after getting deqp-runner's exit code
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24738 >
2023-10-01 02:00:50 +00:00
Eric Engestrom
f8326d0950
ci/deqp-runner: fix indentation
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24738 >
2023-10-01 02:00:50 +00:00
David Heidelberg
9bf104f934
ci/deqp: really remove the uncompressed results.csv file
...
Arguments are parsed in order, so the `-c` here causes that first `--rm`
won't get applied and then it gets overriden by `-o` which writes the file.
Sadly zstd won't report this as a issue, but that's being reported in [1],
so maybe in future versions zstd will warn about it.
[1] https://github.com/facebook/zstd/issues/3719
Fixes: d110299d77
("ci/deqp-runner: compress results.csv before uploading it to GitLab")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24651 >
2023-08-12 19:32:34 +02:00
Emma Anholt
2e3c445b68
ci/anv: Add testing of the GLES CTS using ANGLE on TGL.
...
We're interested in a Vulkan-only stack in Chrome OS, where Android's GLES
would be provided by ANGLE-over-Venus-over-ANV. Let's get some testing
covering ANGLE-on-ANV first.
This is structured as a single partial job pre-merge to catch most
regressions, and a longer manual job to do full coverage for when you need
to update the xfails list.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20163 >
2023-07-06 23:12:30 +00:00
David Heidelberg
5941fc8ccd
ci: enable shellcheck on whole .gitlab-ci
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:53 +02:00
Emma Anholt
2c5a2f1a05
ci/valve: Add a workaround for finding libdrm on navi21s.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22495 >
2023-04-25 04:43:10 +00:00
Emma Anholt
75a08b04d7
ci: Move zink's validation layer setup to deqp-runner.sh.
...
I want the path to be always set in case someone wants some
ZINK_DEBUG=validation, rather than having to do it per test job.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22459 >
2023-04-24 19:21:50 +00:00
David Heidelberg
74e4235916
ci: polish deqp-runner a bit
...
Plus cosmetics adjustments to pass more of shellcheck.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255 >
2023-04-16 17:28:52 +00:00
David Heidelberg
d73d383ed2
ci: deqp-runner: drop already unused function
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21668 >
2023-03-04 04:02:03 +00:00
David Heidelberg
4cc0cec473
ci: implement unified sections
...
in after_script, variable $SCRIPTS_DIR is lost
Acked-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20272 >
2023-03-01 12:02:24 +00:00
Emma Anholt
159edf710e
ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm.
...
These are expected to fail by the design of gbm. Don't make each driver
track them.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Karol Herbst <kherbst@redhat.com >
Acked-by: Martin Roukala <martin.roukala@mupuf.org >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20798 >
2023-01-24 00:13:03 +00:00
Emma Anholt
849af68dbd
ci/piglit: Add some common piglit skips for Mesa CI's testing of glx.
...
Since our X servers don't have a compositor, and we run tests in parallel,
various swap and frontbuffer tests won't ever be stable. Rather than
having every driver have to track those flakes, make a general X11 skips
list as a known issue of our CI rather than pointing fingers at drivers.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Karol Herbst <kherbst@redhat.com >
Acked-by: Martin Roukala <martin.roukala@mupuf.org >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20798 >
2023-01-24 00:13:02 +00:00
Martin Roukala (né Peres)
d110299d77
ci/deqp-runner: compress results.csv before uploading it to GitLab
...
The results.csv file can get ridiculously big for a vkcts run (up to
135MB). Given how seldomly this file is being used, and the fact that
it cannot be viewed directly in gitlab's artifact page anyway.
Let's compress the file using zstd, and enjoy a ~95% reduction in size
at the cost of probably less than 1 second of compression time on even
the slowest of the devices in CI (which would use sharing), and about
150ms on the CI machines in the Valve farm.
Suggested-by: Daniel Stone <daniels@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20669 >
2023-01-13 11:27:57 +00:00
Emma Anholt
6af1fbc251
ci/deqp-runner: Drop dead code for DEQP_CASELIST_FILTER.
...
The last user is now gone.
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19912 >
2022-11-22 21:28:02 +00:00
Emma Anholt
35606096de
ci/llvmpipe: Switch rusticl and clover testing over to deqp-runner.
...
The usual reasons: Flake handling, familiar skips/xfails handling, faster
parallelization. This also sets us up for running a subset of the CL CTS
once we decide to build it in our containers.
Acked-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19608 >
2022-11-14 21:45:28 +00:00
Guilherme Gallo
e3f71aaa37
ci/lava: Fix shebang in deqp-runner.sh
...
Now, every rootfs based device has bash installed, so we can use bash
shebang instead of dash to enforce the use of bash's echo, not dash's
one.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15938 >
2022-04-28 06:33:46 +00:00
Emma Anholt
34278e8f2e
ci/deqp: Move the set +e just before the deqp-runner invocation.
...
You don't want to proceed to running deqp-runner if you failed at the
vtest or runner options environment setup.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15332 >
2022-04-05 21:37:46 +00:00
Emma Anholt
82cd8614e6
ci/deqp: Add gitlab-ci sections to deqp-runner.sh.
...
This should help highlight the actual test results, as opposed to the setup
and teardown.
Also tuned the "set -x"es a little bit so we get less surrounding noise in
the echo process.
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15332 >
2022-04-05 21:37:46 +00:00
Juan A. Suarez Romero
fb856c9501
ci: use MESA_SHADER_CACHE envvar
...
This was renamed from MESA_GLSL_CACHE.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 >
2022-03-17 11:15:53 +01:00
Emma Anholt
5497d60639
ci/nouveau: Add a manual run for the Jetson Nano (GM20B).
...
The test suite is full of flakes around transform feedback, atomics, and
tess. But, I hope it can be useful for regression testing core Mesa
reworks.
This required updating the kernel to 5.16.12 to get a more stable boot
process. That kernel rebuild caused an update of the container with
piglit which that was missed in a previous MR, so we got new xfails in x86
swrast.
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu > (nouveau)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15201 >
2022-03-09 19:47:04 +00:00
Cristian Ciocaltea
4745638f18
ci: Ensure Mesa Shader Cache resides on tmpfs
...
Having the Mesa Shader Cache stored on a tmpfs mount point reduces the
tests execution duration by 2-3 %, while preventing several hundreds of
megabytes to be written on the storage media.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14995 >
2022-02-17 06:32:30 +00:00
Tomeu Vizoso
8a3cccc3f4
ci: Don't set GALLIVM_PERF in the scripts
...
Instead, let gitlab-ci.yml files define it.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12828 >
2021-11-18 13:36:24 +00:00
Tomeu Vizoso
8acdf1f71c
ci: Create symlink to /install early
...
So we can use well-known absolute paths in configuration files.
Otherwise, the install dir is within $CI_PROJECT_DIR, which changes
between jobs.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12828 >
2021-11-18 13:36:24 +00:00
Emma Anholt
38dff02bfb
ci/deqp-runner: Rename the deqp-drivername-*.txt files to drivername-*.txt
...
We have two testsuites with the same format for fails/flakes/skips files,
and test names that are definitely unique. As I'm about to add a third
testsuite (gtest for libva-utils), so let's have just one file each for
fails/flakes/skips instead of one per type of testsuite. This starts the
move with just the bulk rename of deqp.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13517 >
2021-10-27 20:54:11 +00:00
Emma Anholt
440f207a1f
ci/deqp-runner: Move more non-suite logic under the non-suite 'if'.
...
Changing these variables won't do anything for you otherwise.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
92748e40ef
ci/deqp-runner: Don't start GPU hang detection for making junit results.
...
It's just CPU-side post-processing, not running tests.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
61ca900b69
ci/deqp-runner: Drop LD_LIBRARY_PATH=/usr/local for libkms workaround.
...
deqp hasn't been linking against that in quite some time.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
899174c210
ci/deqp-runner: Move remaining asan runs to --env LD_PRELOAD=
...
This should improve their reliability and speed a little by getting
deqp-runner off of asan. This removes the last jobs setting
TEST_LD_PRELOAD, so remove passing that variable around from other
scripts.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
37c690ad1a
ci/deqp-runner: Drop silly CSV env vars.
...
One was unused, the other was used once.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
b978688df6
ci/deqp-runner: Use new deqp-runner's built-in renderer/version checks.
...
This is prettier in the log files, less shell code, and for non-suite mode
adds checking that the driver has the right git sha1. Also, no need for
suites to have a DEQP_VER to say which dEQP we should run for the renderer
check.
The version checks can help us make sure that GL version exposed doesn't
accidentally regress, and the ".*git" checks that we're using a git
version of Mesa rather than something that snuck in through distro
packages.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
9ddfd297e0
ci/deqp-runner: Simplify the --jobs argument setup.
...
We can use the general "how parallel should we go on this runner?" env var
and save a bunch of massaging env var names. Fixes how PIGLIT_PARALLEL
looked like it was useful but actually wasn't passed through to HW
runners.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00