Parent Log:
http://ci.aztec-labs.com/1d997b765e246008
Command: 5c58d0b0e69f02f7 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7339c264ad706420ee9babb0dd1b6ed793e97402
Env: REF_NAME=gh-readonly-queue/next/pr-15039-ddabb45f79cc171e41a0a5330544775de9fdf7fd CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 15:02:29 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15039_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
15:02:33 [15:02:33.029]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
15:02:37 [15:02:37.082]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
15:02:38 [15:02:38.684]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-UwbMSQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:38 [15:02:38.967]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Z9fM9p/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:39 [15:02:39.258]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7qy0jE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:39 [15:02:39.553]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8ks0vr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:39 [15:02:39.790]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IhVIeJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:40 [15:02:40.055]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-yV3hLA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:40 [15:02:40.323]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-w18Mkr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:40 [15:02:40.590]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-fnfQmU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:40 [15:02:40.855]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-tczM7l/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:41 [15:02:41.164]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wcHUSq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:02:41
PASS src/public/avm/avm_simulator.test.ts (
11.239 s)
15:02:41 AVM simulator: injected bytecode
15:02:41
✓ Should execute bytecode that performs basic addition (8 ms)
15:02:41
✓ Should halt if runs out of gas (3 ms)
15:02:41
✓ An exceptional halt should consume all allocated gas (2 ms)
15:02:41 AVM simulator: transpiled Noir contracts
15:02:41
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
15:02:41
✓ addition (22 ms)
15:02:41
✓ addition via dispatch (225 ms)
15:02:41
✓ get_args_hash via dispatch (58 ms)
15:02:41
✓ modulo and u1 (28 ms)
15:02:41
✓ Should handle calldata oracle (33 ms)
15:02:41
✓ Should handle return oracle (25 ms)
15:02:41
✓ Should handle revert oracle (18 ms)
15:02:41
✓ ec_add should not revert (22 ms)
15:02:41
✓ elliptic curve operations (17 ms)
15:02:41
✓ pedersen commitment operations (44 ms)
15:02:41
✓ conditional move operations (26 ms)
15:02:41
✓ Logging (28 ms)
15:02:41
✓ Assertion message (48 ms)
15:02:41
✓ conversions (24 ms)
15:02:41
✓ should be able to execute contracts that only have private functions (1 ms)
15:02:41 msm
15:02:41
✓ low scalars (43 ms)
15:02:41
✓ with a zero (24 ms)
15:02:41
✓ high scalars (131 ms)
15:02:41 U128 addition and overflows
15:02:41
✓ U128 addition (26 ms)
15:02:41
✓ Expect failure on U128::add() overflow (49 ms)
15:02:41 SET functions
15:02:41
✓ function 'set_opcode_u8' (26 ms)
15:02:41
✓ function 'set_opcode_u32' (13 ms)
15:02:41
✓ function 'set_opcode_u64' (13 ms)
15:02:41
✓ function 'set_opcode_small_field' (16 ms)
15:02:41
✓ function 'set_opcode_big_field' (13 ms)
15:02:41
✓ function 'set_opcode_really_big_field' (14 ms)
15:02:41 Hashes in noir contracts
15:02:41
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (25 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (24 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (34 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (31 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (32 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (23 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (44 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (47 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (51 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (46 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (72 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (74 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (123 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (133 ms)
15:02:41
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (500 ms)
15:02:41
✓ Should execute contract function that performs keccak_hash on input of length 10 (60 ms)
15:02:41
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (18 ms)
15:02:41
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms)
15:02:41
✓ Should execute contract function that performs pedersen_hash on input of length 10 (503 ms)
15:02:41
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (423 ms)
15:02:41 Environment getters
15:02:41
✓ address getter (15 ms)
15:02:41
✓ sender getter (15 ms)
15:02:41
✓ transactionFee getter (14 ms)
15:02:41
✓ chainId getter (12 ms)
15:02:41
✓ version getter (21 ms)
15:02:41
✓ blockNumber getter (23 ms)
15:02:41
✓ timestamp getter (21 ms)
15:02:41
✓ feePerDaGas getter (24 ms)
15:02:41
✓ feePerL2Gas getter (15 ms)
15:02:41 Side effects, world state, nested calls
15:02:41
✓ Should append a new note hash correctly (18 ms)
15:02:41
✓ Should append a new nullifier correctly (42 ms)
15:02:41 Note hash checks
15:02:41
✓ Should return false (and be traced) when noteHash does NOT exist (29 ms)
15:02:41
✓ Should return true (and be traced) when noteHash DOES exist (15 ms)
15:02:41
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (15 ms)
15:02:41 Nullifier checks
15:02:41
✓ Should return false (and be traced) when nullifier does NOT exist (26 ms)
15:02:41
✓ Should return true (and be traced) when nullifier DOES exist (22 ms)
15:02:41 L1ToL2 message checks
15:02:41
✓ Should return false (and be traced) when message does NOT exist (29 ms)
15:02:41
✓ Should return true (and be traced) when message DOES exist (24 ms)
15:02:41
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (13 ms)
15:02:41 Cached nullifiers
15:02:41
✓ Emits a nullifier and checks its existence (27 ms)
15:02:41
✓ Emits same nullifier twice (expect failure) (30 ms)
15:02:41 Public Logs
15:02:41
✓ Emit public logs (should be traced) (67 ms)
15:02:41 Public storage accesses
15:02:41
✓ Should set value in storage (single) (20 ms)
15:02:41
✓ Should read value in storage (single) (18 ms)
15:02:41
✓ Should set and read a value from storage (single) (23 ms)
15:02:41
✓ Should set a value in storage (list) (27 ms)
15:02:41
✓ Should read a value in storage (list) (23 ms)
15:02:41
✓ Should set a value in storage (map) (26 ms)
15:02:41
✓ Should read-add-set a value in storage (map) (37 ms)
15:02:41
✓ Should read value in storage (map) (18 ms)
15:02:41 Contract Instance Retrieval
15:02:41
✓ Can getContractInstance (26 ms)
15:02:41 Nested external calls
15:02:41
✓ Nested call to non-existent contract (18 ms)
15:02:41
✓ Nested call (252 ms)
15:02:41
✓ Nested static call (255 ms)
15:02:41
✓ Nested call with not enough gas (expect failure) (253 ms)
15:02:41
✓ Nested static call which modifies storage (expect failure) (199 ms)
15:02:41
✓ Nested calls rethrow exceptions (300 ms)
15:02:41
✓ Should handle returndatacopy oracle (285 ms)
15:02:41 Side effect trace errors on overflow
15:02:41
✓ Overrun of Public storage writes (9 ms)
15:02:41
✓ Overrun of New note hashes (15 ms)
15:02:41
✓ Overrun of New nullifiers (11 ms)
15:02:41
✓ Overrun of New unencrypted logs (2 ms)
15:02:41
✓ Overrun of New L1 to L2 messages (2 ms)
15:02:41 Side effects including merkle checks
15:02:41 Note hashes
15:02:41
✓ Should append new note hash correctly (285 ms)
15:02:41
✓ Note hash check properly returns exists=false (291 ms)
15:02:41
✓ Note hash check properly returns exists=true (294 ms)
15:02:41 Nullifiers
15:02:41
✓ Should append a new nullifier correctly (240 ms)
15:02:41
✓ Nullifier check properly returns exists=false (263 ms)
15:02:41
✓ Nullifier check properly returns exists=true (268 ms)
15:02:41 Public storage accesses
15:02:41
✓ Should set value in storage (single) (266 ms)
15:02:41
✓ Should read value in storage (single) - never written (264 ms)
15:02:41
✓ Should read value in storage (single) - written before, leaf exists (307 ms)
15:02:41
✓ Should set and read value in storage (single) (268 ms)
15:02:41
15:02:41
Test Suites: 1 passed, 1 total
15:02:41
Tests: 103 passed, 103 total
15:02:41
Snapshots: 0 total
15:02:41
Time: 11.333 s
15:02:41
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
15:02:41
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?