From c746ab233336d228dbc925ba190f7b6c9529f26e Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Mon, 22 Nov 2021 19:42:59 +0100 Subject: [PATCH] kola/packet: override EM region for ARM64 server Equinix Metal ARM server are not yet hourly available in the default `sv15` region so we override the `PACKET_REGION` to `Dallas` since it's available in this region. We do not override `PACKET_REGION` for both board on top level because we need to keep proximity for PXE booting. Signed-off-by: Mathieu Tortuyaux --- jenkins/kola/packet.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jenkins/kola/packet.sh b/jenkins/kola/packet.sh index bf174760bb..1650610926 100755 --- a/jenkins/kola/packet.sh +++ b/jenkins/kola/packet.sh @@ -31,6 +31,12 @@ if [[ "${KOLA_TESTS}" == "" ]]; then KOLA_TESTS="*" fi +# Equinix Metal ARM server are not yet hourly available in the default `sv15` region +# so we override the `PACKET_REGION` to `Dallas` since it's available in this region. +# We do not override `PACKET_REGION` for both board on top level because we need to keep proximity +# for PXE booting. +[[ "${BOARD}" == "arm64-usr" ]] && PACKET_REGION="da11" + # Run the cl.internet test on multiple machine types only if it should run in general cl_internet_included="$(set -o noglob; bin/kola list --platform=packet --filter ${KOLA_TESTS} | { grep cl.internet || true ; } )" if [[ "${BOARD}" == "amd64-usr" ]] && [[ "${cl_internet_included}" != "" ]]; then