Parent Log: http://ci.aztec-labs.com/3930f3da8e0771bb Command: d5ace37751aeb3b2 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b Env: REF_NAME=gh-readonly-queue/next/pr-15185-107a625e4a5b124b87c02fa9ff2ae12b5778baa9 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 14:50:21 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15185_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 14:50:25 [14:50:25.133] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 14:50:29 [14:50:29.380] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 14:50:30 [14:50:30.238] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-1ThWfF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:30 [14:50:30.517] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FOQhk3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:30 [14:50:30.825] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wHgj6h/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:31 [14:50:31.088] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-gt94jv/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:31 [14:50:31.324] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-yOoku0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:31 [14:50:31.575] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-gdikhz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:31 [14:50:31.829] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-oZN9B5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:32 [14:50:32.081] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-0qVeIR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:32 [14:50:32.370] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-9T0O3Y/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:32 [14:50:32.665] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kwgzav/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:50:32 PASS src/public/avm/avm_simulator.test.ts (10.524 s) 14:50:32 AVM simulator: injected bytecode 14:50:32 Should execute bytecode that performs basic addition (7 ms) 14:50:32 Should halt if runs out of gas (3 ms) 14:50:32 An exceptional halt should consume all allocated gas (2 ms) 14:50:32 AVM simulator: transpiled Noir contracts 14:50:32 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 14:50:32 addition (29 ms) 14:50:32 addition via dispatch (226 ms) 14:50:32 get_args_hash via dispatch (48 ms) 14:50:32 modulo and u1 (30 ms) 14:50:32 Should handle calldata oracle (27 ms) 14:50:32 Should handle return oracle (18 ms) 14:50:32 Should handle revert oracle (26 ms) 14:50:32 ec_add should not revert (27 ms) 14:50:32 elliptic curve operations (28 ms) 14:50:32 pedersen commitment operations (56 ms) 14:50:32 conditional move operations (26 ms) 14:50:32 Logging (35 ms) 14:50:32 Assertion message (58 ms) 14:50:32 conversions (18 ms) 14:50:32 should be able to execute contracts that only have private functions (2 ms) 14:50:32 msm 14:50:32 low scalars (37 ms) 14:50:32 with a zero (24 ms) 14:50:32 high scalars (179 ms) 14:50:32 U128 addition and overflows 14:50:32 U128 addition (26 ms) 14:50:32 Expect failure on U128::add() overflow (43 ms) 14:50:32 SET functions 14:50:32 function 'set_opcode_u8' (41 ms) 14:50:32 function 'set_opcode_u32' (23 ms) 14:50:32 function 'set_opcode_u64' (20 ms) 14:50:32 function 'set_opcode_small_field' (29 ms) 14:50:32 function 'set_opcode_big_field' (28 ms) 14:50:32 function 'set_opcode_really_big_field' (30 ms) 14:50:32 Hashes in noir contracts 14:50:32 Should execute contract function that performs sha256_hash_10 on input of length 10 (41 ms) 14:50:32 Should execute contract function that performs sha256_hash_20 on input of length 20 (36 ms) 14:50:32 Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms) 14:50:32 Should execute contract function that performs sha256_hash_40 on input of length 40 (33 ms) 14:50:32 Should execute contract function that performs sha256_hash_50 on input of length 50 (37 ms) 14:50:32 Should execute contract function that performs sha256_hash_60 on input of length 60 (38 ms) 14:50:32 Should execute contract function that performs sha256_hash_70 on input of length 70 (42 ms) 14:50:32 Should execute contract function that performs sha256_hash_80 on input of length 80 (48 ms) 14:50:32 Should execute contract function that performs sha256_hash_90 on input of length 90 (38 ms) 14:50:32 Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms) 14:50:32 Should execute contract function that performs sha256_hash_255 on input of length 255 (71 ms) 14:50:32 Should execute contract function that performs sha256_hash_256 on input of length 256 (63 ms) 14:50:32 Should execute contract function that performs sha256_hash_511 on input of length 511 (119 ms) 14:50:32 Should execute contract function that performs sha256_hash_512 on input of length 512 (111 ms) 14:50:32 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (489 ms) 14:50:32 Should execute contract function that performs keccak_hash on input of length 10 (47 ms) 14:50:32 Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms) 14:50:32 Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms) 14:50:32 Should execute contract function that performs pedersen_hash on input of length 10 (473 ms) 14:50:32 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (504 ms) 14:50:32 Environment getters 14:50:32 address getter (30 ms) 14:50:32 sender getter (26 ms) 14:50:32 transactionFee getter (31 ms) 14:50:32 chainId getter (30 ms) 14:50:32 version getter (29 ms) 14:50:32 blockNumber getter (18 ms) 14:50:32 timestamp getter (16 ms) 14:50:32 feePerDaGas getter (18 ms) 14:50:32 feePerL2Gas getter (16 ms) 14:50:32 Side effects, world state, nested calls 14:50:32 Should append a new note hash correctly (27 ms) 14:50:32 Should append a new nullifier correctly (28 ms) 14:50:32 Note hash checks 14:50:32 Should return false (and be traced) when noteHash does NOT exist (37 ms) 14:50:32 Should return true (and be traced) when noteHash DOES exist (17 ms) 14:50:32 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (16 ms) 14:50:32 Nullifier checks 14:50:32 Should return false (and be traced) when nullifier does NOT exist (19 ms) 14:50:32 Should return true (and be traced) when nullifier DOES exist (30 ms) 14:50:32 L1ToL2 message checks 14:50:32 Should return false (and be traced) when message does NOT exist (23 ms) 14:50:32 Should return true (and be traced) when message DOES exist (24 ms) 14:50:32 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 14:50:32 Cached nullifiers 14:50:32 Emits a nullifier and checks its existence (22 ms) 14:50:32 Emits same nullifier twice (expect failure) (31 ms) 14:50:32 Public Logs 14:50:32 Emit public logs (should be traced) (57 ms) 14:50:32 Public storage accesses 14:50:32 Should set value in storage (single) (27 ms) 14:50:32 Should read value in storage (single) (20 ms) 14:50:32 Should set and read a value from storage (single) (23 ms) 14:50:32 Should set a value in storage (list) (20 ms) 14:50:32 Should read a value in storage (list) (17 ms) 14:50:32 Should set a value in storage (map) (25 ms) 14:50:32 Should read-add-set a value in storage (map) (34 ms) 14:50:32 Should read value in storage (map) (27 ms) 14:50:32 Contract Instance Retrieval 14:50:32 Can getContractInstance (23 ms) 14:50:32 Nested external calls 14:50:32 Nested call to non-existent contract (24 ms) 14:50:32 Nested call (156 ms) 14:50:32 Nested static call (147 ms) 14:50:32 Nested call with not enough gas (expect failure) (107 ms) 14:50:32 Nested static call which modifies storage (expect failure) (106 ms) 14:50:32 Nested calls rethrow exceptions (139 ms) 14:50:32 Should handle returndatacopy oracle (130 ms) 14:50:32 Side effect trace errors on overflow 14:50:32 Overrun of Public storage writes (12 ms) 14:50:32 Overrun of New note hashes (21 ms) 14:50:32 Overrun of New nullifiers (13 ms) 14:50:32 Overrun of New unencrypted logs (3 ms) 14:50:32 Overrun of New L1 to L2 messages (3 ms) 14:50:32 Side effects including merkle checks 14:50:32 Note hashes 14:50:32 Should append new note hash correctly (286 ms) 14:50:32 Note hash check properly returns exists=false (302 ms) 14:50:32 Note hash check properly returns exists=true (268 ms) 14:50:32 Nullifiers 14:50:32 Should append a new nullifier correctly (233 ms) 14:50:32 Nullifier check properly returns exists=false (253 ms) 14:50:32 Nullifier check properly returns exists=true (254 ms) 14:50:32 Public storage accesses 14:50:32 Should set value in storage (single) (252 ms) 14:50:32 Should read value in storage (single) - never written (278 ms) 14:50:32 Should read value in storage (single) - written before, leaf exists (303 ms) 14:50:32 Should set and read value in storage (single) (283 ms) 14:50:32 14:50:32 Test Suites: 1 passed, 1 total 14:50:32 Tests: 103 passed, 103 total 14:50:32 Snapshots: 0 total 14:50:32 Time: 10.624 s 14:50:32 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 14:50:32 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?