Jose Maria Casanova Crespo
cc34111ec0
ci: Adds /usr/local/bin to PATH at piglit-traces.sh
...
yq and ci-fairy are installed in /usr/local/bin but on
script execution that route is not included by default
for all runners.
Identified on RPI4 runners.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27748 >
(cherry picked from commit babb82d81a )
2024-03-07 20:21:13 +00:00
Eric Engestrom
8a5c89a294
[24.0 only] disable clang-format
...
It's been disabled on main which means I'm now getting backports that do not pass this check anymore.
2024-02-28 13:30:12 +00:00
Eric Engestrom
19d0f2708f
[24.0-only change] ci: increase the kernel+rootfs builds timeout to 2h
...
Overkill but better than being prevented from accepting backport MRs
because Collabora deleted these files from the S3 bucket *yet again*...
2024-02-24 18:27:57 +00:00
Timothy Arceri
d1b79ef57b
Revert "ci: Enable GALLIUM_DUMP_CPU=true only in the clang job"
...
Rob worded it well in 9e8450b65c .
"We don't want util_cpu to vomit cpu caps all over the test output."
This reverts commit c6979d97e4 .
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27564 >
(cherry picked from commit 62fa5c8d0f )
2024-02-14 17:04:18 +00:00
David Heidelberg
a062b0432a
ci/deqp: uprev deqp-runner for Linux too to 0.18.0
...
Previous commit upreved deqp only for the Android
Fixes: 1ff4687e86 ("ci: uprev deqp-runner from 0.16.1 to 0.18.0")
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
[Eric]
- rename the deqp-runner version to DEQP_RUNNER_VERSION instead of DEQP_VERSION
- update image tags
- fix expectations lists
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27062 >
(cherry picked from commit 4ff77f08e4 )
2024-01-17 23:29:18 +00:00
Eric Engestrom
01b374ecaf
ci/deqp: ensure that in default builds, wayland + x11 + xcb are all built
...
If someone were to remove the libraries that are needed for these,
`default` would simply not enable these tests, and the only thing we
could notice is that test jobs would suddenly take less time to run.
Instead, let's have a check to make sure dEQP's cmake has detected
everything and enabled these platforms.
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27041 >
(cherry picked from commit 27a1b4e4f3 )
2024-01-17 23:28:12 +00:00
Eric Engestrom
ce34ec41cd
ci: fix job dependency error in MRs for bin/ci/* scripts
...
'debian/x86_64_build' job needs 'debian/x86_64_build-base' job, but 'debian/x86_64_build-base' is not in any previous stage
Fixes: f298a0e709 ("ci: make sure we evaluate the python-test rules first")
Fixes: 2c9fdaa830 ("ci: fix python-test dependency error on merge requests")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27042 >
(cherry picked from commit 2ce0b5ab0a )
2024-01-17 21:38:53 +00:00
Eric Engestrom
f575e2b9f1
ci: make sure we evaluate the python-test rules first
...
Fixes: 2c9fdaa830 ("ci: fix python-test dependency error on merge requests")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26984 >
(cherry picked from commit f298a0e709 )
2024-01-15 21:56:02 +00:00
Eric Engestrom
fb93475139
ci/deqp: set default platform to default instead of glx, to also support wayland
...
In our case (because we have the libs installed),
`-D DEQP_TARGET=default` = `xlib` (what `-D DEQP_TARGET=x11_glx` enables) + `xcb` + `wayland`
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26896 >
2024-01-10 20:13:01 +00:00
Eric Engestrom
e1935daa19
ci: convert several find | xargs to find -exec
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26896 >
2024-01-10 20:13:01 +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
Eric Engestrom
0960fd5e8a
ci: split & reuse debian version identifier
...
It was set on non-debian containers, and it was missing on debian-based
rootfs containers.
Fixes: 4023301010 ("ci: enable ci-deb-repo for libdrm 2.4.119 (and others in the future)")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26971 >
2024-01-10 16:39:20 +00:00
David Heidelberg
8467b7f44a
ci: bump Fedora and Android libdrm2 to 2.4.119
...
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:50 +00:00
David Heidelberg
7d0630d763
ci/alpine: update to latest to get libdrm 2.4.119
...
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:50 +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
Caio Oliveira
dc2170f32b
ci: Add Werror=misleading-indentation to debian-clang
...
Due to some issues with GCC and this warning in very long files, we
disabled it when compiling NIR. Unfortunately by design Meson doesn't
allow us to set flags per source file.
The warning is still enabled in clang. but it is less commonly
used during development. To avoid missing catching those warnings,
add -Werror=misleading-indentation to the GitLab CI debian-clang build.
See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25315 for
more context. This patch is a transcription of what Eric Engestrom
suggested, except only targetting C flags (since we only disable them
for C in NIR build).
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26938 >
2024-01-09 05:56:16 +00:00
Pavel Ondračka
8b5cdc5fa5
ci: add r300 RV530 dEQP gles2 CI job
...
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26823 >
2024-01-08 16:19:20 +00:00
Pavel Ondračka
6fd41f5416
ci: uprev mesa-trigger container
...
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26823 >
2024-01-08 16:19:20 +00:00
Helen Koike
2c9fdaa830
ci: fix python-test dependency error on merge requests
...
Pipeline is unable to run due to the following error:
'python-test' job needs 'debian/x86_64_build' job, but 'debian/x86_64_build' is not in any previous stage
python-test job has the following rule:
- changes:
- bin/ci/**/*
so add it as well to debian/x86_64_build
Signed-off-by: Helen Koike <helen.koike@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26802 >
2024-01-08 12:19:29 +00:00
Karol Herbst
d72544eea6
ci,rusticl: bump meson req to 1.3.1
...
See https://github.com/mesonbuild/meson/pull/12620
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24386 >
2024-01-06 03:09:48 +00:00
Eric Engestrom
666f27d228
ci/containers: use build-libdrm.sh in debian/android
...
The extra complexity is not worth saving the 3x 468 KB of bandwidth
wasted every time we rebuild this container because we delete the
tarball inside the script.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26825 >
2023-12-28 14:13:39 +00:00
Karol Herbst
bc9fe6637b
ci: merge debian-rusticl-testing into debian-testing
...
There is really no point anymore having it split out.
Signed-off-by: Karol Herbst <kherbst@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26807 >
2023-12-25 16:18:41 +00:00
Yonggang Luo
6d4577799c
ci/microsoft: Update the image-tag and image-path for msvc2019/msvc2022
...
Update the image-path from x64 to x86_64 for consistence with other platform
This is also cause the python to be updated to python3.12
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
cb50d0cabf
ci/msvc: Split the install of rust and d3d out of mesa_deps_test.ps1
...
There is no need repeatedly downloading rust and d3d when building the docker locally
Download glext.h from github
Remove src directory and .git directory once compiling finished
Split piglit and depq compiling out
Clean middle files of piglit and depq
ci/msvc: Improve fetch source of spirv_samples_source
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
6e8c3a585a
ci/msvc: Stick VK-GL-CTS to specific version 56114106d860c121cd6ff0c3b926ddc50c4c11fd
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
85bbc1a753
ci/msvc: Stick deqp-runner to version v0.16.1
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
5109790cf9
ci/msvc: Install both msvc2019 and msvc2022
...
Currently only msvc2019 are used
This is did intentionally, so we have a history script install msvc2019 only within vs2022
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
14e624bf43
ci/msvc: Install msvc2019 only from vs2022
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
24c40cafc4
ci/msvc: Upgrade to vs2022 build tools
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
25a560b622
ci/msvc: Remove &windows_msvc_image_tag
...
This is hard to understand and complicated
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
c0ad42fe34
ci/msvc: Improve msvc init
...
Now when choose different version of msvc, there is no need rebuild windows-msvc docker
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
a2595dbf3b
ci/msvc: Rename vs to msvc for consistence
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
4d6d0a24ed
ci/msvc: Rename vs2019 to msvc
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
543e872d90
ci/msvc: Split install vulkan sdk out of choco
...
packaging are installed because python 3.12 need it
Install of vulkan-sdk improved so that it's can be running in non-docker environment
Now vulkan-sdk have separate script so that it can be updated without update MSVC
THe choco installed packages is almost freeze to update, so split install of vulkan sdk
out of it for avoid update it when update VULKAN_SDK_VERSION on local computer
--params="/InstallDir:C:\python3" won't take effect, drop it for not misleading
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
9e89e7a7c2
ci/msvc: Install graphics tools(DirectX debug layer) easy to stuck, place it at the beginning
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Yonggang Luo
09ca7b3d9e
ci/msvc: update flex and bison to winflexbison3
...
winflexbison3 is from github and faster, other than that, bison in winflexbison is too old(year 2007)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26736 >
2023-12-24 11:46:43 +00:00
Samuel Pitoiset
551924aa87
ci: apply two bugfixes for VKCTS
...
These are needed for RADV.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26798 >
2023-12-22 20:12:39 +00:00
Rob Clark
c2bb95653b
ci: Add wayland-dEQP-EGL.functional.render.* skips
...
These appear to be failing in the same way as the color_clears tests.
Same results on llvmpipe and freedreno (as with the color_clears tests)
so it does not appear to be a driver specific issue.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26779 >
2023-12-22 11:13:23 +00:00
Rob Clark
4261621a7e
ci: List specific color_clears skips
...
No need to throw the baby out with the bathwater.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26779 >
2023-12-22 11:13:23 +00:00
Rob Clark
dbe5b8b5a4
ci: More context for color_clear skips for Wayland
...
Add some more notes, so context isn't lost to time when someone gets
around to digging deeper.
Signed-off-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26779 >
2023-12-22 11:13:23 +00:00
Eric Engestrom
423f9d1bb0
ci: add nvk to the clang build
...
Would have prevented
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26772
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26781 >
2023-12-21 20:35:53 +00:00
Vignesh Raman
dc66de3029
ci: bare-metal: cros-servo: Create strutured logs for a630
...
Use the CustomLogger class and CLI tool to create strutured
logs for cros-servo scripts. Below is an example for a630.
{
"_timestamp": "2023-10-18T18:14:16.114117",
"dut_job_type": "sdm845-cheza-r3",
"farm": "google",
"dut_jobs": [
{
"status": "pass",
"submitter_start_time": "2023-10-18T18:14:16.255163",
"dut_start_time": "2023-10-18T18:14:16.328396",
"dut_submit_time": "2023-10-18T18:14:16.330469",
"dut_end_time": "2023-10-18T18:33:47.034774",
"dut_name": "google-freedreno-cheza-18",
"dut_state": "finished",
"dut_job_phases": [
{
"name": "boot",
"start_time": "2023-10-18T18:14:16.329576",
"end_time": "2023-10-18T18:14:24.495826"
},
{
"name": "test",
"start_time": "2023-10-18T18:14:24.495855",
"end_time": "2023-10-18T18:33:47.136979"
}
],
"submitter_end_time": "2023-10-18T18:33:47.207702"
}
],
"job_combined_status": "pass",
"dut_attempt_counter": 1
}
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25807 >
2023-12-21 19:54:44 +00:00
David Heidelberg
ba0d39fb69
ci: skip EGL functional color_clears tests for Wayland
...
A majority of the tests introduced in CTS 1.3.7.0 are experiencing failures and flakes.
Disable these tests until someone with a more deeper understanding of EGL examines them.
Acked-by: Rob Clark <robdclark@chromium.org >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26760 >
2023-12-19 18:18:31 +01:00
Vignesh Raman
2487e18d4e
ci: bare-metal: poe: Create strutured logs
...
Use the CustomLogger class and CLI tool to create strutured logs
for poe scripts which are used by broadcom and nouveau jobs.
Renamed stage lint to code-validation and added python-test job
which runs the tests for structured and customer logger to ci.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25179 >
2023-12-19 10:09:35 +00:00
Vignesh Raman
2a530cb188
ci: copy logging script to install
...
Copy structured_logger.py and custom_logger.py to install,
so that the ci jobs can use these scripts for logging.
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25179 >
2023-12-19 10:09:35 +00:00
Eric Engestrom
377c6b2d45
ci/build: drop redundant meson/build.sh from jobs that already inherit from .meson-build
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26714 >
2023-12-17 17:03:08 +00:00
Christian Gmeiner
fa0ff0849c
etnaviv: Add isaspec support
...
This commit adds etnaviv.xml which describes the used ISA. Quite some
time was spend to to get it into that shape by creating a big collection
of shader asm generated by the binary blob. These shaders are used as basis
for test driven development for this ISA specification.
The xml has some black spots but the internal disasm is used by
developers so that should be no problem. Some refinement will happen
during normal development.
This commit adds only disasm support.
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20144 >
2023-12-16 14:34:18 +00:00
Sil Vilerino
90b49f16f7
d3d12: Bump directx-headers dependency to v611.0 for latest video codecs and features
...
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26556 >
2023-12-14 20:06:52 -05:00
Daniel Stone
f51d99def6
panfrost/ci: Add environment variable to suppress warnings
...
Without it, our test log fills up with warnings that crawling index
buffers from the CPU isn't valid. We know that.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26449 >
2023-12-14 22:53:39 +00:00
Eric Engestrom
b557362b3a
ci: run every test when changing the build
...
Changing meson options, checks or dependencies can affect drivers, so
they should be tested.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26625 >
2023-12-14 20:58:16 +00:00