summaryrefslogtreecommitdiff
path: root/.gitlab-ci
AgeCommit message (Collapse)AuthorFilesLines
2024-01-18remove gitlab stuffsSooChan Lim188-15619/+0
These are useless. Change-Id: I33405f08ccd0b3cccc5a737a099aa4adc2d011ce
2023-12-17ci/b2c: drop passthrough of unset CI_JOB_JWTEric Engestrom1-1/+0
Fixes: dabc068e6c04dca7800c ("ci: Use ci-fairy minio login via token file") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26653> (cherry picked from commit 6cc6ebde3a16f76c5fe42aac7136c3384bafe338)
2023-12-12ci: do not mount already mounted directoriesJuan A. Suarez Romero1-3/+3
In some cases we are using an initramfs image that pre-mounts some of the directories, so let's skip them in the next stage. Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26552> (cherry picked from commit d0ae58f4134bededcab45cf80dc9f194fdc1bdf3)
2023-12-12ci/baremetal: make BM_BOOTCONFIG optionalJuan A. Suarez Romero1-7/+4
In some cases we can have the config.txt boot file already available in the tftp folder. Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26552> (cherry picked from commit f97e065c4f72856eccefcbf7dbe72253a6918294)
2023-12-12ci: fix kdl commit fetchEric Engestrom1-5/+5
Doing a `clone --depth 1` of the default branch then checking out a commit that might not be the latest of that branch cannot work. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26270> (cherry picked from commit 5efa4d56e2b7f2440d263ffb794ab3247d70d529)
2023-12-08ci: fix rules for formatting checksEric Engestrom2-7/+16
Fixes: 70eff587673ceec181ef ("ci: allow hw jobs even if lint jobs fail for non-Marge pipelines") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26511> (cherry picked from commit d971e3ba45059ba4e5f5e85d40a471dc66cf5df7)
2023-11-06ci: Try really hard to print final result stringDaniel Stone1-3/+7
a630 has been completing jobs, and then corrupting the very last line of UART output - the one where we pass the overall result back from the DUT to the job. The bare-metal monitor will wait for this line to appear, never see it, and then the job times out. Since this line is the most critical one of all to get out, just spam the prints to try to make sure they get through. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26032> (cherry picked from commit 80b87c18d1630dd622bf58e56f3fb3f39e9fb8ef)
2023-10-22ci/b2c: change artifacts path to match baremetal and LAVAEric Engestrom1-2/+6
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25815>
2023-10-20ci: drop skip for glx-swap-copy.Emma Anholt1-3/+0
This will always be a skip now that we dropped GLX_OML_swap_method. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25650>
2023-10-19ci/bare-metal: Drop the 2 vs 1 exit code from poe_run.Eric Anholt1-6/+6
This exit code was used for the intra-job retries on the other bare-metal run scripts, but poe_run doesn't do that. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25790>
2023-10-19ci: Stop doing internal retries in bare-metal.Eric Anholt2-48/+41
We have job-level retry on failure now, and will continue to need to in order to work around fd.o infrastructure flakes. If we stop doing retry inside the job, then we can crank down the gitlab-level timeouts on test jobs to be closer to our CI guidelines and avoid blocking a runner for an hour when things go wrong (for example, cheza #16 failing to boot in a recognized way and continuously looping due to the intra-job retry). Plus, the job logs will be more readable when you don't have two boots in one job, and we'll get the flakes surfaced in our monitoring dashboards. If internal retries were really doing useful work we may see an increase in flakes as a result of this. I'm committing to turning off boards or reducing coverage as necessary to handle this. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25790>
2023-10-18ci: bump the number of tests per group from 500 to 5000 for Vulkan driversSamuel Pitoiset1-0/+5
Except for lvp which already forces 1. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25476>
2023-10-18ci: update CTS to vulkan-cts-1.3.7.0Samuel Pitoiset4-35/+14
This contains many new tests, especially shader object tests. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25476>
2023-10-14rusticl: bump rustc version to 1.66Karol Herbst2-6/+6
This adds a few goodies I care about: - bool::then_some (1.62) - let-else statements (1.65) FireFox ESR is at 1.66 so this bump is according to the Rust updated policy. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: @LingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24062>
2023-10-12ci: Uprev virglrendererCorentin Noël2-3/+3
Include the latest virglrenderer version. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25561>
2023-10-11ci/traces: always export piglit EXTRA_ARGSDavid Heidelberg1-1/+1
When a job doesn't define them, it won't get passed to piglit otherwise. Fixes: 5ab60581da92 ("ci/traces: keep images for every job except the performance testing") Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25654>
2023-10-11ci/b2c: use latest mesa-trigger imageEric Engestrom1-1/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25643>
2023-10-11ci/b2c: move to the shiny new `gfx-ci/ci-tron` repoEric Engestrom2-4/+4
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-10ci/traces: rename upload function to reflect it works with S3David Heidelberg1-2/+2
Cosmetic change. 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-10ci/traces: keep images for every job except the performance testingDavid Heidelberg2-1/+4
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-10ci/traces: upload only missing trace imagesDavid Heidelberg1-1/+1
Right now, S3 always returns something, so we need to check the content-type . 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-07ci: print deqp version in the job logEric Engestrom3-4/+8
This allows to easily verify which version was actually running in some job, to notice if an image tag wasn't properly bumped, for instance. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21850>
2023-10-07ci: do not report failed job when flakes reporting failsDavid Heidelberg3-3/+3
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-07ci: Uprev crosvmVignesh Raman2-2/+2
Recent commit in linux kernel 6.6 rc3 broke booting in crosvm. Latest crosvm contains a fix for this issue. So bump the crosvm version to latest. https://issuetracker.google.com/issues/303128596 https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4906858 Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25582>
2023-10-07ci/b2c: switch containers to a back-up ahead of valve-infra renamingMartin Roukala (né Peres)2-3/+3
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-06ci: skip dEQP-VK.api.driver_properties.conformance_version for everyoneEric Engestrom1-0/+7
This test checks the driver's reported conformance version against the version of the CTS we're running. This check fails every few months and everyone has to go and bump the number in every driver. Running this check only makes sense while preparing a conformance submission, so skip it in the regular CI. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25519>
2023-10-06ci: drop unused ephemeral packages in alpine imageEric Engestrom2-10/+1
There's nothing between installing these packages and removing them that uses them, so let's just drop them. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25546>
2023-10-05ci/bare-metal: drop unused imports, sort, use SPDX licenseDavid Heidelberg1-22/+3
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25285>
2023-10-05ci/bare-metal: correct workaround for R8152 issue while retrieving TFTP dataDavid Heidelberg1-13/+12
1. Move block used for detecting R8152 problems to the bootloader phase where it belongs. Also remove requirement to 100 failures and just retry immediatelly. 2. Consider job failed after 10 errors, not 100. From the logs on cheza-14, ~ 30 errors is enough to fail. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25285>
2023-10-04ci: fix shebang in build-deqp-runner.shEric Engestrom1-1/+1
We use bash features such as `pushd`, so be accurate in the shebang, even though in practice this is sourced not executed so this shebang only serves our editors. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25430>
2023-10-03ci/docker: Clear the results file before starting a new deqp test run.Emma Anholt1-0/+1
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-03ci: Compile Turnip's virtio kmd in debian-arm64Danylo Piliaiev1-0/+1
Nothing compiled virtio kmd in CI. Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25531>
2023-10-02ci: make B2C_JOB_VOLUME_EXCLUSIONS to all .b2c-test jobsMartin Roukala (né Peres)1-0/+1
Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25429>
2023-10-01ci/deqp-runner: restore exit-on-error after getting deqp-runner's exit codeEric Engestrom1-0/+1
Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24738>
2023-10-01ci/deqp-runner: fix indentationEric Engestrom1-4/+4
Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24738>
2023-09-30ci: move shader-db clone/build into its own scriptEric Engestrom3-7/+16
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504>
2023-09-30ci: drop unused shader-db clone + build from fedora imageEric Engestrom2-8/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504>
2023-09-30ci: drop unused shader-db clone + build from alpine imageEric Engestrom2-8/+1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504>
2023-09-26ci: unify container and build jobs rulesEric Engestrom2-7/+7
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25294>
2023-09-25ci: Upref virglrendererGert Wollny2-2/+2
Pull in the latest changes regarding texture wrapping modes handling. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25343>
2023-09-25ci: update to vulkan-cts-1.3.6.3Samuel Pitoiset4-56/+28
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24947>
2023-09-21ci/fastboot: Use a case insensitive match for a fastboot line.Emma Anholt1-1/+1
Newer boards like the RB5 have a capital F, so this will make the script more reusable for drm ci. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25311>
2023-09-21ci: limit build jobs to 30min so that they can retry when they go wrongEric Engestrom1-0/+8
Build jobs should never take more than 1-3 minutes. These jobs are never slow, either they finish within reasonable time or something has gone wrong and the job will never terminate, so we should instead timeout and retry. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24995>
2023-09-15ci/farm-rules: re-add "run every container and build job when a farm gets ↵Eric Engestrom1-1/+11
re-enabled" Turns out I was right the first time, I was just missing that this should only be done in MRs, which @daniels added in 16527f6ffd0129f2f6e1. Without this, a "farm re-enable" pipeline will run all the jobs for that farm, but will have none of the container & build jobs to support these tests. This reverts commit 1c3097225a4af294720e111eab3f58d590b85c8c. Fixes: 1c3097225a4af294720e ("ci: don't run everything just because a farm gets re-enabled") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25243>
2023-09-15ci/farm-rules: rename .disable-farm-mr-rules to make it clear it's only ↵Eric Engestrom1-3/+4
about MRs Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25243>
2023-09-15ci: document which image tags need to be bumped when updating ↵Eric Engestrom3-0/+14
{alpine,debian,fedora}/x86_64 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25120>
2023-09-15ci: document which image tags need to be bumped when updating piglitEric Engestrom1-1/+6
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25120>
2023-09-14ci: add locked flag to bindgen-cli on x86_64_build.shHelen Koike2-1/+2
since the dependencies were not locked, they got updated and generating a new container is throwing errors like the following: error: failed to compile `bindgen-cli v0.62.0`, intermediate artifacts can be found at `/tmp/cargo-installcP54m7` Caused by: package `memchr v2.6.3` cannot be built because it requires rustc 1.61 or newer, while the currently active rustc version is 1.60.0 rust packages have Cargo.lock file from when they were released, so add --locked flag to use it. Signed-off-by: Helen Koike <helen.koike@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25226>
2023-09-14ci: Only look at file changes for MRsDaniel Stone1-9/+20
Lists of files changed are only really relevant if we're pushing an MR. We don't want to trigger 'user added .ci-farms-disabled/igalia' because the user pushed a branch when this file was already present upstream. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25205>
2023-09-14ci: Use container rules for containersDaniel Stone1-2/+0
If we have diverging rulesets, we can have the base container jobs possibly not being created, and the leaf container jobs then trying to run, which ends up in us failing to create pipelines. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25205>