Parent Log:
http://ci.aztec-labs.com/a9198a30c600dd3e
Command: 48483af633053ffe yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/3b44f825dcd3249b2c8a1105905fa3394aa7213d
Env: REF_NAME=gh-readonly-queue/next/pr-15041-eeab628a4e44477cb6796c5a461ee0c0bb332d75 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 17:47:13 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15041_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
17:47:17 [17:47:17.781]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
17:47:22 [17:47:22.395]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
17:47:23 [17:47:23.850]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Z52nn1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:24 [17:47:24.200]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-T6oxiK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:24 [17:47:24.458]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OaUEYX/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:24 [17:47:24.715]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-UCNknI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:24 [17:47:24.999]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-3YzqUc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:25 [17:47:25.255]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-B1rfZu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:25 [17:47:25.527]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-GrRlcF/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:25 [17:47:25.817]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-vwcN3z/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:26 [17:47:26.122]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IIieA3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:26 [17:47:26.396]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OirLRJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
17:47:26
PASS src/public/avm/avm_simulator.test.ts (
12.056 s)
17:47:26 AVM simulator: injected bytecode
17:47:26
✓ Should execute bytecode that performs basic addition (8 ms)
17:47:26
✓ Should halt if runs out of gas (4 ms)
17:47:26
✓ An exceptional halt should consume all allocated gas (1 ms)
17:47:26 AVM simulator: transpiled Noir contracts
17:47:26
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
17:47:26
✓ addition (32 ms)
17:47:26
✓ addition via dispatch (275 ms)
17:47:26
✓ get_args_hash via dispatch (69 ms)
17:47:26
✓ modulo and u1 (36 ms)
17:47:26
✓ Should handle calldata oracle (37 ms)
17:47:26
✓ Should handle return oracle (24 ms)
17:47:26
✓ Should handle revert oracle (18 ms)
17:47:26
✓ ec_add should not revert (23 ms)
17:47:26
✓ elliptic curve operations (22 ms)
17:47:26
✓ pedersen commitment operations (41 ms)
17:47:26
✓ conditional move operations (24 ms)
17:47:26
✓ Logging (36 ms)
17:47:26
✓ Assertion message (53 ms)
17:47:26
✓ conversions (22 ms)
17:47:26
✓ should be able to execute contracts that only have private functions (1 ms)
17:47:26 msm
17:47:26
✓ low scalars (42 ms)
17:47:26
✓ with a zero (22 ms)
17:47:26
✓ high scalars (170 ms)
17:47:26 U128 addition and overflows
17:47:26
✓ U128 addition (35 ms)
17:47:26
✓ Expect failure on U128::add() overflow (49 ms)
17:47:26 SET functions
17:47:26
✓ function 'set_opcode_u8' (20 ms)
17:47:26
✓ function 'set_opcode_u32' (32 ms)
17:47:26
✓ function 'set_opcode_u64' (28 ms)
17:47:26
✓ function 'set_opcode_small_field' (26 ms)
17:47:26
✓ function 'set_opcode_big_field' (23 ms)
17:47:26
✓ function 'set_opcode_really_big_field' (24 ms)
17:47:26 Hashes in noir contracts
17:47:26
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (30 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (23 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (34 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (35 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (43 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (47 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (44 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (51 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (40 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (56 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (92 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (70 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (148 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (125 ms)
17:47:26
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (518 ms)
17:47:26
✓ Should execute contract function that performs keccak_hash on input of length 10 (57 ms)
17:47:26
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms)
17:47:26
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms)
17:47:26
✓ Should execute contract function that performs pedersen_hash on input of length 10 (631 ms)
17:47:26
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (508 ms)
17:47:26 Environment getters
17:47:26
✓ address getter (23 ms)
17:47:26
✓ sender getter (21 ms)
17:47:26
✓ transactionFee getter (20 ms)
17:47:26
✓ chainId getter (21 ms)
17:47:26
✓ version getter (32 ms)
17:47:26
✓ blockNumber getter (21 ms)
17:47:26
✓ timestamp getter (17 ms)
17:47:26
✓ feePerDaGas getter (20 ms)
17:47:26
✓ feePerL2Gas getter (17 ms)
17:47:26 Side effects, world state, nested calls
17:47:26
✓ Should append a new note hash correctly (32 ms)
17:47:26
✓ Should append a new nullifier correctly (34 ms)
17:47:26 Note hash checks
17:47:26
✓ Should return false (and be traced) when noteHash does NOT exist (23 ms)
17:47:26
✓ Should return true (and be traced) when noteHash DOES exist (30 ms)
17:47:26
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (31 ms)
17:47:26 Nullifier checks
17:47:26
✓ Should return false (and be traced) when nullifier does NOT exist (34 ms)
17:47:26
✓ Should return true (and be traced) when nullifier DOES exist (32 ms)
17:47:26 L1ToL2 message checks
17:47:26
✓ Should return false (and be traced) when message does NOT exist (31 ms)
17:47:26
✓ Should return true (and be traced) when message DOES exist (35 ms)
17:47:26
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (31 ms)
17:47:26 Cached nullifiers
17:47:26
✓ Emits a nullifier and checks its existence (23 ms)
17:47:26
✓ Emits same nullifier twice (expect failure) (21 ms)
17:47:26 Public Logs
17:47:26
✓ Emit public logs (should be traced) (45 ms)
17:47:26 Public storage accesses
17:47:26
✓ Should set value in storage (single) (20 ms)
17:47:26
✓ Should read value in storage (single) (20 ms)
17:47:26
✓ Should set and read a value from storage (single) (21 ms)
17:47:26
✓ Should set a value in storage (list) (22 ms)
17:47:26
✓ Should read a value in storage (list) (23 ms)
17:47:26
✓ Should set a value in storage (map) (27 ms)
17:47:26
✓ Should read-add-set a value in storage (map) (30 ms)
17:47:26
✓ Should read value in storage (map) (26 ms)
17:47:26 Contract Instance Retrieval
17:47:26
✓ Can getContractInstance (20 ms)
17:47:26 Nested external calls
17:47:26
✓ Nested call to non-existent contract (24 ms)
17:47:26
✓ Nested call (199 ms)
17:47:26
✓ Nested static call (217 ms)
17:47:26
✓ Nested call with not enough gas (expect failure) (206 ms)
17:47:26
✓ Nested static call which modifies storage (expect failure) (242 ms)
17:47:26
✓ Nested calls rethrow exceptions (254 ms)
17:47:26
✓ Should handle returndatacopy oracle (254 ms)
17:47:26 Side effect trace errors on overflow
17:47:26
✓ Overrun of Public storage writes (9 ms)
17:47:26
✓ Overrun of New note hashes (21 ms)
17:47:26
✓ Overrun of New nullifiers (14 ms)
17:47:26
✓ Overrun of New unencrypted logs (2 ms)
17:47:26
✓ Overrun of New L1 to L2 messages (2 ms)
17:47:26 Side effects including merkle checks
17:47:26 Note hashes
17:47:26
✓ Should append new note hash correctly (373 ms)
17:47:26
✓ Note hash check properly returns exists=false (259 ms)
17:47:26
✓ Note hash check properly returns exists=true (255 ms)
17:47:26 Nullifiers
17:47:26
✓ Should append a new nullifier correctly (285 ms)
17:47:26
✓ Nullifier check properly returns exists=false (257 ms)
17:47:26
✓ Nullifier check properly returns exists=true (269 ms)
17:47:26 Public storage accesses
17:47:26
✓ Should set value in storage (single) (292 ms)
17:47:26
✓ Should read value in storage (single) - never written (305 ms)
17:47:26
✓ Should read value in storage (single) - written before, leaf exists (271 ms)
17:47:26
✓ Should set and read value in storage (single) (298 ms)
17:47:26
17:47:26
Test Suites: 1 passed, 1 total
17:47:26
Tests: 103 passed, 103 total
17:47:26
Snapshots: 0 total
17:47:26
Time: 12.154 s
17:47:26
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
17:47:26
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?