Parent Log:
http://ci.aztec-labs.com/718b25bd150fe003
Command: c9ea3de086d87c28 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/c245b3e704a64008c8dea40ee7b26418fd59554d
Env: REF_NAME=gh-readonly-queue/next/pr-15176-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 11:46:58 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15176_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
11:47:02 [11:47:02.437]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
11:47:06 [11:47:06.700]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
11:47:07 [11:47:07.564]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-W7j5gr/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:07 [11:47:07.866]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-H9BIYa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:08 [11:47:08.141]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pjA4hG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:08 [11:47:08.435]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mFhHJg/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:08 [11:47:08.724]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-1owoRl/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:08 [11:47:08.989]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-fNsEKJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:09 [11:47:09.283]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-BVhKJ7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:09 [11:47:09.573]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Xd5NG6/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:09 [11:47:09.844]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-xEV26j/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:10 [11:47:10.116]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-R4vNoa/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
11:47:10
PASS src/public/avm/avm_simulator.test.ts (
10.691 s)
11:47:10 AVM simulator: injected bytecode
11:47:10
✓ Should execute bytecode that performs basic addition (10 ms)
11:47:10
✓ Should halt if runs out of gas (3 ms)
11:47:10
✓ An exceptional halt should consume all allocated gas (2 ms)
11:47:10 AVM simulator: transpiled Noir contracts
11:47:10
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
11:47:10
✓ addition (26 ms)
11:47:10
✓ addition via dispatch (247 ms)
11:47:10
✓ get_args_hash via dispatch (46 ms)
11:47:10
✓ modulo and u1 (29 ms)
11:47:10
✓ Should handle calldata oracle (34 ms)
11:47:10
✓ Should handle return oracle (33 ms)
11:47:10
✓ Should handle revert oracle (37 ms)
11:47:10
✓ ec_add should not revert (23 ms)
11:47:10
✓ elliptic curve operations (19 ms)
11:47:10
✓ pedersen commitment operations (41 ms)
11:47:10
✓ conditional move operations (32 ms)
11:47:10
✓ Logging (18 ms)
11:47:10
✓ Assertion message (47 ms)
11:47:10
✓ conversions (18 ms)
11:47:10
✓ should be able to execute contracts that only have private functions (2 ms)
11:47:10 msm
11:47:10
✓ low scalars (35 ms)
11:47:10
✓ with a zero (32 ms)
11:47:10
✓ high scalars (135 ms)
11:47:10 U128 addition and overflows
11:47:10
✓ U128 addition (34 ms)
11:47:10
✓ Expect failure on U128::add() overflow (40 ms)
11:47:10 SET functions
11:47:10
✓ function 'set_opcode_u8' (29 ms)
11:47:10
✓ function 'set_opcode_u32' (29 ms)
11:47:10
✓ function 'set_opcode_u64' (31 ms)
11:47:10
✓ function 'set_opcode_small_field' (28 ms)
11:47:10
✓ function 'set_opcode_big_field' (28 ms)
11:47:10
✓ function 'set_opcode_really_big_field' (27 ms)
11:47:10 Hashes in noir contracts
11:47:10
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (35 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (35 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (37 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (36 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (33 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (40 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (39 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (36 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (58 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (82 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (92 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (120 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (158 ms)
11:47:10
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (519 ms)
11:47:10
✓ Should execute contract function that performs keccak_hash on input of length 10 (47 ms)
11:47:10
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (14 ms)
11:47:10
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (24 ms)
11:47:10
✓ Should execute contract function that performs pedersen_hash on input of length 10 (541 ms)
11:47:10
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (392 ms)
11:47:10 Environment getters
11:47:10
✓ address getter (17 ms)
11:47:10
✓ sender getter (16 ms)
11:47:10
✓ transactionFee getter (26 ms)
11:47:10
✓ chainId getter (25 ms)
11:47:10
✓ version getter (20 ms)
11:47:10
✓ blockNumber getter (21 ms)
11:47:10
✓ timestamp getter (19 ms)
11:47:10
✓ feePerDaGas getter (21 ms)
11:47:10
✓ feePerL2Gas getter (20 ms)
11:47:10 Side effects, world state, nested calls
11:47:10
✓ Should append a new note hash correctly (30 ms)
11:47:10
✓ Should append a new nullifier correctly (28 ms)
11:47:10 Note hash checks
11:47:10
✓ Should return false (and be traced) when noteHash does NOT exist (21 ms)
11:47:10
✓ Should return true (and be traced) when noteHash DOES exist (37 ms)
11:47:10
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms)
11:47:10 Nullifier checks
11:47:10
✓ Should return false (and be traced) when nullifier does NOT exist (15 ms)
11:47:10
✓ Should return true (and be traced) when nullifier DOES exist (17 ms)
11:47:10 L1ToL2 message checks
11:47:10
✓ Should return false (and be traced) when message does NOT exist (16 ms)
11:47:10
✓ Should return true (and be traced) when message DOES exist (17 ms)
11:47:10
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (29 ms)
11:47:10 Cached nullifiers
11:47:10
✓ Emits a nullifier and checks its existence (37 ms)
11:47:10
✓ Emits same nullifier twice (expect failure) (25 ms)
11:47:10 Public Logs
11:47:10
✓ Emit public logs (should be traced) (38 ms)
11:47:10 Public storage accesses
11:47:10
✓ Should set value in storage (single) (21 ms)
11:47:10
✓ Should read value in storage (single) (25 ms)
11:47:10
✓ Should set and read a value from storage (single) (17 ms)
11:47:10
✓ Should set a value in storage (list) (21 ms)
11:47:10
✓ Should read a value in storage (list) (20 ms)
11:47:10
✓ Should set a value in storage (map) (34 ms)
11:47:10
✓ Should read-add-set a value in storage (map) (30 ms)
11:47:10
✓ Should read value in storage (map) (20 ms)
11:47:10 Contract Instance Retrieval
11:47:10
✓ Can getContractInstance (18 ms)
11:47:10 Nested external calls
11:47:10
✓ Nested call to non-existent contract (39 ms)
11:47:10
✓ Nested call (122 ms)
11:47:10
✓ Nested static call (112 ms)
11:47:10
✓ Nested call with not enough gas (expect failure) (98 ms)
11:47:10
✓ Nested static call which modifies storage (expect failure) (139 ms)
11:47:10
✓ Nested calls rethrow exceptions (166 ms)
11:47:10
✓ Should handle returndatacopy oracle (139 ms)
11:47:10 Side effect trace errors on overflow
11:47:10
✓ Overrun of Public storage writes (16 ms)
11:47:10
✓ Overrun of New note hashes (24 ms)
11:47:10
✓ Overrun of New nullifiers (15 ms)
11:47:10
✓ Overrun of New unencrypted logs (2 ms)
11:47:10
✓ Overrun of New L1 to L2 messages (2 ms)
11:47:10 Side effects including merkle checks
11:47:10 Note hashes
11:47:10
✓ Should append new note hash correctly (306 ms)
11:47:10
✓ Note hash check properly returns exists=false (277 ms)
11:47:10
✓ Note hash check properly returns exists=true (292 ms)
11:47:10 Nullifiers
11:47:10
✓ Should append a new nullifier correctly (290 ms)
11:47:10
✓ Nullifier check properly returns exists=false (263 ms)
11:47:10
✓ Nullifier check properly returns exists=true (289 ms)
11:47:10 Public storage accesses
11:47:10
✓ Should set value in storage (single) (295 ms)
11:47:10
✓ Should read value in storage (single) - never written (270 ms)
11:47:10
✓ Should read value in storage (single) - written before, leaf exists (272 ms)
11:47:10
✓ Should set and read value in storage (single) (288 ms)
11:47:10
11:47:10
Test Suites: 1 passed, 1 total
11:47:10
Tests: 103 passed, 103 total
11:47:10
Snapshots: 0 total
11:47:10
Time: 10.793 s
11:47:10
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
11:47:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?