2020-04-01 19:07:46 +08:00
|
|
|
variables:
|
2020-01-28 22:19:53 +08:00
|
|
|
DISTRIBUTION_TAG: "2020-07-18"
|
2020-04-01 19:07:46 +08:00
|
|
|
|
|
|
|
.kernel+rootfs:
|
|
|
|
stage: container-2
|
2020-07-08 15:57:44 +08:00
|
|
|
extends:
|
|
|
|
- .ci-run-policy
|
2020-04-01 19:07:46 +08:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: fetch
|
2020-07-10 04:38:51 +08:00
|
|
|
KERNEL_URL: "https://gitlab.freedesktop.org/tomeu/linux/-/archive/v5.5-panfrost-fixes/linux-v5.5-panfrost-fixes.tar.gz"
|
|
|
|
UPLOAD_FOR_LAVA: 1
|
2020-04-01 19:07:46 +08:00
|
|
|
script:
|
2020-07-10 04:38:51 +08:00
|
|
|
- .gitlab-ci/container/lava_arm.sh
|
2020-04-01 19:07:46 +08:00
|
|
|
|
|
|
|
kernel+rootfs_arm64:
|
|
|
|
extends:
|
|
|
|
- .use-arm_build
|
|
|
|
- .kernel+rootfs
|
|
|
|
tags:
|
|
|
|
- aarch64
|
|
|
|
variables:
|
|
|
|
DEBIAN_ARCH: "arm64"
|
|
|
|
|
|
|
|
kernel+rootfs_armhf:
|
|
|
|
extends:
|
|
|
|
- kernel+rootfs_arm64
|
|
|
|
variables:
|
|
|
|
DEBIAN_ARCH: "armhf"
|
|
|
|
|
2019-09-18 22:03:36 +08:00
|
|
|
.lava-test:
|
2019-09-18 22:43:30 +08:00
|
|
|
extends:
|
2019-12-06 16:39:40 +08:00
|
|
|
- .ci-run-policy
|
2019-10-22 23:16:52 +08:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
2019-12-18 23:11:33 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=6"
|
|
|
|
DEQP_VERSION: gles2
|
2020-07-09 22:14:14 +08:00
|
|
|
ARTIFACTS_PREFIX: "https://minio-packet.freedesktop.org/mesa-lava/"
|
2020-04-01 19:07:46 +08:00
|
|
|
MESA_URL: "https://minio-packet.freedesktop.org/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/mesa-${ARCH}.tar.gz"
|
2019-04-30 00:33:22 +08:00
|
|
|
script:
|
2020-07-09 22:14:14 +08:00
|
|
|
# Try to use the kernel and rootfs built in mainline first, to save cycles
|
|
|
|
- >
|
|
|
|
if wget -q --method=HEAD "${ARTIFACTS_PREFIX}/mesa/mesa/${DISTRIBUTION_TAG}/${ARCH}/done"; then
|
|
|
|
ARTIFACTS_URL="${ARTIFACTS_PREFIX}/mesa/mesa/${DISTRIBUTION_TAG}/${ARCH}"
|
|
|
|
else
|
|
|
|
ARTIFACTS_URL="${ARTIFACTS_PREFIX}/${CI_PROJECT_PATH}/${DISTRIBUTION_TAG}/${ARCH}"
|
|
|
|
fi
|
2019-12-17 18:50:14 +08:00
|
|
|
- >
|
|
|
|
artifacts/generate_lava.py \
|
2020-01-28 22:19:53 +08:00
|
|
|
--template artifacts/lava-${TEST_SUITE}.yml.jinja2 \
|
2019-10-15 21:22:07 +08:00
|
|
|
--pipeline-info "$CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \
|
2020-04-01 19:07:46 +08:00
|
|
|
--base-artifacts-url ${ARTIFACTS_URL} \
|
|
|
|
--mesa-url ${MESA_URL} \
|
2019-12-17 18:50:14 +08:00
|
|
|
--device-type ${DEVICE_TYPE} \
|
|
|
|
--env-vars "${ENV_VARS}" \
|
2019-12-18 23:11:33 +08:00
|
|
|
--deqp-version ${DEQP_VERSION} \
|
2019-12-17 18:50:14 +08:00
|
|
|
--kernel-image-name ${KERNEL_IMAGE_NAME} \
|
|
|
|
--kernel-image-type "${KERNEL_IMAGE_TYPE}" \
|
|
|
|
--gpu-version ${GPU_VERSION} \
|
|
|
|
--boot-method ${BOOT_METHOD} \
|
2020-01-17 11:37:32 +08:00
|
|
|
--lava-tags "${LAVA_TAGS}" \
|
|
|
|
--ci-node-index "${CI_NODE_INDEX}" \
|
|
|
|
--ci-node-total "${CI_NODE_TOTAL}"
|
2020-01-28 22:19:53 +08:00
|
|
|
- lava_job_id=`lavacli jobs submit lava-${TEST_SUITE}.yml` || lavacli jobs submit lava-${TEST_SUITE}.yml
|
2019-08-15 16:41:21 +08:00
|
|
|
- echo $lava_job_id
|
2019-12-17 18:50:14 +08:00
|
|
|
- rm -rf artifacts/*
|
2020-01-28 22:19:53 +08:00
|
|
|
- cp lava-${TEST_SUITE}.yml artifacts/.
|
|
|
|
- lavacli jobs logs $lava_job_id | tee artifacts/lava-${TEST_SUITE}-$lava_job_id.log
|
2019-04-30 00:33:22 +08:00
|
|
|
- lavacli jobs show $lava_job_id
|
2020-01-28 22:19:53 +08:00
|
|
|
- result=`lavacli results $lava_job_id 0_${TEST_SUITE} ${TEST_SUITE} | head -1`
|
2019-08-15 16:41:21 +08:00
|
|
|
- echo $result
|
2019-09-18 22:43:30 +08:00
|
|
|
- '[[ "$result" == "pass" ]]'
|
2019-04-30 00:33:22 +08:00
|
|
|
artifacts:
|
2020-03-06 19:35:17 +08:00
|
|
|
name: "mesa_${CI_JOB_NAME}"
|
2019-04-30 00:33:22 +08:00
|
|
|
when: always
|
|
|
|
paths:
|
2019-12-17 18:50:14 +08:00
|
|
|
- artifacts/
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2019-10-06 23:49:56 +08:00
|
|
|
.lava-test:armhf:
|
2019-11-12 01:13:28 +08:00
|
|
|
variables:
|
2019-12-17 18:50:14 +08:00
|
|
|
ARCH: armhf
|
|
|
|
KERNEL_IMAGE_NAME: zImage
|
|
|
|
KERNEL_IMAGE_TYPE: "type:\ zimage"
|
|
|
|
BOOT_METHOD: u-boot
|
2020-01-28 22:19:53 +08:00
|
|
|
TEST_SUITE: "deqp"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test
|
|
|
|
- .use-arm_build
|
|
|
|
needs:
|
2020-04-01 19:07:46 +08:00
|
|
|
- kernel+rootfs_armhf
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-armhf
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2019-10-06 23:49:56 +08:00
|
|
|
.lava-test:arm64:
|
2019-11-12 01:13:28 +08:00
|
|
|
variables:
|
2019-12-17 18:50:14 +08:00
|
|
|
ARCH: arm64
|
|
|
|
KERNEL_IMAGE_NAME: Image
|
|
|
|
KERNEL_IMAGE_TYPE: "type:\ image"
|
|
|
|
BOOT_METHOD: u-boot
|
2020-01-28 22:19:53 +08:00
|
|
|
TEST_SUITE: "deqp"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test
|
|
|
|
- .use-arm_build
|
2020-01-28 22:19:53 +08:00
|
|
|
dependencies:
|
|
|
|
- meson-arm64
|
2019-12-17 18:50:14 +08:00
|
|
|
needs:
|
2020-01-28 22:19:53 +08:00
|
|
|
- arm_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-arm64
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-01-28 22:19:53 +08:00
|
|
|
.lava-traces:armhf:
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "tracie"
|
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
|
|
|
|
|
|
|
.lava-traces:arm64:
|
|
|
|
variables:
|
|
|
|
TEST_SUITE: "tracie"
|
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
|
2020-06-03 02:59:00 +08:00
|
|
|
panfrost-t720-gles2:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-10-25 19:04:34 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: sun50i-h6-pine-h64
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t720
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T720"
|
2019-10-25 19:04:34 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-10-25 19:04:34 +08:00
|
|
|
|
2020-06-03 02:59:00 +08:00
|
|
|
panfrost-t760-gles2:armhf:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
|
|
|
- .panfrost-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: rk3288-veyron-jaq
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t760
|
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T760"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-01-28 22:19:53 +08:00
|
|
|
panfrost-t760-traces:armhf:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
2020-01-28 22:19:53 +08:00
|
|
|
- .lava-traces:armhf
|
2019-10-31 03:39:08 +08:00
|
|
|
- .panfrost-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
2020-01-28 22:19:53 +08:00
|
|
|
DEVICE_TYPE: rk3288-veyron-jaq
|
|
|
|
GPU_VERSION: panfrost-t760
|
2019-12-17 18:50:14 +08:00
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
2020-01-28 22:19:53 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=deqp MESA_GLES_VERSION_OVERRIDE=3.1 MESA_GLSL_VERSION_OVERRIDE=310"
|
2019-09-18 22:43:30 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2020-01-28 22:19:53 +08:00
|
|
|
.lava-rk3399-gru-kevin:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .panfrost-rules
|
2019-12-18 23:11:33 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: rk3399-gru-kevin
|
|
|
|
GPU_VERSION: panfrost-t860
|
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-12-18 23:11:33 +08:00
|
|
|
|
2020-01-28 22:19:53 +08:00
|
|
|
panfrost-t860-gles2:arm64:
|
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .lava-rk3399-gru-kevin
|
|
|
|
variables:
|
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
|
|
|
|
|
|
|
panfrost-t860-gles3:arm64:
|
|
|
|
parallel: 2
|
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .lava-rk3399-gru-kevin
|
|
|
|
variables:
|
|
|
|
DEQP_VERSION: gles3
|
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
|
|
|
|
|
|
|
panfrost-t860-traces:arm64:
|
|
|
|
extends:
|
|
|
|
- .lava-traces:arm64
|
|
|
|
- .lava-rk3399-gru-kevin
|
|
|
|
variables:
|
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=deqp MESA_GLES_VERSION_OVERRIDE=3.1 MESA_GLSL_VERSION_OVERRIDE=310"
|
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.panfrost-t820-gles2:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-09-20 21:43:19 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: meson-gxm-khadas-vim2
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t820
|
|
|
|
LAVA_TAGS: panfrost
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T820"
|
2019-09-20 21:43:19 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|
2019-09-20 21:43:19 +08:00
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.lima-mali400-test:armhf:
|
2019-12-19 14:15:11 +08:00
|
|
|
parallel: 2
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
|
|
|
- .lima-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: sun8i-h3-libretech-all-h3-cc
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: lima
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=3 DEQP_EXPECTED_RENDERER=Mali400"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.lima-mali450-test:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .lima-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: meson-gxl-s905x-libretech-cc
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: lima
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=Mali450"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|