Valentine Burley
1aeedddbb6
ci/piglit: Drop redundant PIGLIT_PROFILES variable
...
PIGLIT_PROFILES was only used with the piglit-runner.sh script, which no
jobs were using anymore.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34424 >
2025-04-11 07:05:06 +00:00
Natalie Vock
916d7277c0
radv/ci: Test FP16 for GFX8
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34114 >
2025-04-09 14:21:37 +00:00
Valentine Burley
1668feefb4
ci: Make it possible to use ANGLE traces on other architectures
...
Don't hardcode amd64 architecture, use PIGLIT_REPLAY_ANGLE_ARCH to make
it easier to opt in for ANGLE traces on arm64 in the future.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34308 >
2025-04-05 09:13:53 +02:00
Lionel Landwerlin
789f13359a
anv: consolidate environment variables
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com >
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34332 >
2025-04-04 15:18:28 +00:00
Vignesh Raman
7959250d1e
s3_upload: improve url validation and error message
...
Ensure s3_upload correctly validates the S3 folder url by requiring it
to end with /. This prevents wrong uploads to invalid paths, such as
file urls. Also improve the error message.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34255 >
2025-04-04 13:32:45 +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
a47b2e3ad7
ci/init-stage2: document that only lava jobs upload results to s3
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34120 >
2025-03-24 20:45:52 +00:00
Guilherme Gallo
11f8dffec4
ci/angle: remove USE_ANGLE variable
...
Now that every ANGLE use is covered by tag consistency checks
(structured tagging), we don't need the USE_ANGLE flag anymore, because
if we have ANGLE_TAG set, it means that ANGLE is required in this job.
In detail, it means that the test job has inherited ANGLE_TAG from
`.container-builds-angle`.
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
Guilherme Gallo
74cb5105b4
ci/angle: add structured tag check to ANGLE build time
...
Now everytime the ANGLE is built, we check if the conditional tag
declared in the .gitlab-ci/conditional-build-image-tags.yml is matching
the current version of the build script and its inputs
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
5b65bbf72c
ci: Simplify downloading kernel for crosvm
...
Directly download the kernel instead of using the
download-prebuilt-kernel.sh script.
Save the kernel to /kernel for clarity, replacing the previous
/lava-files directory.
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
Emma Anholt
98efca9207
ci/anv: Enable testing with Vulkan video encode/decode.
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25384 >
2025-02-14 01:21:20 +00:00
Eric Engestrom
55bd96d038
ci: rename generate-env.sh to export-gitlab-job-env-for-dut.sh
...
This makes it clearer what this script does.
Reviewed-by: Vignesh Raman <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33037 >
2025-02-12 14:25:30 +00:00
Eric Engestrom
49a04bb41e
ci: finish sorting vars
...
A few stragglers were slightly out of place, and a couple (S3 & LVP)
were completely off.
Reviewed-by: Vignesh Raman <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33037 >
2025-02-12 14:25:30 +00:00
Valentine Burley
12ddff54ba
intel/ci: Use INTEL_XE_IGNORE_EXPERIMENTAL_WARNING to reduce warnings
...
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33282 >
2025-02-05 14:01:03 +00:00
Valentine Burley
8a54823db9
ci/intel-gpu-freq: Add Xe support
...
Intel switched to exclusively using per-tile sysfs interfaces in Xe.
The locations and names of the sysfs attributes also changed compared
to i915, so update the intel-gpu-freq.sh script to work with both KMDs.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33282 >
2025-02-05 14:01:03 +00:00
Detlev Casanova
8f4efda257
ci/fluster: Add radeonsi-raven-vaapi-fluster jobs
...
The CI job runs each supported decoder on 1 LAVA job:
- vp9
- h.264
- h.265
They each run the gstreamer VAAPI fluster decoder tests on a radeonsi
device 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
Martin Roukala (né Peres)
660412c63d
ci/init-stage2: use the common scripts from the build artifact
...
This unifies the behaviour between the LAVA, baremetal, and CI-Tron
farms by ensuring every job has access and runs the same scripts.
The init-* scripts are however still sourced from outside the build
artifact, hopefully not for too long.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33026 >
2025-01-16 04:07:42 +00:00
Valentine Burley
04b154b847
ci/deqp: Add a DEQP_FORCE_ASAN option
...
Replace the last use case for for DEQP_RUNNER_OPTIONS by introducing
a centralized option instead of hardcoding the path via the --env
argument in various test configs.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32659 >
2024-12-17 12:10:04 +00:00
Valentine Burley
ee72c8a177
ci/deqp: Remove non-suite support
...
Remove deqp-runner non-suite support to simplify deqp-runner.sh,
prevent the reintroduction of non-suite jobs, and streamline
testing.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32659 >
2024-12-17 12:10:04 +00:00
Eric Engestrom
03f056ea71
ci: skip slow tests on all non-"full" jobs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31828 >
2024-10-25 08:26:31 +00:00
Daniel Stone
ec95f07a1f
ci: Quieten test execution
...
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:43 +01:00
Daniel Stone
8316654dac
ci: Quieten post-test cleanup
...
Ordinary people are not interested in reading this.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:43 +01:00
Daniel Stone
8ee6241a8c
ci/hw: Wrap pre-test setup in collapsed section
...
Most people don't care about environment variables and starting Weston.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Daniel Stone
9af1ceb7a2
ci: Don't move results directory
...
No sense in moving things around; just create it in the right place to
begin with.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31602 >
2024-10-20 11:32:42 +01:00
Guilherme Gallo
1dc64d0613
ci: Use merge-skips files during merge pipelines
...
These skip files contain tests that exceed one minute in execution time,
which are better suited for nightly jobs. This change aims to optimize
execution time and prevent delays in merge pipelines under time
constraints.
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31699 >
2024-10-18 03:27:45 +00:00
Deborah Brouwer
f406595ec7
ci/deqp-runner: implement max-fails
...
If we get more than 40 unexpected fails/crashes in a merge pipeline,
then stop early to preserve pipeline resources.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31429 >
2024-10-16 17:32:53 +00:00
Corentin Noël
b4900cd3f8
ci: Allow to pass the PIGLIT_RUNNER_OPTIONS variable
...
When debugging piglit job failure in CI, it is sometimes useful to pass options to
the runner, allow to do this even in guest when using crosvm.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31284 >
2024-09-20 17:42:04 +00:00
Vignesh Raman
c6c011ee47
ci: include exit code in test result output
...
The HWCI result output now includes the exit code from
the test script to help in debugging. Also Update
B2C_JOB_SUCCESS_REGEX with the exit_code for ci-tron.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31189 >
2024-09-20 10:29:39 +00:00
Daniel Stone
f07bfe0b1d
ci: Use new arguments to ci-kdl to avoid child management
...
Instead of using a tee to the log, step the verbosity down - we already
know by this point that it's working pretty well. Passing --output-file
directly also lets us avoid a messy 'mv'.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31110 >
2024-09-13 10:13:06 +01: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
f46d022c4b
ci/xorg: Capture Xorg log in results artifacts
...
Because it's really infuriating trying to figure out why it hasn't
started without that.
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
7fb2fa0e4b
ci/devcoredump: Use common $RESULTS_DIR
...
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
cf482a4563
ci/kdl: Use common $RESULTS_DIR
...
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
f890d41d46
ci/gtest: Use common $RESULTS_DIR
...
This means that GTEST_RESULTS_DIR no longer works.
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
8b3a49d1ec
ci/trace: Move trace cleanup to Piglit runner
...
No sense in polluting our common init code with this.
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
476a5aab34
ci/deqp: Use common $RESULTS_DIR
...
This means that setting $DEQP_RESULTS_DIR no longer works, but it does
clean up the CI setup.
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
9b6d14aed1
ci: Always create results dir from init
...
During init-stage2 (used for hardware jobs) and setup-test-env (used
for running directly on shared runners), make sure we always create a
results directory.
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
2dbadf8109
ci: Avoid subshell for executing HWCI_TEST_SCRIPT
...
Ensure that $HWCI_TEST_SCRIPT is an executable we can run ourselves, and
run that directly instead of invoking a subshell.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31110 >
2024-09-13 10:12:08 +01:00
Daniel Stone
b943f42ef5
ci/intel-gpu-freq: Fix shellcheck warning
...
SC2319 is actually helpful! It's telling us that in:
foo="$(bar)"
[ -n "$foo" ] && ret=$?
ret actually gets us the return code from [ which is by definition zero,
instead of the return code from bar that we wanted.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30978 >
2024-09-09 16:27:07 +00:00
Eric Engestrom
b6d8459e3a
ci: pass MESA_SPIRV_LOG_LEVEL from job to the test
...
Fixes: 4b8735cd4e ("ci: raise the log level threshold of spirv logs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30546 >
2024-08-07 11:43:25 +02:00
Eric Engestrom
93f9afa1e0
ci: remove dead start-x.sh script
...
Fixes: 599e8bf921 ("ci/valve: remove the traces runner")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30465 >
2024-08-01 19:57:17 +00:00
Eric Engestrom
f54cb2476f
ci/vkd3d: add support for *-skips.txt list files
...
Allows annotating the skips to document them, and avoids running the
entire CI for that driver when changing the skips for one device.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30413 >
2024-07-30 18:47:52 +00:00
Eric Engestrom
50139426e2
ci/vkd3d: use GPU_VERSION to identify the list of failures, unifying with deqp-runner.sh
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30413 >
2024-07-30 18:47:52 +00:00
Eric Engestrom
f90b10ab8f
ci: drop dead VKD3D_CONFIG
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30413 >
2024-07-30 18:47:51 +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
b2a025f9a2
llvmpipe/ci: set rusticl variables in deqp-runner instead of passing them down from the job
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29851 >
2024-06-27 17:49:02 +00:00
David Heidelberg
a79a2486c7
ci: propagate RUSTICL_ENABLE and DEBUG variables to the DUTs
...
Signed-off-by: David Heidelberg <david@ixit.cz >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29513 >
2024-06-02 07:13:33 +00:00
Eric Engestrom
3cbb3c0b66
ci/env: move dead-code-with-comment to the end of the list to make it clearer
...
and improve comment
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
978f967105
ci/init-stage2: set VK_DRIVER_FILES for both xorg and wayland
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00