mesa/src/amd/ci/gitlab-ci.yml
Martin Roukala (né Peres) 2459fcd9ff radv/ci: bump the job count on navi21
We got shiny new hosts for our navi21 which sport twice as many cores
as the previous hosts. Let's try to keep them fed!

Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19111>
2022-10-20 09:33:53 +03:00

487 lines
12 KiB
YAML

############### LAVA
# job prefixes: radeonsi (OpenGL), radv (Vulkan), amd (radeonsi+radv)
# 10 devices (2022-10-19)
.stoney-test:amd64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: hp-11A-G6-EE-grunt
DEQP_EXPECTED_RENDERER: STONEY
DTB: ""
FDO_CI_CONCURRENT: 4
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
.radeonsi-stoney-test:amd64:
extends:
- .stoney-test:amd64
- .radeonsi-rules
variables:
GPU_VERSION: radeonsi-stoney
DRIVER_NAME: radeonsi
.radv-stoney-test:amd64:
extends:
- .stoney-test:amd64
- .radv-rules
variables:
DEQP_VER: vk
DRIVER_NAME: radv
GPU_VERSION: radv-stoney-aco
VK_DRIVER: radeon
# Run four jobs in parallel each running 1/40th of the test suite
radv-stoney-vkcts:amd64:
extends:
- .lava-test:amd64
- .radv-stoney-test:amd64
parallel: 4
variables:
DEQP_FRACTION: 10
radeonsi-stoney-gl:amd64:
extends:
- .lava-test:amd64
- .radeonsi-stoney-test:amd64
parallel: 5
variables:
DEQP_SUITE: radeonsi-stoney
radeonsi-stoney-traces:amd64:
extends:
- .lava-piglit-traces:amd64
- .radeonsi-stoney-test:amd64
variables:
EGL_PLATFORM: surfaceless
PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-amd.yml"
PIGLIT_REPLAY_EXTRA_ARGS: --keep-image
# 5 devices (2022-10-19)
.raven-test:amd64:
variables:
BOOT_METHOD: depthcharge
DEVICE_TYPE: lenovo-TPad-C13-Yoga-zork
DTB: ""
HWCI_FREQ_MAX: "true"
HWCI_KERNEL_MODULES: amdgpu
KERNEL_IMAGE_TYPE: ""
RUNNER_TAG: mesa-ci-x86-64-lava-lenovo-TPad-C13-Yoga-zork
.radeonsi-raven-test:amd64:
extends:
- .raven-test:amd64
- .radeonsi-rules
variables:
GPU_VERSION: radeonsi-raven
DRIVER_NAME: radeonsi
.radv-raven-test:amd64:
extends:
- .raven-test:amd64
- .radv-rules
variables:
GPU_VERSION: radv-raven
VK_DRIVER: radeon
.amd-raven-test:amd64:
extends:
- .raven-test:amd64
- .radeonsi+radv-rules
variables:
DRIVER_NAME: radeonsi
GPU_VERSION: amd-raven
VK_DRIVER: radeon
amd-raven-skqp:amd64:
extends:
- .lava-test:amd64
- .amd-raven-test:amd64
- .skqp-test
variables:
# Possible skqp backends: gl, gles, unitTest and vk
SKQP_BACKENDS: gl gles vk unitTest # space separated values
.radv-traces:
extends:
- .lava-piglit-traces:amd64
variables:
HWCI_START_XORG: 1
PIGLIT_PLATFORM: mixed_glx_egl # TODO, take wine/VK in account
PIGLIT_REPLAY_DESCRIPTION_FILE: "/install/traces-amd.yml"
PIGLIT_REPLAY_EXTRA_ARGS: --keep-image
radv-raven-traces:amd64:
extends:
- .radv-traces
- .radv-raven-test:amd64
variables:
PIGLIT_REPLAY_DEVICE_NAME: "vk-${GPU_VERSION}"
radeonsi-raven-piglit-gl:amd64:
extends:
- .lava-piglit:amd64
- .radeonsi-raven-test:amd64
variables:
PIGLIT_PLATFORM: mixed_glx_egl
PIGLIT_PROFILES: quick_gl
HWCI_START_XORG: 1
radeonsi-raven-va:amd64:
extends:
- .lava-test:amd64
- .radeonsi-raven-test:amd64
- .radeonsi-vaapi-rules
variables:
HWCI_TEST_SCRIPT: "/install/gtest-runner.sh"
# While the tests don't need Xorg, it's an easy way to keep DRM open so we don't
# spend all our time in drm_lastclose()'s modesetting.
HWCI_START_XORG: 1
GTEST: test_va_api
# The big 10-surface 10k allocations oomkill us at around 2.5G of GPU memory
# allocated if we run at the normal 4 threads.
# https://github.com/intel/libva-utils/issues/248
FDO_CI_CONCURRENT: 1
# A whole run would be about 25 minutes currently. Fixing
# https://github.com/intel/libva-utils/issues/247 and
# https://github.com/google/googletest/issues/3614 would probably help.
GTEST_FRACTION: 2
############### Valve Infra
.test-radv:
extends:
- .radv-rules
variables:
VK_DRIVER: radeon
DRIVER_NAME: radv
# The SPIRV -> NIR code generator generates so many harmless
# warnings on the shaders in VK-CTS that jobs fail due to the log
# size getting too big. Since it's not feasible right now
# to fix these shaders in the CTS, instead, ignore warnings from
# the code generator.
MESA_SPIRV_LOG_LEVEL: error
ACO_DEBUG: validateir,validatera
MESA_VK_IGNORE_CONFORMANCE_WARNING: 1
.b2c-test-radv-vk:
extends:
- .test-radv
- .b2c-test-vk
.b2c-test-radv-gl:
extends:
- .test-radv
- .b2c-test-gl
variables:
MESA_LOADER_DRIVER_OVERRIDE: zink
.deqp-test-valve:
extends:
# Keep all the dEQP jobs as manual trigger jobs for now, until we
# have enough resources to meet the throughput requirements for
# automatic pre-merge in the Mesa CI.
- .test-manual-mr
variables:
B2C_JOB_SUCCESS_REGEX: '^\+ DEQP_EXITCODE=0\r$'
B2C_TEST_SCRIPT: ./install/deqp-runner.sh
B2C_JOB_VOLUME_EXCLUSIONS: "*.shader_cache"
.kabini-test-valve:
variables:
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
tags:
- amdgpu:codename:KABINI
.polaris10-test-valve:
variables:
FDO_CI_CONCURRENT: 16
B2C_TIMEOUT_BOOT_RETRIES: 4
# (2022-01) tsc=unstable was added in response to this message in kmsg,
# TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g tsc=unstable'
tags:
- amdgpu:codename:POLARIS10
.vega10-test-valve:
variables:
FDO_CI_CONCURRENT: 16
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- amdgpu:codename:VEGA10
.renoir-test-valve:
variables:
FDO_CI_CONCURRENT: 24
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
B2C_TIMEOUT_BOOT_MINUTES: 60
B2C_TIMEOUT_OVERALL_MINUTES: 120
tags:
- amdgpu:codename:RENOIR
.navi10-test-valve:
variables:
FDO_CI_CONCURRENT: 24
# (2022-01) noapic is set because the serial adapter on this
# machine is using non-MSI IRQs and is generating a lot of
# IRQs. This tends to confuse the interrupt controller and breaks
# MSI IRQs leading to GPU hangs on amdgpu.
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g noapic'
tags:
- amdgpu:codename:NAVI10
.navi21-test-valve:
variables:
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- amdgpu:codename:NAVI21
.vangogh-test-valve:
variables:
FDO_CI_CONCURRENT: 8
B2C_TIMEOUT_BOOT_MINUTES: 85
B2C_TIMEOUT_OVERALL_MINUTES: 120
B2C_TIMEOUT_MINUTES: 3
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- amdgpu:codename:VANGOGH
############### VKCTS tests ###############
# A note on the variables to control fractional VKCTS runs
# parallel: N means to split the test list into chunks of 1/N lines, and
# DEQP_FRACTION: M means to run every Mth test from the resulting lines.
# So parallel: 2 and DEQP_FRACTION: 5 would imply running 1/10th of the suite.
.vkcts-test-valve:
extends:
- .b2c-test-radv-vk
- .deqp-test-valve
variables:
DEQP_VER: vk
RADV_PERFTEST: nv_ms,ext_ms
# VKCTS never finishes on gfx7 due to all the GPU resets and hangs.
# Hence, disable it for now.
vkcts-kabini-valve:
extends:
- .vkcts-test-valve
- .kabini-test-valve
- .test-manual-mr # Make sure this job is *always* run manually
timeout: 12h
variables:
GPU_VERSION: radv-kabini-aco
B2C_TIMEOUT_BOOT_MINUTES: 710
B2C_TIMEOUT_OVERALL_MINUTES: 710
B2C_TIMEOUT_BOOT_RETRIES: 0
# Disabled for now due to Igalia farm issues.
.vkcts-stoney-valve:
extends:
- .vkcts-test-valve
parallel: 2
# The thin clients can't manage a full run in less than an hour
# currently. Interpolation suggests four more thin clients (6
# total) would get the runtime under 15 minutes.
timeout: 4h 10m
variables:
GPU_VERSION: radv-stoney-aco
# Note, it only has a wee 32g disk!
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
B2C_TIMEOUT_BOOT_MINUTES: 240
B2C_TIMEOUT_OVERALL_MINUTES: 240
B2C_TIMEOUT_BOOT_RETRIES: 0
tags:
- amdgpu:codename:STONEY
.vkcts-polaris10-valve:
extends:
- .vkcts-test-valve
- .polaris10-test-valve
variables:
GPU_VERSION: radv-polaris10-aco
vkcts-vega10-valve:
extends:
- .vkcts-test-valve
- .vega10-test-valve
variables:
GPU_VERSION: radv-vega10-aco
vkcts-renoir-valve:
extends:
- .vkcts-test-valve
- .renoir-test-valve
timeout: 2h 10m
variables:
GPU_VERSION: radv-renoir-aco
vkcts-navi10-valve:
extends:
- .vkcts-test-valve
- .navi10-test-valve
variables:
GPU_VERSION: radv-navi10-aco
vkcts-navi21-valve:
extends:
- .vkcts-test-valve
- .navi21-test-valve
variables:
GPU_VERSION: radv-navi21-aco
vkcts-navi21-llvm-valve:
extends:
- .vkcts-test-valve
- .navi21-test-valve
variables:
GPU_VERSION: radv-navi21-llvm
RADV_DEBUG: llvm,checkir
vkcts-vangogh-valve:
parallel: 2
extends:
- .vkcts-test-valve
- .vangogh-test-valve
timeout: 2h 10m
variables:
GPU_VERSION: radv-vangogh-aco
############### gles/GLCTS
.glcts-test-valve:
extends:
- .b2c-test-radv-gl
- .deqp-test-valve
variables:
DEQP_VER: gl46
glcts-navi10-valve:
extends:
- .glcts-test-valve
- .navi10-test-valve
variables:
GPU_VERSION: zink-radv
.gles-test-valve:
extends:
- .b2c-test-radv-gl
- .deqp-test-valve
variables:
DEQP_SUITE: zink-radv
gles-navi10-valve:
extends:
- .gles-test-valve
- .navi10-test-valve
variables:
GPU_VERSION: zink-radv
############### piglit
.piglit-test-valve:
extends:
- .b2c-test-radv-gl
# Keep all the piglit jobs as manual trigger jobs for now, until we
# have enough resources to meet the throughput requirements for
# automatic pre-merge in the Mesa CI.
- .test-manual-mr
variables:
B2C_JOB_SUCCESS_REGEX: '^\+ PIGLIT_EXITCODE=0\r$'
B2C_TEST_SCRIPT: ./install/piglit/piglit-runner.sh
PIGLIT_PROFILES: all
PIGLIT_PLATFORM: gbm
piglit-navi10-valve:
extends:
- .piglit-test-valve
- .navi10-test-valve
variables:
GPU_VERSION: zink-radv
############### Fossilize
radv-fossils:
extends:
- .test-vk
- .test-radv
- .fossilize-test
script:
# Pitcairn (GFX6)
- export RADV_FORCE_FAMILY="PITCAIRN"
- ./install/fossilize-runner.sh
# Bonaire (GFX7)
- export RADV_FORCE_FAMILY="BONAIRE"
- ./install/fossilize-runner.sh
# Polaris10 (GFX8)
- export RADV_FORCE_FAMILY="POLARIS10"
- ./install/fossilize-runner.sh
# Vega10 (GFX9)
- export RADV_FORCE_FAMILY="VEGA10"
- ./install/fossilize-runner.sh
# Navi10 (GFX10)
- export RADV_FORCE_FAMILY="NAVI10"
- ./install/fossilize-runner.sh
# Navi21 (GFX10_3)
- export RADV_FORCE_FAMILY="NAVI21"
- ./install/fossilize-runner.sh
# RDNA3 (GFX11)
- export RADV_FORCE_FAMILY="GFX1100"
- ./install/fossilize-runner.sh
############### vkd3d-proton
.vkd3d-test-valve:
extends:
- .b2c-test-radv-vk
# Keep all the vkd3d-proton jobs as manual trigger jobs for now, until we
# have enough resources to meet the throughput requirements for
# automatic pre-merge in the Mesa CI.
- .test-manual-mr
variables:
B2C_JOB_SUCCESS_REGEX: 'SUCCESS: No changes found!\r$'
B2C_TEST_SCRIPT: ./install/vkd3d-proton/run.sh
.vkd3d-kabini-valve:
extends:
- .vkd3d-test-valve
- .kabini-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-kabini-vkd3d
.vkd3d-polaris10-valve:
extends:
- .vkd3d-test-valve
- .polaris10-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-polaris10-vkd3d
vkd3d-vega10-valve:
extends:
- .vkd3d-test-valve
- .vega10-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-vega10-vkd3d
vkd3d-renoir-valve:
extends:
- .vkd3d-test-valve
- .renoir-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-renoir-vkd3d
vkd3d-navi10-valve:
extends:
- .vkd3d-test-valve
- .navi10-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-navi10-vkd3d
vkd3d-navi21-valve:
extends:
- .vkd3d-test-valve
- .navi21-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-navi21-vkd3d
vkd3d-vangogh-valve:
extends:
- .vkd3d-test-valve
- .vangogh-test-valve
variables:
VKD3D_PROTON_RESULTS: radv-vangogh-vkd3d