Skip to content

Commit 310b348

Browse files
authored
fix: increase test timeout for heavy recursion tests in debug build (#22347)
## Summary Fixes nightly barretenberg debug build failure (CI run https://github.com/AztecProtocol/aztec-packages/actions/runs/24066248159). **Root cause:** `HonkRecursionConstraintTestWithoutPredicate/2.GenerateVKFromConstraints` (root rollup circuit, the heaviest test variant) timed out at 601s against the 600s default timeout. Exit code 124. **Fix:** - Bump timeout from 600s to 900s for `HonkRecursionConstraintTest` and `ChonkRecursionConstraintTest` suites - Add `ChonkRecursionConstraintTest` to the CPUS=4:MEM=8g resource group Several other tests in these suites are also close to the 600s limit (503s, 519s), so this prevents future timeouts as debug build overhead grows. **Note:** PR #22346 (from earlier session) is a no-op — the logderivative fix it applies already exists on `next` via merge-train/barretenberg (#22324). The actual failure was this timeout. ClaudeBox log: https://claudebox.work/s/5f7d3bb56d7d756f?run=1
1 parent 97e3802 commit 310b348

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

barretenberg/cpp/bootstrap.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,13 @@ function test_cmds_native {
248248
local prefix=$hash
249249
# A little extra resource for these tests.
250250
# IPARecursiveTests fails with 2 threads.
251-
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest) ]]; then
251+
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
252252
prefix="$prefix:CPUS=4:MEM=8g"
253253
fi
254+
# These tests routinely take 400-600s in debug builds; bump from the 600s default.
255+
if [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
256+
prefix="$prefix:TIMEOUT=900s"
257+
fi
254258
echo -e "$prefix barretenberg/cpp/scripts/run_test.sh $bin_name $test"
255259
done || (echo "Failed to list tests in $bin" && exit 1)
256260
done

0 commit comments

Comments
 (0)