From 7dbc6af745721833e98c7440ac67a6dcc738783c Mon Sep 17 00:00:00 2001 From: AztecBot Date: Sun, 31 May 2026 05:02:10 +0000 Subject: [PATCH] fix(ci): raise AVM check-circuit per-tx timeout to 120s The avm-check-circuit job runs bb-avm avm_check_circuit on every dumped e2e AVM input under a fixed 30s per-tx timeout. The e2e_multiple_blobs tx produces a ~700k-row trace whose simulation + trace generation alone takes ~23s on the 2-CPU isolation container, and the subsequent circuit check pushed the run past 30s (observed 35s, killed with code 124), failing the whole job while every other input passed in 4-6s. This is the scenario the existing in-code warning anticipated. Raise the timeout to 120s to give ample headroom for the heaviest txs. Resources are left unchanged: with up to 64 jobs in parallel on a 128-CPU host, bumping --cpus would oversubscribe the runner, and a longer timeout is resource -neutral since small txs still finish in seconds. --- yarn-project/end-to-end/bootstrap.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/bootstrap.sh b/yarn-project/end-to-end/bootstrap.sh index 011679338e8f..cdf42ba0c076 100755 --- a/yarn-project/end-to-end/bootstrap.sh +++ b/yarn-project/end-to-end/bootstrap.sh @@ -200,9 +200,12 @@ function avm_check_circuit_cmds { # Specify timeout and resources # WARNING: theoretically, transactions could need more CPU and MEM than we allocate by default. - # In that case, they might start timing out. For now, all of the e2e test txs seem to be relatively - # small and the AVM can run check-circuit with limited resources. - local prefix="$hash:ISOLATE=1:TIMEOUT=30s" + # In that case, they might start timing out. Most e2e test txs are small and check-circuit finishes + # in a few seconds, but heavier ones (e.g. e2e_multiple_blobs produces a ~700k-row trace) take much + # longer on the 2-CPU container, so the timeout is set well above the largest observed runtime. + # Resources are deliberately left at the default: with up to 64 jobs running in parallel on a + # 128-CPU host, raising --cpus would oversubscribe the runner. + local prefix="$hash:ISOLATE=1:TIMEOUT=120s" # Find all .bin files in the dump directory (handles nested dirs) for input_file in "$default_avm_inputs_dump_dir"/*/*.bin "$default_avm_inputs_dump_dir"/*/*/*.bin; do