Parent Log: http://ci.aztec-labs.com/1e5f68eab57c502e Command: 3f1d1d87da1584d1 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/aac426c9418162aeee8162ed45014b9393d605b8 Env: REF_NAME=gh-readonly-queue/next/pr-15051-92d685c3a802eb31897b6f13d28b9ee428c73744 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 06:36:03 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15051_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 06:36:07 [06:36:07.097] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 06:36:11 [06:36:11.993] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 06:36:12 [06:36:12.940] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-hShFuI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:13 [06:36:13.222] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zMfih8/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:13 [06:36:13.513] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-jOWCeE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:13 [06:36:13.801] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-kPixYR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:14 [06:36:14.073] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-V0AnBa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:14 [06:36:14.340] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-w5UsKH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:14 [06:36:14.625] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-8US1RT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:14 [06:36:14.875] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-J45ccE/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:15 [06:36:15.165] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-2x85qy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:15 [06:36:15.416] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-zPfYaO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 06:36:15 PASS src/public/avm/avm_simulator.test.ts (11.344 s) 06:36:15 AVM simulator: injected bytecode 06:36:15 Should execute bytecode that performs basic addition (8 ms) 06:36:15 Should halt if runs out of gas (3 ms) 06:36:15 An exceptional halt should consume all allocated gas (1 ms) 06:36:15 AVM simulator: transpiled Noir contracts 06:36:15 execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms) 06:36:15 addition (48 ms) 06:36:15 addition via dispatch (265 ms) 06:36:15 get_args_hash via dispatch (61 ms) 06:36:15 modulo and u1 (21 ms) 06:36:15 Should handle calldata oracle (38 ms) 06:36:15 Should handle return oracle (32 ms) 06:36:15 Should handle revert oracle (32 ms) 06:36:15 ec_add should not revert (33 ms) 06:36:15 elliptic curve operations (29 ms) 06:36:15 pedersen commitment operations (61 ms) 06:36:15 conditional move operations (27 ms) 06:36:15 Logging (43 ms) 06:36:15 Assertion message (50 ms) 06:36:15 conversions (22 ms) 06:36:15 should be able to execute contracts that only have private functions (2 ms) 06:36:15 msm 06:36:15 low scalars (49 ms) 06:36:15 with a zero (36 ms) 06:36:15 high scalars (184 ms) 06:36:15 U128 addition and overflows 06:36:15 U128 addition (42 ms) 06:36:15 Expect failure on U128::add() overflow (41 ms) 06:36:15 SET functions 06:36:15 function 'set_opcode_u8' (29 ms) 06:36:15 function 'set_opcode_u32' (33 ms) 06:36:15 function 'set_opcode_u64' (34 ms) 06:36:15 function 'set_opcode_small_field' (36 ms) 06:36:15 function 'set_opcode_big_field' (39 ms) 06:36:15 function 'set_opcode_really_big_field' (35 ms) 06:36:15 Hashes in noir contracts 06:36:15 Should execute contract function that performs sha256_hash_10 on input of length 10 (48 ms) 06:36:15 Should execute contract function that performs sha256_hash_20 on input of length 20 (34 ms) 06:36:15 Should execute contract function that performs sha256_hash_30 on input of length 30 (29 ms) 06:36:15 Should execute contract function that performs sha256_hash_40 on input of length 40 (41 ms) 06:36:15 Should execute contract function that performs sha256_hash_50 on input of length 50 (26 ms) 06:36:15 Should execute contract function that performs sha256_hash_60 on input of length 60 (35 ms) 06:36:15 Should execute contract function that performs sha256_hash_70 on input of length 70 (49 ms) 06:36:15 Should execute contract function that performs sha256_hash_80 on input of length 80 (41 ms) 06:36:15 Should execute contract function that performs sha256_hash_90 on input of length 90 (55 ms) 06:36:15 Should execute contract function that performs sha256_hash_100 on input of length 100 (57 ms) 06:36:15 Should execute contract function that performs sha256_hash_255 on input of length 255 (82 ms) 06:36:15 Should execute contract function that performs sha256_hash_256 on input of length 256 (74 ms) 06:36:15 Should execute contract function that performs sha256_hash_511 on input of length 511 (134 ms) 06:36:15 Should execute contract function that performs sha256_hash_512 on input of length 512 (156 ms) 06:36:15 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (508 ms) 06:36:15 Should execute contract function that performs keccak_hash on input of length 10 (37 ms) 06:36:15 Should execute contract function that performs keccak_f1600 on input of length 25 (20 ms) 06:36:15 Should execute contract function that performs poseidon2_hash on input of length 10 (12 ms) 06:36:15 Should execute contract function that performs pedersen_hash on input of length 10 (589 ms) 06:36:15 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (464 ms) 06:36:15 Environment getters 06:36:15 address getter (33 ms) 06:36:15 sender getter (31 ms) 06:36:15 transactionFee getter (23 ms) 06:36:15 chainId getter (28 ms) 06:36:15 version getter (33 ms) 06:36:15 blockNumber getter (22 ms) 06:36:15 timestamp getter (21 ms) 06:36:15 feePerDaGas getter (29 ms) 06:36:15 feePerL2Gas getter (24 ms) 06:36:15 Side effects, world state, nested calls 06:36:15 Should append a new note hash correctly (37 ms) 06:36:15 Should append a new nullifier correctly (30 ms) 06:36:15 Note hash checks 06:36:15 Should return false (and be traced) when noteHash does NOT exist (32 ms) 06:36:15 Should return true (and be traced) when noteHash DOES exist (36 ms) 06:36:15 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (36 ms) 06:36:15 Nullifier checks 06:36:15 Should return false (and be traced) when nullifier does NOT exist (31 ms) 06:36:15 Should return true (and be traced) when nullifier DOES exist (39 ms) 06:36:15 L1ToL2 message checks 06:36:15 Should return false (and be traced) when message does NOT exist (27 ms) 06:36:15 Should return true (and be traced) when message DOES exist (21 ms) 06:36:15 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms) 06:36:15 Cached nullifiers 06:36:15 Emits a nullifier and checks its existence (35 ms) 06:36:15 Emits same nullifier twice (expect failure) (42 ms) 06:36:15 Public Logs 06:36:15 Emit public logs (should be traced) (49 ms) 06:36:15 Public storage accesses 06:36:15 Should set value in storage (single) (41 ms) 06:36:15 Should read value in storage (single) (26 ms) 06:36:15 Should set and read a value from storage (single) (31 ms) 06:36:15 Should set a value in storage (list) (38 ms) 06:36:15 Should read a value in storage (list) (32 ms) 06:36:15 Should set a value in storage (map) (46 ms) 06:36:15 Should read-add-set a value in storage (map) (44 ms) 06:36:15 Should read value in storage (map) (35 ms) 06:36:15 Contract Instance Retrieval 06:36:15 Can getContractInstance (42 ms) 06:36:15 Nested external calls 06:36:15 Nested call to non-existent contract (32 ms) 06:36:15 Nested call (150 ms) 06:36:15 Nested static call (132 ms) 06:36:15 Nested call with not enough gas (expect failure) (118 ms) 06:36:15 Nested static call which modifies storage (expect failure) (153 ms) 06:36:15 Nested calls rethrow exceptions (165 ms) 06:36:15 Should handle returndatacopy oracle (154 ms) 06:36:15 Side effect trace errors on overflow 06:36:15 Overrun of Public storage writes (13 ms) 06:36:15 Overrun of New note hashes (21 ms) 06:36:15 Overrun of New nullifiers (13 ms) 06:36:15 Overrun of New unencrypted logs (4 ms) 06:36:15 Overrun of New L1 to L2 messages (2 ms) 06:36:15 Side effects including merkle checks 06:36:15 Note hashes 06:36:15 Should append new note hash correctly (287 ms) 06:36:15 Note hash check properly returns exists=false (293 ms) 06:36:15 Note hash check properly returns exists=true (287 ms) 06:36:15 Nullifiers 06:36:15 Should append a new nullifier correctly (273 ms) 06:36:15 Nullifier check properly returns exists=false (256 ms) 06:36:15 Nullifier check properly returns exists=true (294 ms) 06:36:15 Public storage accesses 06:36:15 Should set value in storage (single) (251 ms) 06:36:15 Should read value in storage (single) - never written (282 ms) 06:36:15 Should read value in storage (single) - written before, leaf exists (257 ms) 06:36:15 Should set and read value in storage (single) (272 ms) 06:36:15 06:36:15 Test Suites: 1 passed, 1 total 06:36:15 Tests: 103 passed, 103 total 06:36:15 Snapshots: 0 total 06:36:15 Time: 11.441 s 06:36:15 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 06:36:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?