mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 22:46:58 +02:00
Merge pull request #312 from flatcar-linux/kai/equinix-metal-arm64
jenkins/kola/packet: try to reduce test time by increasing parallelism
This commit is contained in:
commit
c186f41f56
@ -4,7 +4,8 @@ set -ex
|
|||||||
# JOB_NAME will not fit within the character limit
|
# JOB_NAME will not fit within the character limit
|
||||||
NAME="jenkins-${BUILD_NUMBER}"
|
NAME="jenkins-${BUILD_NUMBER}"
|
||||||
|
|
||||||
timeout=8h
|
# same as the GC timeout
|
||||||
|
timeout=6h
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
@ -33,14 +34,11 @@ fi
|
|||||||
# for PXE booting.
|
# for PXE booting.
|
||||||
# We override `PARALLEL_TESTS`, because kola run with PARALLEL_TESTS >= 4 causes the
|
# 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
|
# 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=2
|
# have that many free ARM servers, the whole tests will fail. With PARALLEL_TESTS=3
|
||||||
# the total number of servers stays < 10.
|
# the total number of servers stays <= 9.
|
||||||
# In addition, we override `timeout` to 10 hours, because it takes more than 8 hours
|
|
||||||
# to run all tests only with 2 tests in parallel.
|
|
||||||
if [[ "${BOARD}" == "arm64-usr" ]]; then
|
if [[ "${BOARD}" == "arm64-usr" ]]; then
|
||||||
PACKET_REGION="DA"
|
PACKET_REGION="DA"
|
||||||
PARALLEL_TESTS="2"
|
PARALLEL_TESTS="3"
|
||||||
timeout=15h
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user