Parent Log: http://ci.aztec-labs.com/7e515574fa561c6b Command: 2ca1986c0c6d5c2c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9222c7777effe26aa04b5367a455d25be0e7f62e Env: REF_NAME=gh-readonly-queue/next/pr-15055-a9bb2f683797c8e631b892c5f539a2867bddaabf CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 16:03:59 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15055_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next 16:04:03 [16:04:03.301] WARN: simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting... 16:04:07 [16:04:07.987] WARN: simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting... 16:04:08 [16:04:08.886] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-pd09Jw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:09 [16:04:09.152] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-FkAPbj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:09 [16:04:09.424] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-vgDT8P/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:09 [16:04:09.671] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-w7bTR5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:09 [16:04:09.923] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-q2NNbb/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:10 [16:04:10.197] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-VC3Eo1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:10 [16:04:10.497] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-G9DdH5/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:10 [16:04:10.780] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-9W95aW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:11 [16:04:11.048] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-ky0ouF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:11 [16:04:11.331] INFO: world-state:database Creating world state data store at directory /tmp/aztec-world-state-4qP4U2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads. 16:04:11 PASS src/public/avm/avm_simulator.test.ts (11.191 s) 16:04:11 AVM simulator: injected bytecode 16:04:11 Should execute bytecode that performs basic addition (8 ms) 16:04:11 Should halt if runs out of gas (3 ms) 16:04:11 An exceptional halt should consume all allocated gas (2 ms) 16:04:11 AVM simulator: transpiled Noir contracts 16:04:11 execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms) 16:04:11 addition (22 ms) 16:04:11 addition via dispatch (279 ms) 16:04:11 get_args_hash via dispatch (65 ms) 16:04:11 modulo and u1 (32 ms) 16:04:11 Should handle calldata oracle (22 ms) 16:04:11 Should handle return oracle (22 ms) 16:04:11 Should handle revert oracle (24 ms) 16:04:11 ec_add should not revert (30 ms) 16:04:11 elliptic curve operations (35 ms) 16:04:11 pedersen commitment operations (36 ms) 16:04:11 conditional move operations (23 ms) 16:04:11 Logging (25 ms) 16:04:11 Assertion message (62 ms) 16:04:11 conversions (32 ms) 16:04:11 should be able to execute contracts that only have private functions (2 ms) 16:04:11 msm 16:04:11 low scalars (58 ms) 16:04:11 with a zero (40 ms) 16:04:11 high scalars (158 ms) 16:04:11 U128 addition and overflows 16:04:11 U128 addition (20 ms) 16:04:11 Expect failure on U128::add() overflow (47 ms) 16:04:11 SET functions 16:04:11 function 'set_opcode_u8' (35 ms) 16:04:11 function 'set_opcode_u32' (28 ms) 16:04:11 function 'set_opcode_u64' (23 ms) 16:04:11 function 'set_opcode_small_field' (21 ms) 16:04:11 function 'set_opcode_big_field' (24 ms) 16:04:11 function 'set_opcode_really_big_field' (25 ms) 16:04:11 Hashes in noir contracts 16:04:11 Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms) 16:04:11 Should execute contract function that performs sha256_hash_20 on input of length 20 (35 ms) 16:04:11 Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms) 16:04:11 Should execute contract function that performs sha256_hash_40 on input of length 40 (25 ms) 16:04:11 Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms) 16:04:11 Should execute contract function that performs sha256_hash_60 on input of length 60 (33 ms) 16:04:11 Should execute contract function that performs sha256_hash_70 on input of length 70 (37 ms) 16:04:11 Should execute contract function that performs sha256_hash_80 on input of length 80 (42 ms) 16:04:11 Should execute contract function that performs sha256_hash_90 on input of length 90 (35 ms) 16:04:11 Should execute contract function that performs sha256_hash_100 on input of length 100 (46 ms) 16:04:11 Should execute contract function that performs sha256_hash_255 on input of length 255 (67 ms) 16:04:11 Should execute contract function that performs sha256_hash_256 on input of length 256 (77 ms) 16:04:11 Should execute contract function that performs sha256_hash_511 on input of length 511 (182 ms) 16:04:11 Should execute contract function that performs sha256_hash_512 on input of length 512 (124 ms) 16:04:11 Should execute contract function that performs sha256_hash_2048 on input of length 2048 (448 ms) 16:04:11 Should execute contract function that performs keccak_hash on input of length 10 (63 ms) 16:04:11 Should execute contract function that performs keccak_f1600 on input of length 25 (18 ms) 16:04:11 Should execute contract function that performs poseidon2_hash on input of length 10 (22 ms) 16:04:11 Should execute contract function that performs pedersen_hash on input of length 10 (678 ms) 16:04:11 Should execute contract function that performs pedersen_hash_with_index on input of length 10 (556 ms) 16:04:11 Environment getters 16:04:11 address getter (23 ms) 16:04:11 sender getter (22 ms) 16:04:11 transactionFee getter (21 ms) 16:04:11 chainId getter (17 ms) 16:04:11 version getter (29 ms) 16:04:11 blockNumber getter (33 ms) 16:04:11 timestamp getter (17 ms) 16:04:11 feePerDaGas getter (17 ms) 16:04:11 feePerL2Gas getter (27 ms) 16:04:11 Side effects, world state, nested calls 16:04:11 Should append a new note hash correctly (29 ms) 16:04:11 Should append a new nullifier correctly (28 ms) 16:04:11 Note hash checks 16:04:11 Should return false (and be traced) when noteHash does NOT exist (29 ms) 16:04:11 Should return true (and be traced) when noteHash DOES exist (31 ms) 16:04:11 Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms) 16:04:11 Nullifier checks 16:04:11 Should return false (and be traced) when nullifier does NOT exist (27 ms) 16:04:11 Should return true (and be traced) when nullifier DOES exist (34 ms) 16:04:11 L1ToL2 message checks 16:04:11 Should return false (and be traced) when message does NOT exist (28 ms) 16:04:11 Should return true (and be traced) when message DOES exist (25 ms) 16:04:11 Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (31 ms) 16:04:11 Cached nullifiers 16:04:11 Emits a nullifier and checks its existence (33 ms) 16:04:11 Emits same nullifier twice (expect failure) (24 ms) 16:04:11 Public Logs 16:04:11 Emit public logs (should be traced) (60 ms) 16:04:11 Public storage accesses 16:04:11 Should set value in storage (single) (19 ms) 16:04:11 Should read value in storage (single) (26 ms) 16:04:11 Should set and read a value from storage (single) (28 ms) 16:04:11 Should set a value in storage (list) (24 ms) 16:04:11 Should read a value in storage (list) (23 ms) 16:04:11 Should set a value in storage (map) (30 ms) 16:04:11 Should read-add-set a value in storage (map) (40 ms) 16:04:11 Should read value in storage (map) (29 ms) 16:04:11 Contract Instance Retrieval 16:04:11 Can getContractInstance (22 ms) 16:04:11 Nested external calls 16:04:11 Nested call to non-existent contract (31 ms) 16:04:11 Nested call (139 ms) 16:04:11 Nested static call (122 ms) 16:04:11 Nested call with not enough gas (expect failure) (108 ms) 16:04:11 Nested static call which modifies storage (expect failure) (145 ms) 16:04:11 Nested calls rethrow exceptions (151 ms) 16:04:11 Should handle returndatacopy oracle (156 ms) 16:04:11 Side effect trace errors on overflow 16:04:11 Overrun of Public storage writes (13 ms) 16:04:11 Overrun of New note hashes (23 ms) 16:04:11 Overrun of New nullifiers (15 ms) 16:04:11 Overrun of New unencrypted logs (2 ms) 16:04:11 Overrun of New L1 to L2 messages (1 ms) 16:04:11 Side effects including merkle checks 16:04:11 Note hashes 16:04:11 Should append new note hash correctly (276 ms) 16:04:11 Note hash check properly returns exists=false (274 ms) 16:04:11 Note hash check properly returns exists=true (245 ms) 16:04:11 Nullifiers 16:04:11 Should append a new nullifier correctly (250 ms) 16:04:11 Nullifier check properly returns exists=false (273 ms) 16:04:11 Nullifier check properly returns exists=true (296 ms) 16:04:11 Public storage accesses 16:04:11 Should set value in storage (single) (285 ms) 16:04:11 Should read value in storage (single) - never written (268 ms) 16:04:11 Should read value in storage (single) - written before, leaf exists (281 ms) 16:04:11 Should set and read value in storage (single) (247 ms) 16:04:11 16:04:11 Test Suites: 1 passed, 1 total 16:04:11 Tests: 103 passed, 103 total 16:04:11 Snapshots: 0 total 16:04:11 Time: 11.281 s 16:04:11 Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts. 16:04:11 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?