Eric Engestrom
7a1f28c1eb
ci/vkd3d: drop override of job artifacts
...
`.b2c-test` always exports all of `results/`, so having an override here
to only export one of the files in that folder and only `on_success` is
not very useful.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
c02329ded1
ci: set a common B2C_JOB_SUCCESS_REGEX with the message that's printed for all jobs
...
Simpler code, and more reliable against serial corruption because that
message is printed 4 times (vs only once for the other ones).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29608 >
2024-06-08 07:16:27 +00:00
Eric Engestrom
bfd4db0476
radv/ci: move amdgpu-specific kernel message warning to src/amd/ci/
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29339 >
2024-05-23 18:28:41 +00:00
Eric Engestrom
265b0ebd9a
ci/b2c: add aarch64 tests for gl & vk
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29026 >
2024-05-23 06:58:01 +00:00
Eric Engestrom
c7cecc1604
ci: rename debian/arm*_test to debian/baremetal_arm*_test to be clear about which infra uses that
...
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29241 >
2024-05-23 06:00:22 +02:00
Eric Engestrom
1f17b2fa76
ci/b2c: remove dead rules: that's always overwritten
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
9a07db7cd8
ci/b2c: rename B2C_TIMEOUT_* to B2C_TIMEOUT_CONSOLE_ACTIVITY_*
...
More verbose, sure, but also much easier to understand.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
09021a1c01
ci/b2c: rename B2C_TIMEOUT_FIRST_* to B2C_TIMEOUT_FIRST_CONSOLE_ACTIVITY_*
...
More verbose, sure, but also much easier to understand.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
David Heidelberg
d0c364a24b
ci: drop unused piglit-test and integrate it into piglit-traces-test
...
No longer used. We don't use piglit directly, except for the traces.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:42 +00:00
Eric Engestrom
a40345aaeb
ci: reuse dead .vkd3d-proton-test to make vkd3d less radv-specific
...
Replace dead `script:` with `HWCI_TEST_SCRIPT`, and rename it to have
the `b2c-` prefix since it's no longer generic.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:41 +00:00
Sergi Blanch Torne
72b3c2e4ba
ci: identify and label S3 buckets
...
As for the S3 bucket where the kernel image is stored has been identified and
labeled, the other buckets in use can also be identified and labeled.
cc: mesa-stable
Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com >
Co-developed-by: Guilherme Gallo <guilherme.gallo@collabora.com
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28979 >
2024-05-07 22:08:07 +00:00
Guilherme Gallo
7101aecc53
ci: Use id_tokens for JWT auth
...
Fixes : #9180
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28916 >
2024-04-25 20:45:53 +00:00
Eric Engestrom
0666a715c7
ci: fix container rules on release branches and tags
...
Fixes: 2487e18d4e
("ci: bare-metal: poe: Create strutured logs")
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28911 >
2024-04-25 07:08:33 +00:00
Martin Roukala (né Peres)
b084dbd44f
ci/b2c: rename .b2c-test-{vk,gl} to .b2c-x86_64-test-{vk,gl}
...
This will allow us to introduce non-x86_64 testing using CI-tron.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28902 >
2024-04-24 15:46:32 +00:00
Eric Engestrom
145a5cd414
ci: fix nightly build (v2)
...
Scheduled pipelines don't have `changes`, so the rule I added in
fa4dd110986083105604 won't match; re-do that but as its own rule,
without the additional `changes` condition.
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Fixes: fa4dd110986083105604 ("ci: fix nightly build")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28561 >
2024-04-04 08:48:54 +00:00
Eric Engestrom
185e9b4a75
ci: fix nightly build
...
Fixes: 7c0b19a607
("ci: run python-test automatically only in merge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28517 >
2024-04-02 22:10:43 +00:00
Eric Engestrom
7c0b19a607
ci: run python-test automatically only in merge pipelines
...
In particular, fork and pre-merge pipelines should not automatically run
it (and `debian/x86_64_build` and `debian/x86_64_build-base`).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Eric Engestrom
891e2e42c6
ci: run python-test when editing the CI itself
...
Every job should have this.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Eric Engestrom
182ff5dada
ci: fold .test-check into its only user, python-test
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452 >
2024-04-01 20:21:44 +00:00
Vignesh Raman
3983ae89e9
Split debian-build-testing job
...
Split the build job from the shader-db tests so that the test
job can be rerun more reliably without hitting the timeout.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/9513
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27507 >
2024-03-21 13:26:20 +00:00
Eric Engestrom
158e5882e9
ci/lavapipe: fold DEQP_VER: vk
and drop .deqp-test-vk
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27936 >
2024-03-06 08:54:11 +00:00
Mike Blumenkrantz
150525980e
ci: disable clang-format job
...
this is still killing merge pipelines
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27831 >
2024-02-28 09:05:07 +00:00
Mike Blumenkrantz
30b7771aa9
ci: make clang-format job warn on failure instead of killing the pipeline
...
it's insane to fail a pipeline over formatting errors.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27702 >
2024-02-21 12:04:08 +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
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
Eric Engestrom
b93d836e47
ci/b2c: rename B2C_TEST_SCRIPT to B2C_CONTAINER_CMD to match the automatic import
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
ef0e8bae0d
ci/b2c: use envvars directly instead of converting them back and forth into cli args
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
e157d67d39
ci/b2c: export B2C_TEST_SCRIPT
...
Next commit will use it.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
850d3e28e5
ci/b2c: drop unused B2C_EXTRA_VOLUME_ARGS
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
a10bd6fcb0
ci/b2c: fix indentation of comment and after_script: list
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
918199a154
ci/b2c: stop ignoring errors in before_script
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
6cc6ebde3a
ci/b2c: drop passthrough of unset CI_JOB_JWT
...
Fixes: dabc068e6c
("ci: Use ci-fairy minio login via token file")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653 >
2023-12-13 18:29:23 +00:00
Eric Engestrom
d971e3ba45
ci: fix rules for formatting checks
...
Fixes: 70eff58767
("ci: allow hw jobs even if lint jobs fail for non-Marge pipelines")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26511 >
2023-12-07 07:27:11 +00:00
Faith Ekstrand
fde43e44e9
ci: Also rustfmt binaries
...
The standard name for an executable is main.rs. Also fix the rusticl
docs while we're at it.
Reviewed-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26546 >
2023-12-06 22:41:47 +00:00
Eric Engestrom
90a77f55de
ci: drop containers, builds, and tests from post-merge pipeline
...
All these jobs are redundant and a waste of resources:
- the containers have already been built & pushed in the merge pipeline
- the mesa build variants have already all passed
- the driver tests have already all passed
None of these jobs are doing anything useful in this pipeline, but it
costs a factor of 2x to our infrastructure, so let's remove them.
In other words, the only job left in the post-merge pipeline is the
`pages` job that deploys the update to the website.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26451 >
2023-12-06 08:26:04 +00:00
David Heidelberg
7d85656fa7
ci: tag sanity, rustfmt and clang-format job as a "placeholder" job
...
There is close to zero work needed to execute this job.
Should speed up the initial process of entering into pipeline tree
and also provide an opportunity for `aarch64` runners to engage sooner,
even when x86_64 machines are loaded.
Acked-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/26125 >
2023-11-09 17:30:07 +00:00
David Heidelberg
5e44cee47d
ci: inject gfx-ci/linux S3 artifacts without rebuilding containers
...
We need update kernel often. We need test kernel changes often.
Introduced `KERNEL_EXTERNAL_TAG` to differ between `KERNEL_TAG` which is
also used to rebuild the containers. We don't need rebuild containers
for the external kernel, so this way we don't have to.
Updating kernel goes wruuuuuum.
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23563 >
2023-11-07 12:22:09 +00:00
Martin Roukala (né Peres)
c580d604fb
ci/b2c: fix artifact collection
...
It seems like gitlab puts symlinks in artifacts rather than following
them. Let's fix this by copying the results folder from the job_folder
in an after script.
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25902 >
2023-10-26 17:02:39 +00:00
Eric Engestrom
fc62df19b7
ci/b2c: change artifacts path to match baremetal and LAVA
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25815 >
2023-10-22 21:23:01 +00:00
Eric Engestrom
9c2b523c53
ci/b2c: use latest mesa-trigger image
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25643 >
2023-10-11 06:37:20 +00:00
Eric Engestrom
298f2db76d
ci/b2c: move to the shiny new gfx-ci/ci-tron
repo
...
We've successfully moved the repo to its new location now that the
project is ready for general use.
Update the config to use the new paths.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25643 >
2023-10-11 06:37:19 +00:00
David Heidelberg
5ab60581da
ci/traces: keep images for every job except the performance testing
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8354
Acked-by: Emma Anholt <emma@anholt.net >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25606 >
2023-10-10 12:46:51 +00:00
Martin Roukala (né Peres)
0c10cbff55
ci/b2c: switch containers to a back-up ahead of valve-infra renaming
...
We are about to rename mupuf/valve-infra into gfx-ci/ci-tron.
While most resources will transparently be redirected, gitlab does
not allow us to keep our containers during the migration.
To work around that, I uploaded the current containers to Eric's fork
of valve-infra. Let's use these containers until the migration is over!
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25593 >
2023-10-07 04:42:03 +00:00
Emma Anholt
e8511d5adb
ci/docker: Clear the results file before starting a new deqp test run.
...
crocus-hsw was failing because results.csv.zst was left around in the
results dir, and then zstd -o complained. We shouldn't be uploading stale
results files, anyway, so do an rm -rf first to clean up when the docker
container gets reused.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25509 >
2023-10-03 19:38:39 +00:00
Martin Roukala (né Peres)
98bc20041c
ci: make B2C_JOB_VOLUME_EXCLUSIONS to all .b2c-test jobs
...
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25429 >
2023-10-02 14:50:27 +00:00
Eric Engestrom
fafb1a897e
ci/b2c: drop logic to remove install.tar
...
It's still buggy, and it turns out `mcli` has some logic to check if
a file really needs to be re-uploaded, so this doesn't actually change
much to the time uploads take.
This effectively reverts https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24196
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25114 >
2023-09-08 17:28:15 +00:00
David Heidelberg
05bd55a994
ci/traces: extend no-output timeout by 5 minutes
...
This should help us handling possibly slower downloads of the traces,
which leads into piglit not printing anything on the output.
After Infra will get stabilized again, needs to be reverted.
Acked-by: Helen Koike <helen.koike@collabora.com >
Acked-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/25097 >
2023-09-07 23:43:02 +00:00
Eric Engestrom
223c36e7db
ci/b2c: assert that install folder is present whether or not the tarball was extracted
...
We already `rm -rf install` at the beginning so it can't be a stale install folder.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24970 >
2023-08-31 17:18:22 +00:00
Eric Engestrom
e17f3a2b5a
ci/b2c: don't allow failures in test script preparation
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24970 >
2023-08-31 17:18:22 +00:00
Eric Engestrom
95a9f66f30
ci/b2c: skip install.tar extraction if the tarball is not present
...
This is the case when retrying after a B2C_TIMEOUT for instance.
Fixes: 85a8f03211
("ci: delete install.tar after extracting it to avoid re-uploading it")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24970 >
2023-08-31 17:18:22 +00:00