Parent Log:
http://ci.aztec-labs.com/bee3602a849f3b31
Command: a5f5c8aa95cdbf1c yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/90e495a77534c1d250949dbc053161959c9aadcc
Env: REF_NAME=gh-readonly-queue/next/pr-15048-af8041048ee98abe05402607256df4b4cac51dd8 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 15:08:16 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15048_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
15:08:20 [15:08:20.426]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
15:08:24 [15:08:24.959]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
15:08:25 [15:08:25.885]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-FivNg6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:26 [15:08:26.149]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9uIiR1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:26 [15:08:26.403]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-VFxBQ1/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:26 [15:08:26.694]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Hk0oJw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:26 [15:08:26.954]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-OsOXt3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:27 [15:08:27.233]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mpO59m/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:27 [15:08:27.543]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xRxXqx/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:27 [15:08:27.825]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-gsQram/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:28 [15:08:28.106]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-LCLyXt/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:28 [15:08:28.366]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-VFRd61/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:08:28
PASS src/public/avm/avm_simulator.test.ts (
11.109 s)
15:08:28 AVM simulator: injected bytecode
15:08:28
✓ Should execute bytecode that performs basic addition (7 ms)
15:08:28
✓ Should halt if runs out of gas (3 ms)
15:08:28
✓ An exceptional halt should consume all allocated gas (1 ms)
15:08:28 AVM simulator: transpiled Noir contracts
15:08:28
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
15:08:28
✓ addition (28 ms)
15:08:28
✓ addition via dispatch (278 ms)
15:08:28
✓ get_args_hash via dispatch (69 ms)
15:08:28
✓ modulo and u1 (27 ms)
15:08:28
✓ Should handle calldata oracle (23 ms)
15:08:28
✓ Should handle return oracle (37 ms)
15:08:28
✓ Should handle revert oracle (18 ms)
15:08:28
✓ ec_add should not revert (23 ms)
15:08:28
✓ elliptic curve operations (31 ms)
15:08:28
✓ pedersen commitment operations (55 ms)
15:08:28
✓ conditional move operations (30 ms)
15:08:28
✓ Logging (28 ms)
15:08:28
✓ Assertion message (49 ms)
15:08:28
✓ conversions (35 ms)
15:08:28
✓ should be able to execute contracts that only have private functions (1 ms)
15:08:28 msm
15:08:28
✓ low scalars (42 ms)
15:08:28
✓ with a zero (33 ms)
15:08:28
✓ high scalars (150 ms)
15:08:28 U128 addition and overflows
15:08:28
✓ U128 addition (28 ms)
15:08:28
✓ Expect failure on U128::add() overflow (64 ms)
15:08:28 SET functions
15:08:28
✓ function 'set_opcode_u8' (17 ms)
15:08:28
✓ function 'set_opcode_u32' (19 ms)
15:08:28
✓ function 'set_opcode_u64' (17 ms)
15:08:28
✓ function 'set_opcode_small_field' (17 ms)
15:08:28
✓ function 'set_opcode_big_field' (19 ms)
15:08:28
✓ function 'set_opcode_really_big_field' (17 ms)
15:08:28 Hashes in noir contracts
15:08:28
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (30 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (24 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (30 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (27 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (26 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (30 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (33 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (32 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (44 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (61 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (71 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (138 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (158 ms)
15:08:28
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (444 ms)
15:08:28
✓ Should execute contract function that performs keccak_hash on input of length 10 (50 ms)
15:08:28
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms)
15:08:28
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (26 ms)
15:08:28
✓ Should execute contract function that performs pedersen_hash on input of length 10 (580 ms)
15:08:28
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (611 ms)
15:08:28 Environment getters
15:08:28
✓ address getter (24 ms)
15:08:28
✓ sender getter (24 ms)
15:08:28
✓ transactionFee getter (39 ms)
15:08:28
✓ chainId getter (15 ms)
15:08:28
✓ version getter (23 ms)
15:08:28
✓ blockNumber getter (30 ms)
15:08:28
✓ timestamp getter (22 ms)
15:08:28
✓ feePerDaGas getter (27 ms)
15:08:28
✓ feePerL2Gas getter (34 ms)
15:08:28 Side effects, world state, nested calls
15:08:28
✓ Should append a new note hash correctly (22 ms)
15:08:28
✓ Should append a new nullifier correctly (22 ms)
15:08:28 Note hash checks
15:08:28
✓ Should return false (and be traced) when noteHash does NOT exist (22 ms)
15:08:28
✓ Should return true (and be traced) when noteHash DOES exist (24 ms)
15:08:28
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
15:08:28 Nullifier checks
15:08:28
✓ Should return false (and be traced) when nullifier does NOT exist (28 ms)
15:08:28
✓ Should return true (and be traced) when nullifier DOES exist (31 ms)
15:08:28 L1ToL2 message checks
15:08:28
✓ Should return false (and be traced) when message does NOT exist (23 ms)
15:08:28
✓ Should return true (and be traced) when message DOES exist (28 ms)
15:08:28
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (33 ms)
15:08:28 Cached nullifiers
15:08:28
✓ Emits a nullifier and checks its existence (32 ms)
15:08:28
✓ Emits same nullifier twice (expect failure) (25 ms)
15:08:28 Public Logs
15:08:28
✓ Emit public logs (should be traced) (38 ms)
15:08:28 Public storage accesses
15:08:28
✓ Should set value in storage (single) (22 ms)
15:08:28
✓ Should read value in storage (single) (26 ms)
15:08:28
✓ Should set and read a value from storage (single) (21 ms)
15:08:28
✓ Should set a value in storage (list) (20 ms)
15:08:28
✓ Should read a value in storage (list) (25 ms)
15:08:28
✓ Should set a value in storage (map) (35 ms)
15:08:28
✓ Should read-add-set a value in storage (map) (43 ms)
15:08:28
✓ Should read value in storage (map) (20 ms)
15:08:28 Contract Instance Retrieval
15:08:28
✓ Can getContractInstance (56 ms)
15:08:28 Nested external calls
15:08:28
✓ Nested call to non-existent contract (52 ms)
15:08:28
✓ Nested call (170 ms)
15:08:28
✓ Nested static call (130 ms)
15:08:28
✓ Nested call with not enough gas (expect failure) (125 ms)
15:08:28
✓ Nested static call which modifies storage (expect failure) (123 ms)
15:08:28
✓ Nested calls rethrow exceptions (155 ms)
15:08:28
✓ Should handle returndatacopy oracle (136 ms)
15:08:28 Side effect trace errors on overflow
15:08:28
✓ Overrun of Public storage writes (12 ms)
15:08:28
✓ Overrun of New note hashes (21 ms)
15:08:28
✓ Overrun of New nullifiers (11 ms)
15:08:28
✓ Overrun of New unencrypted logs (1 ms)
15:08:28
✓ Overrun of New L1 to L2 messages (1 ms)
15:08:28 Side effects including merkle checks
15:08:28 Note hashes
15:08:28
✓ Should append new note hash correctly (282 ms)
15:08:28
✓ Note hash check properly returns exists=false (255 ms)
15:08:28
✓ Note hash check properly returns exists=true (292 ms)
15:08:28 Nullifiers
15:08:28
✓ Should append a new nullifier correctly (258 ms)
15:08:28
✓ Nullifier check properly returns exists=false (277 ms)
15:08:28
✓ Nullifier check properly returns exists=true (310 ms)
15:08:28 Public storage accesses
15:08:28
✓ Should set value in storage (single) (280 ms)
15:08:28
✓ Should read value in storage (single) - never written (283 ms)
15:08:28
✓ Should read value in storage (single) - written before, leaf exists (262 ms)
15:08:28
✓ Should set and read value in storage (single) (238 ms)
15:08:28
15:08:28
Test Suites: 1 passed, 1 total
15:08:28
Tests: 103 passed, 103 total
15:08:28
Snapshots: 0 total
15:08:28
Time: 11.234 s
15:08:28
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
15:08:28
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?