extends:
- .use-x86_build-base
variables:
- MESA_IMAGE_TAG: &x86_build "2021-04-13-glvnd"
+ MESA_IMAGE_TAG: &x86_build "2021-06-02-lava-x86"
.use-x86_build:
extends:
tags:
- aarch64
variables:
- MESA_IMAGE_TAG: &arm_build "2021-04-13-bullseye"
+ MESA_IMAGE_TAG: &arm_build "2021-06-01-lava-x86"
.use-arm_build:
extends:
echo 'deb https://deb.debian.org/debian buster main' >/etc/apt/sources.list.d/buster.list
apt-get update
-EPHEMERAL="
- python3-pytest-runner
- python3-wheel
- "
-
apt-get -y install \
abootimg \
autoconf \
meson \
pkg-config \
python-is-python3 \
- python3-aiohttp \
- python3-jinja2 \
python3-mako \
python3-pil \
python3-pip \
python3-requests \
python3-setuptools \
- python3-yaml \
- python3-zmq \
u-boot-tools \
unzip \
wget \
xz-utils \
- zlib1g-dev \
- $EPHEMERAL
-
-# Update lavacli to v1.1+
-pip3 install git+https://git.lavasoftware.org/lava/lavacli@3db3ddc45e5358908bc6a17448059ea2340492b7
+ zlib1g-dev
# Not available anymore in bullseye
apt-get install -y --no-remove -t buster \
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
-apt-get purge -y $EPHEMERAL
-
arch=armhf
. .gitlab-ci/container/cross_build.sh
# Needed for ci-fairy, this revision is able to upload files to MinIO
pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366
-
############### Uninstall ephemeral packages
apt-get purge -y $STABLE_EPHEMERAL
cmake \
libgbm-dev \
libtool \
+ python3-pip \
unzip \
"
popd
rm -rf DirectX-Headers
+pip3 install git+https://git.lavasoftware.org/lava/lavacli@3db3ddc45e5358908bc6a17448059ea2340492b7
+
############### Uninstall the build software
apt-get purge -y \
TEST_SUITE: "deqp"
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
extends:
+ - .use-arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_armhf
+ - .use-x86_build
- .lava-test
- - .use-arm_build
- .use-kernel+rootfs-arm
needs:
- kernel+rootfs_armhf
+ - x86_build
- meson-armhf
.lava-test:arm64:
TEST_SUITE: "deqp"
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
extends:
+ - .use-arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_arm64
+ - .use-x86_build
- .lava-test
- - .use-arm_build
- .use-kernel+rootfs-arm
dependencies:
- meson-arm64
needs:
- kernel+rootfs_arm64
+ - x86_build
- meson-arm64
.lava-test:amd64:
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
extends:
- .use-x86_build-base # for same $MESA_ARTIFACTS_BASE_TAG as in kernel+rootfs_amd64
- - .use-arm_build # ARM because it must match the architecture of the runner
+ - .use-x86_build
- .lava-test
- .use-kernel+rootfs-amd64
needs:
- kernel+rootfs_amd64
- - arm_build # ARM because it must match the architecture of the runner
- meson-testing
.lava-traces-base:
-------------------------------
The gitlab-runner will run on some host that has access to the LAVA
-lab, with tags like "lava-mesa-boardname" to control only taking in
-jobs for the hardware that the LAVA lab contains. The gitlab-runner
-spawns a Docker container with lava-cli in it, and connects to the
-LAVA lab using a predefined token to submit jobs under a specific
-device type.
+lab, with tags like "mesa-ci-x86-64-lava-$DEVICE_TYPE" to control only
+taking in jobs for the hardware that the LAVA lab contains. The
+gitlab-runner spawns a Docker container with lavacli in it, and
+connects to the LAVA lab using a predefined token to submit jobs under
+a specific device type.
The LAVA instance manages scheduling those jobs to the boards present.
For a job, it will deploy the kernel, device tree, and the ramdisk
Once you can boot your board using a custom job definition, it's time
to connect Mesa CI to it. Install gitlab-runner and register as a
shared runner (you'll need a GitLab admin for help with this). The
-runner *must* have a tag (like "mesa-lava-db410c") to restrict the
-jobs it takes or it will grab random jobs from tasks across
-``gitlab.freedesktop.org``, and your runner isn't ready for that.
-
-The runner will be running an ARM Docker image (we haven't done any
-x86 LAVA yet, so that isn't documented). If your host for the
-gitlab-runner is x86, then you'll need to install qemu-user-static and
-the binfmt support.
+runner *must* have a tag (like "mesa-ci-x86-64-lava-rk3399-gru-kevin")
+to restrict the jobs it takes or it will grab random jobs from tasks
+across ``gitlab.freedesktop.org``, and your runner isn't ready for
+that.
The Docker image will need access to the lava instance. If it's on a
public network it should be fine. If you're running the LAVA instance
LAVA instance is separated from the Mesa branches (particularly
relevant as we have many stable branches all using CI).
-Now it's time to define your test runner in
-``.gitlab-ci/lava-gitlab-ci.yml``.
+Now it's time to define your test jobs in the driver-specific
+gitlab-ci.yml file, using the device-specific tags.
KERNEL_IMAGE_TYPE: ""
VK_DRIVER: radeon
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv-fossils:
extends:
BOOT_METHOD: depthcharge
KERNEL_IMAGE_TYPE: ""
FLAKES_CHANNEL: "#intel-ci"
- tags:
- - mesa-ci-aarch64-lava-collabora
.iris-apl-test:
extends:
DEVICE_TYPE: asus-C523NA-A20057-coral
GPU_VERSION: iris-apl
ENV_VARS: "DEQP_EXPECTED_RENDERER=APL"
+ tags:
+ - mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
.iris-glk-test:
extends:
DEVICE_TYPE: hp-x360-12b-n4000-octopus
GPU_VERSION: iris-glk
ENV_VARS: "DEQP_EXPECTED_RENDERER=GLK"
+ tags:
+ - mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus
.iris-amly-test:
extends:
DEVICE_TYPE: asus-C433TA-AJ0005-rammus
GPU_VERSION: iris-amly
ENV_VARS: "DEQP_EXPECTED_RENDERER=AML"
+ tags:
+ - mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-apl-gles2:
extends:
GPU_VERSION: panfrost-t720
ENV_VARS: "PAN_MESA_DEBUG=sync DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T720"
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-sun50i-h6-pine-h64
panfrost-t760-gles2:armhf:
extends:
KERNEL_IMAGE_TYPE: ""
ENV_VARS: "PAN_MESA_DEBUG=sync DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T760"
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-traces:armhf:
extends:
KERNEL_IMAGE_TYPE: ""
ENV_VARS: "PAN_MESA_DEBUG=deqp,sync MESA_GLES_VERSION_OVERRIDE=3.1 MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_JUNIT_RESULTS=1"
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-rk3288-veyron-jaq
.lava-rk3399-gru-kevin:
extends:
BOOT_METHOD: depthcharge
KERNEL_IMAGE_TYPE: ""
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-rk3399-gru-kevin
.panfrost-t860-gles2:arm64:
extends:
DTB: ${DEVICE_TYPE}
GPU_VERSION: panfrost-g52
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
.panfrost-g52-gles2:arm64:
extends:
KERNEL_IMAGE_TYPE: ""
GPU_VERSION: panfrost-g72
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-acer-mt8183-cp311-3h-jacuzzi
.panfrost-g72-gles2:arm64:
extends:
DRIVER_NAME: radeonsi
ENV_VARS: "DEQP_PARALLEL=4 DEQP_EXPECTED_RENDERER=STONEY"
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
.radeonsi-stoney-deqp:amd64:
extends:
variables:
ENV_VARS: "EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_JUNIT_RESULTS=1"
tags:
- - mesa-ci-aarch64-lava-collabora
+ - mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-piglit-gl:amd64:
extends: