Parent Log:
http://ci.aztec-labs.com/c70586e10542d299
Command: c9b93c46acbfae2b yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/88c86d76e23c515deea689031fe891949d47ec49
Env: REF_NAME=gh-readonly-queue/next/pr-15152-3aafa23f28c401f1c88d60325230f1ce801d72a6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 10:20:24 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15152_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:20:28 [10:20:28.196]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:20:32 [10:20:32.686]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:20:33 [10:20:33.605]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-p4HLFG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:33 [10:20:33.897]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-fpHA4E/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:34 [10:20:34.173]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-nC0mBF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:34 [10:20:34.451]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-tvuZ32/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:34 [10:20:34.739]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Gi9WHF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:35 [10:20:35.002]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HAASdD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:35 [10:20:35.266]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Les000/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:35 [10:20:35.534]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-TVvJfC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:35 [10:20:35.808]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Slr54Z/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:36 [10:20:36.085]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OfbT1y/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:36
PASS src/public/avm/avm_simulator.test.ts (
10.975 s)
10:20:36 AVM simulator: injected bytecode
10:20:36
✓ Should execute bytecode that performs basic addition (10 ms)
10:20:36
✓ Should halt if runs out of gas (4 ms)
10:20:36
✓ An exceptional halt should consume all allocated gas (3 ms)
10:20:36 AVM simulator: transpiled Noir contracts
10:20:36
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
10:20:36
✓ addition (45 ms)
10:20:36
✓ addition via dispatch (296 ms)
10:20:36
✓ get_args_hash via dispatch (66 ms)
10:20:36
✓ modulo and u1 (20 ms)
10:20:36
✓ Should handle calldata oracle (23 ms)
10:20:36
✓ Should handle return oracle (20 ms)
10:20:36
✓ Should handle revert oracle (30 ms)
10:20:36
✓ ec_add should not revert (19 ms)
10:20:36
✓ elliptic curve operations (21 ms)
10:20:36
✓ pedersen commitment operations (50 ms)
10:20:36
✓ conditional move operations (32 ms)
10:20:36
✓ Logging (29 ms)
10:20:36
✓ Assertion message (54 ms)
10:20:36
✓ conversions (34 ms)
10:20:36
✓ should be able to execute contracts that only have private functions (2 ms)
10:20:36 msm
10:20:36
✓ low scalars (43 ms)
10:20:36
✓ with a zero (28 ms)
10:20:36
✓ high scalars (155 ms)
10:20:36 U128 addition and overflows
10:20:36
✓ U128 addition (27 ms)
10:20:36
✓ Expect failure on U128::add() overflow (40 ms)
10:20:36 SET functions
10:20:36
✓ function 'set_opcode_u8' (19 ms)
10:20:36
✓ function 'set_opcode_u32' (19 ms)
10:20:36
✓ function 'set_opcode_u64' (27 ms)
10:20:36
✓ function 'set_opcode_small_field' (25 ms)
10:20:36
✓ function 'set_opcode_big_field' (17 ms)
10:20:36
✓ function 'set_opcode_really_big_field' (18 ms)
10:20:36 Hashes in noir contracts
10:20:36
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (24 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (35 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (37 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (29 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (28 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (32 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (33 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (32 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (64 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (59 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (136 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (193 ms)
10:20:36
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (461 ms)
10:20:36
✓ Should execute contract function that performs keccak_hash on input of length 10 (44 ms)
10:20:36
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms)
10:20:36
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms)
10:20:36
✓ Should execute contract function that performs pedersen_hash on input of length 10 (526 ms)
10:20:36
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (546 ms)
10:20:36 Environment getters
10:20:36
✓ address getter (19 ms)
10:20:36
✓ sender getter (24 ms)
10:20:36
✓ transactionFee getter (30 ms)
10:20:36
✓ chainId getter (31 ms)
10:20:36
✓ version getter (34 ms)
10:20:36
✓ blockNumber getter (30 ms)
10:20:36
✓ timestamp getter (28 ms)
10:20:36
✓ feePerDaGas getter (31 ms)
10:20:36
✓ feePerL2Gas getter (30 ms)
10:20:36 Side effects, world state, nested calls
10:20:36
✓ Should append a new note hash correctly (20 ms)
10:20:36
✓ Should append a new nullifier correctly (20 ms)
10:20:36 Note hash checks
10:20:36
✓ Should return false (and be traced) when noteHash does NOT exist (33 ms)
10:20:36
✓ Should return true (and be traced) when noteHash DOES exist (29 ms)
10:20:36
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (30 ms)
10:20:36 Nullifier checks
10:20:36
✓ Should return false (and be traced) when nullifier does NOT exist (31 ms)
10:20:36
✓ Should return true (and be traced) when nullifier DOES exist (30 ms)
10:20:36 L1ToL2 message checks
10:20:36
✓ Should return false (and be traced) when message does NOT exist (29 ms)
10:20:36
✓ Should return true (and be traced) when message DOES exist (31 ms)
10:20:36
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
10:20:36 Cached nullifiers
10:20:36
✓ Emits a nullifier and checks its existence (19 ms)
10:20:36
✓ Emits same nullifier twice (expect failure) (21 ms)
10:20:36 Public Logs
10:20:36
✓ Emit public logs (should be traced) (43 ms)
10:20:36 Public storage accesses
10:20:36
✓ Should set value in storage (single) (25 ms)
10:20:36
✓ Should read value in storage (single) (21 ms)
10:20:36
✓ Should set and read a value from storage (single) (23 ms)
10:20:36
✓ Should set a value in storage (list) (29 ms)
10:20:36
✓ Should read a value in storage (list) (32 ms)
10:20:36
✓ Should set a value in storage (map) (41 ms)
10:20:36
✓ Should read-add-set a value in storage (map) (40 ms)
10:20:36
✓ Should read value in storage (map) (24 ms)
10:20:36 Contract Instance Retrieval
10:20:36
✓ Can getContractInstance (40 ms)
10:20:36 Nested external calls
10:20:36
✓ Nested call to non-existent contract (36 ms)
10:20:36
✓ Nested call (147 ms)
10:20:36
✓ Nested static call (135 ms)
10:20:36
✓ Nested call with not enough gas (expect failure) (126 ms)
10:20:36
✓ Nested static call which modifies storage (expect failure) (119 ms)
10:20:36
✓ Nested calls rethrow exceptions (155 ms)
10:20:36
✓ Should handle returndatacopy oracle (150 ms)
10:20:36 Side effect trace errors on overflow
10:20:36
✓ Overrun of Public storage writes (13 ms)
10:20:36
✓ Overrun of New note hashes (23 ms)
10:20:36
✓ Overrun of New nullifiers (15 ms)
10:20:36
✓ Overrun of New unencrypted logs (2 ms)
10:20:36
✓ Overrun of New L1 to L2 messages (2 ms)
10:20:36 Side effects including merkle checks
10:20:36 Note hashes
10:20:36
✓ Should append new note hash correctly (303 ms)
10:20:36
✓ Note hash check properly returns exists=false (283 ms)
10:20:36
✓ Note hash check properly returns exists=true (278 ms)
10:20:36 Nullifiers
10:20:36
✓ Should append a new nullifier correctly (289 ms)
10:20:36
✓ Nullifier check properly returns exists=false (259 ms)
10:20:36
✓ Nullifier check properly returns exists=true (266 ms)
10:20:36 Public storage accesses
10:20:36
✓ Should set value in storage (single) (268 ms)
10:20:36
✓ Should read value in storage (single) - never written (271 ms)
10:20:36
✓ Should read value in storage (single) - written before, leaf exists (277 ms)
10:20:36
✓ Should set and read value in storage (single) (274 ms)
10:20:36
10:20:36
Test Suites: 1 passed, 1 total
10:20:36
Tests: 103 passed, 103 total
10:20:36
Snapshots: 0 total
10:20:36
Time: 11.085 s
10:20:36
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
10:20:36
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?