Merge pull request #345 from flatcar-linux/kai/parallel-tests-arm64

jenkins/kola/azure|packet.sh: Remove hardcoded arm64 parallel test limit and align the timeout with the GC duration
This commit is contained in:
Kai Lüke 2022-06-02 20:39:54 +09:00 committed by GitHub
commit 115c18fccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View File

@ -50,7 +50,8 @@ run_kola_tests() {
instance_type="${azure_instance_type}" instance_type="${azure_instance_type}"
fi fi
timeout --signal=SIGQUIT 20h \ # Align timeout with ore azure gc --duration parameter
timeout --signal=SIGQUIT 6h \
kola run \ kola run \
--board="${board}" \ --board="${board}" \
--basename="${basename}" \ --basename="${basename}" \

View File

@ -32,7 +32,8 @@ fi
# Do not expand the kola test patterns globs # Do not expand the kola test patterns globs
set -o noglob set -o noglob
timeout --signal=SIGQUIT 20h bin/kola run \ # Align timeout with ore azure gc --duration parameter
timeout --signal=SIGQUIT 6h bin/kola run \
--parallel="${PARALLEL}" \ --parallel="${PARALLEL}" \
--basename="${NAME}" \ --basename="${NAME}" \
--board="${BOARD}" \ --board="${BOARD}" \

View File

@ -32,13 +32,8 @@ fi
# so we override the `PACKET_REGION` to `Dallas` since it's available in this 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 # We do not override `PACKET_REGION` for both board on top level because we need to keep proximity
# for PXE booting. # for PXE booting.
# We override `PARALLEL_TESTS`, because kola run with PARALLEL_TESTS >= 4 causes the
# tests to provision >= 12 ARM servers at the same time. As the da11 region does not
# have that many free ARM servers, the whole tests will fail. With PARALLEL_TESTS=3
# the total number of servers stays <= 9.
if [[ "${BOARD}" == "arm64-usr" ]]; then if [[ "${BOARD}" == "arm64-usr" ]]; then
PACKET_REGION="DA" PACKET_REGION="DA"
PARALLEL_TESTS="3"
fi fi
# Run the cl.internet test on multiple machine types only if it should run in general # Run the cl.internet test on multiple machine types only if it should run in general