Parent Log: http://ci.aztec-labs.com/159a0372e5aafeff Command: 426cee6a32f1da3c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/d96baf1c44329e8b2e3a432ad803f702f5184a62 Env: REF_NAME=gh-readonly-queue/next/pr-15025-26c5a39fe03723d11540f721293d7aebd1f478d9 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 13 09:33:06 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15025_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 09:33:10 [09:33:10.629] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 09:33:14 [09:33:14.596] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 09:33:15 [09:33:15.926] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-y45Ssn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:16 [09:33:16.194] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-n9BEeT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:16 [09:33:16.488] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-QwgaTR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:16 [09:33:16.768] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-SuJ4Vf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:17 [09:33:17.014] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-h3ciGB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:17 [09:33:17.268] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-EqfZLY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:17 [09:33:17.530] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-3Ip79j/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:17 [09:33:17.817] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-gegnKv/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:18 [09:33:18.099] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-rDl349/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:18 [09:33:18.372] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-WZzSFp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:33:18 PASS src/public/avm/avm_simulator.test.ts (10.853 s) 09:33:18 AVM simulator: injected bytecode 09:33:18 Should execute bytecode that performs basic addition (8 ms) 09:33:18 Should halt if runs out of gas (3 ms) 09:33:18 An exceptional halt should consume all allocated gas (2 ms) 09:33:18 AVM simulator: transpiled Noir contracts 09:33:18 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 09:33:18 addition (35 ms) 09:33:18 addition via dispatch (240 ms) 09:33:18 get_args_hash via dispatch (82 ms) 09:33:18 modulo and u1 (18 ms) 09:33:18 Should handle calldata oracle (22 ms) 09:33:18 Should handle return oracle (27 ms) 09:33:18 Should handle revert oracle (21 ms) 09:33:18 ec_add should not revert (32 ms) 09:33:18 elliptic curve operations (30 ms) 09:33:18 pedersen commitment operations (36 ms) 09:33:18 conditional move operations (25 ms) 09:33:18 Logging (21 ms) 09:33:18 Assertion message (40 ms) 09:33:18 conversions (20 ms) 09:33:18 should be able to execute contracts that only have private functions (1 ms) 09:33:18 msm 09:33:18 low scalars (45 ms) 09:33:18 with a zero (23 ms) 09:33:18 high scalars (153 ms) 09:33:18 U128 addition and overflows 09:33:18 U128 addition (37 ms) 09:33:18 Expect failure on U128::add() overflow (36 ms) 09:33:18 SET functions 09:33:18 function 'set_opcode_u8' (21 ms) 09:33:18 function 'set_opcode_u32' (14 ms) 09:33:18 function 'set_opcode_u64' (19 ms) 09:33:18 function 'set_opcode_small_field' (28 ms) 09:33:18 function 'set_opcode_big_field' (18 ms) 09:33:18 function 'set_opcode_really_big_field' (20 ms) 09:33:18 Hashes in noir contracts 09:33:18 Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms) 09:33:18 Should execute contract function that performs sha256_hash_20 on input of length 20 (30 ms) 09:33:18 Should execute contract function that performs sha256_hash_30 on input of length 30 (36 ms) 09:33:18 Should execute contract function that performs sha256_hash_40 on input of length 40 (35 ms) 09:33:18 Should execute contract function that performs sha256_hash_50 on input of length 50 (41 ms) 09:33:18 Should execute contract function that performs sha256_hash_60 on input of length 60 (26 ms) 09:33:18 Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms) 09:33:18 Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms) 09:33:18 Should execute contract function that performs sha256_hash_90 on input of length 90 (35 ms) 09:33:18 Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms) 09:33:18 Should execute contract function that performs sha256_hash_255 on input of length 255 (78 ms) 09:33:18 Should execute contract function that performs sha256_hash_256 on input of length 256 (79 ms) 09:33:18 Should execute contract function that performs sha256_hash_511 on input of length 511 (123 ms) 09:33:18 Should execute contract function that performs sha256_hash_512 on input of length 512 (128 ms) 09:33:18 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (382 ms) 09:33:18 Should execute contract function that performs keccak_hash on input of length 10 (43 ms) 09:33:18 Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms) 09:33:18 Should execute contract function that performs poseidon2_hash on input of length 10 (20 ms) 09:33:18 Should execute contract function that performs pedersen_hash on input of length 10 (458 ms) 09:33:18 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (409 ms) 09:33:18 Environment getters 09:33:18 address getter (19 ms) 09:33:18 sender getter (18 ms) 09:33:18 transactionFee getter (24 ms) 09:33:18 chainId getter (23 ms) 09:33:18 version getter (21 ms) 09:33:18 blockNumber getter (20 ms) 09:33:18 timestamp getter (16 ms) 09:33:18 feePerDaGas getter (19 ms) 09:33:18 feePerL2Gas getter (21 ms) 09:33:18 Side effects, world state, nested calls 09:33:18 Should append a new note hash correctly (19 ms) 09:33:18 Should append a new nullifier correctly (26 ms) 09:33:18 Note hash checks 09:33:18 Should return false (and be traced) when noteHash does NOT exist (26 ms) 09:33:18 Should return true (and be traced) when noteHash DOES exist (24 ms) 09:33:18 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms) 09:33:18 Nullifier checks 09:33:18 Should return false (and be traced) when nullifier does NOT exist (28 ms) 09:33:18 Should return true (and be traced) when nullifier DOES exist (27 ms) 09:33:18 L1ToL2 message checks 09:33:18 Should return false (and be traced) when message does NOT exist (24 ms) 09:33:18 Should return true (and be traced) when message DOES exist (30 ms) 09:33:18 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms) 09:33:18 Cached nullifiers 09:33:18 Emits a nullifier and checks its existence (23 ms) 09:33:18 Emits same nullifier twice (expect failure) (24 ms) 09:33:18 Public Logs 09:33:18 Emit public logs (should be traced) (53 ms) 09:33:18 Public storage accesses 09:33:18 Should set value in storage (single) (21 ms) 09:33:18 Should read value in storage (single) (21 ms) 09:33:18 Should set and read a value from storage (single) (16 ms) 09:33:18 Should set a value in storage (list) (26 ms) 09:33:18 Should read a value in storage (list) (22 ms) 09:33:18 Should set a value in storage (map) (29 ms) 09:33:18 Should read-add-set a value in storage (map) (37 ms) 09:33:18 Should read value in storage (map) (27 ms) 09:33:18 Contract Instance Retrieval 09:33:18 Can getContractInstance (28 ms) 09:33:18 Nested external calls 09:33:18 Nested call to non-existent contract (20 ms) 09:33:18 Nested call (221 ms) 09:33:18 Nested static call (191 ms) 09:33:18 Nested call with not enough gas (expect failure) (192 ms) 09:33:18 Nested static call which modifies storage (expect failure) (216 ms) 09:33:18 Nested calls rethrow exceptions (225 ms) 09:33:18 Should handle returndatacopy oracle (218 ms) 09:33:18 Side effect trace errors on overflow 09:33:18 Overrun of Public storage writes (10 ms) 09:33:18 Overrun of New note hashes (20 ms) 09:33:18 Overrun of New nullifiers (12 ms) 09:33:18 Overrun of New unencrypted logs (2 ms) 09:33:18 Overrun of New L1 to L2 messages (1 ms) 09:33:18 Side effects including merkle checks 09:33:18 Note hashes 09:33:18 Should append new note hash correctly (277 ms) 09:33:18 Note hash check properly returns exists=false (290 ms) 09:33:18 Note hash check properly returns exists=true (280 ms) 09:33:18 Nullifiers 09:33:18 Should append a new nullifier correctly (247 ms) 09:33:18 Nullifier check properly returns exists=false (253 ms) 09:33:18 Nullifier check properly returns exists=true (264 ms) 09:33:18 Public storage accesses 09:33:18 Should set value in storage (single) (286 ms) 09:33:18 Should read value in storage (single) - never written (275 ms) 09:33:18 Should read value in storage (single) - written before, leaf exists (277 ms) 09:33:18 Should set and read value in storage (single) (289 ms) 09:33:18 09:33:18 Test Suites: 1 passed, 1 total 09:33:18 Tests: 103 passed, 103 total 09:33:18 Snapshots: 0 total 09:33:18 Time: 10.933 s 09:33:18 Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i. 09:33:18 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?