Parent Log:
http://ci.aztec-labs.com/7ce67c70832c0bce
Command: 382b132597c2ea2f yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/99e234fe4473771b32124e0402885610a6a3f98a
Env: REF_NAME=gh-readonly-queue/next/pr-15233-1c9ca312bfdace816082212846900a49694e1e50 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 09:00:22 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15233_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
09:00:26 [09:00:26.664]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
09:00:30 [09:00:30.949]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
09:00:31 [09:00:31.853]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-APVZP2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:32 [09:00:32.118]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HBefuH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:32 [09:00:32.368]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Fo4LZw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:32 [09:00:32.633]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-QA8Ogn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:32 [09:00:32.905]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-IARBh7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:33 [09:00:33.164]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8fWvrz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:33 [09:00:33.425]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-SBj2bI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:33 [09:00:33.720]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-1CUbpe/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:33 [09:00:33.978]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NmKvW2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:34 [09:00:34.260]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mB8hWH/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
09:00:34
PASS src/public/avm/avm_simulator.test.ts (
10.473 s)
09:00:34 AVM simulator: injected bytecode
09:00:34
✓ Should execute bytecode that performs basic addition (8 ms)
09:00:34
✓ Should halt if runs out of gas (4 ms)
09:00:34
✓ An exceptional halt should consume all allocated gas (2 ms)
09:00:34 AVM simulator: transpiled Noir contracts
09:00:34
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
09:00:34
✓ addition (32 ms)
09:00:34
✓ addition via dispatch (251 ms)
09:00:34
✓ get_args_hash via dispatch (67 ms)
09:00:34
✓ modulo and u1 (29 ms)
09:00:34
✓ Should handle calldata oracle (28 ms)
09:00:34
✓ Should handle return oracle (24 ms)
09:00:34
✓ Should handle revert oracle (18 ms)
09:00:34
✓ ec_add should not revert (30 ms)
09:00:34
✓ elliptic curve operations (22 ms)
09:00:34
✓ pedersen commitment operations (50 ms)
09:00:34
✓ conditional move operations (26 ms)
09:00:34
✓ Logging (27 ms)
09:00:34
✓ Assertion message (37 ms)
09:00:34
✓ conversions (23 ms)
09:00:34
✓ should be able to execute contracts that only have private functions (1 ms)
09:00:34 msm
09:00:34
✓ low scalars (48 ms)
09:00:34
✓ with a zero (32 ms)
09:00:34
✓ high scalars (165 ms)
09:00:34 U128 addition and overflows
09:00:34
✓ U128 addition (24 ms)
09:00:34
✓ Expect failure on U128::add() overflow (48 ms)
09:00:34 SET functions
09:00:34
✓ function 'set_opcode_u8' (21 ms)
09:00:34
✓ function 'set_opcode_u32' (17 ms)
09:00:34
✓ function 'set_opcode_u64' (25 ms)
09:00:34
✓ function 'set_opcode_small_field' (26 ms)
09:00:34
✓ function 'set_opcode_big_field' (23 ms)
09:00:34
✓ function 'set_opcode_really_big_field' (25 ms)
09:00:34 Hashes in noir contracts
09:00:34
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (32 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (29 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (30 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (32 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (38 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (54 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (58 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (50 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (39 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (66 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (76 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (119 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (137 ms)
09:00:34
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (438 ms)
09:00:34
✓ Should execute contract function that performs keccak_hash on input of length 10 (53 ms)
09:00:34
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (16 ms)
09:00:34
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (13 ms)
09:00:34
✓ Should execute contract function that performs pedersen_hash on input of length 10 (568 ms)
09:00:34
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (513 ms)
09:00:34 Environment getters
09:00:34
✓ address getter (18 ms)
09:00:34
✓ sender getter (18 ms)
09:00:34
✓ transactionFee getter (16 ms)
09:00:34
✓ chainId getter (29 ms)
09:00:34
✓ version getter (18 ms)
09:00:34
✓ blockNumber getter (17 ms)
09:00:34
✓ timestamp getter (24 ms)
09:00:34
✓ feePerDaGas getter (37 ms)
09:00:34
✓ feePerL2Gas getter (20 ms)
09:00:34 Side effects, world state, nested calls
09:00:34
✓ Should append a new note hash correctly (22 ms)
09:00:34
✓ Should append a new nullifier correctly (17 ms)
09:00:34 Note hash checks
09:00:34
✓ Should return false (and be traced) when noteHash does NOT exist (19 ms)
09:00:34
✓ Should return true (and be traced) when noteHash DOES exist (26 ms)
09:00:34
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms)
09:00:34 Nullifier checks
09:00:34
✓ Should return false (and be traced) when nullifier does NOT exist (17 ms)
09:00:34
✓ Should return true (and be traced) when nullifier DOES exist (17 ms)
09:00:34 L1ToL2 message checks
09:00:34
✓ Should return false (and be traced) when message does NOT exist (19 ms)
09:00:34
✓ Should return true (and be traced) when message DOES exist (27 ms)
09:00:34
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (25 ms)
09:00:34 Cached nullifiers
09:00:34
✓ Emits a nullifier and checks its existence (19 ms)
09:00:34
✓ Emits same nullifier twice (expect failure) (26 ms)
09:00:34 Public Logs
09:00:34
✓ Emit public logs (should be traced) (36 ms)
09:00:34 Public storage accesses
09:00:34
✓ Should set value in storage (single) (19 ms)
09:00:34
✓ Should read value in storage (single) (19 ms)
09:00:34
✓ Should set and read a value from storage (single) (24 ms)
09:00:34
✓ Should set a value in storage (list) (18 ms)
09:00:34
✓ Should read a value in storage (list) (21 ms)
09:00:34
✓ Should set a value in storage (map) (24 ms)
09:00:34
✓ Should read-add-set a value in storage (map) (26 ms)
09:00:34
✓ Should read value in storage (map) (35 ms)
09:00:34 Contract Instance Retrieval
09:00:34
✓ Can getContractInstance (26 ms)
09:00:34 Nested external calls
09:00:34
✓ Nested call to non-existent contract (34 ms)
09:00:34
✓ Nested call (143 ms)
09:00:34
✓ Nested static call (125 ms)
09:00:34
✓ Nested call with not enough gas (expect failure) (111 ms)
09:00:34
✓ Nested static call which modifies storage (expect failure) (155 ms)
09:00:34
✓ Nested calls rethrow exceptions (144 ms)
09:00:34
✓ Should handle returndatacopy oracle (157 ms)
09:00:34 Side effect trace errors on overflow
09:00:34
✓ Overrun of Public storage writes (11 ms)
09:00:34
✓ Overrun of New note hashes (15 ms)
09:00:34
✓ Overrun of New nullifiers (10 ms)
09:00:34
✓ Overrun of New unencrypted logs (1 ms)
09:00:34
✓ Overrun of New L1 to L2 messages (1 ms)
09:00:34 Side effects including merkle checks
09:00:34 Note hashes
09:00:34
✓ Should append new note hash correctly (280 ms)
09:00:34
✓ Note hash check properly returns exists=false (251 ms)
09:00:34
✓ Note hash check properly returns exists=true (263 ms)
09:00:34 Nullifiers
09:00:34
✓ Should append a new nullifier correctly (271 ms)
09:00:34
✓ Nullifier check properly returns exists=false (262 ms)
09:00:34
✓ Nullifier check properly returns exists=true (259 ms)
09:00:34 Public storage accesses
09:00:34
✓ Should set value in storage (single) (292 ms)
09:00:34
✓ Should read value in storage (single) - never written (261 ms)
09:00:34
✓ Should read value in storage (single) - written before, leaf exists (281 ms)
09:00:34
✓ Should set and read value in storage (single) (236 ms)
09:00:34
09:00:34
Test Suites: 1 passed, 1 total
09:00:34
Tests: 103 passed, 103 total
09:00:34
Snapshots: 0 total
09:00:34
Time: 10.566 s
09:00:34
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
09:00:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?