Parent Log:
http://ci.aztec-labs.com/034b537ee44cd1a8
Command: 128a905c1f9c1691 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/76ca48a2187e3506bb464eae574e49476c2876ca
Env: REF_NAME=gh-readonly-queue/next/pr-15045-9d6fb0bd1594726370a5f3a56591963452264642 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 18:06:23 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15045_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
18:06:26 [18:06:26.131]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
18:06:30 [18:06:30.101]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
18:06:31 [18:06:31.464]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-dUr9zY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:31 [18:06:31.686]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-jzQvfP/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:31 [18:06:31.979]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6bd50o/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:32 [18:06:32.233]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-R6A1XT/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:32 [18:06:32.504]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-zDeIsO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:32 [18:06:32.765]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Mvywc6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:33 [18:06:33.027]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HgpKl4/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:33 [18:06:33.326]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OXBJUU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:33 [18:06:33.598]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pQTu5P/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:33 [18:06:33.904]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-94oajq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
18:06:34
PASS src/public/avm/avm_simulator.test.ts (
10.199 s)
18:06:34 AVM simulator: injected bytecode
18:06:34
✓ Should execute bytecode that performs basic addition (6 ms)
18:06:34
✓ Should halt if runs out of gas (10 ms)
18:06:34
✓ An exceptional halt should consume all allocated gas (3 ms)
18:06:34 AVM simulator: transpiled Noir contracts
18:06:34
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
18:06:34
✓ addition (18 ms)
18:06:34
✓ addition via dispatch (267 ms)
18:06:34
✓ get_args_hash via dispatch (50 ms)
18:06:34
✓ modulo and u1 (30 ms)
18:06:34
✓ Should handle calldata oracle (29 ms)
18:06:34
✓ Should handle return oracle (22 ms)
18:06:34
✓ Should handle revert oracle (33 ms)
18:06:34
✓ ec_add should not revert (23 ms)
18:06:34
✓ elliptic curve operations (21 ms)
18:06:34
✓ pedersen commitment operations (44 ms)
18:06:34
✓ conditional move operations (23 ms)
18:06:34
✓ Logging (21 ms)
18:06:34
✓ Assertion message (53 ms)
18:06:34
✓ conversions (22 ms)
18:06:34
✓ should be able to execute contracts that only have private functions (1 ms)
18:06:34 msm
18:06:34
✓ low scalars (46 ms)
18:06:34
✓ with a zero (32 ms)
18:06:34
✓ high scalars (152 ms)
18:06:34 U128 addition and overflows
18:06:34
✓ U128 addition (20 ms)
18:06:34
✓ Expect failure on U128::add() overflow (49 ms)
18:06:34 SET functions
18:06:34
✓ function 'set_opcode_u8' (34 ms)
18:06:34
✓ function 'set_opcode_u32' (22 ms)
18:06:34
✓ function 'set_opcode_u64' (21 ms)
18:06:34
✓ function 'set_opcode_small_field' (14 ms)
18:06:34
✓ function 'set_opcode_big_field' (30 ms)
18:06:34
✓ function 'set_opcode_really_big_field' (24 ms)
18:06:34 Hashes in noir contracts
18:06:34
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (33 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (51 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (29 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (30 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (38 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (47 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (34 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (57 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (81 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (117 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (111 ms)
18:06:34
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (408 ms)
18:06:34
✓ Should execute contract function that performs keccak_hash on input of length 10 (51 ms)
18:06:34
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
18:06:34
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (12 ms)
18:06:34
✓ Should execute contract function that performs pedersen_hash on input of length 10 (474 ms)
18:06:34
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (424 ms)
18:06:34 Environment getters
18:06:34
✓ address getter (18 ms)
18:06:34
✓ sender getter (16 ms)
18:06:34
✓ transactionFee getter (22 ms)
18:06:34
✓ chainId getter (14 ms)
18:06:34
✓ version getter (19 ms)
18:06:34
✓ blockNumber getter (15 ms)
18:06:34
✓ timestamp getter (15 ms)
18:06:34
✓ feePerDaGas getter (15 ms)
18:06:34
✓ feePerL2Gas getter (30 ms)
18:06:34 Side effects, world state, nested calls
18:06:34
✓ Should append a new note hash correctly (23 ms)
18:06:34
✓ Should append a new nullifier correctly (26 ms)
18:06:34 Note hash checks
18:06:34
✓ Should return false (and be traced) when noteHash does NOT exist (24 ms)
18:06:34
✓ Should return true (and be traced) when noteHash DOES exist (21 ms)
18:06:34
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
18:06:34 Nullifier checks
18:06:34
✓ Should return false (and be traced) when nullifier does NOT exist (23 ms)
18:06:34
✓ Should return true (and be traced) when nullifier DOES exist (20 ms)
18:06:34 L1ToL2 message checks
18:06:34
✓ Should return false (and be traced) when message does NOT exist (20 ms)
18:06:34
✓ Should return true (and be traced) when message DOES exist (33 ms)
18:06:34
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (19 ms)
18:06:34 Cached nullifiers
18:06:34
✓ Emits a nullifier and checks its existence (31 ms)
18:06:34
✓ Emits same nullifier twice (expect failure) (21 ms)
18:06:34 Public Logs
18:06:34
✓ Emit public logs (should be traced) (31 ms)
18:06:34 Public storage accesses
18:06:34
✓ Should set value in storage (single) (19 ms)
18:06:34
✓ Should read value in storage (single) (24 ms)
18:06:34
✓ Should set and read a value from storage (single) (18 ms)
18:06:34
✓ Should set a value in storage (list) (24 ms)
18:06:34
✓ Should read a value in storage (list) (23 ms)
18:06:34
✓ Should set a value in storage (map) (41 ms)
18:06:34
✓ Should read-add-set a value in storage (map) (33 ms)
18:06:34
✓ Should read value in storage (map) (17 ms)
18:06:34 Contract Instance Retrieval
18:06:34
✓ Can getContractInstance (26 ms)
18:06:34 Nested external calls
18:06:34
✓ Nested call to non-existent contract (23 ms)
18:06:34
✓ Nested call (248 ms)
18:06:34
✓ Nested static call (219 ms)
18:06:34
✓ Nested call with not enough gas (expect failure) (189 ms)
18:06:34
✓ Nested static call which modifies storage (expect failure) (202 ms)
18:06:34
✓ Nested calls rethrow exceptions (236 ms)
18:06:34
✓ Should handle returndatacopy oracle (211 ms)
18:06:34 Side effect trace errors on overflow
18:06:34
✓ Overrun of Public storage writes (9 ms)
18:06:34
✓ Overrun of New note hashes (21 ms)
18:06:34
✓ Overrun of New nullifiers (12 ms)
18:06:34
✓ Overrun of New unencrypted logs (2 ms)
18:06:34
✓ Overrun of New L1 to L2 messages (1 ms)
18:06:34 Side effects including merkle checks
18:06:34 Note hashes
18:06:34
✓ Should append new note hash correctly (222 ms)
18:06:34
✓ Note hash check properly returns exists=false (289 ms)
18:06:34
✓ Note hash check properly returns exists=true (258 ms)
18:06:34 Nullifiers
18:06:34
✓ Should append a new nullifier correctly (271 ms)
18:06:34
✓ Nullifier check properly returns exists=false (258 ms)
18:06:34
✓ Nullifier check properly returns exists=true (263 ms)
18:06:34 Public storage accesses
18:06:34
✓ Should set value in storage (single) (300 ms)
18:06:34
✓ Should read value in storage (single) - never written (259 ms)
18:06:34
✓ Should read value in storage (single) - written before, leaf exists (317 ms)
18:06:34
✓ Should set and read value in storage (single) (269 ms)
18:06:34
18:06:34
Test Suites: 1 passed, 1 total
18:06:34
Tests: 103 passed, 103 total
18:06:34
Snapshots: 0 total
18:06:34
Time: 10.282 s
18:06:34
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
18:06:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?