Commit Graph

3664 Commits

Author SHA1 Message Date
Guilherme Gallo
a51b12bbf6 ci/android: Use find_s3_project_artifact in build script
So we can reuse artifact finding functionality and also can make the
`gallo/mesa` workaround to work.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36946>
2025-08-26 21:58:02 +00:00
Guilherme Gallo
de5f96b4de ci/baremetal: Use find_s3_project_artifact on baremetal_build.sh
So we can reuse artifact finding functionality and also can make the
`gallo/mesa` workaround to work.

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36946>
2025-08-26 21:58:02 +00:00
Eric Engestrom
3ce27c08b4 piglit/ci: configure ci-tron to download traces and upload renders
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36854>
2025-08-26 08:38:10 +00:00
Eric Engestrom
137ccdbc54 ci-tron: avoid uploading downloaded traces
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36854>
2025-08-26 08:38:10 +00:00
Eric Engestrom
24f5f5037b ci-tron: move s3_jwt token file to the project dir
CI-tron only passes that folder to the dut, not the rest of the system;
this allows CI-tron jobs to upload things to s3.fd.o, like piglit traces
failed renders.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36854>
2025-08-26 08:38:09 +00:00
Antonio Ospite
cde83062ad ci/android: enable cross-building nvk and panvk for Android
Enable cross-building nvk and panvk for Android to make it easier to
spot build regressions.

NOTE: nvk is built only for x86_64, and panvk is built only for aarch64.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36710>
2025-08-25 15:55:55 +00:00
Antonio Ospite
289913547c ci: bump DEBIAN_BUILD_TAG to include all the android/rust changes for nvk and panvk
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36710>
2025-08-25 15:55:55 +00:00
Antonio Ospite
5ae3343590 ci/android: add comment about updating tags to create-android-cross-file.sh
Add a comment about updating tags in .gitlab-ci/image-tags.yml to the
.gitlab-ci/container/create-android-cross-file.sh as it is not immediate
that it gets called from .gitlab-ci/container/debian/android_build.sh
which also requires to update DEBIAN_BUILD_TAG.

Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36710>
2025-08-25 15:55:53 +00:00
Antonio Ospite
3cd4cc7d07 ci/android: add rust compiler to create-android-cross-file.sh
Add rust compiler definitions to the create-android-cross-file.sh file
to be able to cross-build drivers that use Rust code.

This is inspired by the changes in commit 2f5db959a7 ("docs/android:
update cross file and add nvk instructions", 2025-08-01)

Also add rust and bindgen to the debian/android_build container.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36710>
2025-08-25 15:55:53 +00:00
David Rosca
fbbb5d15f0 ci: Add missing rust subprojects to meson/build.sh
Reviewed-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36710>
2025-08-25 15:55:52 +00:00
Eric Engestrom
9d0203bace ci/piglit: automatically use baremetal proxy
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36955>
2025-08-25 14:52:38 +00:00
Eric Engestrom
fa74e939bf ci/piglit: automatically use LAVA proxy
This avoids having to hardcode the proxy in the traces `download-url` or
jobs setting `PIGLIT_REPLAY_EXTRA_ARGS` and accidentally overriding the
default args when the author meant to append.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36955>
2025-08-25 14:52:38 +00:00
Eric Engestrom
5cde06b7b1 ci-tron: drop meaningless timestamp in initial section message
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36903>
2025-08-25 12:46:54 +00:00
Collabora's Gfx CI Team
62f39fca25 Uprev Piglit to 28d1349844eacda869f0f82f551bcd4ac0c4edfe
c3a3e29d59...28d1349844

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36908>
2025-08-22 07:35:15 +00:00
Collabora's Gfx CI Team
640e2eddea Uprev ANGLE to 995c4c4d89ed6a5c28b210e9c0f83eb4f8b6e2f5
6a04a50f98...995c4c4d89

- Skip tests failing on all drivers due to a CTS bug
- Disable clang options not supported by the 'unbundled' toolchain

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36908>
2025-08-22 07:35:15 +00:00
Yonggang Luo
0c9b043012 ci: remove non-existent files in ci watch list
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36635>
2025-08-20 16:21:27 +00:00
Yonggang Luo
b589b24209 mesa: Remove unused assyntax.h and update related files
Also remove unused .gl-rules::changes in test-source-dep.yml

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36635>
2025-08-20 16:21:27 +00:00
Valentine Burley
a693539ff9 ci: Temporarily hardcode S3 artifact path
GitLab 18.2.2 introduced a security restriction that only allows
uploading artifacts to the user's own namespace.
To work around this, hardcode the artifact location to the path where
the artifacts were uploaded to in
ce0d4f998d ("ci: Fix for GitLab 18.2.2 upgrade").

This is an ugly but temporary workaround until a proper solution is in
place.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36836>
2025-08-19 08:38:39 +00:00
Guilherme Gallo
ece0d4f998 ci: Fix for GitLab 18.2.2 upgrade
Now the `subject` from S3 id_token JWT refers to the target project when
we are in an MR pipeline, due to this patch [1].
So, let's use workflow variables to help us define where the S3 paths
should be pointing at.

[1] 7e9f329e8f

Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Suggested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36832>
2025-08-18 23:01:15 -03:00
Eric Engestrom
22dcb250cc ci/deqp-runner: add support for all the prefixes for *-fails.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
2440ecc348 ci/deqp-runner: remove duplicate values to avoiding read the same file multiple times
Some jobs define multiple of these to the same value; let's simply
ignore those, as they might have a legitimate reason to do it.

This wasn't a problem with skips and flakes as those can contain
duplicates, but fails (next commit) are not allowed to be defined
multiple times.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
8137eae04d ci/deqp-runner: add support for all the prefixes for *-flakes.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:04 +00:00
Eric Engestrom
f8353e7eff ci/deqp-runner: simplify handling the various *-skips.txt files
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Eric Engestrom
44015c5325 ci/deqp-runner: drop implicit skips of GALLIUM_DRIVER or VK_DRIVER
The previous commit made these explicit via `DRIVER_NAME`.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36648>
2025-08-14 16:07:03 +00:00
Valentine Burley
645f752c60 ci/lava: Make Fluster vectors an optional overlay
Remove the Fluster vectors from the core LAVA rootfs, and only deploy
them when necessary.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35880>
2025-08-14 07:25:09 +00:00
Valentine Burley
f35c5cfabb ci/fluster: Uprev Fluster
JVT-SVC_V1 was renamed to JVT-SVC upstream.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35880>
2025-08-14 07:25:09 +00:00
Yonggang Luo
67385aba94 ci/windows: Enable virgl for MSVC
Guard virgl to be compiled with MSVC

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Corentin Noël <corentin.noel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36726>
2025-08-13 14:22:19 +00:00
Valentine Burley
7a71e2e41b ci: Separate build and test container tags
Rebuilding all the test containers for a change that only affects the
build containers is costly and unnecessary. Split the `DEBIAN_BASE_TAG`
into `DEBIAN_BUILD_BASE_TAG` and `DEBIAN_TEST_BASE_TAG` to make it
possible to rebuild only the relevant half of the containers.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36736>
2025-08-12 17:16:35 +00:00
Eric Engestrom
b24709960d ci: move setting python path for structured_logger.py to where it's actually used
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36685>
2025-08-11 16:36:45 +00:00
Eric Engestrom
2161b47d3f ci/init-stage2: drop no-op "copy python path into python path"
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36685>
2025-08-11 16:36:45 +00:00
Eric Engestrom
aef01d73d8 ci: uprev vkd3d
Fixes all the workgraph failures, but also introduces two new failures
for lavapipe.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36712>
2025-08-11 15:57:35 +00:00
Eric Engestrom
e551ca1318 ci: track changes to new src/x11/ folder
Since 4095fac72b ("loader: move some common dri3 functions out
of dri3 loader") the new folder has been created, and since
950dac6e6c ("x11: Add an x11_xlib_display_is_thread_safe()
helper") it's also used by vulkan x11, so adding it to the core rules.

Fixes: 4095fac72b ("loader: move some common dri3 functions out of dri3 loader")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36705>
2025-08-11 10:41:06 +00:00
Vignesh Raman
b6ab6139c1 ci/container: add comment to bump image tag
Add a comment to update ALPINE_X86_64_LAVA_SSH_TAG when this
script is modified.

Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36620>
2025-08-07 08:44:53 +00:00
Marek Olšák
d00d260145 docs,ci: update mapi relocation
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36562>
2025-08-06 20:35:26 +00:00
Eric Engestrom
e9292306dc ci-tron: move vkd3d shader cache out of $CI_PROJECT_DIR
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36551>
2025-08-06 11:25:30 +00:00
Eric Engestrom
1588708987 ci-tron: move vkcts shader cache out of $CI_PROJECT_DIR
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36551>
2025-08-06 11:25:30 +00:00
Eric Engestrom
ccea6ebd0b ci-tron: keep *.qpa in job artifacts
These are the `dEQP-$API.info.qpa` generated by deqp-runner and they can be
very useful when trying to figure out why deqp-runner is not starting.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36551>
2025-08-06 11:25:28 +00:00
Valentine Burley
27c8209ed4 ci: Remove xvfb from test-base container
Xvfb is no longer used.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36567>
2025-08-06 07:33:32 +00:00
Valentine Burley
a08d8b4640 ci: Drop obsolete EGL skips
These tests either pass now or are correctly skipped as not supported.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36445>
2025-08-06 06:21:51 +00:00
Samuel Pitoiset
2091d199db ci: uprev VKCTS main to 9dd9a72b28218f1ca12777d9b73c2a85c5c60231
RADV is the only driver using main.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36546>
2025-08-05 16:12:19 +00:00
Valentine Burley
81181c27df ci: Build more drivers in debian-x86_64-asan
These will be used in upcoming jobs.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36348>
2025-08-05 15:07:39 +00:00
Valentine Burley
492487cd93 ci/lava: Add x86_64 ASan job templates
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36348>
2025-08-05 15:07:39 +00:00
Eric Engestrom
8156b83942 ci: drop xorg + weston workaround now that no user is left
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36559>
2025-08-05 10:17:32 +00:00
Eric Engestrom
2b6436f971 ci: drop unnecessary rename of *.log into *.log.txt
GitLab added *.log to the allow list back in 11.4 (October 2018 [1]),
but also both GitLab's code and this workaround have been broken anyway
for a very long time now (they just serve everything as `content-type:
application/octet-stream`), so let's just drop it.

[1]: 129a60e79d

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36556>
2025-08-04 20:15:22 +00:00
Valentine Burley
9c49138b1a ci/lava: Use init-stage1 from Mesa build instead of inlining it
We can use the init-stage1 script from the Mesa build artifacts instead of
keeping a copy in the lava-trigger container and inlining it into the
LAVA job definition.

v2 (Guilherme)
* Source the `init-stage1.sh` file instead of executing it
* Avoid hardcoding the run_steps asserts, check only the core parts

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Co-authored-by: Guilherme Gallo <guilherme.gallo@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36549>
2025-08-04 14:31:35 +00:00
Valentine Burley
be15208cda ci/lava: Only keep structured_logger in lava-trigger container
LAVA doesn't use `custom_logger.py`.

Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36549>
2025-08-04 14:31:35 +00:00
Eric Engestrom
79c0c828c7 ci: document image tag to bump for rust build changes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36485>
2025-08-04 13:14:37 +00:00
Eric Engestrom
8e71665468 ci: dedupe weston setup
We're doing almost the same thing 3 times; let's put that in a script.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36485>
2025-08-04 13:14:37 +00:00
Eric Engestrom
62857757a9 ci: cleanup weston invocations
Specifically, set WAYLAND_DISPLAY only once and reuse the var, don't
export it to weston itself (even though it's ignored because we
explicitly select the headless backend instead of auto), use long option
names for added clarity, and replace deprecated `--use-gl` with
`--renderer=gl`.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36485>
2025-08-04 13:14:37 +00:00
Eric Engestrom
9ea55d12f6 ci: uprev vkd3d to fix some nvk tests
6be7810766...f0a3820468

The last commit fixes a vkd3d behaviour that's out of spec but is known to work
on AMD hardware to only do that on AMD, thereby fixing at least NVK.

Unfortunately, this also brings a bunch of new failures.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36504>
2025-08-04 10:35:11 +00:00