Parent Log: http://ci.aztec-labs.com/7d83d82915cf08a3 Command: 56d3c530a47f3a72 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9071986bfe3af58c70d2c80c10f523e22bfe4cb4 Env: REF_NAME=gh-readonly-queue/next/pr-15133-64d1ec347b1cea9fa1b04ff6fc2984f8ee073b2b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 14:52:29 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15133_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 14:52:33 [14:52:33.199] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 14:52:37 [14:52:37.871] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 14:52:38 [14:52:38.778] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-q64dh2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:39 [14:52:39.048] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-qPnBMp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:39 [14:52:39.287] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KU5USo/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:39 [14:52:39.582] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-my7Iva/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:39 [14:52:39.844] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-rxLQiR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:40 [14:52:40.107] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Z7dnKh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:40 [14:52:40.397] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-bsU5kI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:40 [14:52:40.674] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-rA15Ag/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:40 [14:52:40.919] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ONRORO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:41 [14:52:41.147] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-k8VbRC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:52:41 PASS src/public/avm/avm_simulator.test.ts (10.942 s) 14:52:41 AVM simulator: injected bytecode 14:52:41 Should execute bytecode that performs basic addition (9 ms) 14:52:41 Should halt if runs out of gas (3 ms) 14:52:41 An exceptional halt should consume all allocated gas (2 ms) 14:52:41 AVM simulator: transpiled Noir contracts 14:52:41 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 14:52:41 addition (37 ms) 14:52:41 addition via dispatch (288 ms) 14:52:41 get_args_hash via dispatch (65 ms) 14:52:41 modulo and u1 (38 ms) 14:52:41 Should handle calldata oracle (33 ms) 14:52:41 Should handle return oracle (36 ms) 14:52:41 Should handle revert oracle (33 ms) 14:52:41 ec_add should not revert (20 ms) 14:52:41 elliptic curve operations (21 ms) 14:52:41 pedersen commitment operations (56 ms) 14:52:41 conditional move operations (38 ms) 14:52:41 Logging (27 ms) 14:52:41 Assertion message (59 ms) 14:52:41 conversions (32 ms) 14:52:41 should be able to execute contracts that only have private functions (1 ms) 14:52:41 msm 14:52:41 low scalars (49 ms) 14:52:41 with a zero (40 ms) 14:52:41 high scalars (179 ms) 14:52:41 U128 addition and overflows 14:52:41 U128 addition (30 ms) 14:52:41 Expect failure on U128::add() overflow (66 ms) 14:52:41 SET functions 14:52:41 function 'set_opcode_u8' (17 ms) 14:52:41 function 'set_opcode_u32' (26 ms) 14:52:41 function 'set_opcode_u64' (17 ms) 14:52:41 function 'set_opcode_small_field' (29 ms) 14:52:41 function 'set_opcode_big_field' (25 ms) 14:52:41 function 'set_opcode_really_big_field' (21 ms) 14:52:41 Hashes in noir contracts 14:52:41 Should execute contract function that performs sha256_hash_10 on input of length 10 (51 ms) 14:52:41 Should execute contract function that performs sha256_hash_20 on input of length 20 (33 ms) 14:52:41 Should execute contract function that performs sha256_hash_30 on input of length 30 (32 ms) 14:52:41 Should execute contract function that performs sha256_hash_40 on input of length 40 (43 ms) 14:52:41 Should execute contract function that performs sha256_hash_50 on input of length 50 (27 ms) 14:52:41 Should execute contract function that performs sha256_hash_60 on input of length 60 (32 ms) 14:52:41 Should execute contract function that performs sha256_hash_70 on input of length 70 (53 ms) 14:52:41 Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms) 14:52:41 Should execute contract function that performs sha256_hash_90 on input of length 90 (40 ms) 14:52:41 Should execute contract function that performs sha256_hash_100 on input of length 100 (57 ms) 14:52:41 Should execute contract function that performs sha256_hash_255 on input of length 255 (83 ms) 14:52:41 Should execute contract function that performs sha256_hash_256 on input of length 256 (105 ms) 14:52:41 Should execute contract function that performs sha256_hash_511 on input of length 511 (149 ms) 14:52:41 Should execute contract function that performs sha256_hash_512 on input of length 512 (136 ms) 14:52:41 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (493 ms) 14:52:41 Should execute contract function that performs keccak_hash on input of length 10 (67 ms) 14:52:41 Should execute contract function that performs keccak_f1600 on input of length 25 (17 ms) 14:52:41 Should execute contract function that performs poseidon2_hash on input of length 10 (23 ms) 14:52:41 Should execute contract function that performs pedersen_hash on input of length 10 (519 ms) 14:52:41 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (441 ms) 14:52:41 Environment getters 14:52:41 address getter (25 ms) 14:52:41 sender getter (26 ms) 14:52:41 transactionFee getter (22 ms) 14:52:41 chainId getter (18 ms) 14:52:41 version getter (23 ms) 14:52:41 blockNumber getter (19 ms) 14:52:41 timestamp getter (20 ms) 14:52:41 feePerDaGas getter (31 ms) 14:52:41 feePerL2Gas getter (32 ms) 14:52:41 Side effects, world state, nested calls 14:52:41 Should append a new note hash correctly (34 ms) 14:52:41 Should append a new nullifier correctly (34 ms) 14:52:41 Note hash checks 14:52:41 Should return false (and be traced) when noteHash does NOT exist (35 ms) 14:52:41 Should return true (and be traced) when noteHash DOES exist (31 ms) 14:52:41 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 14:52:41 Nullifier checks 14:52:41 Should return false (and be traced) when nullifier does NOT exist (33 ms) 14:52:41 Should return true (and be traced) when nullifier DOES exist (26 ms) 14:52:41 L1ToL2 message checks 14:52:41 Should return false (and be traced) when message does NOT exist (31 ms) 14:52:41 Should return true (and be traced) when message DOES exist (34 ms) 14:52:41 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (31 ms) 14:52:41 Cached nullifiers 14:52:41 Emits a nullifier and checks its existence (30 ms) 14:52:41 Emits same nullifier twice (expect failure) (24 ms) 14:52:41 Public Logs 14:52:41 Emit public logs (should be traced) (39 ms) 14:52:41 Public storage accesses 14:52:41 Should set value in storage (single) (23 ms) 14:52:41 Should read value in storage (single) (19 ms) 14:52:41 Should set and read a value from storage (single) (21 ms) 14:52:41 Should set a value in storage (list) (45 ms) 14:52:41 Should read a value in storage (list) (22 ms) 14:52:41 Should set a value in storage (map) (38 ms) 14:52:41 Should read-add-set a value in storage (map) (44 ms) 14:52:41 Should read value in storage (map) (41 ms) 14:52:41 Contract Instance Retrieval 14:52:41 Can getContractInstance (23 ms) 14:52:41 Nested external calls 14:52:41 Nested call to non-existent contract (22 ms) 14:52:41 Nested call (180 ms) 14:52:41 Nested static call (139 ms) 14:52:41 Nested call with not enough gas (expect failure) (103 ms) 14:52:41 Nested static call which modifies storage (expect failure) (125 ms) 14:52:41 Nested calls rethrow exceptions (132 ms) 14:52:41 Should handle returndatacopy oracle (146 ms) 14:52:41 Side effect trace errors on overflow 14:52:41 Overrun of Public storage writes (18 ms) 14:52:41 Overrun of New note hashes (25 ms) 14:52:41 Overrun of New nullifiers (16 ms) 14:52:41 Overrun of New unencrypted logs (2 ms) 14:52:41 Overrun of New L1 to L2 messages (2 ms) 14:52:41 Side effects including merkle checks 14:52:41 Note hashes 14:52:41 Should append new note hash correctly (274 ms) 14:52:41 Note hash check properly returns exists=false (243 ms) 14:52:41 Note hash check properly returns exists=true (291 ms) 14:52:41 Nullifiers 14:52:41 Should append a new nullifier correctly (265 ms) 14:52:41 Nullifier check properly returns exists=false (256 ms) 14:52:41 Nullifier check properly returns exists=true (293 ms) 14:52:41 Public storage accesses 14:52:41 Should set value in storage (single) (278 ms) 14:52:41 Should read value in storage (single) - never written (245 ms) 14:52:41 Should read value in storage (single) - written before, leaf exists (228 ms) 14:52:41 Should set and read value in storage (single) (236 ms) 14:52:41 14:52:41 Test Suites: 1 passed, 1 total 14:52:41 Tests: 103 passed, 103 total 14:52:41 Snapshots: 0 total 14:52:41 Time: 11.037 s 14:52:41 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 14:52:41 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?