2019-09-18 22:03:36 +08:00
|
|
|
.lava-test:
|
2020-07-21 22:13:37 +08:00
|
|
|
# Cancel job if a newer commit is pushed to the same branch
|
|
|
|
interruptible: true
|
2019-10-22 23:16:52 +08:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
2021-10-12 07:03:47 +08:00
|
|
|
FDO_CI_CONCURRENT: 6 # should be replaced by per-machine definitions
|
2021-06-11 00:00:32 +08:00
|
|
|
DEQP_VER: gles2
|
2021-06-10 21:53:57 +08:00
|
|
|
# proxy used to cache data locally
|
|
|
|
FDO_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri="
|
|
|
|
# base system generated by the container build job, shared between many pipelines
|
|
|
|
BASE_SYSTEM_HOST_PREFIX: "${MINIO_HOST}/mesa-lava"
|
|
|
|
BASE_SYSTEM_MAINLINE_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}"
|
|
|
|
BASE_SYSTEM_FORK_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${CI_PROJECT_PATH}/${DISTRIBUTION_TAG}/${ARCH}"
|
2021-06-10 23:24:48 +08:00
|
|
|
# per-job build artifacts
|
2022-07-28 07:19:21 +08:00
|
|
|
BUILD_PATH: "${PIPELINE_ARTIFACTS_BASE}/${CI_PROJECT_NAME}-${ARCH}.tar.zst"
|
2021-06-11 00:00:32 +08:00
|
|
|
JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz"
|
2022-07-28 07:19:21 +08:00
|
|
|
JOB_RESULTS_PATH: "${JOB_ARTIFACTS_BASE}/results.tar.zst"
|
2022-03-11 06:21:53 +08:00
|
|
|
MINIO_RESULTS_UPLOAD: "${JOB_ARTIFACTS_BASE}"
|
2021-06-12 20:55:26 +08:00
|
|
|
PIGLIT_NO_WINDOW: 1
|
2021-07-08 04:54:43 +08:00
|
|
|
VISIBILITY_GROUP: "Collabora+fdo"
|
2019-04-30 00:33:22 +08:00
|
|
|
script:
|
2021-06-10 20:11:02 +08:00
|
|
|
- ./artifacts/lava/lava-submit.sh
|
2019-04-30 00:33:22 +08:00
|
|
|
artifacts:
|
2022-03-17 22:09:18 +08:00
|
|
|
name: "${CI_PROJECT_NAME}_${CI_JOB_NAME}"
|
2019-04-30 00:33:22 +08:00
|
|
|
when: always
|
|
|
|
paths:
|
2021-04-17 05:18:07 +08:00
|
|
|
- results/
|
|
|
|
exclude:
|
|
|
|
- results/*.shader_cache
|
2022-08-12 16:54:14 +08:00
|
|
|
reports:
|
|
|
|
junit: results/junit.xml
|
2022-02-24 13:40:20 +08:00
|
|
|
tags:
|
|
|
|
- $RUNNER_TAG
|
2021-04-17 05:18:07 +08:00
|
|
|
after_script:
|
2023-01-19 07:26:03 +08:00
|
|
|
- curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s "https://${JOB_RESULTS_PATH}" | tar --zstd -x
|
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
|
2021-06-12 01:34:13 +08:00
|
|
|
KERNEL_IMAGE_TYPE: "zimage"
|
2019-12-17 18:50:14 +08:00
|
|
|
BOOT_METHOD: u-boot
|
2021-06-11 23:53:54 +08:00
|
|
|
HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
2021-06-15 23:42:22 +08:00
|
|
|
- .use-debian/arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_armhf
|
|
|
|
- .use-debian/x86_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-arm
|
2019-12-17 18:50:14 +08:00
|
|
|
needs:
|
2020-04-01 19:07:46 +08:00
|
|
|
- kernel+rootfs_armhf
|
2021-06-15 23:42:22 +08:00
|
|
|
- debian/x86_build
|
2021-06-16 00:23:33 +08:00
|
|
|
- debian-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
|
2021-06-12 01:34:13 +08:00
|
|
|
KERNEL_IMAGE_TYPE: "image"
|
2019-12-17 18:50:14 +08:00
|
|
|
BOOT_METHOD: u-boot
|
2021-06-11 23:53:54 +08:00
|
|
|
HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
2021-06-15 23:42:22 +08:00
|
|
|
- .use-debian/arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_arm64
|
|
|
|
- .use-debian/x86_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-arm
|
2020-01-28 22:19:53 +08:00
|
|
|
dependencies:
|
2021-06-16 00:23:33 +08:00
|
|
|
- debian-arm64
|
2019-12-17 18:50:14 +08:00
|
|
|
needs:
|
2020-07-13 23:20:28 +08:00
|
|
|
- kernel+rootfs_arm64
|
2021-06-15 23:42:22 +08:00
|
|
|
- debian/x86_build
|
2021-06-16 00:23:33 +08:00
|
|
|
- debian-arm64
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-07-03 16:04:20 +08:00
|
|
|
.lava-test:amd64:
|
|
|
|
variables:
|
|
|
|
ARCH: amd64
|
|
|
|
KERNEL_IMAGE_NAME: bzImage
|
2021-06-12 01:34:13 +08:00
|
|
|
KERNEL_IMAGE_TYPE: "zimage"
|
2020-07-03 16:04:20 +08:00
|
|
|
BOOT_METHOD: u-boot
|
2021-06-11 23:53:54 +08:00
|
|
|
HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2020-07-03 16:04:20 +08:00
|
|
|
extends:
|
2021-06-15 23:42:22 +08:00
|
|
|
- .use-debian/x86_build-base # for same $MESA_ARTIFACTS_BASE_TAG as in kernel+rootfs_amd64
|
|
|
|
- .use-debian/x86_build
|
2020-12-16 19:17:46 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-amd64
|
2020-07-03 16:04:20 +08:00
|
|
|
needs:
|
|
|
|
- kernel+rootfs_amd64
|
2021-06-16 00:23:33 +08:00
|
|
|
- debian-testing
|
2020-07-03 16:04:20 +08:00
|
|
|
|
2020-09-04 18:53:41 +08:00
|
|
|
.lava-traces-base:
|
2021-04-07 15:23:13 +08:00
|
|
|
variables:
|
2022-01-13 02:59:08 +08:00
|
|
|
HWCI_TEST_SCRIPT: "/install/piglit/piglit-traces.sh"
|
2020-09-04 18:53:41 +08:00
|
|
|
artifacts:
|
|
|
|
reports:
|
2021-04-17 05:18:07 +08:00
|
|
|
junit: results/junit.xml
|
2020-09-04 18:53:41 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit:
|
2020-07-03 16:04:20 +08:00
|
|
|
variables:
|
2021-06-11 00:00:32 +08:00
|
|
|
PIGLIT_REPLAY_DEVICE_NAME: "gl-${GPU_VERSION}"
|
|
|
|
PIGLIT_RESULTS: "${GPU_VERSION}-${PIGLIT_PROFILES}"
|
2021-06-11 23:53:54 +08:00
|
|
|
HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
|
2020-08-28 03:18:00 +08:00
|
|
|
|
|
|
|
.lava-piglit-traces:amd64:
|
2020-07-03 16:04:20 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:amd64
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2020-07-03 16:04:20 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit-traces:armhf:
|
2020-01-28 22:19:53 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2020-01-28 22:19:53 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit-traces:arm64:
|
2020-01-28 22:19:53 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2021-04-07 15:23:13 +08:00
|
|
|
|
|
|
|
.lava-piglit:amd64:
|
|
|
|
extends:
|
|
|
|
- .lava-test:amd64
|
|
|
|
- .lava-piglit
|