mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
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:
commit
115c18fccb
@ -50,7 +50,8 @@ run_kola_tests() {
|
||||
instance_type="${azure_instance_type}"
|
||||
fi
|
||||
|
||||
timeout --signal=SIGQUIT 20h \
|
||||
# Align timeout with ore azure gc --duration parameter
|
||||
timeout --signal=SIGQUIT 6h \
|
||||
kola run \
|
||||
--board="${board}" \
|
||||
--basename="${basename}" \
|
||||
|
@ -32,7 +32,8 @@ fi
|
||||
|
||||
# Do not expand the kola test patterns globs
|
||||
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}" \
|
||||
--basename="${NAME}" \
|
||||
--board="${BOARD}" \
|
||||
|
@ -32,13 +32,8 @@ fi
|
||||
# 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.
|
||||
# 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
|
||||
PACKET_REGION="DA"
|
||||
PARALLEL_TESTS="3"
|
||||
fi
|
||||
|
||||
# Run the cl.internet test on multiple machine types only if it should run in general
|
||||
|
Loading…
x
Reference in New Issue
Block a user