summaryrefslogtreecommitdiff
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* Uprev Piglit to d8c08d123fadb986e9a8a7887b922ff63fcff52eCollabora's Gfx CI Team2023-05-172-4/+4
| | | | | | https://gitlab.freedesktop.org/mesa/piglit/-/compare/536975d94a40cf76a69fcfa786c2513eccd0c989...d8c08d123fadb986e9a8a7887b922ff63fcff52e Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23017>
* ci/skqp: handle all warnings printed with clang >= 14David Heidelberg2023-05-141-1/+13
| | | | | | | | Useful for the https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22808>
* ci: replace write + cat with teeEric Engestrom2023-05-122-5/+3
| | | | | | | Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22945>
* ci: stop marking environment variable list as executableEric Engestrom2023-05-122-2/+0
| | | | | | | | | We're only going to read it, not execute it. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22945>
* ci: drop GENERATE_ENV_SCRIPTEric Engestrom2023-05-121-1/+0
| | | | | | | | | | Added in 16b417b8d617df418ad1 ("ci, valve: Add the dEQP runners for Valve CI") but never used. Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22945>
* Uprev Piglit to 536975d94a40cf76a69fcfa786c2513eccd0c989Collabora's Gfx CI Team2023-05-102-4/+4
| | | | | | https://gitlab.freedesktop.org/mesa/piglit/-/compare/79a084c56b6dd79f7c3a97b57a72963121ebb1e6...536975d94a40cf76a69fcfa786c2513eccd0c989 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22866>
* radv/ci: stop setting MESA_SPIRV_LOG_LEVELSamuel Pitoiset2023-05-101-1/+0
| | | | | | | | | | | Use the default VTN logging level which is warning. Suggested-by: Emma Anholt <emma@anholt.net> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6263 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Acked-by: Martin Roukala <martin.roukala@mupuf.org> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22917>
* ci/windows: Pick up WARP 1.0.6 NuGet with lots of dzn fixesJesse Natalie2023-05-082-2/+2
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22908>
* ci: uprev virglrenderer to drop venus release patchesYiwei Zhang2023-05-084-1133/+3
| | | | | Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22896>
* ci: uprev kernel to 6.3.1 with fixed patch for Adreno SMMUDavid Heidelberg2023-05-062-3/+3
| | | | | | | | Going from release candidate to stable kernel hopefully also improve overall stability. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22873>
* Uprev Piglit to 79a084c56b6dd79f7c3a97b57a72963121ebb1e6Collabora's Gfx CI Team2023-05-042-5/+5
| | | | | | https://gitlab.freedesktop.org/mesa/piglit/-/compare/355ad6bcb2cb3d9e030b7c6eef2b076b0dfb4d63...79a084c56b6dd79f7c3a97b57a72963121ebb1e6 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22548>
* ci: carry venus-protocol 1.0 release patches in virglrendererYiwei Zhang2023-05-034-3/+1133
| | | | | Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22547>
* meson/ci: promote virtio-experimental to virtioYiwei Zhang2023-05-031-6/+6
| | | | | Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22547>
* ci: Uprev crosvm and virglrendererCorentin Noël2023-05-022-5/+5
| | | | | | | | Update crosvm, virglrenderer and bindgen-cli to their latest version on time. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22712>
* ci: Enable rusticl in the fedora-release jobMichel Dänzer2023-05-013-2/+6
| | | | | | | v2: * Drop superfluous -D rust_std=2021 (Eric Engestrom) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci: Upgrade fedora-release job to Fedora 38Michel Dänzer2023-05-013-3/+6
| | | | | | | Need to add -Wno-error=dangling-reference -Wno-error=overloaded-virtual for C++ for now. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci: Drop -Wno-error=array-bounds from fedora-release jobMichel Dänzer2023-05-011-2/+0
| | | | | | No warnings left. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
* ci/skqp: update to the Android CTS 12.1_r5 versionDavid Heidelberg2023-04-292-2/+2
| | | | | | Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22710>
* ci/skqp: replace license with SPDX and extract the used branchDavid Heidelberg2023-04-291-21/+7
| | | | | | Reviewed-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22710>
* bump VVL to 1.3.248Mike Blumenkrantz2023-04-262-3/+4
| | | | | Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22672>
* ci: add a660 firmware into rootfsDavid Heidelberg2023-04-253-2/+21
| | | | | | | | | Until we bump to Debian 12 (bookworm). Acked-by: Emma Anholt <emma@anholt.net> Reviewed-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/22604>
* ci/lava: add support for HDK 888 firmwareDavid Heidelberg2023-04-251-0/+8
| | | | | | | Acked-by: Emma Anholt <emma@anholt.net> Reviewed-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/22604>
* ci/lava: implement fastboot supportDavid Heidelberg2023-04-251-15/+81
| | | | | | | | | Based on work from Tomeu Vizoso. Acked-by: Emma Anholt <emma@anholt.net> Reviewed-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/22604>
* ci/dzn: Run almost the full CTSJesse Natalie2023-04-251-1/+9
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22639>
* ci/windows: Update Agility SDK to 1.610.2Jesse Natalie2023-04-252-2/+2
| | | | | | Otherwise non-normalized sampling coords are unintentionally disabled Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22639>
* ci/valve: Add a workaround for finding libdrm on navi21s.Emma Anholt2023-04-252-1/+6
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22495>
* ci/deqp: Update to 1.3.5.1 and pull in additional bugfixes from main.Emma Anholt2023-04-253-169/+24
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22495>
* ci/mold: bump to 1.11.0David Heidelberg2023-04-252-2/+4
| | | | | | | | | | Fixes LTO issue. Release notes: https://github.com/rui314/mold/releases/tag/v1.11.0 Acked-by: Eric Engestrom <eric@igalia.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22642>
* ci/zink: Enable the validation layer on the TGL GL46 run.Emma Anholt2023-04-241-0/+1
| | | | | | | | | | | | We recently had an issue where an anv merge failed due to a bug in zink, which validation would have caught. Get some coverage by default on the main branch. This increases runtime from 9:30 to 12:10. I don't feel good about this, but I've got https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/4398 in flight to try to knock the time back down. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22459>
* ci: Move zink's validation layer setup to deqp-runner.sh.Emma Anholt2023-04-241-0/+3
| | | | | | | I want the path to be always set in case someone wants some ZINK_DEBUG=validation, rather than having to do it per test job. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22459>
* ci: Add the Vulkan validation layer to amd64 rootfs builds.Emma Anholt2023-04-242-1/+8
| | | | | | | We're going to want this for zink testing on actual HW drivers. I haven't sorted out the arm64 build yet, so no tu coverage. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22459>
* ci: Make a variable for the repeated rootfs directory name.Emma Anholt2023-04-241-31/+32
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22459>
* radv/ci: only reboot on hangs for vkcts-navi10-valveMartin Roukala (né Peres)2023-04-211-2/+2
| | | | | | | | | | | | | | | | | vkcts-navi10-valve has the nasty habit on hanging the GPU, so we introduced an auto-retry... but for every radv job. Let's stop doing that, and instead limit the auto-retry to vkcts-navi10-valve only. Additionally, let's increase the number of attempts to 3 (2 retries), as sometimes, it may still fail and we don't want to flag it as a fail in nightly runs. Let's hope we'll get to the bottom of this hang sooner rather than later, so that we can remove this hack! Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22596>
* ci/b2c: allow not specifying a reboot conditionMartin Roukala (né Peres)2023-04-211-0/+2
| | | | | | | | This will allow us to only enable this feature where we need it. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22596>
* ci: Move Vulkan CTS patches to their own directorySergi Blanch Torne2023-04-215-11/+26
| | | | | | | | | | | | | | VulkanCTS can receive patches from a reference to an upstream commit or by a file stored in Mesa. Those locally stored patches for VulkanCTS should be stored in the specific directory for patches with a prefix like skqp does. The schema of how both sources apply patches has received a slight modification to resemble each other. Signed-off-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Acked-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22463>
* ci: rework vulkan validation layer build scriptEric Engestrom2023-04-202-6/+8
| | | | | | | | | | | | | | Initially this was just adding a missing popd, but actually there's no reason to pushd into the build dir, so let's just pass the build dir as arguments to cmake & ninja instead. `--arch x64` was also dropped as it only applies to Windows builds, which this script doesn't support anyway. Fixes: 512f1c160a63a7ba1b00 ("ci/zink: Add coverage using the vulkan validation layer on lvp.") Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22488>
* ci: Crank up the yamllint line length limit.Emma Anholt2023-04-201-1/+1
| | | | | | | I hated that CI errors out because I pasted useful information in the yaml. You shouldn't have to manually line-wrap pastes from dmesg. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22562>
* ci/lava: Skip regression test if LAVA log file is not presentGuilherme Gallo2023-04-191-0/+3
| | | | | Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Use f-strings in job definitionGuilherme Gallo2023-04-191-11/+8
| | | | | | | | f-strings are little more concise than str.format() approach. It makes the code a little more readable as well. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Refactor LAVAJobSubmitter and add testsGuilherme Gallo2023-04-194-46/+192
| | | | | | | | Some refactoring was needed to make LAVAJobSubmitter class testable via pytest. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Force use of UTC timezonesGuilherme Gallo2023-04-191-0/+6
| | | | | | | | | | LAVA farm is giving datetime in UTC timezone, let's standardize it locally for the script run, so datetimes coming from LAVA proxy calls will be at the same timezone as the ones we use in structural logging and traces. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Integrate StructuralLogger with AutoSaveDictGuilherme Gallo2023-04-191-26/+60
| | | | | | | | | Let's use the AutoSaveDict as structural logger abstraction to enable real-time monitoring of LAVA jobs. Mainly used for local runs and debugging of Mesa CI LAVA jobs. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Add a simple Structural Logger into submitterGuilherme Gallo2023-04-194-15/+80
| | | | | | | | | | | | | Refactor some pieces of the submitter to improve the clarity of the functions and create a simple dictionary with aggregated data from the submitter execution which will be dumped to a file when the script exits. Add support for the AutoSaveDict based structured logger as well, which will come in a follow-up commit. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Update LogFollower for better section handling and historyGuilherme Gallo2023-04-193-12/+54
| | | | | | | | | | | | | Update the LogFollower class to improve section handling and provide a history of sections encountered during log processing: 1. Add section_history attribute to store the history of encountered GitlabSections. 2. Make LAVA job submitter use the section history feature to improve structural logging. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Use python-fire in job submitterGuilherme Gallo2023-04-195-81/+92
| | | | | | | | Cleanup argparse to use dataclasses+python-fire to give easier maintenance to job submitter. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Extract LAVA proxy and LAVAJob abstractionsGuilherme Gallo2023-04-196-173/+327
| | | | | | | | | | | | | | | | | | | | Let's make lava_job_submitter.py cleaner with only parsing and retry mechanism capabilities. Moved out from the submitter script: 1. proxy functions - moved to lava.utils.lava_proxy.py 2. LAVAJob class definition - moved to lava.utils.lava_job.py - added structural logging capabilities into LAVAJob - Implemented properties for job_id, is_finished, and status, with corresponding setter methods that update the log dictionary. - Added new methods show, get_lava_time, and refresh_log for improved log handling and data retrieval. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci/lava: Move job definition stuff to another fileGuilherme Gallo2023-04-193-149/+149
| | | | | | | The LAVA job submitter is too big, let's reorganize it a little. Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22500>
* ci: do not retry on forks to get the upstream kernel and rootfsDavid Heidelberg2023-04-182-10/+13
| | | | | | | | | | | This commit introduces multiple changes: 1. Now we check for mainline artifacts only when NOT running on the mainline branch 2. if we run on the fork and get 404-like error, it doesn't retry. Reviewed-by: Guilherme Gallo <guilherme.gallo@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22386>
* ci: uninstall libdrm from the GL and VK containersDavid Heidelberg2023-04-162-2/+8
| | | | | | | Occasionally causing troubles on -valve jobs. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255>
* ci: polish deqp-runner a bitDavid Heidelberg2023-04-161-8/+8
| | | | | | | Plus cosmetics adjustments to pass more of shellcheck. Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22255>