Eric Engestrom
f97e38f9cd
ci/farm-rules: fix missing valve-infra jobs in scheduled pipelines
...
Fixes: 79f7882fc6
("ci: add quirk for GitLab assuming changes is always true for scheduled runs")
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24897 >
2023-08-29 16:13:44 +00:00
David Heidelberg
5fa9f842b0
ci: switch to 6.4 kernel, improving Adreno 660 reliability
...
Second argument is to leave Linux 6.3 which is EOL.
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
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
David Heidelberg
fd21c998e6
ci/piglit: add extra space on top to prevent single quote getting into URL
...
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
566c919df8
ci/deqp: backport fix for dEQP-EGL.functional.wide_color.*_888_colorspace_*
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24808 >
2023-08-22 18:12:08 +00:00
David Heidelberg
3a4bdf26e6
ci: remove LAVA prefix from variables which can be used also elsewhere
...
At least these two can be easily used in bare-metal or Labgrid setups.
Currently I already have MR for implementing these for Labgrid.
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24665 >
2023-08-17 13:25:46 +00:00
David Heidelberg
5174cae8c2
ci/baremetal: shorten BM_KERNEL to filename and BM_DTB to name only
...
We don't need the path, not at all when we use external kernel.
Acked-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24646 >
2023-08-14 17:18:04 +00:00
David Heidelberg
795a099f38
ci/baremetal: do not install curl, it's already there
...
curl is already installed in these images, drop it.
Acked-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24646 >
2023-08-14 17:18:04 +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
David Heidelberg
9d45a25b80
ci/farms: enabled Microsoft job only when conditions are met
...
Otherwise it gets run by default on newly pushed fork branch.
In general, this is copy-paste of `.container-rules`.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24604 >
2023-08-12 13:09:13 +00:00
David Heidelberg
17021f70f4
ci/build: limit debian-build-testing to 30 minutes
...
Previous 45 minutes is too much.
- 5 - 15 minutes mesa LTO build
- 5 - 15 minutes shader-db run
Should be safe, in case something fails, we still can make another run.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24607 >
2023-08-12 13:35:23 +02:00
Eric Engestrom
efb3c93d5f
ci: build hasvk in debian-vulkan job
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24586 >
2023-08-10 14:53:21 +00:00
Eric Engestrom
9dfd8b3723
ci: reorder vk drivers alphabetically in debian-vulkan job
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24586 >
2023-08-10 14:53:21 +00:00
Eric Engestrom
53231b0137
ci: document max image tag length
...
I've known about this for years and yet I still accidentally wrote a too
long tag.
Document this for myself next time, and for everyone else.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24560 >
2023-08-09 12:00:33 +00:00
Eric Engestrom
edab54dd68
ci: build nvk
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24542 >
2023-08-08 11:43:18 +00:00
Mike Blumenkrantz
4e9b20beb9
ci: bump VVL to 1.3.261
...
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24478 >
2023-08-07 22:12:38 +00:00
Eric Engestrom
35307aa9b9
ci: use mold to build deqp
...
deqp is probably the biggest thing that we're building (definitely in
size of binary linked), so it's also the one that benefits the most from
using mold for linking.
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
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
Eric Engestrom
f5672d048e
ci: include some timing information in the git cache download script
...
In https://gitlab.freedesktop.org/zmike/mesa/-/jobs/46476087 it is unclear
whether this script is where 30+ minutes were lost, or if this ran fine and
the `git clone` afterwards is where the issue was.
Printing these timestamps will help next time something like this happens.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24452 >
2023-08-03 18:44:44 +00:00
Eric Engestrom
b1ce5fe20a
ci: drop rule for non-existent src/include/
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24449 >
2023-08-02 18:20:46 +00:00
Eric Engestrom
f69e60406f
ci: add .core-rules to .gallium-core-rules
...
All the users of the latter were already getting the former through
other rules so there's no functional change, but it's more correct.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24449 >
2023-08-02 18:20:46 +00:00
Eric Engestrom
61d24ea88c
ci: reduce bare-metal retries of poe_run to only 3 attempts
...
10 is overkill, if we fail that many times in a row we should stop
trying on this runner.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24407 >
2023-08-02 11:23:44 +00:00
Eric Engestrom
52ee1f6fa6
ci: add a 10min job timeout to formatting checks
...
They both take only a few seconds, but it can take up to a minute for
setting up the job, and various external factors such as network can add
delays, so let's round it up to a generous 10 minutes.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24431 >
2023-08-02 10:28:07 +00:00
Karol Herbst
ec93d46a7c
meson,ci: bump meson req for rusticl to 1.2
...
Signed-off-by: Karol Herbst <git@karolherbst.de >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21451 >
2023-08-01 13:16:55 +00:00
Eric Engestrom
88deb4bb88
ci: print clang-format's version
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24302 >
2023-07-27 17:33:59 +00:00
Eric Engestrom
02e40d3b48
ci: print rustfmt's version
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24302 >
2023-07-27 17:33:59 +00:00
David Heidelberg
38d1e73868
ci/kdl: remove extra-verbose ls command
...
Not needed for non-debugging builds.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9422
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24348 >
2023-07-27 18:31:53 +03:00
Eric Engestrom
70eff58767
ci: allow hw jobs even if lint jobs fail for non-Marge pipelines
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24257 >
2023-07-27 11:24:24 +00:00
Eric Engestrom
b4bcb1a567
ci/lint: also print a diff for rust format issues
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24257 >
2023-07-27 11:24:24 +00:00
Eric Engestrom
5ae6d5e436
ci/lint: deduplicate formatting check jobs
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24257 >
2023-07-27 11:24:24 +00:00
David Heidelberg
2cf55d94b6
ci/kernel: add amd patch to prevent crashes when starting X
...
See: https://gitlab.freedesktop.org/drm/amd/-/issues/2669
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9402
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24338 >
2023-07-26 21:12:37 +00:00
David Heidelberg
d99b830c2b
Revert "ci/farms: always compare the code against main repository"
...
Unsustainable solution for the fork due to need keep main repository
up-date there.
This reverts commit 7b29ae557a
.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24337 >
2023-07-26 20:59:57 +03:00
David Heidelberg
7b29ae557a
ci/farms: always compare the code against main repository
...
`rules:changes:compare_to` resolved firstly pushed branch pipelines,
which always evaluated `rules:changes` as true which breaks the workflow
Since we now explicitely say, that we compare against `main` repository,
GitLab can evaluate against real changes.
Fixes: 79f7882fc6
("ci: add quirk for GitLab assuming changes is always true for scheduled runs")
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24305 >
2023-07-26 15:01:17 +03:00
Collabora's Gfx CI Team
2f834340a6
Uprev Piglit to ed58dfbd12be34fa3dab97a7a2987b890e0637f1
...
5036601c43...ed58dfbd12
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23485 >
2023-07-25 21:29:33 +00:00
Emma Anholt
3ef07e6c44
ci: Uprev ANGLE to 0518a3ff4d4e ("Android: Simplify power metrics collection")
...
There have been some fixes for our drivers that we'd like to bring in.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24200 >
2023-07-24 16:07:28 +00:00
Sergi Blanch Torne
f7d0586524
Integrate ci-kdl in the building process and launch process.
...
Modify the build process for the images to include the build to have ci-kdl
available in the Mesa jobs. Modify also the init-stage2 to launch in the
background the process that will collect data and store a json file with the
relative changes on the recorded data.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24177 >
2023-07-20 12:04:41 +00:00
Sergi Blanch Torne
8a1c95caab
Introduce ci-kdl builder and launcher.
...
A tool to collect relative changes in some registers of sysfs can be used in
the Mesa jobs to record information while the tests are being executed.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24177 >
2023-07-20 12:04:41 +00:00
Vignesh Raman
95c9d3db32
ci: add Vignesh Raman into restricted traces access list
...
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24247 >
2023-07-20 11:08:10 +00:00
Eric Engestrom
85a8f03211
ci: delete install.tar after extracting it to avoid re-uploading it
...
Leaving it means it gets re-uploaded when sync'ing the artifacts back
from the DUT to GitLab.
Signed-off-by: Eric Engestrom <eric@igalia.com >
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24196 >
2023-07-20 10:34:03 +00:00
Mike Blumenkrantz
28b07a7bd2
ci: bump VVL to 1.3.257
...
Reviewed-by: Eric Engestrom <eric@engestrom.ch >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24214 >
2023-07-18 23:43:16 +00:00
Eric Engestrom
0f557ffa26
ci: move lavapipe files rules to src/gallium/drivers/lavapipe/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
a15384383b
ci: move softpipe files rules to src/gallium/drivers/softpipe/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
14b9f460c2
ci: move llvmpipe files rules to src/gallium/drivers/llvmpipe/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
96344c7b71
ci: move virgl files rules to src/gallium/drivers/virgl/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
e9f2c4b4c2
ci: move intel files rules to src/intel/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
c99f10eb54
ci: move virtio files rules to src/virtio/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
5828d86c26
ci: move zink files rules to src/gallium/drivers/zink/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
7aa9abe473
ci: move microsoft files rules to src/microsoft/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
b7298836c5
ci: move amd files rules to src/amd/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00
Eric Engestrom
58077c6add
ci: move lima files rules to src/gallium/drivers/lima/ci/gitlab-ci.yml
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24099 >
2023-07-18 23:07:52 +00:00