Parent Log: http://ci.aztec-labs.com/9f4d5cb4c0acef50 Command: fab700985fdda05e yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9164f0ea2d1bd891bbde066fe27f2239188ddec9 Env: REF_NAME=gh-readonly-queue/next/pr-15169-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 11:26:33 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 11:26:36 [11:26:36.949] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 11:26:41 [11:26:41.499] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 11:26:42 [11:26:42.378] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wmK7Wz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:42 [11:26:42.663] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-nb4s52/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:42 [11:26:42.927] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-66Kyuf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:43 [11:26:43.194] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TiFDMz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:43 [11:26:43.447] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-B3eYOP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:43 [11:26:43.732] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-HtOs5G/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:44 [11:26:44.038] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-eE3IQl/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:44 [11:26:44.360] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-cBXBej/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:44 [11:26:44.635] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-HdhjVh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:44 [11:26:44.920] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jzinle/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 11:26:45 PASS src/public/avm/avm_simulator.test.ts (10.803 s) 11:26:45 AVM simulator: injected bytecode 11:26:45 Should execute bytecode that performs basic addition (8 ms) 11:26:45 Should halt if runs out of gas (4 ms) 11:26:45 An exceptional halt should consume all allocated gas (2 ms) 11:26:45 AVM simulator: transpiled Noir contracts 11:26:45 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 11:26:45 addition (26 ms) 11:26:45 addition via dispatch (219 ms) 11:26:45 get_args_hash via dispatch (58 ms) 11:26:45 modulo and u1 (20 ms) 11:26:45 Should handle calldata oracle (26 ms) 11:26:45 Should handle return oracle (32 ms) 11:26:45 Should handle revert oracle (32 ms) 11:26:45 ec_add should not revert (25 ms) 11:26:45 elliptic curve operations (22 ms) 11:26:45 pedersen commitment operations (48 ms) 11:26:45 conditional move operations (33 ms) 11:26:45 Logging (32 ms) 11:26:45 Assertion message (53 ms) 11:26:45 conversions (19 ms) 11:26:45 should be able to execute contracts that only have private functions (2 ms) 11:26:45 msm 11:26:45 low scalars (54 ms) 11:26:45 with a zero (38 ms) 11:26:45 high scalars (167 ms) 11:26:45 U128 addition and overflows 11:26:45 U128 addition (31 ms) 11:26:45 Expect failure on U128::add() overflow (65 ms) 11:26:45 SET functions 11:26:45 function 'set_opcode_u8' (27 ms) 11:26:45 function 'set_opcode_u32' (20 ms) 11:26:45 function 'set_opcode_u64' (28 ms) 11:26:45 function 'set_opcode_small_field' (30 ms) 11:26:45 function 'set_opcode_big_field' (25 ms) 11:26:45 function 'set_opcode_really_big_field' (26 ms) 11:26:45 Hashes in noir contracts 11:26:45 Should execute contract function that performs sha256_hash_10 on input of length 10 (52 ms) 11:26:45 Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms) 11:26:45 Should execute contract function that performs sha256_hash_30 on input of length 30 (38 ms) 11:26:45 Should execute contract function that performs sha256_hash_40 on input of length 40 (41 ms) 11:26:45 Should execute contract function that performs sha256_hash_50 on input of length 50 (32 ms) 11:26:45 Should execute contract function that performs sha256_hash_60 on input of length 60 (45 ms) 11:26:45 Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms) 11:26:45 Should execute contract function that performs sha256_hash_80 on input of length 80 (49 ms) 11:26:45 Should execute contract function that performs sha256_hash_90 on input of length 90 (38 ms) 11:26:45 Should execute contract function that performs sha256_hash_100 on input of length 100 (35 ms) 11:26:45 Should execute contract function that performs sha256_hash_255 on input of length 255 (102 ms) 11:26:45 Should execute contract function that performs sha256_hash_256 on input of length 256 (96 ms) 11:26:45 Should execute contract function that performs sha256_hash_511 on input of length 511 (173 ms) 11:26:45 Should execute contract function that performs sha256_hash_512 on input of length 512 (144 ms) 11:26:45 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (533 ms) 11:26:45 Should execute contract function that performs keccak_hash on input of length 10 (58 ms) 11:26:45 Should execute contract function that performs keccak_f1600 on input of length 25 (20 ms) 11:26:45 Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms) 11:26:45 Should execute contract function that performs pedersen_hash on input of length 10 (517 ms) 11:26:45 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (486 ms) 11:26:45 Environment getters 11:26:45 address getter (28 ms) 11:26:45 sender getter (28 ms) 11:26:45 transactionFee getter (27 ms) 11:26:45 chainId getter (17 ms) 11:26:45 version getter (24 ms) 11:26:45 blockNumber getter (19 ms) 11:26:45 timestamp getter (18 ms) 11:26:45 feePerDaGas getter (32 ms) 11:26:45 feePerL2Gas getter (15 ms) 11:26:45 Side effects, world state, nested calls 11:26:45 Should append a new note hash correctly (38 ms) 11:26:45 Should append a new nullifier correctly (22 ms) 11:26:45 Note hash checks 11:26:45 Should return false (and be traced) when noteHash does NOT exist (16 ms) 11:26:45 Should return true (and be traced) when noteHash DOES exist (27 ms) 11:26:45 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms) 11:26:45 Nullifier checks 11:26:45 Should return false (and be traced) when nullifier does NOT exist (31 ms) 11:26:45 Should return true (and be traced) when nullifier DOES exist (34 ms) 11:26:45 L1ToL2 message checks 11:26:45 Should return false (and be traced) when message does NOT exist (31 ms) 11:26:45 Should return true (and be traced) when message DOES exist (16 ms) 11:26:45 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms) 11:26:45 Cached nullifiers 11:26:45 Emits a nullifier and checks its existence (18 ms) 11:26:45 Emits same nullifier twice (expect failure) (25 ms) 11:26:45 Public Logs 11:26:45 Emit public logs (should be traced) (50 ms) 11:26:45 Public storage accesses 11:26:45 Should set value in storage (single) (20 ms) 11:26:45 Should read value in storage (single) (20 ms) 11:26:45 Should set and read a value from storage (single) (24 ms) 11:26:45 Should set a value in storage (list) (29 ms) 11:26:45 Should read a value in storage (list) (18 ms) 11:26:45 Should set a value in storage (map) (24 ms) 11:26:45 Should read-add-set a value in storage (map) (39 ms) 11:26:45 Should read value in storage (map) (31 ms) 11:26:45 Contract Instance Retrieval 11:26:45 Can getContractInstance (23 ms) 11:26:45 Nested external calls 11:26:45 Nested call to non-existent contract (25 ms) 11:26:45 Nested call (130 ms) 11:26:45 Nested static call (110 ms) 11:26:45 Nested call with not enough gas (expect failure) (145 ms) 11:26:45 Nested static call which modifies storage (expect failure) (145 ms) 11:26:45 Nested calls rethrow exceptions (146 ms) 11:26:45 Should handle returndatacopy oracle (129 ms) 11:26:45 Side effect trace errors on overflow 11:26:45 Overrun of Public storage writes (17 ms) 11:26:45 Overrun of New note hashes (20 ms) 11:26:45 Overrun of New nullifiers (12 ms) 11:26:45 Overrun of New unencrypted logs (2 ms) 11:26:45 Overrun of New L1 to L2 messages (2 ms) 11:26:45 Side effects including merkle checks 11:26:45 Note hashes 11:26:45 Should append new note hash correctly (290 ms) 11:26:45 Note hash check properly returns exists=false (256 ms) 11:26:45 Note hash check properly returns exists=true (277 ms) 11:26:45 Nullifiers 11:26:45 Should append a new nullifier correctly (252 ms) 11:26:45 Nullifier check properly returns exists=false (280 ms) 11:26:45 Nullifier check properly returns exists=true (310 ms) 11:26:45 Public storage accesses 11:26:45 Should set value in storage (single) (319 ms) 11:26:45 Should read value in storage (single) - never written (275 ms) 11:26:45 Should read value in storage (single) - written before, leaf exists (278 ms) 11:26:45 Should set and read value in storage (single) (280 ms) 11:26:45 11:26:45 Test Suites: 1 passed, 1 total 11:26:45 Tests: 103 passed, 103 total 11:26:45 Snapshots: 0 total 11:26:45 Time: 10.884 s 11:26:45 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 11:26:45 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?