Eric Engestrom
d31f468ad8
Revert "meson: use vcs_tag() instead of custom script"
...
This reverts commit e4edf9203b .
Meson is unfortunately not quite ready yet, and prints stderr noise when
_not_ building from a git clone.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37717 >
2025-10-06 23:06:11 +00:00
Sergi Blanch Torne
cf9b0c1fd3
ci: fix requirements file
...
With the migration concluded on !37510 of the lava-job-submitter (it is now an
independent project under the gfx-ci namespace), a lava requirements file was
not necessary anymore, but there was still one reference.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37713 >
2025-10-06 09:18:49 +00:00
Valentine Burley
040201d46a
ci: Remove lava-job-submitter, LAVA containers, and tests
...
lava-job-submitter has been moved to a new repository:
https://gitlab.freedesktop.org/gfx-ci/lava-job-submitter
Remove the LAVA-related code from Mesa, since we now use the containers
built in that repository. These containers already include
lava-job-submitter and run the relevant tests there.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37510 >
2025-10-02 18:31:56 +00:00
Martin Roukala (né Peres)
9bb74929bc
ci,crnm: remove unused imports
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37641 >
2025-10-01 09:38:02 +00:00
Martin Roukala (né Peres)
c2a2d7215a
ci,crnm: remove unsupported arguments by console.print
...
Fixes: 51c3f56aa (ci,crnm: migrate colorama to rich)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37641 >
2025-10-01 09:38:02 +00:00
Eric Engestrom
e4edf9203b
meson: use vcs_tag() instead of custom script
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37337 >
2025-09-24 18:49:37 +00:00
Sergi Blanch Torne
51c3f56aa3
ci,crnm: migrate colorama to rich
...
The links in the console are broken depending on the console type; for example,
when it runs within a GitLab job. This can be improved using rich. But as we
have a dependency on colorama too, we can migrate all the coloring to use this
other library too.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37454 >
2025-09-23 09:57:37 +00:00
Valentine Burley
a9dbb5bd81
ci/lava: Update fire for compatibility with Debian 13
...
Bump `fire` from 0.5.0 to 0.7.0. The newer version removes the dependency
on the deprecated `pipes` module, which was removed in Python 3.13.
This fixes the LAVA tests in the `yaml-toml-shell-py-test` job when
running on Debian 13.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35853 >
2025-09-16 06:16:21 +00:00
Yonggang Luo
57d273b55b
meson: Getting symbols-check.py works for mingw
...
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37289 >
2025-09-13 08:23:07 +00:00
Eric Engestrom
8e2ff175c6
ci/update_traces_checksum: fix regex detecting PIGLIT_REPLAY_DEVICE_NAME in job logs
...
`declare -x` is one way to export a variable, but there is also `export`.
LAVA uses the former, while CI-tron uses the latter.
LAVA always adds quotes, while CI-tron uses python's `shlex.quote()` [1]
which only adds the quotes when necessary, so let's make those optional
in the regex as well.
[1] https://docs.python.org/3/library/shlex.html#shlex.quote
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37215 >
2025-09-08 13:39:39 +00:00
Eric Engestrom
62428ae59b
ci/update_traces_checksum: fix decoding of log lines
...
We don't need to evaluate escape sequences, we should instead read them
verbatim.
Fixes issues like:
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\.'
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\ '
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\;'
bin/ci/update_traces_checksum.py:45: DeprecationWarning: invalid escape sequence '\_'
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37215 >
2025-09-08 13:39:39 +00:00
Eric Engestrom
263d260494
ci_run_n_monitor: add --job-tags filter
...
This allows limiting to eg. `--target '(zink-)?radv-.*' --job-tags
'farm:(mupuf|keywords)'` to only run radv jobs on DUTs in these two
farms.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37100 >
2025-09-04 09:19:32 +00:00
Eric Engestrom
d2c3c92f5e
ci/gitlab_gql: keep track of job tags
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37100 >
2025-09-04 09:19:32 +00:00
Eric Engestrom
f74df30d6a
bin/ci: let filter_dag() caller define job filter once (instead of 3 times)
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37100 >
2025-09-04 09:19:31 +00:00
Job Noorman
082f4b79ae
bin/rb: update Alyssa's email address in test case
...
Also assert that a is not None to stop pyright from complaining.
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37119 >
2025-09-02 15:57:17 +00:00
Eric Engestrom
159fcfdb2f
ci: document what scope the ci_run_n_monitor token needs
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37083 >
2025-08-29 16:18:30 +00:00
Alyssa Rosenzweig
ff3bebc07f
people: update Alyssa's email
...
Authoritative source:
https://www.phoronix.com/news/Alyssa-Rosenzweig-Joins-Intel
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37071 >
2025-08-29 14:11:09 +00:00
Yonggang Luo
5b51dc3bf2
renderdoc: Upgrade to v1.5
...
This is for avoid invalid use `defined(WIN32)`
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
Acked-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36654 >
2025-08-08 19:38:54 +00:00
Marek Olšák
d00d260145
docs,ci: update mapi relocation
...
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36562 >
2025-08-06 20:35:26 +00:00
Alyssa Rosenzweig
3c9471c8d7
people: add John Anthony
...
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36516 >
2025-08-03 21:27:45 +00:00
fossdd
126b795e76
bin/symbols-check: add __(de)register_frame_info_bases to platform symbols
...
Cause of the following error on x86 (32-bit):
src/gbm/libgbm.so.1.0.0: unknown symbol exported: __deregister_frame_info_bases
src/gbm/libgbm.so.1.0.0: unknown symbol exported: __register_frame_info_bases
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36182 >
2025-07-16 22:22:09 +00:00
Valentine Burley
d1972be598
ci: Fix trace update script following environment variable changes
...
Since 655cf2f553 ("ci: Simplify filter_env_vars using indirect expansion"),
PIGLIT_REPLAY_DEVICE_NAME is declared using `declare -x`, not `export`.
Update the regex in update_traces_checksum.py accordingly. This is safe
for now, as all performance trace jobs currently run in LAVA and use this
declaration style.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36070 >
2025-07-14 06:48:18 +00:00
Olivia Lee
483489ed1f
bin/people.csv: update my name/email
...
Missed this in 63557a03df .
Signed-off-by: Olivia Lee <olivia.lee@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36084 >
2025-07-11 12:39:33 -07:00
Job Noorman
d4d9cbdbef
mailmap,bin/people.csv: fix my preferred email address
...
Signed-off-by: Job Noorman <jnoorman@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36063 >
2025-07-11 12:04:08 +00:00
Matt Turner
93d0635924
bin/people.csv: Prefer mattst88's @gmail.com address
...
I've never given R-b tags with any other address (and only accidentally
committed using something else).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36033 >
2025-07-09 20:33:56 +00:00
Maíra Canal
eecf94cc8e
bin: explicitly use python3 instead of python
...
The `python` command's default behaviour can vary between OSes and even
different versions of the same OS. On some systems, `python` might still
point to Python 2 for backward compatibility, while on others, it might
point to Python 3.
As Mesa already requires "Python 3.6 or newer", use `python3` explicitly
to ensure that the script is using a Python 3 interpreter.
Moreover, this commit allows this script to run on macOS, as macOS doesn't
have a `python` symlink or alias by default. Therefore, currently, when
running this script in macOS, you get a "python: command not found" error.
Signed-off-by: Maíra Canal <mcanal@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35918 >
2025-07-03 20:52:48 +00:00
Eric Engestrom
4be493862d
meson: only run symbols-check if nm is available
...
And drop the redundant check from symbols-check.py, which was actually
masking all kinds of issues.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:25 +00:00
Eric Engestrom
f350803fb3
bin/symbols-check: document new platform symbols exported since symbols-check was broken
...
The `pthread_mutexattr_*` symbols probably shouldn't be exported, but
let's fix that later so that we can at least get symbols-check to run
again ASAP.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:25 +00:00
Eric Engestrom
f06fff8148
bin/symbols-check: sort platform symbols
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:25 +00:00
Eric Engestrom
3d9b76db8e
bin/symbols-check: ignore version of platform symbols
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:25 +00:00
Eric Engestrom
5672230c19
bin/symbols-check: ignore nm lines that don't have a symbol name
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:24 +00:00
Eric Engestrom
e626636e90
bin/symbols-check: fix fields length condition before accessing fields
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:24 +00:00
Eric Engestrom
f28cda029c
bin/symbols-check: add missing newline before function
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35891 >
2025-07-02 19:21:23 +00:00
Sergi Blanch-Torne
8911437038
ci: crnm: review argument metavar and type
...
Check the arguments to have a consistent definition of metavars to control the
string shown, and have them all lowercase. Also define the types expected on
those arguments.
Signed-off-by: Sergi Blanch-Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35828 >
2025-07-02 15:13:55 +00:00
Sergi Blanch-Torne
c3f4b1a7db
ci: crnm: rev argument for tags and branches
...
The --rev argument mentions that it accepts a git revision. I think it would
be practical to describe that it accepts a commit id, as well as a tag or
branch name.
Signed-off-by: Sergi Blanch-Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35828 >
2025-07-02 15:13:55 +00:00
Sergi Blanch-Torne
e99236bad4
ci: crnm: extend it to work with other instances
...
ci-run_n_monitor tool can work with more projects than Mesa. It would be split
to its own repo with transparent access from the scripts in Mesa. But
meanwhile, this simple change allows using more GitLab instances than the
default gl.fd.o.
Signed-off-by: Sergi Blanch-Torne <sergi.blanch.torne@collabora.com >
Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Acked-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35826 >
2025-07-02 14:11:45 +00:00
Valentine Burley
54c967cb76
ci: Fix location of conditional build tags
...
This allows the components to be found again after the move in
d5c63dd292 ("ci: split long containers build yaml").
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35851 >
2025-07-01 10:41:14 +00:00
Eric Engestrom
14fedcfb8d
ci_run_n_monitor: fix padding in links
...
8f557b84f6 was done because `text` is sometimes just an int,
but the fix was only applies to the padding calculation.
Unfortunately, the padding direction is also different between strings
and integers, which means the behaviour is now incoherent.
Let's convert `text` to a string before we start doing anything so that
everything afterwards is coherent.
Fixes: 8f557b84f6 ("ci: crnm: fix hyperlink format")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35587 >
2025-06-18 08:42:19 +00:00
Sergi Blanch-Torne
8f557b84f6
ci: crnm: fix hyperlink format
...
While preparing a console link, if there is not padding defined and the text
is not strictly a string, we can have an exception that is also finishing the
execution. So, we need to strictly cast the text variable.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13342
Signed-off-by: Sergi Blanch-Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35511 >
2025-06-17 09:02:40 +00:00
Georg Lehmann
29787911e7
vulkan: update headers/xml for 1.4.318
...
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35517 >
2025-06-14 08:21:31 +00:00
Sergi Blanch Torne
e19e8012e4
docs: crnm: document token usage
...
Judging by comments in the chat, it seems the usage of the tokens in crnm is
only natural when you've been using it for a while. New users would appreciate
reading it in the documentation, beyond the help in the tool.
Also, mentioning how to create a token and what's the minimal scope of the
token to be used with the tool can help new users.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34860 >
2025-06-09 06:06:11 +00:00
Valentine Burley
c6aad1b4c2
khronos-update: Add missing Vulkan Video headers
...
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35384 >
2025-06-07 05:52:21 +00:00
Karol Herbst
7cd1f645de
include: remove C++ OpenCL headers
...
We don't use them and will therefore be always out of date. They live in
a seperate reposity at https://github.com/KhronosGroup/OpenCL-CLHPP .
And since distributions can't rely on us to install OpenCL headers there
is no advantage in keeping them around in our repo.
Reviewed-by: Adam Jackson <ajax@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35228 >
2025-06-01 22:15:49 +00:00
Guilherme Gallo
e942d1e9e4
bin/ci: crnm: Sanitize n_colums value
...
The number of columns should never be less than 1, otherwise we can
break the script such as:
```
Traceback (most recent call last):
File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 734, in <module>
main()
File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 713, in main
target_job_id, ret, exec_t = monitor_pipeline(
^^^^^^^^^^^^^^^^^
File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 221, in monitor_pipeline
cancel_jobs(project, to_cancel)
File "/var/home/guilherme/projects/mesa/bin/ci/ci_run_n_monitor.py", line 400, in cancel_jobs
print_formatted_list(cancelled_jobs, indentation=8)
File "/var/home/guilherme/projects/mesa/bin/ci/gitlab_gql.py", line 373, in print_formatted_list
step = (len(elements) // n_columns) + 1
~~~~~~~~~~~~~~^^~~~~~~~~~~
ZeroDivisionError: integer division or modulo by zero
```
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35250 >
2025-05-30 13:15:37 +00:00
Valentine Burley
080894325a
ci: Remove debian/x86_64_pyutils container
...
Delete the debian/x86_64_pyutils container, since the LAVA jobs no longer
use it.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34980 >
2025-05-26 17:25:40 +00:00
Valentine Burley
f6dce6dee1
ci: Add a minimal Alpine container for running LAVA jobs
...
Compared to the existing Debian-based x86_64_pyutils container, this
Alpine-based variant reduces the image size by approximately 83%.
Include all the necessary python artifacts, including lava_job_submitter
in the container to avoid having to download them at the start of each
test job.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34980 >
2025-05-26 17:25:40 +00:00
Valentine Burley
f83e830dbc
bin/ci: Split out LAVA-specific python requirements
...
Move LAVA-related Python packages into a separate requirements file to
simplify installing only the necessary dependencies.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34980 >
2025-05-26 17:25:40 +00:00
Sergi Blanch Torne
fca369f57a
bin/ci: crnm: adaptative field pads
...
Some text paddings are not enough during the execution of the script. Having
an adaptative way for this variable can help the structure and visibility of
the output.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34856 >
2025-05-16 20:34:16 +00:00
Sergi Blanch Torne
f65975975e
bin/ci: crnm: columns list when waiting jobs update
...
It's another example of a long list of job names, when the jobs waiting for a
status update is printed. The print formatted list can help to present it.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34856 >
2025-05-16 20:34:16 +00:00
Sergi Blanch Torne
e4396c40fa
bin/ci: crnm: columns list for cancelled jobs
...
Rewrite how the jobs are cancelled within a pool of threads to simplify how
it can then use the print formatted list to for a better presentation of the
results.
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34856 >
2025-05-16 20:34:16 +00:00