Parent Log:
http://ci.aztec-labs.com/bb5a5dfbdc7368c1
Command: a5511b51e55ea9c0 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/0dc6f60f84deaa57a8570f9942eb75317f5aeea5
Env: REF_NAME=gh-readonly-queue/next/pr-15162-6ee95286f8bcc5bb6dca43222459ac5bf43a8a75 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 09:43:07 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15162_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
09:43:11 [09:43:11.117]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
09:43:15 [09:43:15.491]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
09:43:16 [09:43:16.285]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-b438ae/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:16 [09:43:16.580]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Ev8WCn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:16 [09:43:16.841]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ooWTgy/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:17 [09:43:17.098]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gLuMhO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:17 [09:43:17.360]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-J6xibg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:17 [09:43:17.624]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-uqf9OZ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:17 [09:43:17.904]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-lmR03c/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:18 [09:43:18.160]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-CP7gOL/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:18 [09:43:18.426]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-EZ1cH1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:18 [09:43:18.685]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-A81o5N/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:43:19
PASS src/public/avm/avm_simulator.test.ts (
10.462 s)
09:43:19 AVM simulator: injected bytecode
09:43:19
✓ Should execute bytecode that performs basic addition (10 ms)
09:43:19
✓ Should halt if runs out of gas (3 ms)
09:43:19
✓ An exceptional halt should consume all allocated gas (2 ms)
09:43:19 AVM simulator: transpiled Noir contracts
09:43:19
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
09:43:19
✓ addition (35 ms)
09:43:19
✓ addition via dispatch (261 ms)
09:43:19
✓ get_args_hash via dispatch (60 ms)
09:43:19
✓ modulo and u1 (31 ms)
09:43:19
✓ Should handle calldata oracle (32 ms)
09:43:19
✓ Should handle return oracle (34 ms)
09:43:19
✓ Should handle revert oracle (31 ms)
09:43:19
✓ ec_add should not revert (33 ms)
09:43:19
✓ elliptic curve operations (29 ms)
09:43:19
✓ pedersen commitment operations (44 ms)
09:43:19
✓ conditional move operations (31 ms)
09:43:19
✓ Logging (21 ms)
09:43:19
✓ Assertion message (50 ms)
09:43:19
✓ conversions (17 ms)
09:43:19
✓ should be able to execute contracts that only have private functions (3 ms)
09:43:19 msm
09:43:19
✓ low scalars (34 ms)
09:43:19
✓ with a zero (29 ms)
09:43:19
✓ high scalars (156 ms)
09:43:19 U128 addition and overflows
09:43:19
✓ U128 addition (30 ms)
09:43:19
✓ Expect failure on U128::add() overflow (51 ms)
09:43:19 SET functions
09:43:19
✓ function 'set_opcode_u8' (19 ms)
09:43:19
✓ function 'set_opcode_u32' (25 ms)
09:43:19
✓ function 'set_opcode_u64' (19 ms)
09:43:19
✓ function 'set_opcode_small_field' (27 ms)
09:43:19
✓ function 'set_opcode_big_field' (30 ms)
09:43:19
✓ function 'set_opcode_really_big_field' (32 ms)
09:43:19 Hashes in noir contracts
09:43:19
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (51 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (35 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (39 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (39 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (38 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (35 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (49 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (48 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (37 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (84 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (68 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (148 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (126 ms)
09:43:19
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (483 ms)
09:43:19
✓ Should execute contract function that performs keccak_hash on input of length 10 (64 ms)
09:43:19
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (17 ms)
09:43:19
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (22 ms)
09:43:19
✓ Should execute contract function that performs pedersen_hash on input of length 10 (519 ms)
09:43:19
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (427 ms)
09:43:19 Environment getters
09:43:19
✓ address getter (18 ms)
09:43:19
✓ sender getter (18 ms)
09:43:19
✓ transactionFee getter (25 ms)
09:43:19
✓ chainId getter (28 ms)
09:43:19
✓ version getter (28 ms)
09:43:19
✓ blockNumber getter (18 ms)
09:43:19
✓ timestamp getter (19 ms)
09:43:19
✓ feePerDaGas getter (32 ms)
09:43:19
✓ feePerL2Gas getter (27 ms)
09:43:19 Side effects, world state, nested calls
09:43:19
✓ Should append a new note hash correctly (19 ms)
09:43:19
✓ Should append a new nullifier correctly (39 ms)
09:43:19 Note hash checks
09:43:19
✓ Should return false (and be traced) when noteHash does NOT exist (27 ms)
09:43:19
✓ Should return true (and be traced) when noteHash DOES exist (26 ms)
09:43:19
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (17 ms)
09:43:19 Nullifier checks
09:43:19
✓ Should return false (and be traced) when nullifier does NOT exist (31 ms)
09:43:19
✓ Should return true (and be traced) when nullifier DOES exist (23 ms)
09:43:19 L1ToL2 message checks
09:43:19
✓ Should return false (and be traced) when message does NOT exist (22 ms)
09:43:19
✓ Should return true (and be traced) when message DOES exist (24 ms)
09:43:19
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
09:43:19 Cached nullifiers
09:43:19
✓ Emits a nullifier and checks its existence (28 ms)
09:43:19
✓ Emits same nullifier twice (expect failure) (30 ms)
09:43:19 Public Logs
09:43:19
✓ Emit public logs (should be traced) (69 ms)
09:43:19 Public storage accesses
09:43:19
✓ Should set value in storage (single) (25 ms)
09:43:19
✓ Should read value in storage (single) (19 ms)
09:43:19
✓ Should set and read a value from storage (single) (23 ms)
09:43:19
✓ Should set a value in storage (list) (25 ms)
09:43:19
✓ Should read a value in storage (list) (20 ms)
09:43:19
✓ Should set a value in storage (map) (24 ms)
09:43:19
✓ Should read-add-set a value in storage (map) (37 ms)
09:43:19
✓ Should read value in storage (map) (19 ms)
09:43:19 Contract Instance Retrieval
09:43:19
✓ Can getContractInstance (26 ms)
09:43:19 Nested external calls
09:43:19
✓ Nested call to non-existent contract (25 ms)
09:43:19
✓ Nested call (127 ms)
09:43:19
✓ Nested static call (134 ms)
09:43:19
✓ Nested call with not enough gas (expect failure) (118 ms)
09:43:19
✓ Nested static call which modifies storage (expect failure) (117 ms)
09:43:19
✓ Nested calls rethrow exceptions (134 ms)
09:43:19
✓ Should handle returndatacopy oracle (100 ms)
09:43:19 Side effect trace errors on overflow
09:43:19
✓ Overrun of Public storage writes (10 ms)
09:43:19
✓ Overrun of New note hashes (18 ms)
09:43:19
✓ Overrun of New nullifiers (11 ms)
09:43:19
✓ Overrun of New unencrypted logs (1 ms)
09:43:19
✓ Overrun of New L1 to L2 messages (2 ms)
09:43:19 Side effects including merkle checks
09:43:19 Note hashes
09:43:19
✓ Should append new note hash correctly (300 ms)
09:43:19
✓ Note hash check properly returns exists=false (264 ms)
09:43:19
✓ Note hash check properly returns exists=true (256 ms)
09:43:19 Nullifiers
09:43:19
✓ Should append a new nullifier correctly (260 ms)
09:43:19
✓ Nullifier check properly returns exists=false (263 ms)
09:43:19
✓ Nullifier check properly returns exists=true (268 ms)
09:43:19 Public storage accesses
09:43:19
✓ Should set value in storage (single) (270 ms)
09:43:19
✓ Should read value in storage (single) - never written (263 ms)
09:43:19
✓ Should read value in storage (single) - written before, leaf exists (260 ms)
09:43:19
✓ Should set and read value in storage (single) (317 ms)
09:43:19
09:43:19
Test Suites: 1 passed, 1 total
09:43:19
Tests: 103 passed, 103 total
09:43:19
Snapshots: 0 total
09:43:19
Time: 10.565 s
09:43:19
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
09:43:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?