Parent Log: http://ci.aztec-labs.com/94393e9a39f896cc Command: 2f5a01bdc943190c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b4e88ec5c5067a9b12be306fb60258508bcfdcf8 Env: REF_NAME=gh-readonly-queue/next/pr-15196-812a53d5d7c2057744dbf808172864443b5de7af CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 26 14:24:03 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15196_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 14:24:06 [14:24:06.785] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 14:24:11 [14:24:11.312] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 14:24:12 [14:24:12.167] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-6XP0Zz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:12 [14:24:12.434] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-r8Kvsk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:12 [14:24:12.741] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-loJ4Ob/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:13 [14:24:13.012] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-OxGZ8K/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:13 [14:24:13.260] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-AKCkr3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:13 [14:24:13.523] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-TAg3pn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:13 [14:24:13.771] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-IR5wFV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:14 [14:24:14.064] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-IX2T5g/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:14 [14:24:14.322] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-XqLT54/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:14 [14:24:14.593] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-JFIqCY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 14:24:14 PASS src/public/avm/avm_simulator.test.ts (10.673 s) 14:24:14 AVM simulator: injected bytecode 14:24:14 Should execute bytecode that performs basic addition (8 ms) 14:24:14 Should halt if runs out of gas (3 ms) 14:24:14 An exceptional halt should consume all allocated gas (2 ms) 14:24:14 AVM simulator: transpiled Noir contracts 14:24:14 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 14:24:14 addition (38 ms) 14:24:14 addition via dispatch (258 ms) 14:24:14 get_args_hash via dispatch (52 ms) 14:24:14 modulo and u1 (22 ms) 14:24:14 Should handle calldata oracle (23 ms) 14:24:14 Should handle return oracle (24 ms) 14:24:14 Should handle revert oracle (24 ms) 14:24:14 ec_add should not revert (21 ms) 14:24:14 elliptic curve operations (23 ms) 14:24:14 pedersen commitment operations (38 ms) 14:24:14 conditional move operations (25 ms) 14:24:14 Logging (32 ms) 14:24:14 Assertion message (61 ms) 14:24:14 conversions (18 ms) 14:24:14 should be able to execute contracts that only have private functions (2 ms) 14:24:14 msm 14:24:14 low scalars (55 ms) 14:24:14 with a zero (23 ms) 14:24:14 high scalars (152 ms) 14:24:14 U128 addition and overflows 14:24:14 U128 addition (28 ms) 14:24:14 Expect failure on U128::add() overflow (48 ms) 14:24:14 SET functions 14:24:14 function 'set_opcode_u8' (27 ms) 14:24:14 function 'set_opcode_u32' (28 ms) 14:24:14 function 'set_opcode_u64' (25 ms) 14:24:14 function 'set_opcode_small_field' (16 ms) 14:24:14 function 'set_opcode_big_field' (22 ms) 14:24:14 function 'set_opcode_really_big_field' (18 ms) 14:24:14 Hashes in noir contracts 14:24:14 Should execute contract function that performs sha256_hash_10 on input of length 10 (37 ms) 14:24:14 Should execute contract function that performs sha256_hash_20 on input of length 20 (26 ms) 14:24:14 Should execute contract function that performs sha256_hash_30 on input of length 30 (29 ms) 14:24:14 Should execute contract function that performs sha256_hash_40 on input of length 40 (41 ms) 14:24:14 Should execute contract function that performs sha256_hash_50 on input of length 50 (25 ms) 14:24:14 Should execute contract function that performs sha256_hash_60 on input of length 60 (31 ms) 14:24:14 Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms) 14:24:14 Should execute contract function that performs sha256_hash_80 on input of length 80 (53 ms) 14:24:14 Should execute contract function that performs sha256_hash_90 on input of length 90 (60 ms) 14:24:14 Should execute contract function that performs sha256_hash_100 on input of length 100 (72 ms) 14:24:14 Should execute contract function that performs sha256_hash_255 on input of length 255 (103 ms) 14:24:14 Should execute contract function that performs sha256_hash_256 on input of length 256 (65 ms) 14:24:14 Should execute contract function that performs sha256_hash_511 on input of length 511 (143 ms) 14:24:14 Should execute contract function that performs sha256_hash_512 on input of length 512 (137 ms) 14:24:14 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (580 ms) 14:24:14 Should execute contract function that performs keccak_hash on input of length 10 (72 ms) 14:24:14 Should execute contract function that performs keccak_f1600 on input of length 25 (19 ms) 14:24:14 Should execute contract function that performs poseidon2_hash on input of length 10 (24 ms) 14:24:14 Should execute contract function that performs pedersen_hash on input of length 10 (563 ms) 14:24:14 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (418 ms) 14:24:14 Environment getters 14:24:14 address getter (16 ms) 14:24:14 sender getter (15 ms) 14:24:14 transactionFee getter (18 ms) 14:24:14 chainId getter (29 ms) 14:24:14 version getter (21 ms) 14:24:14 blockNumber getter (20 ms) 14:24:14 timestamp getter (15 ms) 14:24:14 feePerDaGas getter (25 ms) 14:24:14 feePerL2Gas getter (25 ms) 14:24:14 Side effects, world state, nested calls 14:24:14 Should append a new note hash correctly (31 ms) 14:24:14 Should append a new nullifier correctly (30 ms) 14:24:14 Note hash checks 14:24:14 Should return false (and be traced) when noteHash does NOT exist (19 ms) 14:24:14 Should return true (and be traced) when noteHash DOES exist (20 ms) 14:24:14 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms) 14:24:14 Nullifier checks 14:24:14 Should return false (and be traced) when nullifier does NOT exist (24 ms) 14:24:14 Should return true (and be traced) when nullifier DOES exist (19 ms) 14:24:14 L1ToL2 message checks 14:24:14 Should return false (and be traced) when message does NOT exist (17 ms) 14:24:14 Should return true (and be traced) when message DOES exist (17 ms) 14:24:14 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 14:24:14 Cached nullifiers 14:24:14 Emits a nullifier and checks its existence (37 ms) 14:24:14 Emits same nullifier twice (expect failure) (23 ms) 14:24:14 Public Logs 14:24:14 Emit public logs (should be traced) (49 ms) 14:24:14 Public storage accesses 14:24:14 Should set value in storage (single) (28 ms) 14:24:14 Should read value in storage (single) (28 ms) 14:24:14 Should set and read a value from storage (single) (29 ms) 14:24:14 Should set a value in storage (list) (29 ms) 14:24:14 Should read a value in storage (list) (29 ms) 14:24:14 Should set a value in storage (map) (36 ms) 14:24:14 Should read-add-set a value in storage (map) (32 ms) 14:24:14 Should read value in storage (map) (38 ms) 14:24:14 Contract Instance Retrieval 14:24:14 Can getContractInstance (34 ms) 14:24:14 Nested external calls 14:24:14 Nested call to non-existent contract (38 ms) 14:24:14 Nested call (142 ms) 14:24:14 Nested static call (119 ms) 14:24:14 Nested call with not enough gas (expect failure) (133 ms) 14:24:14 Nested static call which modifies storage (expect failure) (153 ms) 14:24:14 Nested calls rethrow exceptions (140 ms) 14:24:14 Should handle returndatacopy oracle (110 ms) 14:24:14 Side effect trace errors on overflow 14:24:14 Overrun of Public storage writes (8 ms) 14:24:14 Overrun of New note hashes (19 ms) 14:24:14 Overrun of New nullifiers (10 ms) 14:24:14 Overrun of New unencrypted logs (2 ms) 14:24:14 Overrun of New L1 to L2 messages (2 ms) 14:24:14 Side effects including merkle checks 14:24:14 Note hashes 14:24:14 Should append new note hash correctly (269 ms) 14:24:14 Note hash check properly returns exists=false (306 ms) 14:24:14 Note hash check properly returns exists=true (265 ms) 14:24:14 Nullifiers 14:24:14 Should append a new nullifier correctly (254 ms) 14:24:14 Nullifier check properly returns exists=false (260 ms) 14:24:14 Nullifier check properly returns exists=true (250 ms) 14:24:14 Public storage accesses 14:24:14 Should set value in storage (single) (290 ms) 14:24:14 Should read value in storage (single) - never written (254 ms) 14:24:14 Should read value in storage (single) - written before, leaf exists (273 ms) 14:24:14 Should set and read value in storage (single) (268 ms) 14:24:14 14:24:14 Test Suites: 1 passed, 1 total 14:24:14 Tests: 103 passed, 103 total 14:24:14 Snapshots: 0 total 14:24:14 Time: 10.772 s 14:24:14 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 14:24:14 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?