From 79bab21c58f1b2ecee8c6ea4dedafdbfbfbe641c Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Sun, 13 Dec 2020 05:04:49 +0000 Subject: [PATCH] ci: reduce secp test iterations from default 64 to 16 The reduced secp iterations should prevent test timeouts on arm. Also reduce MAKEJOBS to avoid OOM/load failures in other jobs. --- .cirrus.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 237560fc2e..a20279737f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,8 +8,9 @@ container: memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-containers kvm: true # Use kvm to avoid spurious CI failures in the default virtualization cluster, see https://github.com/bitcoin/bitcoin/issues/20093 env: + SECP256K1_TEST_ITERS: 16 # ELEMENTS: avoid test timeouts on arm PACKAGE_MANAGER_INSTALL: "apt-get update && apt-get install -y" - MAKEJOBS: "-j4" + MAKEJOBS: "-j3" # ELEMENTS: reduced from j4 DANGER_RUN_CI_ON_HOST: "1" # Containers will be discarded after the run, so there is no risk that the ci scripts modify the system TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache CCACHE_SIZE: "200M" @@ -86,7 +87,7 @@ task: cpu: 4 # Double CPU and Memory to avoid timeout memory: 16G env: - MAKEJOBS: "-j8" + MAKEJOBS: "-j6" # ELEMENTS: reduced from -j8 FILE_ENV: "./ci/test/00_setup_env_native_tsan.sh" task: