Parent Log:
http://ci.aztec-labs.com/9d7da2703e486f3c
Command: 404189e96871acec yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/23ff13c6b16a0c1333bf26aa5c213054c92403c3
Env: REF_NAME=gh-readonly-queue/next/pr-15062-a0944d6ab9d5708daa7ff219a932e7b3784c6637 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 16:47:27 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15062_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
16:47:31 [16:47:31.322]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
16:47:35 [16:47:35.847]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
16:47:36 [16:47:36.697]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-0l64J7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:36 [16:47:36.976]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oRxkul/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:37 [16:47:37.194]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-AtzRW3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:37 [16:47:37.464]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oDR8CU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:37 [16:47:37.740]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-1bltLZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:38 [16:47:38.003]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oipawT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:38 [16:47:38.290]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-b0Kmer/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:38 [16:47:38.547]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-37PtgJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:38 [16:47:38.851]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-EjxoVt/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:39 [16:47:39.129]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gD81Dq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:47:39
PASS src/public/avm/avm_simulator.test.ts (
10.733 s)
16:47:39 AVM simulator: injected bytecode
16:47:39
✓ Should execute bytecode that performs basic addition (9 ms)
16:47:39
✓ Should halt if runs out of gas (3 ms)
16:47:39
✓ An exceptional halt should consume all allocated gas (3 ms)
16:47:39 AVM simulator: transpiled Noir contracts
16:47:39
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
16:47:39
✓ addition (40 ms)
16:47:39
✓ addition via dispatch (234 ms)
16:47:39
✓ get_args_hash via dispatch (49 ms)
16:47:39
✓ modulo and u1 (36 ms)
16:47:39
✓ Should handle calldata oracle (26 ms)
16:47:39
✓ Should handle return oracle (30 ms)
16:47:39
✓ Should handle revert oracle (29 ms)
16:47:39
✓ ec_add should not revert (45 ms)
16:47:39
✓ elliptic curve operations (33 ms)
16:47:39
✓ pedersen commitment operations (48 ms)
16:47:39
✓ conditional move operations (35 ms)
16:47:39
✓ Logging (24 ms)
16:47:39
✓ Assertion message (59 ms)
16:47:39
✓ conversions (28 ms)
16:47:39
✓ should be able to execute contracts that only have private functions (2 ms)
16:47:39 msm
16:47:39
✓ low scalars (55 ms)
16:47:39
✓ with a zero (36 ms)
16:47:39
✓ high scalars (166 ms)
16:47:39 U128 addition and overflows
16:47:39
✓ U128 addition (28 ms)
16:47:39
✓ Expect failure on U128::add() overflow (38 ms)
16:47:39 SET functions
16:47:39
✓ function 'set_opcode_u8' (25 ms)
16:47:39
✓ function 'set_opcode_u32' (28 ms)
16:47:39
✓ function 'set_opcode_u64' (29 ms)
16:47:39
✓ function 'set_opcode_small_field' (30 ms)
16:47:39
✓ function 'set_opcode_big_field' (31 ms)
16:47:39
✓ function 'set_opcode_really_big_field' (28 ms)
16:47:39 Hashes in noir contracts
16:47:39
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (43 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (36 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (32 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (33 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (27 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (28 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (35 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (31 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (34 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (63 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (80 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (110 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (120 ms)
16:47:39
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (427 ms)
16:47:39
✓ Should execute contract function that performs keccak_hash on input of length 10 (63 ms)
16:47:39
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms)
16:47:39
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (18 ms)
16:47:39
✓ Should execute contract function that performs pedersen_hash on input of length 10 (622 ms)
16:47:39
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (513 ms)
16:47:39 Environment getters
16:47:39
✓ address getter (22 ms)
16:47:39
✓ sender getter (24 ms)
16:47:39
✓ transactionFee getter (16 ms)
16:47:39
✓ chainId getter (24 ms)
16:47:39
✓ version getter (37 ms)
16:47:39
✓ blockNumber getter (30 ms)
16:47:39
✓ timestamp getter (21 ms)
16:47:39
✓ feePerDaGas getter (28 ms)
16:47:39
✓ feePerL2Gas getter (27 ms)
16:47:39 Side effects, world state, nested calls
16:47:39
✓ Should append a new note hash correctly (28 ms)
16:47:39
✓ Should append a new nullifier correctly (31 ms)
16:47:39 Note hash checks
16:47:39
✓ Should return false (and be traced) when noteHash does NOT exist (31 ms)
16:47:39
✓ Should return true (and be traced) when noteHash DOES exist (29 ms)
16:47:39
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
16:47:39 Nullifier checks
16:47:39
✓ Should return false (and be traced) when nullifier does NOT exist (29 ms)
16:47:39
✓ Should return true (and be traced) when nullifier DOES exist (26 ms)
16:47:39 L1ToL2 message checks
16:47:39
✓ Should return false (and be traced) when message does NOT exist (25 ms)
16:47:39
✓ Should return true (and be traced) when message DOES exist (29 ms)
16:47:39
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
16:47:39 Cached nullifiers
16:47:39
✓ Emits a nullifier and checks its existence (27 ms)
16:47:39
✓ Emits same nullifier twice (expect failure) (29 ms)
16:47:39 Public Logs
16:47:39
✓ Emit public logs (should be traced) (59 ms)
16:47:39 Public storage accesses
16:47:39
✓ Should set value in storage (single) (31 ms)
16:47:39
✓ Should read value in storage (single) (24 ms)
16:47:39
✓ Should set and read a value from storage (single) (18 ms)
16:47:39
✓ Should set a value in storage (list) (24 ms)
16:47:39
✓ Should read a value in storage (list) (23 ms)
16:47:39
✓ Should set a value in storage (map) (47 ms)
16:47:39
✓ Should read-add-set a value in storage (map) (37 ms)
16:47:39
✓ Should read value in storage (map) (33 ms)
16:47:39 Contract Instance Retrieval
16:47:39
✓ Can getContractInstance (31 ms)
16:47:39 Nested external calls
16:47:39
✓ Nested call to non-existent contract (26 ms)
16:47:39
✓ Nested call (139 ms)
16:47:39
✓ Nested static call (147 ms)
16:47:39
✓ Nested call with not enough gas (expect failure) (109 ms)
16:47:39
✓ Nested static call which modifies storage (expect failure) (100 ms)
16:47:39
✓ Nested calls rethrow exceptions (135 ms)
16:47:39
✓ Should handle returndatacopy oracle (149 ms)
16:47:39 Side effect trace errors on overflow
16:47:39
✓ Overrun of Public storage writes (12 ms)
16:47:39
✓ Overrun of New note hashes (22 ms)
16:47:39
✓ Overrun of New nullifiers (13 ms)
16:47:39
✓ Overrun of New unencrypted logs (2 ms)
16:47:39
✓ Overrun of New L1 to L2 messages (1 ms)
16:47:39 Side effects including merkle checks
16:47:39 Note hashes
16:47:39
✓ Should append new note hash correctly (281 ms)
16:47:39
✓ Note hash check properly returns exists=false (220 ms)
16:47:39
✓ Note hash check properly returns exists=true (268 ms)
16:47:39 Nullifiers
16:47:39
✓ Should append a new nullifier correctly (278 ms)
16:47:39
✓ Nullifier check properly returns exists=false (264 ms)
16:47:39
✓ Nullifier check properly returns exists=true (285 ms)
16:47:39 Public storage accesses
16:47:39
✓ Should set value in storage (single) (257 ms)
16:47:39
✓ Should read value in storage (single) - never written (303 ms)
16:47:39
✓ Should read value in storage (single) - written before, leaf exists (277 ms)
16:47:39
✓ Should set and read value in storage (single) (258 ms)
16:47:39
16:47:39
Test Suites: 1 passed, 1 total
16:47:39
Tests: 103 passed, 103 total
16:47:39
Snapshots: 0 total
16:47:39
Time: 10.836 s
16:47:39
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
16:47:39
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?