Parent Log:
http://ci.aztec-labs.com/505880563421c087
Command: 816a8a0e28c14627 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7d223783d91db15002a09abc1b52d1455eb3e3da
Env: REF_NAME=gh-readonly-queue/next/pr-14161-97080f178c0a3e244c64b3c17bf255bed63fc3cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 10:41:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14161_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:41:36 [10:41:36.425]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:41:40 [10:41:40.495]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:41:41 [10:41:41.725]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KNtXNA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:42 [10:41:42.025]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-yf3UQT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:42 [10:41:42.281]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-yUdjBZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:42 [10:41:42.552]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZhMk9I/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:42 [10:41:42.800]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-7bEqyQ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:43 [10:41:43.056]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-bOrl0H/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:43 [10:41:43.305]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-WEypRg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:43 [10:41:43.599]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-W06Hlk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:43 [10:41:43.881]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Mo0cXR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:44 [10:41:44.126]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-g1GIe7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:41:44
PASS src/public/avm/avm_simulator.test.ts (
10.513 s)
10:41:44 AVM simulator: injected bytecode
10:41:44
✓ Should execute bytecode that performs basic addition (6 ms)
10:41:44
✓ Should halt if runs out of gas (2 ms)
10:41:44
✓ An exceptional halt should consume all allocated gas (1 ms)
10:41:44 AVM simulator: transpiled Noir contracts
10:41:44
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
10:41:44
✓ addition (26 ms)
10:41:44
✓ addition via dispatch (250 ms)
10:41:44
✓ get_args_hash via dispatch (63 ms)
10:41:44
✓ modulo and u1 (17 ms)
10:41:44
✓ Should handle calldata oracle (23 ms)
10:41:44
✓ Should handle return oracle (15 ms)
10:41:44
✓ Should handle revert oracle (20 ms)
10:41:44
✓ ec_add should not revert (31 ms)
10:41:44
✓ elliptic curve operations (25 ms)
10:41:44
✓ pedersen commitment operations (48 ms)
10:41:44
✓ conditional move operations (25 ms)
10:41:44
✓ Logging (25 ms)
10:41:44
✓ Assertion message (39 ms)
10:41:44
✓ conversions (20 ms)
10:41:44
✓ should be able to execute contracts that only have private functions (1 ms)
10:41:44 msm
10:41:44
✓ low scalars (40 ms)
10:41:44
✓ with a zero (29 ms)
10:41:44
✓ high scalars (153 ms)
10:41:44 U128 addition and overflows
10:41:44
✓ U128 addition (24 ms)
10:41:44
✓ Expect failure on U128::add() overflow (49 ms)
10:41:44 SET functions
10:41:44
✓ function 'set_opcode_u8' (22 ms)
10:41:44
✓ function 'set_opcode_u32' (20 ms)
10:41:44
✓ function 'set_opcode_u64' (19 ms)
10:41:44
✓ function 'set_opcode_small_field' (16 ms)
10:41:44
✓ function 'set_opcode_big_field' (18 ms)
10:41:44
✓ function 'set_opcode_really_big_field' (18 ms)
10:41:44 Hashes in noir contracts
10:41:44
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (31 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (27 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (24 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (39 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (21 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (31 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (36 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (32 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (34 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (50 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (96 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (92 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (145 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (136 ms)
10:41:44
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (443 ms)
10:41:44
✓ Should execute contract function that performs keccak_hash on input of length 10 (49 ms)
10:41:44
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms)
10:41:44
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (11 ms)
10:41:44
✓ Should execute contract function that performs pedersen_hash on input of length 10 (525 ms)
10:41:44
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (425 ms)
10:41:44 Environment getters
10:41:44
✓ address getter (28 ms)
10:41:44
✓ sender getter (23 ms)
10:41:44
✓ transactionFee getter (19 ms)
10:41:44
✓ chainId getter (16 ms)
10:41:44
✓ version getter (17 ms)
10:41:44
✓ blockNumber getter (20 ms)
10:41:44
✓ timestamp getter (25 ms)
10:41:44
✓ feePerDaGas getter (19 ms)
10:41:44
✓ feePerL2Gas getter (12 ms)
10:41:44 Side effects, world state, nested calls
10:41:44
✓ Should append a new note hash correctly (22 ms)
10:41:44
✓ Should append a new nullifier correctly (20 ms)
10:41:44 Note hash checks
10:41:44
✓ Should return false (and be traced) when noteHash does NOT exist (22 ms)
10:41:44
✓ Should return true (and be traced) when noteHash DOES exist (22 ms)
10:41:44
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (15 ms)
10:41:44 Nullifier checks
10:41:44
✓ Should return false (and be traced) when nullifier does NOT exist (12 ms)
10:41:44
✓ Should return true (and be traced) when nullifier DOES exist (18 ms)
10:41:44 L1ToL2 message checks
10:41:44
✓ Should return false (and be traced) when message does NOT exist (16 ms)
10:41:44
✓ Should return true (and be traced) when message DOES exist (25 ms)
10:41:44
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (15 ms)
10:41:44 Cached nullifiers
10:41:44
✓ Emits a nullifier and checks its existence (24 ms)
10:41:44
✓ Emits same nullifier twice (expect failure) (26 ms)
10:41:44 Public Logs
10:41:44
✓ Emit public logs (should be traced) (70 ms)
10:41:44 Public storage accesses
10:41:44
✓ Should set value in storage (single) (26 ms)
10:41:44
✓ Should read value in storage (single) (24 ms)
10:41:44
✓ Should set and read a value from storage (single) (27 ms)
10:41:44
✓ Should set a value in storage (list) (22 ms)
10:41:44
✓ Should read a value in storage (list) (22 ms)
10:41:44
✓ Should set a value in storage (map) (34 ms)
10:41:44
✓ Should read-add-set a value in storage (map) (34 ms)
10:41:44
✓ Should read value in storage (map) (28 ms)
10:41:44 Contract Instance Retrieval
10:41:44
✓ Can getContractInstance (20 ms)
10:41:44 Nested external calls
10:41:44
✓ Nested call to non-existent contract (17 ms)
10:41:44
✓ Nested call (241 ms)
10:41:44
✓ Nested static call (195 ms)
10:41:44
✓ Nested call with not enough gas (expect failure) (164 ms)
10:41:44
✓ Nested static call which modifies storage (expect failure) (179 ms)
10:41:44
✓ Nested calls rethrow exceptions (197 ms)
10:41:44
✓ Should handle returndatacopy oracle (176 ms)
10:41:44 Side effect trace errors on overflow
10:41:44
✓ Overrun of Public storage writes (8 ms)
10:41:44
✓ Overrun of New note hashes (15 ms)
10:41:44
✓ Overrun of New nullifiers (14 ms)
10:41:44
✓ Overrun of New unencrypted logs (3 ms)
10:41:44
✓ Overrun of New L1 to L2 messages (18 ms)
10:41:44 Side effects including merkle checks
10:41:44 Note hashes
10:41:44
✓ Should append new note hash correctly (306 ms)
10:41:44
✓ Note hash check properly returns exists=false (254 ms)
10:41:44
✓ Note hash check properly returns exists=true (266 ms)
10:41:44 Nullifiers
10:41:44
✓ Should append a new nullifier correctly (252 ms)
10:41:44
✓ Nullifier check properly returns exists=false (258 ms)
10:41:44
✓ Nullifier check properly returns exists=true (246 ms)
10:41:44 Public storage accesses
10:41:44
✓ Should set value in storage (single) (296 ms)
10:41:44
✓ Should read value in storage (single) - never written (279 ms)
10:41:44
✓ Should read value in storage (single) - written before, leaf exists (246 ms)
10:41:44
✓ Should set and read value in storage (single) (238 ms)
10:41:44
10:41:44
Test Suites: 1 passed, 1 total
10:41:44
Tests: 103 passed, 103 total
10:41:44
Snapshots: 0 total
10:41:44
Time: 10.594 s
10:41:44
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
10:41:44
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?