Parent Log:
http://ci.aztec-labs.com/c3e440b46afd0ff2
Command: b5d029682575c433 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/fa4d5ef48c8de52059b5658bbd42e4514386f7db
Env: REF_NAME=gh-readonly-queue/next/pr-15073-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 15:34:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15073_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
15:34:36 [15:34:36.479]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
15:34:41 [15:34:41.067]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
15:34:42 [15:34:42.529]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wfFJXJ/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:42 [15:34:42.787]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-R8V7Sn/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:43 [15:34:43.026]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-5zApD7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:43 [15:34:43.267]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-oTXWNB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:43 [15:34:43.535]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-N7xdgU/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:43 [15:34:43.773]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wxFKfY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:44 [15:34:44.006]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-nfavcj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:44 [15:34:44.261]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-aqYcDW/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:44 [15:34:44.569]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-3SYtjM/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:44 [15:34:44.855]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pFHdSw/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
15:34:45
PASS src/public/avm/avm_simulator.test.ts (
11.504 s)
15:34:45 AVM simulator: injected bytecode
15:34:45
✓ Should execute bytecode that performs basic addition (7 ms)
15:34:45
✓ Should halt if runs out of gas (3 ms)
15:34:45
✓ An exceptional halt should consume all allocated gas (2 ms)
15:34:45 AVM simulator: transpiled Noir contracts
15:34:45
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
15:34:45
✓ addition (28 ms)
15:34:45
✓ addition via dispatch (261 ms)
15:34:45
✓ get_args_hash via dispatch (48 ms)
15:34:45
✓ modulo and u1 (24 ms)
15:34:45
✓ Should handle calldata oracle (36 ms)
15:34:45
✓ Should handle return oracle (24 ms)
15:34:45
✓ Should handle revert oracle (22 ms)
15:34:45
✓ ec_add should not revert (28 ms)
15:34:45
✓ elliptic curve operations (28 ms)
15:34:45
✓ pedersen commitment operations (44 ms)
15:34:45
✓ conditional move operations (29 ms)
15:34:45
✓ Logging (35 ms)
15:34:45
✓ Assertion message (46 ms)
15:34:45
✓ conversions (29 ms)
15:34:45
✓ should be able to execute contracts that only have private functions (2 ms)
15:34:45 msm
15:34:45
✓ low scalars (48 ms)
15:34:45
✓ with a zero (31 ms)
15:34:45
✓ high scalars (177 ms)
15:34:45 U128 addition and overflows
15:34:45
✓ U128 addition (21 ms)
15:34:45
✓ Expect failure on U128::add() overflow (47 ms)
15:34:45 SET functions
15:34:45
✓ function 'set_opcode_u8' (28 ms)
15:34:45
✓ function 'set_opcode_u32' (26 ms)
15:34:45
✓ function 'set_opcode_u64' (27 ms)
15:34:45
✓ function 'set_opcode_small_field' (30 ms)
15:34:45
✓ function 'set_opcode_big_field' (28 ms)
15:34:45
✓ function 'set_opcode_really_big_field' (28 ms)
15:34:45 Hashes in noir contracts
15:34:45
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (40 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (26 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (33 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (33 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (40 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (48 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (42 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (46 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (37 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (36 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (79 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (81 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (127 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (158 ms)
15:34:45
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (484 ms)
15:34:45
✓ Should execute contract function that performs keccak_hash on input of length 10 (52 ms)
15:34:45
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (12 ms)
15:34:45
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms)
15:34:45
✓ Should execute contract function that performs pedersen_hash on input of length 10 (504 ms)
15:34:45
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (546 ms)
15:34:45 Environment getters
15:34:45
✓ address getter (35 ms)
15:34:45
✓ sender getter (33 ms)
15:34:45
✓ transactionFee getter (33 ms)
15:34:45
✓ chainId getter (36 ms)
15:34:45
✓ version getter (33 ms)
15:34:45
✓ blockNumber getter (32 ms)
15:34:45
✓ timestamp getter (34 ms)
15:34:45
✓ feePerDaGas getter (32 ms)
15:34:45
✓ feePerL2Gas getter (32 ms)
15:34:45 Side effects, world state, nested calls
15:34:45
✓ Should append a new note hash correctly (31 ms)
15:34:45
✓ Should append a new nullifier correctly (26 ms)
15:34:45 Note hash checks
15:34:45
✓ Should return false (and be traced) when noteHash does NOT exist (38 ms)
15:34:45
✓ Should return true (and be traced) when noteHash DOES exist (22 ms)
15:34:45
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (38 ms)
15:34:45 Nullifier checks
15:34:45
✓ Should return false (and be traced) when nullifier does NOT exist (31 ms)
15:34:45
✓ Should return true (and be traced) when nullifier DOES exist (30 ms)
15:34:45 L1ToL2 message checks
15:34:45
✓ Should return false (and be traced) when message does NOT exist (33 ms)
15:34:45
✓ Should return true (and be traced) when message DOES exist (28 ms)
15:34:45
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (28 ms)
15:34:45 Cached nullifiers
15:34:45
✓ Emits a nullifier and checks its existence (21 ms)
15:34:45
✓ Emits same nullifier twice (expect failure) (22 ms)
15:34:45 Public Logs
15:34:45
✓ Emit public logs (should be traced) (47 ms)
15:34:45 Public storage accesses
15:34:45
✓ Should set value in storage (single) (21 ms)
15:34:45
✓ Should read value in storage (single) (22 ms)
15:34:45
✓ Should set and read a value from storage (single) (30 ms)
15:34:45
✓ Should set a value in storage (list) (23 ms)
15:34:45
✓ Should read a value in storage (list) (20 ms)
15:34:45
✓ Should set a value in storage (map) (25 ms)
15:34:45
✓ Should read-add-set a value in storage (map) (32 ms)
15:34:45
✓ Should read value in storage (map) (28 ms)
15:34:45 Contract Instance Retrieval
15:34:45
✓ Can getContractInstance (20 ms)
15:34:45 Nested external calls
15:34:45
✓ Nested call to non-existent contract (21 ms)
15:34:45
✓ Nested call (243 ms)
15:34:45
✓ Nested static call (218 ms)
15:34:45
✓ Nested call with not enough gas (expect failure) (208 ms)
15:34:45
✓ Nested static call which modifies storage (expect failure) (239 ms)
15:34:45
✓ Nested calls rethrow exceptions (244 ms)
15:34:45
✓ Should handle returndatacopy oracle (237 ms)
15:34:45 Side effect trace errors on overflow
15:34:45
✓ Overrun of Public storage writes (13 ms)
15:34:45
✓ Overrun of New note hashes (24 ms)
15:34:45
✓ Overrun of New nullifiers (16 ms)
15:34:45
✓ Overrun of New unencrypted logs (1 ms)
15:34:45
✓ Overrun of New L1 to L2 messages (1 ms)
15:34:45 Side effects including merkle checks
15:34:45 Note hashes
15:34:45
✓ Should append new note hash correctly (259 ms)
15:34:45
✓ Note hash check properly returns exists=false (243 ms)
15:34:45
✓ Note hash check properly returns exists=true (239 ms)
15:34:45 Nullifiers
15:34:45
✓ Should append a new nullifier correctly (267 ms)
15:34:45
✓ Nullifier check properly returns exists=false (239 ms)
15:34:45
✓ Nullifier check properly returns exists=true (232 ms)
15:34:45 Public storage accesses
15:34:45
✓ Should set value in storage (single) (256 ms)
15:34:45
✓ Should read value in storage (single) - never written (309 ms)
15:34:45
✓ Should read value in storage (single) - written before, leaf exists (283 ms)
15:34:45
✓ Should set and read value in storage (single) (258 ms)
15:34:45
15:34:45
Test Suites: 1 passed, 1 total
15:34:45
Tests: 103 passed, 103 total
15:34:45
Snapshots: 0 total
15:34:45
Time: 11.653 s
15:34:45
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
15:34:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?