Parent Log: http://ci.aztec-labs.com/da84e1400af72320 Command: 84c999e211bb73e4 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/3863bc02d671057d0cffd4ced17ca317788ff190 Env: REF_NAME=gh-readonly-queue/staging/pr-15238-db396f13b7ef374a230174bdc4078d9fbb3c788a CURRENT_VERSION=1.0.0 CI_FULL=1 Date: Tue Jun 24 12:12:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15238_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_staging 12:12:40 [12:12:40.664] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 12:12:45 [12:12:45.163] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 12:12:45 [12:12:45.983] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-WYc9XP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:46 [12:12:46.286] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Xurzju/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:46 [12:12:46.547] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KhxcDB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:46 [12:12:46.805] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-DTL2CE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:47 [12:12:47.051] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-sVx0Xc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:47 [12:12:47.318] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-o3fFGJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:47 [12:12:47.628] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Sl60rU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:47 [12:12:47.910] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ER9aZP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:48 [12:12:48.182] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AotgJE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:48 [12:12:48.468] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Jf4AEt/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 12:12:48 PASS src/public/avm/avm_simulator.test.ts (10.513 s) 12:12:48 AVM simulator: injected bytecode 12:12:48 Should execute bytecode that performs basic addition (9 ms) 12:12:48 Should halt if runs out of gas (3 ms) 12:12:48 An exceptional halt should consume all allocated gas (2 ms) 12:12:48 AVM simulator: transpiled Noir contracts 12:12:48 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 12:12:48 addition (39 ms) 12:12:48 addition via dispatch (228 ms) 12:12:48 get_args_hash via dispatch (62 ms) 12:12:48 modulo and u1 (31 ms) 12:12:48 Should handle calldata oracle (30 ms) 12:12:48 Should handle return oracle (28 ms) 12:12:48 Should handle revert oracle (25 ms) 12:12:48 ec_add should not revert (33 ms) 12:12:48 elliptic curve operations (28 ms) 12:12:48 pedersen commitment operations (41 ms) 12:12:48 conditional move operations (23 ms) 12:12:48 Logging (26 ms) 12:12:48 Assertion message (55 ms) 12:12:48 conversions (30 ms) 12:12:48 should be able to execute contracts that only have private functions (1 ms) 12:12:48 msm 12:12:48 low scalars (43 ms) 12:12:48 with a zero (22 ms) 12:12:48 high scalars (152 ms) 12:12:48 U128 addition and overflows 12:12:48 U128 addition (31 ms) 12:12:48 Expect failure on U128::add() overflow (42 ms) 12:12:48 SET functions 12:12:48 function 'set_opcode_u8' (21 ms) 12:12:48 function 'set_opcode_u32' (19 ms) 12:12:48 function 'set_opcode_u64' (27 ms) 12:12:48 function 'set_opcode_small_field' (22 ms) 12:12:48 function 'set_opcode_big_field' (21 ms) 12:12:48 function 'set_opcode_really_big_field' (19 ms) 12:12:48 Hashes in noir contracts 12:12:48 Should execute contract function that performs sha256_hash_10 on input of length 10 (39 ms) 12:12:48 Should execute contract function that performs sha256_hash_20 on input of length 20 (26 ms) 12:12:48 Should execute contract function that performs sha256_hash_30 on input of length 30 (27 ms) 12:12:48 Should execute contract function that performs sha256_hash_40 on input of length 40 (38 ms) 12:12:48 Should execute contract function that performs sha256_hash_50 on input of length 50 (41 ms) 12:12:48 Should execute contract function that performs sha256_hash_60 on input of length 60 (45 ms) 12:12:48 Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms) 12:12:48 Should execute contract function that performs sha256_hash_80 on input of length 80 (36 ms) 12:12:48 Should execute contract function that performs sha256_hash_90 on input of length 90 (37 ms) 12:12:48 Should execute contract function that performs sha256_hash_100 on input of length 100 (40 ms) 12:12:48 Should execute contract function that performs sha256_hash_255 on input of length 255 (71 ms) 12:12:48 Should execute contract function that performs sha256_hash_256 on input of length 256 (98 ms) 12:12:48 Should execute contract function that performs sha256_hash_511 on input of length 511 (149 ms) 12:12:48 Should execute contract function that performs sha256_hash_512 on input of length 512 (154 ms) 12:12:48 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (516 ms) 12:12:48 Should execute contract function that performs keccak_hash on input of length 10 (47 ms) 12:12:48 Should execute contract function that performs keccak_f1600 on input of length 25 (19 ms) 12:12:48 Should execute contract function that performs poseidon2_hash on input of length 10 (19 ms) 12:12:48 Should execute contract function that performs pedersen_hash on input of length 10 (581 ms) 12:12:48 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (512 ms) 12:12:48 Environment getters 12:12:48 address getter (27 ms) 12:12:48 sender getter (29 ms) 12:12:48 transactionFee getter (37 ms) 12:12:48 chainId getter (24 ms) 12:12:48 version getter (30 ms) 12:12:48 blockNumber getter (32 ms) 12:12:48 timestamp getter (25 ms) 12:12:48 feePerDaGas getter (22 ms) 12:12:48 feePerL2Gas getter (25 ms) 12:12:48 Side effects, world state, nested calls 12:12:48 Should append a new note hash correctly (35 ms) 12:12:48 Should append a new nullifier correctly (26 ms) 12:12:48 Note hash checks 12:12:48 Should return false (and be traced) when noteHash does NOT exist (24 ms) 12:12:48 Should return true (and be traced) when noteHash DOES exist (17 ms) 12:12:48 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms) 12:12:48 Nullifier checks 12:12:48 Should return false (and be traced) when nullifier does NOT exist (27 ms) 12:12:48 Should return true (and be traced) when nullifier DOES exist (24 ms) 12:12:48 L1ToL2 message checks 12:12:48 Should return false (and be traced) when message does NOT exist (24 ms) 12:12:48 Should return true (and be traced) when message DOES exist (28 ms) 12:12:48 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (37 ms) 12:12:48 Cached nullifiers 12:12:48 Emits a nullifier and checks its existence (20 ms) 12:12:48 Emits same nullifier twice (expect failure) (25 ms) 12:12:48 Public Logs 12:12:48 Emit public logs (should be traced) (39 ms) 12:12:48 Public storage accesses 12:12:48 Should set value in storage (single) (23 ms) 12:12:48 Should read value in storage (single) (25 ms) 12:12:48 Should set and read a value from storage (single) (21 ms) 12:12:48 Should set a value in storage (list) (21 ms) 12:12:48 Should read a value in storage (list) (20 ms) 12:12:48 Should set a value in storage (map) (28 ms) 12:12:48 Should read-add-set a value in storage (map) (33 ms) 12:12:48 Should read value in storage (map) (20 ms) 12:12:48 Contract Instance Retrieval 12:12:48 Can getContractInstance (22 ms) 12:12:48 Nested external calls 12:12:48 Nested call to non-existent contract (26 ms) 12:12:48 Nested call (153 ms) 12:12:48 Nested static call (114 ms) 12:12:48 Nested call with not enough gas (expect failure) (109 ms) 12:12:48 Nested static call which modifies storage (expect failure) (113 ms) 12:12:48 Nested calls rethrow exceptions (140 ms) 12:12:48 Should handle returndatacopy oracle (125 ms) 12:12:48 Side effect trace errors on overflow 12:12:48 Overrun of Public storage writes (8 ms) 12:12:48 Overrun of New note hashes (15 ms) 12:12:48 Overrun of New nullifiers (13 ms) 12:12:48 Overrun of New unencrypted logs (2 ms) 12:12:48 Overrun of New L1 to L2 messages (2 ms) 12:12:48 Side effects including merkle checks 12:12:48 Note hashes 12:12:48 Should append new note hash correctly (315 ms) 12:12:48 Note hash check properly returns exists=false (260 ms) 12:12:48 Note hash check properly returns exists=true (257 ms) 12:12:48 Nullifiers 12:12:48 Should append a new nullifier correctly (245 ms) 12:12:48 Nullifier check properly returns exists=false (267 ms) 12:12:48 Nullifier check properly returns exists=true (309 ms) 12:12:48 Public storage accesses 12:12:48 Should set value in storage (single) (280 ms) 12:12:48 Should read value in storage (single) - never written (273 ms) 12:12:48 Should read value in storage (single) - written before, leaf exists (279 ms) 12:12:48 Should set and read value in storage (single) (266 ms) 12:12:48 12:12:48 Test Suites: 1 passed, 1 total 12:12:48 Tests: 103 passed, 103 total 12:12:48 Snapshots: 0 total 12:12:48 Time: 10.614 s 12:12:48 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 12:12:48 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?