Parent Log:
http://ci.aztec-labs.com/fd1e4573060c2f4f
Command: 03ab2c8f0cfe2a95 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/77a00686be4080a71b03d68671da6c8b270b62aa
Env: REF_NAME=gh-readonly-queue/next/pr-14961-fa23733be8278348dff0959c8094bcfd89eb44d5 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 10:50:28 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14961_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:50:31 [10:50:31.786]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:50:35 [10:50:35.577]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:50:36 [10:50:36.978]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2hvx2I/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:37 [10:50:37.222]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-VyFY4T/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:37 [10:50:37.452]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-S46Blp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:37 [10:50:37.708]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZLr8N1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:37 [10:50:37.929]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-SO2Zhm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:38 [10:50:38.144]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-tCwQ2s/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:38 [10:50:38.354]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OKleVx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:38 [10:50:38.559]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-TNnco9/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:38 [10:50:38.838]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wy41TC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:39 [10:50:39.081]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Jq3zVa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:50:39
PASS src/public/avm/avm_simulator.test.ts (
10.275 s)
10:50:39 AVM simulator: injected bytecode
10:50:39
✓ Should execute bytecode that performs basic addition (6 ms)
10:50:39
✓ Should halt if runs out of gas (2 ms)
10:50:39
✓ An exceptional halt should consume all allocated gas (1 ms)
10:50:39 AVM simulator: transpiled Noir contracts
10:50:39
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
10:50:39
✓ addition (31 ms)
10:50:39
✓ addition via dispatch (272 ms)
10:50:39
✓ get_args_hash via dispatch (61 ms)
10:50:39
✓ modulo and u1 (24 ms)
10:50:39
✓ Should handle calldata oracle (30 ms)
10:50:39
✓ Should handle return oracle (29 ms)
10:50:39
✓ Should handle revert oracle (20 ms)
10:50:39
✓ ec_add should not revert (18 ms)
10:50:39
✓ elliptic curve operations (26 ms)
10:50:39
✓ pedersen commitment operations (35 ms)
10:50:39
✓ conditional move operations (26 ms)
10:50:39
✓ Logging (30 ms)
10:50:39
✓ Assertion message (38 ms)
10:50:39
✓ conversions (15 ms)
10:50:39
✓ should be able to execute contracts that only have private functions (2 ms)
10:50:39 msm
10:50:39
✓ low scalars (43 ms)
10:50:39
✓ with a zero (30 ms)
10:50:39
✓ high scalars (173 ms)
10:50:39 U128 addition and overflows
10:50:39
✓ U128 addition (23 ms)
10:50:39
✓ Expect failure on U128::add() overflow (48 ms)
10:50:39 SET functions
10:50:39
✓ function 'set_opcode_u8' (15 ms)
10:50:39
✓ function 'set_opcode_u32' (12 ms)
10:50:39
✓ function 'set_opcode_u64' (18 ms)
10:50:39
✓ function 'set_opcode_small_field' (30 ms)
10:50:39
✓ function 'set_opcode_big_field' (16 ms)
10:50:39
✓ function 'set_opcode_really_big_field' (17 ms)
10:50:39 Hashes in noir contracts
10:50:39
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (22 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (41 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (20 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (22 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (26 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (43 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (25 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (49 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (39 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (37 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (82 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (60 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (116 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (126 ms)
10:50:39
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (410 ms)
10:50:39
✓ Should execute contract function that performs keccak_hash on input of length 10 (47 ms)
10:50:39
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (9 ms)
10:50:39
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (17 ms)
10:50:39
✓ Should execute contract function that performs pedersen_hash on input of length 10 (430 ms)
10:50:39
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (410 ms)
10:50:39 Environment getters
10:50:39
✓ address getter (24 ms)
10:50:39
✓ sender getter (14 ms)
10:50:39
✓ transactionFee getter (13 ms)
10:50:39
✓ chainId getter (12 ms)
10:50:39
✓ version getter (12 ms)
10:50:39
✓ blockNumber getter (23 ms)
10:50:39
✓ timestamp getter (26 ms)
10:50:39
✓ feePerDaGas getter (14 ms)
10:50:39
✓ feePerL2Gas getter (20 ms)
10:50:39 Side effects, world state, nested calls
10:50:39
✓ Should append a new note hash correctly (23 ms)
10:50:39
✓ Should append a new nullifier correctly (15 ms)
10:50:39 Note hash checks
10:50:39
✓ Should return false (and be traced) when noteHash does NOT exist (15 ms)
10:50:39
✓ Should return true (and be traced) when noteHash DOES exist (29 ms)
10:50:39
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (14 ms)
10:50:39 Nullifier checks
10:50:39
✓ Should return false (and be traced) when nullifier does NOT exist (14 ms)
10:50:39
✓ Should return true (and be traced) when nullifier DOES exist (22 ms)
10:50:39 L1ToL2 message checks
10:50:39
✓ Should return false (and be traced) when message does NOT exist (16 ms)
10:50:39
✓ Should return true (and be traced) when message DOES exist (17 ms)
10:50:39
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
10:50:39 Cached nullifiers
10:50:39
✓ Emits a nullifier and checks its existence (20 ms)
10:50:39
✓ Emits same nullifier twice (expect failure) (26 ms)
10:50:39 Public Logs
10:50:39
✓ Emit public logs (should be traced) (38 ms)
10:50:39 Public storage accesses
10:50:39
✓ Should set value in storage (single) (15 ms)
10:50:39
✓ Should read value in storage (single) (17 ms)
10:50:39
✓ Should set and read a value from storage (single) (24 ms)
10:50:39
✓ Should set a value in storage (list) (21 ms)
10:50:39
✓ Should read a value in storage (list) (23 ms)
10:50:39
✓ Should set a value in storage (map) (22 ms)
10:50:39
✓ Should read-add-set a value in storage (map) (33 ms)
10:50:39
✓ Should read value in storage (map) (30 ms)
10:50:39 Contract Instance Retrieval
10:50:39
✓ Can getContractInstance (17 ms)
10:50:39 Nested external calls
10:50:39
✓ Nested call to non-existent contract (18 ms)
10:50:39
✓ Nested call (244 ms)
10:50:39
✓ Nested static call (201 ms)
10:50:39
✓ Nested call with not enough gas (expect failure) (196 ms)
10:50:39
✓ Nested static call which modifies storage (expect failure) (220 ms)
10:50:39
✓ Nested calls rethrow exceptions (275 ms)
10:50:39
✓ Should handle returndatacopy oracle (206 ms)
10:50:39 Side effect trace errors on overflow
10:50:39
✓ Overrun of Public storage writes (9 ms)
10:50:39
✓ Overrun of New note hashes (19 ms)
10:50:39
✓ Overrun of New nullifiers (11 ms)
10:50:39
✓ Overrun of New unencrypted logs (2 ms)
10:50:39
✓ Overrun of New L1 to L2 messages (1 ms)
10:50:39 Side effects including merkle checks
10:50:39 Note hashes
10:50:39
✓ Should append new note hash correctly (246 ms)
10:50:39
✓ Note hash check properly returns exists=false (231 ms)
10:50:39
✓ Note hash check properly returns exists=true (255 ms)
10:50:39 Nullifiers
10:50:39
✓ Should append a new nullifier correctly (222 ms)
10:50:39
✓ Nullifier check properly returns exists=false (216 ms)
10:50:39
✓ Nullifier check properly returns exists=true (210 ms)
10:50:39 Public storage accesses
10:50:39
✓ Should set value in storage (single) (205 ms)
10:50:39
✓ Should read value in storage (single) - never written (277 ms)
10:50:39
✓ Should read value in storage (single) - written before, leaf exists (244 ms)
10:50:39
✓ Should set and read value in storage (single) (248 ms)
10:50:39
10:50:39
Test Suites: 1 passed, 1 total
10:50:39
Tests: 103 passed, 103 total
10:50:39
Snapshots: 0 total
10:50:39
Time: 10.385 s
10:50:39
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
10:50:39
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?