Samuel Pitoiset
9fda96db5b
ci: uprev vkd3d-proton to 59d6d4b5ed23766e69fe252408a3401d2fd52ce8
...
It contains few fixes for recent DGC tests.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31796 >
2024-10-23 15:47:54 +00:00
David Heidelberg
562b80cf69
ci/build: Do not do LTO on any pre-merge job
...
Running LTO on pre-merge can be time-consuming,
especially on (over)loaded CI.
Let's keep it in nightly jobs to ensure coverage without causing
timeouts in pre-merge pipelines.
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31790 >
2024-10-22 19:51:34 +00:00
David Heidelberg
72b5e4045b
ci/fedora: add workaround for buggy GCC warning triggered by r600
...
In function 'r600_init_resource_fields',
inlined from 'r600_buffer_create' at ../src/gallium/drivers/r600/r600_buffer_common.c:561:2:
../src/gallium/drivers/r600/r600_buffer_common.c:121:48: error: array subscript 'struct r600_texture[0]' is partly outside array bounds of 'unsigned char[256]' [-Werror=array-bounds=]
121 | if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) ||
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/util/os_memory.h:37
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31790 >
2024-10-22 19:51:34 +00:00
Samuel Pitoiset
7cd7631554
ci: uprev vkd3d-proton to 65b81403435576d882d9141ae3eb4a29373fba0e
...
For EXT DGC implementation.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31754 >
2024-10-22 14:12:32 +00:00
Eric Engestrom
bc0da4bdfc
ci: move comment into the appropriate section
...
I wrote the toml linter, but not the rest.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31785 >
2024-10-22 13:01:56 +00:00
Eric Engestrom
ba789f2ce6
ci: move yaml-toml-shell-test out of build-for-tests stage
...
It inherited the stage from `python-test`, but it's not accurate here.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31785 >
2024-10-22 13:01:56 +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
abf7f11796
ci: Use sections for test container builds
...
These can be really long; it's helpful to have the sections to be able
to separate the individual builds, as well as to get an idea of where
our time goes.
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
4b2ff9c946
ci/skqp: Fix relative paths
...
When we use build-skqp as a sourced script, $0 refers to the overall
build script, which may not be in .gitlab-ci/container/.
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
2d03e67bbf
ci/angle: Use relative paths
...
When we use build-angle as a sourced script, $0 refers to the overall
build script, which may not be in .gitlab-ci/container/.
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
ff97a8b006
ci/firmware: Allow calling firmware as sourced script
...
Most of our build scripts are sourced rather than executed in a
subshell, so they inherit our environment. Allow our firmware script to
do the same by not exiting when we have no firmware to download, as is
the case on arm32.
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
24a9fe6655
ci: Really remove Mesa drivers from rootfs
...
It turns out dpkg doesn't actually support wildcard expansion. Oops.
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
5e1d3c2ffe
ci/mold: Use appropriate parallelism and strip binaries
...
--parallel will by default launch way too many processes and just DoS
itself. We also want to strip the installed binary.
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
Eric Engestrom
28655b26f5
ci/b2c: make initramfs & kernel urls optional
...
If omitted, the default ones are used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31570 >
2024-10-22 05:29:07 +00:00
Eric Engestrom
fa7c4b148b
ci/b2c: allow B2C_DTB_URL to be set to an empty string to unset it
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31570 >
2024-10-22 05:29:06 +00:00
David Heidelberg
3dbbc24cb3
ci/build: debian-build-testing should follow same limit as other jobs
...
This was temporarily measure to prevent long LTO builds get stuck.
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31758 >
2024-10-21 22:30:09 +00:00
Eric Engestrom
5a65c478dd
ci: fix shader-db rules
...
All the post-merge pipelines are failing to be created with this error:
'shader-db' job needs 'debian-build-testing' job, but 'debian-build-testing' is not in any previous stage
Like all the other test jobs, shader-db should never run in post-merge
pipelines.
Fixes: 0724b00dad ("ci: run shader-db only when one of the drivers it tests is modified")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31758 >
2024-10-21 22:30:08 +00:00
Eric Engestrom
bb98949134
ci: rename "freedreno" farm to "google-freedreno"
...
There are 3 freedreno farms: google, collabora, and valve.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31709 >
2024-10-21 09:36:05 +00:00
Eric Engestrom
85de24ebc5
ci/prepare-artifacts: use more than one thread when compressing the install tarball
...
Also, add `--quiet` to avoid partial progress output.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30416 >
2024-10-21 08:52:23 +00:00
Eric Engestrom
e9998fdef5
ci/{deqp,piglit}-runner: make zstd respect FDO_CI_CONCURRENT when set, and fallback to the current "all the threads"
...
Also, expand `-q` to `--quiet` to be more explicit, and drop a stray
`-c` which did nothing except cancel out `--rm`.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30416 >
2024-10-21 08:52:22 +00:00
David Heidelberg
4375133abb
ci/alpine: stay trendy, Alpine flies on LLVM 19 now
...
Signed-off-by: David Heidelberg <david@ixit.cz>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31656 >
2024-10-20 19:39:32 -07:00
Georg Lehmann
3120fec0c0
ci: remove selinux from containers
...
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31656 >
2024-10-21 01:14:35 +00:00
Georg Lehmann
894c4f0c78
meson: remove selinux option
...
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31656 >
2024-10-21 01:14:35 +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
ef175ea594
ci: Make section emission really quiet
...
If you're emitting a section header under set -x, you will see:
+ section_start foo "foo"
+ x_off
[the section header]
This is kind of annoying. Instead of trying to squash it everywhere by
dancing around local set +x management, play some extremely stupid
tricks with shells to make sure we never emit it.
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
dd415e45bb
ci/traces: Use sections to quiet execution
...
Only print the good bits by default.
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
5dcd5bfc3e
ci/crosvm: Replace SCRIPT_DIR with SCRIPTS_DIR
...
This is what gets used everywhere else, so do that.
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
5edb11e9ea
ci/crosvm: Make crosvm-runner safe for set +u
...
This is a really useful thing to have; the next commit cost me an
embarrassing amount of time for not having it.
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
da292b019c
ci/bare-metal: Use section for boot messages from poe-powered
...
Very few people ever want to see the exact details of how we attempt to
boot a device.
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
d9e1b29504
ci/bare-metal: Truncate printed times and prefixes
...
The date isn't interesting, since you can tell if it wraps around
anyway. Just print the time down to the millisecond, which should be
plenty enough. We also don't need to print 'R SERIAL_CPU> ' when almost
every line is reading from the CPU serial buffer, so make that the
default.
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
3ed9fd3140
ci/bare-metal: Use section for boot messages from cros-servo
...
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
a9b03a8fc4
ci/bare-metal: Move preparation steps into section
...
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
d171f47f44
ci/lava: Coalesce post-processed job information
...
We can combine a section _and_ a print.
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
9be46b29f0
ci/lava: Print relative timestamps in sections
...
Follow what the shell executor does and print the time since the job
started in the section header.
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
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
970f37be09
ci/lava: Change default section colour to cyan
...
This matches the sections from the shell prints, which are quite nice.
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
3c7b53e27c
ci/lava: Be a little less enthusiastic with bold
...
Some things can just fade away into the background.
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
dead2b7e62
ci/lava: Fix colour definitions
...
All the foreground colours pass 1 to ANSI SGR, which sets bold. The
other arguments are either a colour from 30-37 (passed directly), or
38;5;nnn, where nnn is an extended RGB colour. It looks like most of the
definitions were cargo-culted from FG_RED, which correctly sets an
extended colour, because the arguments there were being parsed as
setting blinking, followed by 197 which was ignored as unknown.
Fix them to just set the original definition.
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
3068279280
ci/lava: Truncate printed times
...
We don't need to go down to the microsecond.
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
65f05f2231
ci/lava: Explicitly pass UTC timezone
...
Rather than putting it into the environment, just pass it explicitly
every time we need a timestamp.
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
2b4d468421
ci/lava: Hide more boot details into sections
...
Make sure we keep as much of the boot as we can behind sections, so
by default people only see the actual test run.
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
837004fa26
ci/lava: Rename lava_boot section
...
'LAVA boot' is less meaningful to normal people than explaining that
we're booting the hardware device under test.
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
964b979131
ci/lava: Add section for device wait
...
This way it's easier to see how long it took.
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
586abb1e10
ci/lava: Break section-header print into separate function
...
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
bfe03bb6a0
ci/lava: Quieten timestamp warnings from tar
...
'tar: results/results.csv.zst: time stamp 2024-09-10 13:54:49 is
11.443107788 s in the future'
No-one cares.
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
46c8423489
ci/lava: Remove pointless messages
...
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
cff886d808
ci: Don't print structured log data URL
...
People who want to get it will know where to find it. Most people will
not care.
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