From 72452707eeb4dc17439d609e194b8de108ad623b Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 19 Dec 2024 16:35:31 +0000 Subject: [PATCH] scripts: Reduce number of parallel jobs on ARM64 CI This system is erroring out on jobs due to insufficient memory - reduce parallelism to allow CI jobs to complete. Signed-off-by: Rob Bradford --- scripts/run_integration_tests_aarch64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_integration_tests_aarch64.sh b/scripts/run_integration_tests_aarch64.sh index 648808a61..b88855560 100755 --- a/scripts/run_integration_tests_aarch64.sh +++ b/scripts/run_integration_tests_aarch64.sh @@ -237,7 +237,7 @@ echo "$PAGE_NUM" | sudo tee /proc/sys/vm/nr_hugepages sudo chmod a+rwX /dev/hugepages # Run all direct kernel boot (Device Tree) test cases in mod `parallel` -time cargo test "common_parallel::$test_filter" --target "$BUILD_TARGET" -- --test-threads=$(($(nproc) / 4)) ${test_binary_args[*]} +time cargo test "common_parallel::$test_filter" --target "$BUILD_TARGET" -- --test-threads=$(($(nproc) / 8)) ${test_binary_args[*]} RES=$? # Run some tests in sequence since the result could be affected by other tests