Parent Log:
http://ci.aztec-labs.com/4451714366ab2138
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:36 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15152_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
10:20:39 [10:20:39.993]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
10:20:44 [10:20:44.471]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
10:20:45 [10:20:45.345]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eNhNZh/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:45 [10:20:45.663]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ed5zQp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:45 [10:20:45.982]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-I61Afr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:46 [10:20:46.269]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ZY4svi/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:46 [10:20:46.594]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-yyGAL2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:46 [10:20:46.860]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-EME5bc/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:47 [10:20:47.127]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-JHr7Tp/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:47 [10:20:47.386]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-GtuNBB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:47 [10:20:47.674]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pAZZm2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:47 [10:20:47.940]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-XlaXzj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
10:20:48
PASS src/public/avm/avm_simulator.test.ts (
11.098 s)
10:20:48 AVM simulator: injected bytecode
10:20:48
✓ Should execute bytecode that performs basic addition (7 ms)
10:20:48
✓ Should halt if runs out of gas (3 ms)
10:20:48
✓ An exceptional halt should consume all allocated gas (2 ms)
10:20:48 AVM simulator: transpiled Noir contracts
10:20:48
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
10:20:48
✓ addition (38 ms)
10:20:48
✓ addition via dispatch (296 ms)
10:20:48
✓ get_args_hash via dispatch (60 ms)
10:20:48
✓ modulo and u1 (31 ms)
10:20:48
✓ Should handle calldata oracle (25 ms)
10:20:48
✓ Should handle return oracle (26 ms)
10:20:48
✓ Should handle revert oracle (34 ms)
10:20:48
✓ ec_add should not revert (33 ms)
10:20:48
✓ elliptic curve operations (20 ms)
10:20:48
✓ pedersen commitment operations (48 ms)
10:20:48
✓ conditional move operations (20 ms)
10:20:48
✓ Logging (21 ms)
10:20:48
✓ Assertion message (44 ms)
10:20:48
✓ conversions (20 ms)
10:20:48
✓ should be able to execute contracts that only have private functions (1 ms)
10:20:48 msm
10:20:48
✓ low scalars (32 ms)
10:20:48
✓ with a zero (43 ms)
10:20:48
✓ high scalars (155 ms)
10:20:48 U128 addition and overflows
10:20:48
✓ U128 addition (16 ms)
10:20:48
✓ Expect failure on U128::add() overflow (50 ms)
10:20:48 SET functions
10:20:48
✓ function 'set_opcode_u8' (28 ms)
10:20:48
✓ function 'set_opcode_u32' (25 ms)
10:20:48
✓ function 'set_opcode_u64' (25 ms)
10:20:48
✓ function 'set_opcode_small_field' (28 ms)
10:20:48
✓ function 'set_opcode_big_field' (31 ms)
10:20:48
✓ function 'set_opcode_really_big_field' (18 ms)
10:20:48 Hashes in noir contracts
10:20:48
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (43 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (23 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (28 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (51 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (36 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (40 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (40 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (43 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (61 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (71 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (130 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (142 ms)
10:20:48
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (547 ms)
10:20:48
✓ Should execute contract function that performs keccak_hash on input of length 10 (67 ms)
10:20:48
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (15 ms)
10:20:48
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (16 ms)
10:20:48
✓ Should execute contract function that performs pedersen_hash on input of length 10 (590 ms)
10:20:48
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (468 ms)
10:20:48 Environment getters
10:20:48
✓ address getter (18 ms)
10:20:48
✓ sender getter (29 ms)
10:20:48
✓ transactionFee getter (40 ms)
10:20:48
✓ chainId getter (26 ms)
10:20:48
✓ version getter (24 ms)
10:20:48
✓ blockNumber getter (24 ms)
10:20:48
✓ timestamp getter (17 ms)
10:20:48
✓ feePerDaGas getter (24 ms)
10:20:48
✓ feePerL2Gas getter (21 ms)
10:20:48 Side effects, world state, nested calls
10:20:48
✓ Should append a new note hash correctly (19 ms)
10:20:48
✓ Should append a new nullifier correctly (17 ms)
10:20:48 Note hash checks
10:20:48
✓ Should return false (and be traced) when noteHash does NOT exist (20 ms)
10:20:48
✓ Should return true (and be traced) when noteHash DOES exist (29 ms)
10:20:48
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (21 ms)
10:20:48 Nullifier checks
10:20:48
✓ Should return false (and be traced) when nullifier does NOT exist (19 ms)
10:20:48
✓ Should return true (and be traced) when nullifier DOES exist (31 ms)
10:20:48 L1ToL2 message checks
10:20:48
✓ Should return false (and be traced) when message does NOT exist (20 ms)
10:20:48
✓ Should return true (and be traced) when message DOES exist (20 ms)
10:20:48
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms)
10:20:48 Cached nullifiers
10:20:48
✓ Emits a nullifier and checks its existence (20 ms)
10:20:48
✓ Emits same nullifier twice (expect failure) (23 ms)
10:20:48 Public Logs
10:20:48
✓ Emit public logs (should be traced) (47 ms)
10:20:48 Public storage accesses
10:20:48
✓ Should set value in storage (single) (19 ms)
10:20:48
✓ Should read value in storage (single) (21 ms)
10:20:48
✓ Should set and read a value from storage (single) (31 ms)
10:20:48
✓ Should set a value in storage (list) (30 ms)
10:20:48
✓ Should read a value in storage (list) (30 ms)
10:20:48
✓ Should set a value in storage (map) (35 ms)
10:20:48
✓ Should read-add-set a value in storage (map) (29 ms)
10:20:48
✓ Should read value in storage (map) (28 ms)
10:20:48 Contract Instance Retrieval
10:20:48
✓ Can getContractInstance (23 ms)
10:20:48 Nested external calls
10:20:48
✓ Nested call to non-existent contract (26 ms)
10:20:48
✓ Nested call (145 ms)
10:20:48
✓ Nested static call (132 ms)
10:20:48
✓ Nested call with not enough gas (expect failure) (121 ms)
10:20:48
✓ Nested static call which modifies storage (expect failure) (116 ms)
10:20:48
✓ Nested calls rethrow exceptions (157 ms)
10:20:48
✓ Should handle returndatacopy oracle (123 ms)
10:20:48 Side effect trace errors on overflow
10:20:48
✓ Overrun of Public storage writes (15 ms)
10:20:48
✓ Overrun of New note hashes (21 ms)
10:20:48
✓ Overrun of New nullifiers (17 ms)
10:20:48
✓ Overrun of New unencrypted logs (2 ms)
10:20:48
✓ Overrun of New L1 to L2 messages (3 ms)
10:20:48 Side effects including merkle checks
10:20:48 Note hashes
10:20:48
✓ Should append new note hash correctly (322 ms)
10:20:48
✓ Note hash check properly returns exists=false (320 ms)
10:20:48
✓ Note hash check properly returns exists=true (286 ms)
10:20:48 Nullifiers
10:20:48
✓ Should append a new nullifier correctly (328 ms)
10:20:48
✓ Nullifier check properly returns exists=false (265 ms)
10:20:48
✓ Nullifier check properly returns exists=true (260 ms)
10:20:48 Public storage accesses
10:20:48
✓ Should set value in storage (single) (265 ms)
10:20:48
✓ Should read value in storage (single) - never written (287 ms)
10:20:48
✓ Should read value in storage (single) - written before, leaf exists (266 ms)
10:20:48
✓ Should set and read value in storage (single) (316 ms)
10:20:48
10:20:48
Test Suites: 1 passed, 1 total
10:20:48
Tests: 103 passed, 103 total
10:20:48
Snapshots: 0 total
10:20:48
Time: 11.194 s
10:20:48
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
10:20:48
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?