summaryrefslogtreecommitdiff
path: root/.gitlab-ci
AgeCommit message (Collapse)AuthorFilesLines
2021-04-14ci: Update to latest ci-templatesMichel Dänzer1-1/+1
This is possible again thanks to https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9955 , and this MR requires rebuilding all templates based docker images anyway, so we can pull in the latest templates for free. We need to exclude /dev/* when unpacking rootfs tarballs for the arm_test image, since x86 container build jobs do not allow mknod anymore with current templates. The baremetal test jobs have another filesystem mounted on /dev anyway. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Install Rust & cargo from Debian for x86_test* imagesMichel Dänzer4-11/+6
Also build deqp-runner once in x86_test-base instead of separately in x86_test-{gl,vk}. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Install GLVND from Debian bullseyeMichel Dänzer1-10/+1
Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Install llvm-spirv from Debian bullseyeMichel Dänzer3-21/+7
While we're at it, use a tag instead of whatever happens to be the current main branch for building libclc. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Install spirv-tools from Debian bullseyeMichel Dänzer3-20/+3
v2: * Drop local build from x86_test-gl image as well (Eric Anholt) Reviewed-by: Eric Anholt <eric@anholt.net> # v1 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Install librenderdoc from Debian bullseyeMichel Dänzer8-54/+5
Debian bullseye has a separate command-line-only renderdoc package, so no need to install Qt packages and build renderdoc anymore. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3125 Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Move docker images from Debian buster to bullseyeMichel Dänzer17-239/+120
Among other things, this gets us GCC 10 (was 6). Requires some changes to third party components we use: * Install apitrace (& waffle) from Debian; was hitting issues with the local build, and it's the same version 9.0 anyway. * Update Fossilize to a newer commit which builds with GCC 10. * apt.llvm.org repositories are no longer needed. * Use an SPIRV-LLVM-Translator commit which builds with LLVM 11.0.1. * Install XCB packages from Debian, 1.13 fails to build with Python 3.9. * Install wayland-protocols from Debian, 1.12 is too old for libgtk-3-dev in bullseye. LLVM 7/8 packages are no longer available. Also adapt expected test results to Xvfb now exposing multi-samle GLXFBConfigs. v2: * Install clang instead of clang-11. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3124 Reviewed-by: Eric Anholt <eric@anholt.net> # v1 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Bump LLVM/clang from 10 to 11Michel Dänzer7-18/+19
Preparation for moving to Debian bullseye, which has packages for LLVM 9 & 11, but not 10. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Do not install armhf LLVM packagesMichel Dänzer1-7/+3
LLVM support has been disabled in the meson-armhf job for some time, so they were unused. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Fix HTML summary path for piglit OpenCL job artifactsMichel Dänzer1-1/+1
Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9833>
2021-04-14ci: Update VK-GL-CTS to 1.2.6.0Juan A. Suarez Romero2-2/+2
v2: - Bump up MESA_ROOTFS_TAG instead of arm_build (Michel) Acked-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10136>
2021-04-13ci/broadcom: use SNMP to turn on/off devicesJuan A. Suarez Romero5-134/+28
So far we were using a telnet-based script to communicate with the PoE Switch to turn on/off the network ports the DUTs are connected. But this script does not seem very reliable because from time to time the switch fails to execute the steps in the script. As the PoE Switch we use is a smart one with support for SNMP protocol, it would be easier to use it to handle it, which allows to turn on/off the ports without going through the nasty telnet steps Acked-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9954>
2021-04-13ci: bump bare-metal kernel to bring in an a530 stability fixEric Anholt2-5/+2
and while I'm here, drop a workaround for back when we had binary snapshots of the a530 kernel without compression support. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10047>
2021-04-12CI: Enable -werror for WindowsJesse Natalie1-1/+1
Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10157>
2021-04-12ci: Fix meson-i386 build failed after libdrm bump versionLeo Liu1-1/+1
libpciaccess-dev:$arch from STABLE_EPHEMERAL down to the main list of packages in .gitlab-ci/container/cross_build.sh, and bumping the arm_build, i386_build, ppc64el_build & s390x_build tags again. Signed-off-by: Leo Liu <leo.liu@amd.com> Suggested-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> ---- .gitlab-ci.yml | 8 ++++---- .gitlab-ci/container/cross_build.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10095>
2021-04-12meson: bump drm amdgpu version to 2.4.105Leo Liu2-2/+2
To include the INFO ioctl query for video caps Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10095>
2021-04-07ci: Use lavacli from masterCorentin Noël1-2/+17
This allows to fix some credential leaks and provides compatibility with the latest LAVA version. Avoids failures when the LAVA instance returns Error 500 Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9851>
2021-04-07ci: Don't retry failed test runsTomeu Vizoso1-0/+1
After a recent LAVA update, failures in running a test would cause the whole test to be retried. We only want for the boot to be retried (in case of infrastructuer errors), so set the nr of retries for tests to 1. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9950>
2021-04-07ci: Set more reasonable timeouts for LAVA jobsTomeu Vizoso1-8/+3
The test timeout shouldn't be bigger than the whole job's timeout. Also, reduce the timeouts to a more sane level and remove timeouts that don't bring value. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9950>
2021-04-07ci: Use a single template for LAVA jobsTomeu Vizoso4-130/+33
It's a pain to keep both templates in sync and there aren't really that many differences. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9950>
2021-04-03ci/bare-metal: no need to use teeChristian Gmeiner1-1/+1
fastboot_run.py will watch results/serial-output.txt. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9976>
2021-04-02ci: Uprev piglit to 6a4be9e9946d ("piglit: NOTE! Default branch is now main")Eric Anholt2-2/+2
Along with other new tests, brings in the perf improvement for gl-1.3-texture-env so we can stop skipping it. Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9806>
2021-04-02ci: Uprev deqp runner to 0.6.5.Eric Anholt2-2/+2
Works around the other Missing case we've seen in CI, possibly fixes the underlying issue, and adds support for comments in xfails lists. Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9806>
2021-04-01ci: Merge ARM testing docker images to a single arm_test oneMichel Dänzer5-16/+9
The merged image contains kernels & rootfs for both arm64 & armhf baremetal test jobs, and is smaller than either arm{64,hf}_test image before. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9955>
2021-04-01ci: Build ARM baremetal rootfs in native containerMichel Dänzer6-114/+75
Doing so in an x86 container via qemu was slow, and started failing recently after updating to a newer qemu version. This also results in smaller arm*_test* docker images, since we need to install fewer Debian packages in them. As a bonus, this turns some piglit tests from fail to pass (Or maybe they'll turn out to be flakes? They've passed at least 3 times in a row). Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9955>
2021-04-01ci: Remove INCLUDE_PIGLITMichel Dänzer5-50/+34
It was enabled by all callers. Also remove the unused $CI_FAIRY_PACKAGES and $VK_CTS_PACKAGES references. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9955>
2021-04-01ci: Drop the custom db820c kernel/dtb from the kernel+rootfs.Eric Anholt1-23/+0
We use the CI-built kernel+rootfs these days. I haven't bumped image tags because the files are definitely unused, and I'm rebuilding it all in the next commit. Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9955>
2021-03-30Remove Scons leftoversMatt Turner2-13/+0
Fixes: 6e6cd7d93cc54fc8c279 ("scons: Remove.") Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9738>
2021-03-25ci: Use CI_PROJECT_ROOT_NAMESPACEMatt Turner2-2/+2
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-23ci: Fix visibility property of LAVA jobsTomeu Vizoso2-2/+6
LAVA expects a different syntax for this property: https://docs.lavasoftware.org/lava/glossary.html#term-visibility Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Fixes: 84f91dfea517 ("CI: Change LAVA job visibility") Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9770>
2021-03-23ci: update xfails for ppc64le and s390xMike Blumenkrantz2-4/+0
tests are passing now Acked-by: Daniel Stone <daniel@fooishbar.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9773>
2021-03-19ci/bare-metal: Move the db820c lockup detect to the right boot script.Eric Anholt2-6/+6
Fixes: 2407952ec99a ("ci/bare-metal: Restart a run on intermittent kernel lockups.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9715>
2021-03-19ci/lavapipe: split out lavapipe ci into lavapipe dirMike Blumenkrantz1-3/+19
there's no need to run llvmpipe jobs if only lavapipe has changed Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9695>
2021-03-19Revert "ci: disable glcpp tests for now"Michel Dänzer2-2/+1
This reverts commit e25a3e21f83390342a1de5f13d41caa0ea076dfa. The test timeouts should be fixed now. Reviewed-by: Dylan Baker <dylan.c.baker@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528>
2021-03-17ci: Don't run meson tests in strace for meson-mingw32-x86_64 jobMichel Dänzer1-1/+2
There have been repeated timeouts: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3437#note_842273 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9648>
2021-03-17ci/bare-metal: Restart a run on intermittent kernel lockups.Eric Anholt1-0/+6
Since enabling SMP on db820c and cranking up how many tests we run, we've been seeing lockups like this a couple of times a week. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9655>
2021-03-17ci/armXX: add libgl1-mesa-dev dependencyJuan A. Suarez Romero1-0/+1
Waffle building requires libgl1-mesa-dev to add support for GLX. This package is pulled automatically in arm64 container as a suggested package, but no in armhf. Which means we end up having support for GLX in waffle in arm64 but not in armhf. Thus let's install explicitly this package to have support in both cases. Reviewed-by: Andres Gomez <agomez@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9562>
2021-03-17CI: Change LAVA job visibilityDaniel Stone2-2/+2
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9635>
2021-03-16ci/freedreno: run freedreno jobs on any change in src/freedreno/Danylo Piliaiev1-11/+2
Without a way to exclude specific subdirectories, keeping the list of all subdirectories which need to be tested is error prone. It's better to run CI slightly more often than to miss it when it is needed. Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9609>
2021-03-16ci/freedreno: Switch the piglit testing to the new piglit runner.Eric Anholt2-0/+135
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-16ci: Bump deqp-runner to v0.6.3.Eric Anholt3-2/+3
This adds a piglit runner that we'll be using on freedreno, better xfail/unexpectedpass handling for some cases (Missing->Pass, Warn->Warn), better error logging for the Missing issue we've had in CI, a fix for a source of Missing, and a pile more unit tests. As a result, we now catch that the Missing results for a bunch of our tests have gone away. Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9468>
2021-03-16CI: Trigger Windows builds for llvmpipe & Vulkan changesDaniel Stone1-0/+20
As Windows now builds llvmpipe and lavapipe, we should be sure to run their builds when these change. Acked-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9518>
2021-03-16ci: Run meson tests in strace if it's available and can be usedMichel Dänzer3-3/+40
Keep the strace logs in job artifacts for tests which timed out. This can be useful for figuring out why a timeout occurred. strace cannot be used in jobs where ASAN is enabled, because ASAN's leak checker also uses ptrace(), which isn't possible within strace. Suggested-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
2021-03-16ci: Add strace to the x86_build docker imageMichel Dänzer1-0/+1
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
2021-03-16ci: Move /usr/bin/time check from meson test wrapper to build scriptMichel Dänzer2-7/+6
In jobs where the wrapper isn't used, this leaves the <build directory>/meson-logs/testlog.txt filename unchanged. Also prepares for using different wrapper scripts in different jobs. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
2021-03-16ci: Drop SIGINT handling from meson test wrapper scriptMichel Dänzer1-2/+1
Not needed, I had misread meson code. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
2021-03-16ci: Move meson-build.sh to meson/build.shMichel Dänzer1-0/+0
A little less clutter in the top .gitlab-ci directory. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9472>
2021-03-16CI: Try really hard to get updated Windows TLS certsDaniel Stone1-1/+12
Windows doesn't actually distribute a full TLS CA certificate store, but pulls them in over time with Windows Update. Try to prime it by manually pulling the certificates and installing them. This bumps the Windows tag to force a rebuild. Acked-by: Michel Dänzer <mdaenzer@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9618>
2021-03-12ci/broadcom: allow custom kernelsJuan A. Suarez Romero1-3/+30
So far, testing VC4 and V3D/V3DV requires the CI runners having access to a Raspberry Pi 3/4 kernel, and the correspondent modules and bootloader files. If a different kernel must be used, it means touching the runners to provide them. This commit adds the option to define an URL pointing to a (compressed) tarball containing such files, without requiring dealing with the runners. This link is provided through the `BM_BOOTFS` job variable. The tarball must contain two directories in the root: a `/boot` directory (containing the kernel, DTBs and bootloader files), and a `/lib/modules` (or `/usr/lib/modules`) with the kernel modules. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9527>
2021-03-09ci/bare-metal: fix fastbootChristian Gmeiner1-3/+5
Only copy results from NFS if BM_FASTBOOT_NFSROOT is set. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9482>