Eric Engestrom
e46702f7ae
ci: deduplicate constructing the ARTIFACTS_BASE_URL
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26670 >
2023-12-13 21:12:22 +00:00
David Heidelberg
45c234700f
ci: do not report failed job when flakes reporting fails
...
It's not critical for the job itself.
Suggested-by: Daniel Stone <daniels@collabora.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25604 >
2023-10-07 20:15:51 +00:00
David Heidelberg
5941fc8ccd
ci: enable shellcheck on whole .gitlab-ci
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:53 +02:00
Emma Anholt
159edf710e
ci/piglit: Exclude swapbuffers front-readback tests with PIGLIT_PLATFORM=gbm.
...
These are expected to fail by the design of gbm. Don't make each driver
track them.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Karol Herbst <kherbst@redhat.com >
Acked-by: Martin Roukala <martin.roukala@mupuf.org >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20798 >
2023-01-24 00:13:03 +00:00
Emma Anholt
849af68dbd
ci/piglit: Add some common piglit skips for Mesa CI's testing of glx.
...
Since our X servers don't have a compositor, and we run tests in parallel,
various swap and frontbuffer tests won't ever be stable. Rather than
having every driver have to track those flakes, make a general X11 skips
list as a known issue of our CI rather than pointing fingers at drivers.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Acked-by: Karol Herbst <kherbst@redhat.com >
Acked-by: Martin Roukala <martin.roukala@mupuf.org >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20798 >
2023-01-24 00:13:02 +00:00
Martin Roukala (né Peres)
d7c1ba0bce
ci/piglit: compress results.csv before uploading it to GitLab
...
The results.csv file of a full piglit run is about 6 MB.
Given how seldomly this file is being used, and the fact that it cannot
be viewed directly in gitlab's artifact page anyway.
Let's compress the file using zstd, and enjoy a ~90% reduction in size
at the cost of probably less than 500ms of compression time on a slow
device, and 55ms on the CI machines in the valve farm.
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20669 >
2023-01-13 11:27:57 +00:00
Juan A. Suarez Romero
fb856c9501
ci: use MESA_SHADER_CACHE envvar
...
This was renamed from MESA_GLSL_CACHE.
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15390 >
2022-03-17 11:15:53 +01:00
Cristian Ciocaltea
4745638f18
ci: Ensure Mesa Shader Cache resides on tmpfs
...
Having the Mesa Shader Cache stored on a tmpfs mount point reduces the
tests execution duration by 2-3 %, while preventing several hundreds of
megabytes to be written on the storage media.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14995 >
2022-02-17 06:32:30 +00:00
Cristian Ciocaltea
de4e56fcf7
ci: Create results folder before starting virgl_test_server
...
Move the statement responsible for creating the results output path
before 'virgl_test_server' is started in 'piglit-runner.sh' script.
This ensures the server log file will be available in the pipeline job
artifacts archive.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14413 >
2022-01-18 18:42:05 +00:00
Rohan Garg
bce9cdf968
ci/piglit: Start vtest server if driver is set to virpipe
...
This allows for running of piglit tests with vtest.
Signed-off-by: Rohan Garg <rohan.garg@collabora.com >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14413 >
2022-01-18 18:42:05 +00:00
Emma Anholt
bfbc41a9fa
ci/piglit-runner: Merge piglit-driver-*.txt files into driver-*.txt.
...
The test names are definitely unique (deqp has specific prefixes, piglit
uses '@' as a separator instead of '.'), so we can just have a single file
regardless of test type. Merges the two groups of xfails together so you
can't mix up which file to edit (I certainly have), and so that we don't
need to introduce yet another set of files when we add gtest for libva.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13517 >
2021-10-27 20:54:11 +00:00
Emma Anholt
bd81a23620
ci/piglit-runner: Fix funny indentation of the piglit-runner command.
...
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
899174c210
ci/deqp-runner: Move remaining asan runs to --env LD_PRELOAD=
...
This should improve their reliability and speed a little by getting
deqp-runner off of asan. This removes the last jobs setting
TEST_LD_PRELOAD, so remove passing that variable around from other
scripts.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
37c690ad1a
ci/deqp-runner: Drop silly CSV env vars.
...
One was unused, the other was used once.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Emma Anholt
9ddfd297e0
ci/deqp-runner: Simplify the --jobs argument setup.
...
We can use the general "how parallel should we go on this runner?" env var
and save a bunch of massaging env var names. Fixes how PIGLIT_PARALLEL
looked like it was useful but actually wasn't passed through to HW
runners.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13372 >
2021-10-21 07:34:19 +00:00
Charlie Turner
852904e9fd
ci: Support per-driver skip lists.
...
In addition to a global skip list introduced in
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11333
(enabled by
https://gitlab.freedesktop.org/anholt/deqp-runner/-/merge_requests/4 )
it is also useful to have a per-driver skip list in addition to a
per-gpu list. Now, there are multiple levels at which skips can be
specified, from least to most specific,
- (deqp|piglit)-all-skips.txt :: affecting all tests
- (deqp|piglit)-$(DRIVER_NAME|VK_DRIVER|GALLIUM_DRIVER)-skips.txt ::
affecting the specified driver
- (deqp|piglit)-$GPU_VERSION-skips.txt :: affecting a specific GPU
This idea could be useful for -fails.txt as well.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11426 >
2021-09-14 11:31:26 +00:00
Emma Anholt
e594b18d6a
ci/piglit: Move the WGL skip to a common skips file.
...
This will also give us a central place to handle known CI issues for
piglit.
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11333 >
2021-06-14 12:09:19 -07:00
Emma Anholt
9283875f93
ci: Move the flakes channels to OFTC
...
Following the rest of our channels, move CI reporting over. Seems to
still work fine. This affects freedreno and iris.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11020 >
2021-06-01 20:31:00 +00:00
Emma Anholt
e414718aef
ci: Add known-flake handling for the IRC flake reports
...
Now, flakes that aren't in the *-flakes.txt get a "NEW" in their report so
I can watch for them.
The bash was unwieldy and made debugging hard, so I switched to python.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11020 >
2021-06-01 20:31:00 +00:00
Matt Turner
efd1d5cc59
ci: Use CI_PROJECT_ROOT_NAMESPACE
...
Currently, the template in e.g. .gitlab-ci/deqp-runner.sh containing
See https://$CI_PROJECT_NAMESPACE.pages.freedesktop.org/-/ ...
will print an invalid URL. Copied from .gitlab-ci/piglit/run.sh which
already uses CI_PROJECT_ROOT_NAMESPACE in its template.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9821 >
2021-03-25 17:31:25 +00:00
Eric Anholt
f3a7a8a4dc
ci/freedreno: Switch the piglit testing to the new piglit runner.
...
Getting piglit to fit onto our test devices was proving difficult, and we
need the ability to handle flakes, so switch to the rust piglit runner
that @pepp wrote as part of the deqp-runner repo which gives us flake
detection, sharding across boards, fractional runs, and almost half the
runtime.
It doesn't handle piglit subtests yet, but if you can't run piglit's
python on your devices because it's too bloated and unstable, this is a
way forward.
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9468 >
2021-03-16 22:19:30 +00:00