Parent Log: http://ci.aztec-labs.com/49fe7052b1660d94 Command: d50c53701d199192 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/215be54ba7d05741f58f591612a9e5454104b24d Env: REF_NAME=gh-readonly-queue/next/pr-15096-484694b997ac4ff62ed6d008cc3f12e0c60720ff CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 09:27:38 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15096_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:27:42 [09:27:42.049] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 09:27:46 [09:27:46.505] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 09:27:47 [09:27:47.415] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-KnzKL0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:47 [09:27:47.672] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Vgwfhf/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:47 [09:27:47.933] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-tBemrg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:48 [09:27:48.179] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2NELzq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:48 [09:27:48.460] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-c2xN7K/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:48 [09:27:48.708] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-wm3ZP6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:49 [09:27:49.005] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Lfdaeb/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:49 [09:27:49.312] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4DORaA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:49 [09:27:49.621] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-BXb77f/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:49 [09:27:49.973] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Szrdc0/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 09:27:50 PASS src/public/avm/avm_simulator.test.ts (10.854 s) 09:27:50 AVM simulator: injected bytecode 09:27:50 Should execute bytecode that performs basic addition (8 ms) 09:27:50 Should halt if runs out of gas (3 ms) 09:27:50 An exceptional halt should consume all allocated gas (2 ms) 09:27:50 AVM simulator: transpiled Noir contracts 09:27:50 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 09:27:50 addition (25 ms) 09:27:50 addition via dispatch (245 ms) 09:27:50 get_args_hash via dispatch (62 ms) 09:27:50 modulo and u1 (21 ms) 09:27:50 Should handle calldata oracle (29 ms) 09:27:50 Should handle return oracle (33 ms) 09:27:50 Should handle revert oracle (31 ms) 09:27:50 ec_add should not revert (37 ms) 09:27:50 elliptic curve operations (24 ms) 09:27:50 pedersen commitment operations (54 ms) 09:27:50 conditional move operations (21 ms) 09:27:50 Logging (23 ms) 09:27:50 Assertion message (51 ms) 09:27:50 conversions (20 ms) 09:27:50 should be able to execute contracts that only have private functions (2 ms) 09:27:50 msm 09:27:50 low scalars (41 ms) 09:27:50 with a zero (28 ms) 09:27:50 high scalars (179 ms) 09:27:50 U128 addition and overflows 09:27:50 U128 addition (21 ms) 09:27:50 Expect failure on U128::add() overflow (54 ms) 09:27:50 SET functions 09:27:50 function 'set_opcode_u8' (23 ms) 09:27:50 function 'set_opcode_u32' (18 ms) 09:27:50 function 'set_opcode_u64' (25 ms) 09:27:50 function 'set_opcode_small_field' (20 ms) 09:27:50 function 'set_opcode_big_field' (29 ms) 09:27:50 function 'set_opcode_really_big_field' (19 ms) 09:27:50 Hashes in noir contracts 09:27:50 Should execute contract function that performs sha256_hash_10 on input of length 10 (30 ms) 09:27:50 Should execute contract function that performs sha256_hash_20 on input of length 20 (33 ms) 09:27:50 Should execute contract function that performs sha256_hash_30 on input of length 30 (35 ms) 09:27:50 Should execute contract function that performs sha256_hash_40 on input of length 40 (23 ms) 09:27:50 Should execute contract function that performs sha256_hash_50 on input of length 50 (37 ms) 09:27:50 Should execute contract function that performs sha256_hash_60 on input of length 60 (46 ms) 09:27:50 Should execute contract function that performs sha256_hash_70 on input of length 70 (54 ms) 09:27:50 Should execute contract function that performs sha256_hash_80 on input of length 80 (41 ms) 09:27:50 Should execute contract function that performs sha256_hash_90 on input of length 90 (42 ms) 09:27:50 Should execute contract function that performs sha256_hash_100 on input of length 100 (51 ms) 09:27:50 Should execute contract function that performs sha256_hash_255 on input of length 255 (90 ms) 09:27:50 Should execute contract function that performs sha256_hash_256 on input of length 256 (102 ms) 09:27:50 Should execute contract function that performs sha256_hash_511 on input of length 511 (114 ms) 09:27:50 Should execute contract function that performs sha256_hash_512 on input of length 512 (126 ms) 09:27:50 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (510 ms) 09:27:50 Should execute contract function that performs keccak_hash on input of length 10 (53 ms) 09:27:50 Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms) 09:27:50 Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms) 09:27:50 Should execute contract function that performs pedersen_hash on input of length 10 (541 ms) 09:27:50 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (488 ms) 09:27:50 Environment getters 09:27:50 address getter (28 ms) 09:27:50 sender getter (27 ms) 09:27:50 transactionFee getter (27 ms) 09:27:50 chainId getter (28 ms) 09:27:50 version getter (29 ms) 09:27:50 blockNumber getter (16 ms) 09:27:50 timestamp getter (20 ms) 09:27:50 feePerDaGas getter (27 ms) 09:27:50 feePerL2Gas getter (25 ms) 09:27:50 Side effects, world state, nested calls 09:27:50 Should append a new note hash correctly (20 ms) 09:27:50 Should append a new nullifier correctly (20 ms) 09:27:50 Note hash checks 09:27:50 Should return false (and be traced) when noteHash does NOT exist (23 ms) 09:27:50 Should return true (and be traced) when noteHash DOES exist (21 ms) 09:27:50 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 09:27:50 Nullifier checks 09:27:50 Should return false (and be traced) when nullifier does NOT exist (32 ms) 09:27:50 Should return true (and be traced) when nullifier DOES exist (18 ms) 09:27:50 L1ToL2 message checks 09:27:50 Should return false (and be traced) when message does NOT exist (16 ms) 09:27:50 Should return true (and be traced) when message DOES exist (19 ms) 09:27:50 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms) 09:27:50 Cached nullifiers 09:27:50 Emits a nullifier and checks its existence (19 ms) 09:27:50 Emits same nullifier twice (expect failure) (26 ms) 09:27:50 Public Logs 09:27:50 Emit public logs (should be traced) (44 ms) 09:27:50 Public storage accesses 09:27:50 Should set value in storage (single) (22 ms) 09:27:50 Should read value in storage (single) (29 ms) 09:27:50 Should set and read a value from storage (single) (26 ms) 09:27:50 Should set a value in storage (list) (28 ms) 09:27:50 Should read a value in storage (list) (31 ms) 09:27:50 Should set a value in storage (map) (38 ms) 09:27:50 Should read-add-set a value in storage (map) (39 ms) 09:27:50 Should read value in storage (map) (25 ms) 09:27:50 Contract Instance Retrieval 09:27:50 Can getContractInstance (33 ms) 09:27:50 Nested external calls 09:27:50 Nested call to non-existent contract (31 ms) 09:27:50 Nested call (145 ms) 09:27:50 Nested static call (145 ms) 09:27:50 Nested call with not enough gas (expect failure) (113 ms) 09:27:50 Nested static call which modifies storage (expect failure) (155 ms) 09:27:50 Nested calls rethrow exceptions (141 ms) 09:27:50 Should handle returndatacopy oracle (143 ms) 09:27:50 Side effect trace errors on overflow 09:27:50 Overrun of Public storage writes (12 ms) 09:27:50 Overrun of New note hashes (23 ms) 09:27:50 Overrun of New nullifiers (13 ms) 09:27:50 Overrun of New unencrypted logs (1 ms) 09:27:50 Overrun of New L1 to L2 messages (1 ms) 09:27:50 Side effects including merkle checks 09:27:50 Note hashes 09:27:50 Should append new note hash correctly (258 ms) 09:27:50 Note hash check properly returns exists=false (265 ms) 09:27:50 Note hash check properly returns exists=true (244 ms) 09:27:50 Nullifiers 09:27:50 Should append a new nullifier correctly (278 ms) 09:27:50 Nullifier check properly returns exists=false (251 ms) 09:27:50 Nullifier check properly returns exists=true (294 ms) 09:27:50 Public storage accesses 09:27:50 Should set value in storage (single) (307 ms) 09:27:50 Should read value in storage (single) - never written (308 ms) 09:27:50 Should read value in storage (single) - written before, leaf exists (341 ms) 09:27:50 Should set and read value in storage (single) (311 ms) 09:27:50 09:27:50 Test Suites: 1 passed, 1 total 09:27:50 Tests: 103 passed, 103 total 09:27:50 Snapshots: 0 total 09:27:50 Time: 10.934 s 09:27:50 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 09:27:50 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?