Skip to content

fix: increase test timeout for heavy recursion tests in debug build#22347

Merged
federicobarbacovi merged 1 commit intomerge-train/barretenbergfrom
claudebox/fix-bb-debug-test-timeout
Apr 7, 2026
Merged

fix: increase test timeout for heavy recursion tests in debug build#22347
federicobarbacovi merged 1 commit intomerge-train/barretenbergfrom
claudebox/fix-bb-debug-test-timeout

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented Apr 7, 2026

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

HonkRecursionConstraintTest and ChonkRecursionConstraintTest routinely
take 400-600s in debug builds (with _GLIBCXX_DEBUG). The default 600s
timeout caused HonkRecursionConstraintTestWithoutPredicate/2.GenerateVKFromConstraints
(root rollup circuit) to be killed at 601s with exit code 124.

Bump timeout to 900s for these test suites and add ChonkRecursionConstraintTest
to the CPUS=4:MEM=8g resource allocation.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 7, 2026
@federicobarbacovi federicobarbacovi self-requested a review April 7, 2026 19:19
@federicobarbacovi federicobarbacovi marked this pull request as ready for review April 7, 2026 19:19
@federicobarbacovi federicobarbacovi added this pull request to the merge queue Apr 7, 2026
@federicobarbacovi federicobarbacovi removed this pull request from the merge queue due to a manual request Apr 7, 2026
@federicobarbacovi federicobarbacovi changed the base branch from next to merge-train/barretenberg April 7, 2026 19:39
@federicobarbacovi federicobarbacovi merged commit 310b348 into merge-train/barretenberg Apr 7, 2026
47 of 51 checks passed
@federicobarbacovi federicobarbacovi deleted the claudebox/fix-bb-debug-test-timeout branch April 7, 2026 19:40
AztecBot added a commit that referenced this pull request Apr 8, 2026
Port timeout fix from merge-train/barretenberg (PR #22347) to next.
HonkRecursionConstraintTest and ChonkRecursionConstraintTest routinely
take 400-600s in debug builds, exceeding the 600s default. Bump to
900s and add ChonkRecursionConstraintTest to the CPUS=4:MEM=8g group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants