Parent Log: http://ci.aztec-labs.com/05b76684a53e6d24 Command: 0d541f5a731ac42b yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/74eeec5d95106217d3b3f3068853022cef7fa307 Env: REF_NAME=gh-readonly-queue/next/pr-15189-8cbdad5ba8c6b2b13d060ecb764f4818ca0d5e4d CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 10:26:22 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15189_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 10:26:26 [10:26:26.228] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 10:26:30 [10:26:30.624] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 10:26:31 [10:26:31.488] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2q7Mno/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:31 [10:26:31.746] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-aGE3Q7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:32 [10:26:32.046] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-iKlogq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:32 [10:26:32.320] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-BroiuS/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:32 [10:26:32.584] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-CE64kA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:32 [10:26:32.861] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-3CTOcZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:33 [10:26:33.159] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TT0xrK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:33 [10:26:33.415] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LHQ0Ok/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:33 [10:26:33.698] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-9vDPqC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:33 [10:26:33.970] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6Njny5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 10:26:34 PASS src/public/avm/avm_simulator.test.ts (10.674 s) 10:26:34 AVM simulator: injected bytecode 10:26:34 Should execute bytecode that performs basic addition (10 ms) 10:26:34 Should halt if runs out of gas (3 ms) 10:26:34 An exceptional halt should consume all allocated gas (2 ms) 10:26:34 AVM simulator: transpiled Noir contracts 10:26:34 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 10:26:34 addition (36 ms) 10:26:34 addition via dispatch (243 ms) 10:26:34 get_args_hash via dispatch (63 ms) 10:26:34 modulo and u1 (29 ms) 10:26:34 Should handle calldata oracle (31 ms) 10:26:34 Should handle return oracle (32 ms) 10:26:34 Should handle revert oracle (19 ms) 10:26:34 ec_add should not revert (30 ms) 10:26:34 elliptic curve operations (28 ms) 10:26:34 pedersen commitment operations (38 ms) 10:26:34 conditional move operations (20 ms) 10:26:34 Logging (26 ms) 10:26:34 Assertion message (44 ms) 10:26:34 conversions (21 ms) 10:26:34 should be able to execute contracts that only have private functions (2 ms) 10:26:34 msm 10:26:34 low scalars (56 ms) 10:26:34 with a zero (42 ms) 10:26:34 high scalars (181 ms) 10:26:34 U128 addition and overflows 10:26:34 U128 addition (31 ms) 10:26:34 Expect failure on U128::add() overflow (53 ms) 10:26:34 SET functions 10:26:34 function 'set_opcode_u8' (26 ms) 10:26:34 function 'set_opcode_u32' (25 ms) 10:26:34 function 'set_opcode_u64' (18 ms) 10:26:34 function 'set_opcode_small_field' (29 ms) 10:26:34 function 'set_opcode_big_field' (24 ms) 10:26:34 function 'set_opcode_really_big_field' (20 ms) 10:26:34 Hashes in noir contracts 10:26:34 Should execute contract function that performs sha256_hash_10 on input of length 10 (41 ms) 10:26:34 Should execute contract function that performs sha256_hash_20 on input of length 20 (34 ms) 10:26:34 Should execute contract function that performs sha256_hash_30 on input of length 30 (25 ms) 10:26:34 Should execute contract function that performs sha256_hash_40 on input of length 40 (23 ms) 10:26:34 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 10:26:34 Should execute contract function that performs sha256_hash_60 on input of length 60 (40 ms) 10:26:34 Should execute contract function that performs sha256_hash_70 on input of length 70 (31 ms) 10:26:34 Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms) 10:26:34 Should execute contract function that performs sha256_hash_90 on input of length 90 (44 ms) 10:26:34 Should execute contract function that performs sha256_hash_100 on input of length 100 (47 ms) 10:26:34 Should execute contract function that performs sha256_hash_255 on input of length 255 (90 ms) 10:26:34 Should execute contract function that performs sha256_hash_256 on input of length 256 (73 ms) 10:26:34 Should execute contract function that performs sha256_hash_511 on input of length 511 (120 ms) 10:26:34 Should execute contract function that performs sha256_hash_512 on input of length 512 (152 ms) 10:26:34 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (491 ms) 10:26:34 Should execute contract function that performs keccak_hash on input of length 10 (52 ms) 10:26:34 Should execute contract function that performs keccak_f1600 on input of length 25 (16 ms) 10:26:34 Should execute contract function that performs poseidon2_hash on input of length 10 (20 ms) 10:26:34 Should execute contract function that performs pedersen_hash on input of length 10 (561 ms) 10:26:34 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (464 ms) 10:26:34 Environment getters 10:26:34 address getter (18 ms) 10:26:34 sender getter (20 ms) 10:26:34 transactionFee getter (25 ms) 10:26:34 chainId getter (22 ms) 10:26:34 version getter (24 ms) 10:26:34 blockNumber getter (19 ms) 10:26:34 timestamp getter (30 ms) 10:26:34 feePerDaGas getter (19 ms) 10:26:34 feePerL2Gas getter (20 ms) 10:26:34 Side effects, world state, nested calls 10:26:34 Should append a new note hash correctly (22 ms) 10:26:34 Should append a new nullifier correctly (26 ms) 10:26:34 Note hash checks 10:26:34 Should return false (and be traced) when noteHash does NOT exist (17 ms) 10:26:34 Should return true (and be traced) when noteHash DOES exist (30 ms) 10:26:34 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms) 10:26:34 Nullifier checks 10:26:34 Should return false (and be traced) when nullifier does NOT exist (18 ms) 10:26:34 Should return true (and be traced) when nullifier DOES exist (28 ms) 10:26:34 L1ToL2 message checks 10:26:34 Should return false (and be traced) when message does NOT exist (35 ms) 10:26:34 Should return true (and be traced) when message DOES exist (21 ms) 10:26:34 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms) 10:26:34 Cached nullifiers 10:26:34 Emits a nullifier and checks its existence (19 ms) 10:26:34 Emits same nullifier twice (expect failure) (25 ms) 10:26:34 Public Logs 10:26:34 Emit public logs (should be traced) (72 ms) 10:26:34 Public storage accesses 10:26:34 Should set value in storage (single) (24 ms) 10:26:34 Should read value in storage (single) (22 ms) 10:26:34 Should set and read a value from storage (single) (29 ms) 10:26:34 Should set a value in storage (list) (23 ms) 10:26:34 Should read a value in storage (list) (17 ms) 10:26:34 Should set a value in storage (map) (26 ms) 10:26:34 Should read-add-set a value in storage (map) (35 ms) 10:26:34 Should read value in storage (map) (27 ms) 10:26:34 Contract Instance Retrieval 10:26:34 Can getContractInstance (25 ms) 10:26:34 Nested external calls 10:26:34 Nested call to non-existent contract (29 ms) 10:26:34 Nested call (148 ms) 10:26:34 Nested static call (112 ms) 10:26:34 Nested call with not enough gas (expect failure) (122 ms) 10:26:34 Nested static call which modifies storage (expect failure) (139 ms) 10:26:34 Nested calls rethrow exceptions (164 ms) 10:26:34 Should handle returndatacopy oracle (115 ms) 10:26:34 Side effect trace errors on overflow 10:26:34 Overrun of Public storage writes (15 ms) 10:26:34 Overrun of New note hashes (19 ms) 10:26:34 Overrun of New nullifiers (11 ms) 10:26:34 Overrun of New unencrypted logs (2 ms) 10:26:34 Overrun of New L1 to L2 messages (1 ms) 10:26:34 Side effects including merkle checks 10:26:34 Note hashes 10:26:34 Should append new note hash correctly (262 ms) 10:26:34 Note hash check properly returns exists=false (299 ms) 10:26:34 Note hash check properly returns exists=true (274 ms) 10:26:34 Nullifiers 10:26:34 Should append a new nullifier correctly (258 ms) 10:26:34 Nullifier check properly returns exists=false (273 ms) 10:26:34 Nullifier check properly returns exists=true (303 ms) 10:26:34 Public storage accesses 10:26:34 Should set value in storage (single) (259 ms) 10:26:34 Should read value in storage (single) - never written (280 ms) 10:26:34 Should read value in storage (single) - written before, leaf exists (272 ms) 10:26:34 Should set and read value in storage (single) (266 ms) 10:26:34 10:26:34 Test Suites: 1 passed, 1 total 10:26:34 Tests: 103 passed, 103 total 10:26:34 Snapshots: 0 total 10:26:34 Time: 10.776 s 10:26:34 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 10:26:34 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?