ci/ci-tron: deduplicate setting the runner tags for most jobs

etnaviv is the important exception, as it needs to set two fields for
the setup tags, which need to be handled individually as runner tags.

The other exception is the nightly vangogh job that has a custom tag
added, which I'll hopefully get rid of Soon™.

One farm's jobs were also missing farm:$RUNNER_FARM_LOCATION; this
change ensures that it's always set, avoiding the risk of accidentally
picking an equivalent device in another farm.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34795>
This commit is contained in:
Eric Engestrom 2025-05-05 17:27:15 +02:00 committed by Marge Bot
parent c67ecb6393
commit c78a7d464b
6 changed files with 5 additions and 43 deletions

View file

@ -437,6 +437,9 @@ yaml-toml-shell-py-test:
- job: python-artifacts
artifacts: true
- !reference [.required-for-hardware-jobs, needs]
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
before_script:
# We don't want the tarball unpacking of .test, but will take the JWT bits.

View file

@ -315,9 +315,6 @@
RUNNER_FARM_LOCATION: mupuf
B2C_MARS_SETUP_TAGS: amdgpu:codename:TAHITI
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.hawaii-test-valve:
variables:
@ -325,18 +322,12 @@
RUNNER_FARM_LOCATION: mupuf
B2C_MARS_SETUP_TAGS: amdgpu:codename:HAWAII
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.kabini-test-valve:
variables:
RUNNER_FARM_LOCATION: mupuf
B2C_MARS_SETUP_TAGS: amdgpu:codename:KABINI
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=8g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.polaris10-test-valve:
variables:
@ -346,9 +337,6 @@
# (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:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.polaris10-test-valve-mupuf:
extends: .polaris10-test-valve
@ -366,9 +354,6 @@
B2C_MARS_SETUP_TAGS: amdgpu:codename:VEGA10
FDO_CI_CONCURRENT: 16
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.renoir-test-valve:
variables:
@ -378,9 +363,6 @@
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
B2C_TIMEOUT_BOOT_MINUTES: 60
B2C_TIMEOUT_OVERALL_MINUTES: 120
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.navi10-test-valve:
variables:
@ -390,9 +372,6 @@
# MSI IRQs leading to GPU hangs on amdgpu.
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g noapic'
B2C_MARS_SETUP_TAGS: amdgpu:codename:NAVI10
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.navi10-test-valve-mupuf:
extends:
@ -414,9 +393,6 @@
B2C_MARS_SETUP_TAGS: amdgpu:codename:NAVI21
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.vangogh-test-valve:
variables:
@ -437,9 +413,6 @@
B2C_MARS_SETUP_TAGS: amdgpu:codename:RAPHAEL
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
.navi31-test-valve:
variables:
@ -447,9 +420,6 @@
B2C_MARS_SETUP_TAGS: amdgpu:codename:NAVI31
FDO_CI_CONCURRENT: 32
B2C_KERNEL_CMDLINE_EXTRAS: 'b2c.swap=16g'
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS
############### VKCTS tests ###############

View file

@ -371,6 +371,3 @@
B2C_BOOT_WD_STOP_REGEX: 'CPU features: detected:' # A line repeated during Linux boot
GPU_VERSION: freedreno-a750
VK_DRIVER: freedreno
tags:
- farm:$RUNNER_FARM_LOCATION
- $B2C_MARS_SETUP_TAGS

View file

@ -9,10 +9,9 @@ include:
variables:
FDO_CI_CONCURRENT: 2
GPU_VERSION: i915-g33
RUNNER_FARM_LOCATION: ondracka
B2C_KERNEL_URL: https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/v0.9.12.3/downloads/linux-x86_64
B2C_MARS_SETUP_TAGS: intelgpu:codename:G33
tags:
- $B2C_MARS_SETUP_TAGS
i915-g33:
extends:

View file

@ -7,6 +7,7 @@ include:
- .r300-manual-rules
variables:
FDO_CI_CONCURRENT: 2
RUNNER_FARM_LOCATION: ondracka
# 6.6.8 kernel with radeon driver.
B2C_KERNEL_URL: 'https://gitlab.freedesktop.org/ondracka/boot2container/-/wikis/uploads/1733cfc7cc114d08ec785044b24314f3/linux-x86_64'
@ -15,16 +16,12 @@ include:
- .ondracka-generic
variables:
B2C_MARS_SETUP_TAGS: radeon:codename:RV530
tags:
- $B2C_MARS_SETUP_TAGS
.ondracka-rv380:
extends:
- .ondracka-generic
variables:
B2C_MARS_SETUP_TAGS: radeon:codename:RV380
tags:
- $B2C_MARS_SETUP_TAGS
r300-rv530-deqp-gles2:
extends:
@ -64,8 +61,6 @@ r300-rv410-deqp-piglit:
GPU_VERSION: r300-rv410
PIGLIT_PLATFORM: gbm
B2C_MARS_SETUP_TAGS: radeon:codename:RV410
tags:
- $B2C_MARS_SETUP_TAGS
r300-rv530-piglit:
extends:

View file

@ -62,5 +62,3 @@
B2C_KERNEL_URL: 'https://static.engestrom.ch/linux-6.8-nvk-ga106'
# GSP is not loaded by default
B2C_KERNEL_CMDLINE_EXTRAS: 'nouveau.config=NvGspRm=1'
tags:
- $B2C_MARS_SETUP_TAGS