Parent Log:
http://ci.aztec-labs.com/ad41d2c01b79593b
Command: 21081b81c02e2d2a yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/c06f30929f18b85bcea93c0926a8d640a3819f00
Env: REF_NAME=gh-readonly-queue/master/pr-15074-2707ec99de02004f3e30e7af0810e0d741ab9794 CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Mon Jun 16 16:21:49 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15074_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_master
16:21:52 [16:21:52.864]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
16:21:56 [16:21:56.301]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
16:21:57 [16:21:57.547]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-eFjyNV/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:57 [16:21:57.795]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-0HP5YY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:58 [16:21:58.067]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-uuieXK/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:58 [16:21:58.322]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-kTjezI/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:58 [16:21:58.653]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-dzg7qX/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:58 [16:21:58.956]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2T5GYR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:59 [16:21:59.212]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-iXPZfs/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:59 [16:21:59.479]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-DBHymC/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:59 [16:21:59.711]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KyNnpj/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:21:59 [16:21:59.972]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-mepVdY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:22:00
PASS src/public/avm/avm_simulator.test.ts (
9.827 s)
16:22:00 AVM simulator: injected bytecode
16:22:00
✓ Should execute bytecode that performs basic addition (7 ms)
16:22:00
✓ Should halt if runs out of gas (4 ms)
16:22:00
✓ An exceptional halt should consume all allocated gas (2 ms)
16:22:00 AVM simulator: transpiled Noir contracts
16:22:00
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (6 ms)
16:22:00
✓ addition (27 ms)
16:22:00
✓ addition via dispatch (27 ms)
16:22:00
✓ get_args_hash via dispatch (47 ms)
16:22:00
✓ modulo and u1 (16 ms)
16:22:00
✓ Should handle calldata oracle (30 ms)
16:22:00
✓ Should handle return oracle (24 ms)
16:22:00
✓ Should handle revert oracle (21 ms)
16:22:00
✓ ec_add should not revert (24 ms)
16:22:00
✓ elliptic curve operations (14 ms)
16:22:00
✓ pedersen commitment operations (48 ms)
16:22:00
✓ conditional move operations (25 ms)
16:22:00
✓ Logging (14 ms)
16:22:00
✓ Assertion message (31 ms)
16:22:00
✓ conversions (21 ms)
16:22:00
✓ should be able to execute contracts that only have private functions (1 ms)
16:22:00 msm
16:22:00
✓ low scalars (27 ms)
16:22:00
✓ with a zero (27 ms)
16:22:00
✓ high scalars (162 ms)
16:22:00 U128 addition and overflows
16:22:00
✓ U128 addition (23 ms)
16:22:00
✓ Expect failure on U128::add() overflow (41 ms)
16:22:00 SET functions
16:22:00
✓ function 'set_opcode_u8' (14 ms)
16:22:00
✓ function 'set_opcode_u32' (20 ms)
16:22:00
✓ function 'set_opcode_u64' (20 ms)
16:22:00
✓ function 'set_opcode_small_field' (17 ms)
16:22:00
✓ function 'set_opcode_big_field' (16 ms)
16:22:00
✓ function 'set_opcode_really_big_field' (14 ms)
16:22:00 Hashes in noir contracts
16:22:00
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (29 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (29 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (21 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (26 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (28 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (40 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (37 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (29 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (37 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (65 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (64 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (97 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (101 ms)
16:22:00
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (376 ms)
16:22:00
✓ Should execute contract function that performs keccak_hash on input of length 10 (44 ms)
16:22:00
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (8 ms)
16:22:00
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (9 ms)
16:22:00
✓ Should execute contract function that performs pedersen_hash on input of length 10 (488 ms)
16:22:00
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (465 ms)
16:22:00 Environment getters
16:22:00
✓ address getter (15 ms)
16:22:00
✓ sender getter (19 ms)
16:22:00
✓ transactionFee getter (19 ms)
16:22:00
✓ chainId getter (19 ms)
16:22:00
✓ version getter (17 ms)
16:22:00
✓ blockNumber getter (17 ms)
16:22:00
✓ timestamp getter (12 ms)
16:22:00
✓ feePerDaGas getter (11 ms)
16:22:00
✓ feePerL2Gas getter (14 ms)
16:22:00 Side effects, world state, nested calls
16:22:00
✓ Should append a new note hash correctly (22 ms)
16:22:00
✓ Should append a new nullifier correctly (21 ms)
16:22:00 Note hash checks
16:22:00
✓ Should return false (and be traced) when noteHash does NOT exist (22 ms)
16:22:00
✓ Should return true (and be traced) when noteHash DOES exist (24 ms)
16:22:00
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (20 ms)
16:22:00 Nullifier checks
16:22:00
✓ Should return false (and be traced) when nullifier does NOT exist (19 ms)
16:22:00
✓ Should return true (and be traced) when nullifier DOES exist (23 ms)
16:22:00 L1ToL2 message checks
16:22:00
✓ Should return false (and be traced) when message does NOT exist (21 ms)
16:22:00
✓ Should return true (and be traced) when message DOES exist (21 ms)
16:22:00
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (23 ms)
16:22:00 Cached nullifiers
16:22:00
✓ Emits a nullifier and checks its existence (25 ms)
16:22:00
✓ Emits same nullifier twice (expect failure) (21 ms)
16:22:00 Public Logs
16:22:00
✓ Emit public logs (should be traced) (47 ms)
16:22:00 Public storage accesses
16:22:00
✓ Should set value in storage (single) (15 ms)
16:22:00
✓ Should read value in storage (single) (20 ms)
16:22:00
✓ Should set and read a value from storage (single) (22 ms)
16:22:00
✓ Should set a value in storage (list) (13 ms)
16:22:00
✓ Should read a value in storage (list) (15 ms)
16:22:00
✓ Should set a value in storage (map) (21 ms)
16:22:00
✓ Should read-add-set a value in storage (map) (22 ms)
16:22:00
✓ Should read value in storage (map) (13 ms)
16:22:00 Contract Instance Retrieval
16:22:00
✓ Can getContractInstance (19 ms)
16:22:00 Nested external calls
16:22:00
✓ Nested call to non-existent contract (19 ms)
16:22:00
✓ Nested call (216 ms)
16:22:00
✓ Nested static call (228 ms)
16:22:00
✓ Nested call with not enough gas (expect failure) (198 ms)
16:22:00
✓ Nested static call which modifies storage (expect failure) (178 ms)
16:22:00
✓ Nested calls rethrow exceptions (192 ms)
16:22:00
✓ Should handle returndatacopy oracle (184 ms)
16:22:00 Side effect trace errors on overflow
16:22:00
✓ Overrun of Public storage writes (8 ms)
16:22:00
✓ Overrun of New note hashes (14 ms)
16:22:00
✓ Overrun of New nullifiers (10 ms)
16:22:00
✓ Overrun of New unencrypted logs (2 ms)
16:22:00
✓ Overrun of New L1 to L2 messages (1 ms)
16:22:00 Side effects including merkle checks
16:22:00 Note hashes
16:22:00
✓ Should append new note hash correctly (253 ms)
16:22:00
✓ Note hash check properly returns exists=false (271 ms)
16:22:00
✓ Note hash check properly returns exists=true (257 ms)
16:22:00 Nullifiers
16:22:00
✓ Should append a new nullifier correctly (329 ms)
16:22:00
✓ Nullifier check properly returns exists=false (302 ms)
16:22:00
✓ Nullifier check properly returns exists=true (257 ms)
16:22:00 Public storage accesses
16:22:00
✓ Should set value in storage (single) (264 ms)
16:22:00
✓ Should read value in storage (single) - never written (233 ms)
16:22:00
✓ Should read value in storage (single) - written before, leaf exists (259 ms)
16:22:00
✓ Should set and read value in storage (single) (279 ms)
16:22:00
16:22:00
Test Suites: 1 passed, 1 total
16:22:00
Tests: 103 passed, 103 total
16:22:00
Snapshots: 0 total
16:22:00
Time: 9.907 s
16:22:00
Ran all test suites matching /simulator\/src\/public\/avm\/avm_simulator.test.ts/i
.
16:22:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?