Parent Log: http://ci.aztec-labs.com/3e405d275b6ac44c Command: 213f3b45d6dc5e03 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9716910bd1b02344790194d074f445aec4636887 Env: REF_NAME=gh-readonly-queue/next/pr-15279-7f9d2b386d786966384cc62d3ea3995ba340c48a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 25 16:42:39 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15279_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 16:42:43 [16:42:43.663] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 16:42:48 [16:42:48.329] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 16:42:49 [16:42:49.072] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jKkNU6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:49 [16:42:49.330] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-fjYwij/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:49 [16:42:49.601] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-GA0ptO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:49 [16:42:49.847] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jqJ2mM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:50 [16:42:50.106] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-sGBblL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:50 [16:42:50.356] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4fBPxw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:50 [16:42:50.615] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LVKrSV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:50 [16:42:50.874] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-xMjq0j/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:51 [16:42:51.143] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-x6SYhw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:51 [16:42:51.417] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KfxDs0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:42:51 PASS src/public/avm/avm_simulator.test.ts (10.686 s) 16:42:51 AVM simulator: injected bytecode 16:42:51 Should execute bytecode that performs basic addition (9 ms) 16:42:51 Should halt if runs out of gas (4 ms) 16:42:51 An exceptional halt should consume all allocated gas (2 ms) 16:42:51 AVM simulator: transpiled Noir contracts 16:42:51 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 16:42:51 addition (39 ms) 16:42:51 addition via dispatch (253 ms) 16:42:51 get_args_hash via dispatch (67 ms) 16:42:51 modulo and u1 (29 ms) 16:42:51 Should handle calldata oracle (38 ms) 16:42:51 Should handle return oracle (31 ms) 16:42:51 Should handle revert oracle (33 ms) 16:42:51 ec_add should not revert (38 ms) 16:42:51 elliptic curve operations (33 ms) 16:42:51 pedersen commitment operations (56 ms) 16:42:51 conditional move operations (27 ms) 16:42:51 Logging (24 ms) 16:42:51 Assertion message (43 ms) 16:42:51 conversions (34 ms) 16:42:51 should be able to execute contracts that only have private functions (1 ms) 16:42:51 msm 16:42:51 low scalars (58 ms) 16:42:51 with a zero (41 ms) 16:42:51 high scalars (186 ms) 16:42:51 U128 addition and overflows 16:42:51 U128 addition (24 ms) 16:42:51 Expect failure on U128::add() overflow (47 ms) 16:42:51 SET functions 16:42:51 function 'set_opcode_u8' (30 ms) 16:42:51 function 'set_opcode_u32' (29 ms) 16:42:51 function 'set_opcode_u64' (31 ms) 16:42:51 function 'set_opcode_small_field' (27 ms) 16:42:51 function 'set_opcode_big_field' (24 ms) 16:42:51 function 'set_opcode_really_big_field' (17 ms) 16:42:51 Hashes in noir contracts 16:42:51 Should execute contract function that performs sha256_hash_10 on input of length 10 (27 ms) 16:42:51 Should execute contract function that performs sha256_hash_20 on input of length 20 (27 ms) 16:42:51 Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms) 16:42:51 Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms) 16:42:51 Should execute contract function that performs sha256_hash_50 on input of length 50 (35 ms) 16:42:51 Should execute contract function that performs sha256_hash_60 on input of length 60 (50 ms) 16:42:51 Should execute contract function that performs sha256_hash_70 on input of length 70 (48 ms) 16:42:51 Should execute contract function that performs sha256_hash_80 on input of length 80 (39 ms) 16:42:51 Should execute contract function that performs sha256_hash_90 on input of length 90 (36 ms) 16:42:51 Should execute contract function that performs sha256_hash_100 on input of length 100 (46 ms) 16:42:51 Should execute contract function that performs sha256_hash_255 on input of length 255 (68 ms) 16:42:51 Should execute contract function that performs sha256_hash_256 on input of length 256 (107 ms) 16:42:51 Should execute contract function that performs sha256_hash_511 on input of length 511 (174 ms) 16:42:51 Should execute contract function that performs sha256_hash_512 on input of length 512 (132 ms) 16:42:51 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (508 ms) 16:42:51 Should execute contract function that performs keccak_hash on input of length 10 (60 ms) 16:42:51 Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms) 16:42:51 Should execute contract function that performs poseidon2_hash on input of length 10 (20 ms) 16:42:51 Should execute contract function that performs pedersen_hash on input of length 10 (591 ms) 16:42:51 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (526 ms) 16:42:51 Environment getters 16:42:51 address getter (31 ms) 16:42:51 sender getter (29 ms) 16:42:51 transactionFee getter (27 ms) 16:42:51 chainId getter (18 ms) 16:42:51 version getter (21 ms) 16:42:51 blockNumber getter (22 ms) 16:42:51 timestamp getter (35 ms) 16:42:51 feePerDaGas getter (32 ms) 16:42:51 feePerL2Gas getter (31 ms) 16:42:51 Side effects, world state, nested calls 16:42:51 Should append a new note hash correctly (31 ms) 16:42:51 Should append a new nullifier correctly (16 ms) 16:42:51 Note hash checks 16:42:51 Should return false (and be traced) when noteHash does NOT exist (29 ms) 16:42:51 Should return true (and be traced) when noteHash DOES exist (16 ms) 16:42:51 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms) 16:42:51 Nullifier checks 16:42:51 Should return false (and be traced) when nullifier does NOT exist (26 ms) 16:42:51 Should return true (and be traced) when nullifier DOES exist (26 ms) 16:42:51 L1ToL2 message checks 16:42:51 Should return false (and be traced) when message does NOT exist (29 ms) 16:42:51 Should return true (and be traced) when message DOES exist (29 ms) 16:42:51 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (28 ms) 16:42:51 Cached nullifiers 16:42:51 Emits a nullifier and checks its existence (16 ms) 16:42:51 Emits same nullifier twice (expect failure) (32 ms) 16:42:51 Public Logs 16:42:51 Emit public logs (should be traced) (43 ms) 16:42:51 Public storage accesses 16:42:51 Should set value in storage (single) (19 ms) 16:42:51 Should read value in storage (single) (19 ms) 16:42:51 Should set and read a value from storage (single) (25 ms) 16:42:51 Should set a value in storage (list) (20 ms) 16:42:51 Should read a value in storage (list) (17 ms) 16:42:51 Should set a value in storage (map) (31 ms) 16:42:51 Should read-add-set a value in storage (map) (29 ms) 16:42:51 Should read value in storage (map) (25 ms) 16:42:51 Contract Instance Retrieval 16:42:51 Can getContractInstance (22 ms) 16:42:51 Nested external calls 16:42:51 Nested call to non-existent contract (19 ms) 16:42:51 Nested call (129 ms) 16:42:51 Nested static call (115 ms) 16:42:51 Nested call with not enough gas (expect failure) (102 ms) 16:42:51 Nested static call which modifies storage (expect failure) (107 ms) 16:42:51 Nested calls rethrow exceptions (120 ms) 16:42:51 Should handle returndatacopy oracle (111 ms) 16:42:51 Side effect trace errors on overflow 16:42:51 Overrun of Public storage writes (8 ms) 16:42:51 Overrun of New note hashes (17 ms) 16:42:51 Overrun of New nullifiers (11 ms) 16:42:51 Overrun of New unencrypted logs (2 ms) 16:42:51 Overrun of New L1 to L2 messages (2 ms) 16:42:51 Side effects including merkle checks 16:42:51 Note hashes 16:42:51 Should append new note hash correctly (262 ms) 16:42:51 Note hash check properly returns exists=false (271 ms) 16:42:51 Note hash check properly returns exists=true (245 ms) 16:42:51 Nullifiers 16:42:51 Should append a new nullifier correctly (256 ms) 16:42:51 Nullifier check properly returns exists=false (252 ms) 16:42:51 Nullifier check properly returns exists=true (259 ms) 16:42:51 Public storage accesses 16:42:51 Should set value in storage (single) (261 ms) 16:42:51 Should read value in storage (single) - never written (266 ms) 16:42:51 Should read value in storage (single) - written before, leaf exists (274 ms) 16:42:51 Should set and read value in storage (single) (276 ms) 16:42:51 16:42:51 Test Suites: 1 passed, 1 total 16:42:51 Tests: 103 passed, 103 total 16:42:51 Snapshots: 0 total 16:42:51 Time: 10.796 s 16:42:51 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 16:42:51 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?