Parent Log: http://ci.aztec-labs.com/91d1f12a37080b18 Command: ebfed4061172f77e yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/07aee119a58dd438ddfb5bd53e124e7269e6c651 Env: REF_NAME=gh-readonly-queue/next/pr-15083-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 21:06:17 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15083_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 21:06:20 [21:06:20.954] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 21:06:25 [21:06:25.881] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 21:06:27 [21:06:27.443] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-qGap8q/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:27 [21:06:27.736] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-keCX2x/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:28 [21:06:28.039] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-LGTiio/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:28 [21:06:28.315] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-19Z0Rr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:28 [21:06:28.562] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-szTKr8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:28 [21:06:28.863] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-0THjal/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:29 [21:06:29.121] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-667OQm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:29 [21:06:29.363] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-Qd5aaU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:29 [21:06:29.642] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-vWckVN/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:29 [21:06:29.896] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-QkbIAk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 21:06:30 PASS src/public/avm/avm_simulator.test.ts (12.094 s) 21:06:30 AVM simulator: injected bytecode 21:06:30 Should execute bytecode that performs basic addition (8 ms) 21:06:30 Should halt if runs out of gas (3 ms) 21:06:30 An exceptional halt should consume all allocated gas (1 ms) 21:06:30 AVM simulator: transpiled Noir contracts 21:06:30 execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms) 21:06:30 addition (37 ms) 21:06:30 addition via dispatch (251 ms) 21:06:30 get_args_hash via dispatch (67 ms) 21:06:30 modulo and u1 (25 ms) 21:06:30 Should handle calldata oracle (26 ms) 21:06:30 Should handle return oracle (20 ms) 21:06:30 Should handle revert oracle (22 ms) 21:06:30 ec_add should not revert (41 ms) 21:06:30 elliptic curve operations (19 ms) 21:06:30 pedersen commitment operations (35 ms) 21:06:30 conditional move operations (19 ms) 21:06:30 Logging (30 ms) 21:06:30 Assertion message (56 ms) 21:06:30 conversions (31 ms) 21:06:30 should be able to execute contracts that only have private functions (2 ms) 21:06:30 msm 21:06:30 low scalars (44 ms) 21:06:30 with a zero (29 ms) 21:06:30 high scalars (171 ms) 21:06:30 U128 addition and overflows 21:06:30 U128 addition (26 ms) 21:06:30 Expect failure on U128::add() overflow (51 ms) 21:06:30 SET functions 21:06:30 function 'set_opcode_u8' (26 ms) 21:06:30 function 'set_opcode_u32' (22 ms) 21:06:30 function 'set_opcode_u64' (19 ms) 21:06:30 function 'set_opcode_small_field' (34 ms) 21:06:30 function 'set_opcode_big_field' (29 ms) 21:06:30 function 'set_opcode_really_big_field' (29 ms) 21:06:30 Hashes in noir contracts 21:06:30 Should execute contract function that performs sha256_hash_10 on input of length 10 (43 ms) 21:06:30 Should execute contract function that performs sha256_hash_20 on input of length 20 (39 ms) 21:06:30 Should execute contract function that performs sha256_hash_30 on input of length 30 (41 ms) 21:06:30 Should execute contract function that performs sha256_hash_40 on input of length 40 (41 ms) 21:06:30 Should execute contract function that performs sha256_hash_50 on input of length 50 (27 ms) 21:06:30 Should execute contract function that performs sha256_hash_60 on input of length 60 (34 ms) 21:06:30 Should execute contract function that performs sha256_hash_70 on input of length 70 (51 ms) 21:06:30 Should execute contract function that performs sha256_hash_80 on input of length 80 (55 ms) 21:06:30 Should execute contract function that performs sha256_hash_90 on input of length 90 (65 ms) 21:06:30 Should execute contract function that performs sha256_hash_100 on input of length 100 (62 ms) 21:06:30 Should execute contract function that performs sha256_hash_255 on input of length 255 (107 ms) 21:06:30 Should execute contract function that performs sha256_hash_256 on input of length 256 (96 ms) 21:06:30 Should execute contract function that performs sha256_hash_511 on input of length 511 (171 ms) 21:06:30 Should execute contract function that performs sha256_hash_512 on input of length 512 (154 ms) 21:06:30 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (553 ms) 21:06:30 Should execute contract function that performs keccak_hash on input of length 10 (58 ms) 21:06:30 Should execute contract function that performs keccak_f1600 on input of length 25 (21 ms) 21:06:30 Should execute contract function that performs poseidon2_hash on input of length 10 (23 ms) 21:06:30 Should execute contract function that performs pedersen_hash on input of length 10 (641 ms) 21:06:30 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (485 ms) 21:06:30 Environment getters 21:06:30 address getter (30 ms) 21:06:30 sender getter (31 ms) 21:06:30 transactionFee getter (41 ms) 21:06:30 chainId getter (35 ms) 21:06:30 version getter (34 ms) 21:06:30 blockNumber getter (23 ms) 21:06:30 timestamp getter (22 ms) 21:06:30 feePerDaGas getter (31 ms) 21:06:30 feePerL2Gas getter (29 ms) 21:06:30 Side effects, world state, nested calls 21:06:30 Should append a new note hash correctly (28 ms) 21:06:30 Should append a new nullifier correctly (17 ms) 21:06:30 Note hash checks 21:06:30 Should return false (and be traced) when noteHash does NOT exist (32 ms) 21:06:30 Should return true (and be traced) when noteHash DOES exist (32 ms) 21:06:30 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms) 21:06:30 Nullifier checks 21:06:30 Should return false (and be traced) when nullifier does NOT exist (30 ms) 21:06:30 Should return true (and be traced) when nullifier DOES exist (37 ms) 21:06:30 L1ToL2 message checks 21:06:30 Should return false (and be traced) when message does NOT exist (21 ms) 21:06:30 Should return true (and be traced) when message DOES exist (18 ms) 21:06:30 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (44 ms) 21:06:30 Cached nullifiers 21:06:30 Emits a nullifier and checks its existence (19 ms) 21:06:30 Emits same nullifier twice (expect failure) (19 ms) 21:06:30 Public Logs 21:06:30 Emit public logs (should be traced) (60 ms) 21:06:30 Public storage accesses 21:06:30 Should set value in storage (single) (28 ms) 21:06:30 Should read value in storage (single) (30 ms) 21:06:30 Should set and read a value from storage (single) (32 ms) 21:06:30 Should set a value in storage (list) (28 ms) 21:06:30 Should read a value in storage (list) (22 ms) 21:06:30 Should set a value in storage (map) (45 ms) 21:06:30 Should read-add-set a value in storage (map) (28 ms) 21:06:30 Should read value in storage (map) (34 ms) 21:06:30 Contract Instance Retrieval 21:06:30 Can getContractInstance (29 ms) 21:06:30 Nested external calls 21:06:30 Nested call to non-existent contract (34 ms) 21:06:30 Nested call (304 ms) 21:06:30 Nested static call (257 ms) 21:06:30 Nested call with not enough gas (expect failure) (200 ms) 21:06:30 Nested static call which modifies storage (expect failure) (181 ms) 21:06:30 Nested calls rethrow exceptions (295 ms) 21:06:30 Should handle returndatacopy oracle (240 ms) 21:06:30 Side effect trace errors on overflow 21:06:30 Overrun of Public storage writes (11 ms) 21:06:30 Overrun of New note hashes (22 ms) 21:06:30 Overrun of New nullifiers (25 ms) 21:06:30 Overrun of New unencrypted logs (2 ms) 21:06:30 Overrun of New L1 to L2 messages (2 ms) 21:06:30 Side effects including merkle checks 21:06:30 Note hashes 21:06:30 Should append new note hash correctly (297 ms) 21:06:30 Note hash check properly returns exists=false (298 ms) 21:06:30 Note hash check properly returns exists=true (282 ms) 21:06:30 Nullifiers 21:06:30 Should append a new nullifier correctly (249 ms) 21:06:30 Nullifier check properly returns exists=false (298 ms) 21:06:30 Nullifier check properly returns exists=true (258 ms) 21:06:30 Public storage accesses 21:06:30 Should set value in storage (single) (244 ms) 21:06:30 Should read value in storage (single) - never written (275 ms) 21:06:30 Should read value in storage (single) - written before, leaf exists (256 ms) 21:06:30 Should set and read value in storage (single) (272 ms) 21:06:30 21:06:30 Test Suites: 1 passed, 1 total 21:06:30 Tests: 103 passed, 103 total 21:06:30 Snapshots: 0 total 21:06:30 Time: 12.208 s 21:06:30 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 21:06:30 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?