Guilherme Gallo
70f10dc327
ci/lava: Fetch kernel modules from overlay
...
LAVA supports overlays in the deploy action, so there is no need to
download them in lava_build.sh and bloat the rootfs file with it.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34352 >
2025-04-05 08:42:20 +00:00
Eric Engestrom
7178425ccf
ci: replace broken s3cp command with a simple curl call
...
The current `s3cp` implementation does not work anymore after the
migration, and instead of fixing it and propagating the fix down to us,
it's simpler to directly use `curl`.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34120 >
2025-03-24 20:45:52 +00:00
Eric Engestrom
39d68d12f3
ci: do a regular GET request for /done files, instead of HEAD
...
The s3 proxy bug that required this commit was fixed [1], but since
these /done files are empty, there's no benefit to using HEAD requests.
[1]: 5acad8b02c
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34120 >
2025-03-24 20:45:52 +00:00
Guilherme Gallo
6827133592
ci: copy structural tag files to rootfs
...
Enhance the LAVA build script to copy tag files into the rootfs directory.
This allows test jobs to verify they are using the intended version by
having access to the tag files during testing.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33421 >
2025-02-28 01:33:34 +00:00
Valentine Burley
eb5bd3bee2
ci: Don't download the kernel image in lava_build.sh
...
The kernel+rootfs jobs previously downloaded the prebuilt kernel iamge,
but this was unnecessary as LAVA doesn't use them here, and the images
were never uploaded to S3. LAVA acquires the kernel in lava_submit.sh,
and baremetal downloads the required images and dtbs in baremetal_build.sh.
The kernel modules are still required for some devices.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33606 >
2025-02-21 14:52:56 +00:00
Valentine Burley
93569f3a8f
ci/angle: Use lld-19 for linking ANGLE
...
This fixes the linking issues on newer ANGLE versions.
Fixes: 9707746b2d ("ci/lava: Build ANGLE for arm64")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33513 >
2025-02-13 13:21:09 +00:00
Valentine Burley
9707746b2d
ci/lava: Build ANGLE for arm64
...
We're going to introduce arm64 ANGLE jobs shortly.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33467 >
2025-02-12 09:03:48 +00:00
Valentine Burley
05021a1786
ci/angle: Rework building ANGLE (again)
...
Make setting the ANGLE_ARCH variable optional by providing a default
based on DEBIAN_ARCH, while keeping it possible to override it, which is
expected to be necessary for the Android-arm64 build.
Exclude unnecessary third party dependencies in the .gclient file, which
allows us to delete our first local patch. Thanks to Yuly Novikov for the
suggestion.
Use -no-history for gclient sync, which is equivalent to git's --depth=1
argument. This greatly speeds up the process of fetching sources.
Thanks to this speedup fetching third_party/catapult is no longer an
issue, allowing us to remove our second local patch.
Since we're no longer applying local patches, use ANGLE_REV and
/angle/version as the base for our version check on Android.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33467 >
2025-02-12 09:03:48 +00:00
Valentine Burley
cc2bb73369
ci: Allow building ANGLE for multiple platforms
...
Prepare for building ANGLE for Android, which requires applying a
patch to fix building with minimal dependencies.
Rework the existing script by allowing passing the ANGLE_TARGET and
ANGLE_ARCH environmental variables to specify the target platform,
Android or Linux, and also allow building for arm64 in addtition to
x64 by setting ANGLE_ARCH.
Also build the GLESv1 compatibility mode library (libGLESv1_CM),
which is required for EGL testing on Android.
Based on work by Antonio Ospite.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Reviewed-by: Eric Engestrom <None>
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33377 >
2025-02-06 11:58:33 +00:00
Valentine Burley
17966a6a80
ci/lava: Don't build VK-main for arm64
...
Only amd64 needs the VK-main build, as it's only used by Raven and
Stoney on RADV.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Reviewed-by: Eric Engestrom <None>
Reviewed-by: Antonio Ospite <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33377 >
2025-02-06 11:58:33 +00:00
Daniel Stone
101065642d
ci/debian: Upgrade Debian images to LLVM 19
...
LLVM 15 is pretty old, and notably not supported by either ANGLE nor
Skia anymore. So let's move up to LLVM 19 using packages provided by
LLVM themselves, apart from PPC and ARMv7 which don't have builds.
The Skia build now requires a bunch of new warning exclusions; hopefully
most of these are no longer needed when we can upgrade Skia shortly.
The ci-deb-repo revision has also been bumped to get us a new version of
xtensor which builds with LLVM 19, and a version of spirv-tools which
also works with LLVM 19.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Closes : mesa/mesa#11538
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33137 >
2025-01-29 03:23:28 +00:00
Daniel Stone
55e9fe9d37
ci: Require LLVM_VERSION to be set explicitly
...
Stop falling back to 15 in random places; make sure it's set clearly
every time we want to use it.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33137 >
2025-01-29 03:23:28 +00:00
Detlev Casanova
aa11f3d630
ci/fluster/lava: Add fluster in LAVA rootfs
...
It will be used in next commits to run fluster vaapi tests on AMD
devices on LAVA.
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com >
Co-authored-by: Sergi Blanch Torne <sergi@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26113 >
2025-01-25 08:48:04 +00:00
Vignesh Raman
ac078768c9
ci: Force db410c to host mode
...
Force db410c to host mode to fix network issue which results in failure
to mount root fs via NFS.
See https://gitlab.freedesktop.org/gfx-ci/linux/-/commit/cb72a629
https://lore.kernel.org/r/20230911161518.650726-1-vignesh.raman@collabora.com
Use apq8016-sbc-usb-host.dtb which allows the USB controllers
to work in host mode.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Reviewed-by: David Heidelberg <None>
Reviewed-by: Sergi Blanch Torné <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32788 >
2025-01-16 22:57:52 +00:00
Juan A. Suarez Romero
37ee035e42
ci/build: add ubsan build jobs
...
This adds build jobs to support Undefined Behaviour Sanitizer (UBSan),
both in x86_64 and arm64.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30880 >
2025-01-09 17:06:07 +00:00
Eric Engestrom
beab815670
ci/deqp: add a deqp-vk build on the main branch
...
To be able to run new tests as soon as they are merged, instead of
having to wait for the next official CTS release
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
328a3de7cc
ci/lava: turn the $BUILD_VK check into a proper if block
...
Allows us to simply add something in the block in the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168 >
2024-11-27 20:38:05 +00:00
Eric Engestrom
ad42be50c9
ci/deqp: fully isolate deqp builds
...
Since the builds can be from very different versions of the code, we
need to make sure the common bits are compiled from the correct code.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
84e855953c
ci/deqp: add build of main branch
...
For now, this just contains the tools unrelated to any API being tested
(`testlog-to-{xml,csv,junit})`.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
9a689b15d9
ci/deqp: avoid downloading 1.47 GiB multiple times
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32250 >
2024-11-22 10:16:49 +00:00
Eric Engestrom
31a23d9801
ci/lava: add setup-test-env.sh to the rootfs
...
This allows strip-rootfs.sh to use sections, useful in the next commit.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:56 +00:00
Eric Engestrom
aba579811b
ci/container: move kdl build section into the script itself
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32241 >
2024-11-21 19:59:55 +00:00
Eric Engestrom
4ec045a533
ci: bump ci-templates
...
debian/x86_64_build-base was missing the package that provides
LLVMConfig.cmake, breaking cmake builds that need LLVM, like the
SPIRV-LLVM-Translator build.
The cross-builds were missing arch-test to allow dpkg to figure out
which arch it's running on.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31940 >
2024-11-06 07:53:21 +00:00
Daniel Stone
2950d55828
ci/skqp: Set $SKQP_ARCH from build-skqp.sh
...
Let's just use $DEBIAN_ARCH consistently for our target architecture,
and do any mappings down in build scripts.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
05b5701c01
ci/lava: Source setup-test-env
...
Make sure we have it available everywhere.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781 >
2024-10-22 10:44:36 +00:00
Daniel Stone
e26ea7a00e
ci: Remove non-Proton Wine
...
We previously only had two traces (one for Raven, one for lavapipe)
running via Wine. To support this, the Vulkan container had Debian's
full Wine installation, one from DXVK, and then a third from Proton
which is used by the b2c jobs.
At 600MB each, this was pretty unsustainable. Remove everything but the
Proton ones.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31595 >
2024-10-16 22:52:44 +00:00
Daniel Stone
71c77e0d00
ci/kdl: Fix KDL install location
...
Make sure that ci-kdl is built directly into the destination path; the
venv documentation explicitly states that venvs cannot be relocated.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31110 >
2024-09-13 10:12:09 +01:00
Daniel Stone
5aea59c37e
ci: Fix shellcheck warnings in firmware download
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Fixes: 0441202d6b ("ci: add firmware files to rootfs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30978 >
2024-09-09 16:27:07 +00:00
Daniel Stone
f5b0699efa
ci/angle: Clean up stray open-coded path
...
Somehow the sed seemed to miss this.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31059 >
2024-09-09 12:54:34 +00:00
Deborah Brouwer
0441202d6b
ci: add firmware files to rootfs
...
Currently only package versions of firmware files are available in the
rootfs.
This commit allows firmware files to be pulled directly from a specific
git hash of a remote repository.
Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30770 >
2024-08-28 04:31:10 +00:00
David Heidelberg
24d9c066e2
ci/lava: add support for RustiCL
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29394 >
2024-06-01 20:16:32 +00:00
David Heidelberg
890222fb5b
ci/lava: move wayland-protocols to the main section
...
Since Piglit buildsystem changes, we know it's already available
in all images anyway as we build with Wayland by default.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29370 >
2024-05-25 06:28:45 +00:00
David Heidelberg
97a081d41a
ci/lava: do not build Vulkan for armhf images
...
No hardware running armhf images has Vulkan at this moment,
rather ship smaller images.
Do not build VK-CTS for armhf (behind BUILD_VK flag now).
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29370 >
2024-05-25 06:28:45 +00:00
David Heidelberg
61c07cc1d9
ci/lava: enable Piglit OpenCL tests so we can test rusticl on the HW
...
THe CI job will follow in separate MR.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29370 >
2024-05-25 06:28:45 +00:00
David Heidelberg
a14e91981a
ci/piglit: be explicit about what we building
...
Now CI will easily fail build, when needed dependency is not present,
instead of building without it.
Shortens build for VK container, where we use only replayer.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29370 >
2024-05-25 06:28:45 +00:00
Eric Engestrom
27592453ac
ci: fix build-kernel.sh -> download-prebuilt-kernel.sh
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29241 >
2024-05-23 06:00:22 +02:00
Sergi Blanch Torne
cc6bd04dd7
ci: kernel stored in a different s3 bucket
...
Due to the expiration time in `mesa-lava` (1m), the kernel used in mesa is now
using `mesa-rootfs` (1y). Due to this change, a fresh kernel image has been
prepared and mesa has also a few changes to adapt to this redirection.
cc: mesa-stable
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Co-developed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28979 >
2024-05-07 22:08:07 +00:00
Guilherme Gallo
7101aecc53
ci: Use id_tokens for JWT auth
...
Fixes : #9180
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28916 >
2024-04-25 20:45:53 +00:00
Eric Engestrom
2ef7b4dfc1
ci/deqp: control the GLES release independently of GL
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27465 >
2024-03-01 15:33:11 +00:00
Eric Engestrom
d9833b89a2
ci/deqp: drop the implicit DEQP_TARGET; explicitly set default in VK builds
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27250 >
2024-01-26 21:49:05 +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
David Heidelberg
39616c13e0
ci/rootfs: add libdrm also inside the rootfs
...
Fixes: 4023301010 ("ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26971 >
2024-01-10 16:39:20 +00:00
David Heidelberg
4023301010
ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)
...
Reviewed-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26814 >
2024-01-10 01:38:49 +00:00
Matt Turner
6d2be84672
ci/lava: Add firmware-misc-nonfree on amd64
...
Hopefully this provides the GuC firmware files we need for testing on
Intel ADL+ boards.
Related: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9841
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25792 >
2023-12-08 21:25:12 +00:00
David Heidelberg
5e4ba9b166
ci/lava: add wine into the amd64 ephemeral container packages
...
We don't have to install DXVK in chroot.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
81aaeb80f7
Revert "ci/wine: move wine configuration into rootfs where is wine available"
...
This reverts commit 63b42e4007fec8746f7a3848b3816d36124dcbfd.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
1e13c7ca46
ci/wine: move wine configuration into rootfs where is wine available
...
As we removed wine from builds, we need to use the one installed in rootfs.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
e4d6da5ba3
ci: bashify scripts, use arrays
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25843 >
2023-10-31 01:00:25 +00:00
David Heidelberg
39a0791627
ci/freedreno: There is only one King of Town.
...
Drop -r1, which got removed in the Linux 6.4.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24815 >
2023-08-24 13:12:28 +00:00
Eric Engestrom
2c6dc51a90
ci: include mold in x86_64_test-base & rootfs images
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24490 >
2023-08-04 16:47:11 +00:00