Parent Log:
http://ci.aztec-labs.com/a25636d452723f66
Command: d634b34c6dd762bb yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9b801754ba98479ee645488c29d2fda1eecbfd85
Env: REF_NAME=gh-readonly-queue/next/pr-14963-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 20:57:48 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
20:57:52 [20:57:52.332]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
20:57:56 [20:57:56.514]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
20:57:57 [20:57:57.899]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-1uvUGA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:58 [20:57:58.155]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-6l1LLq/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:58 [20:57:58.422]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-2VZbZD/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:58 [20:57:58.673]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Ezf5go/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:58 [20:57:58.927]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-qDFako/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:59 [20:57:59.169]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Xa4VFz/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:59 [20:57:59.413]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-pR4aNG/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:57:59 [20:57:59.714]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-KpvzME/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:58:00 [20:58:00.000]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NIm8uu/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:58:00 [20:58:00.295]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-S3qQqB/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:58:00
PASS src/public/avm/avm_simulator.test.ts (
10.771 s)
20:58:00 AVM simulator: injected bytecode
20:58:00
✓ Should execute bytecode that performs basic addition (9 ms)
20:58:00
✓ Should halt if runs out of gas (3 ms)
20:58:00
✓ An exceptional halt should consume all allocated gas (7 ms)
20:58:00 AVM simulator: transpiled Noir contracts
20:58:00
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (8 ms)
20:58:00
✓ addition (24 ms)
20:58:00
✓ addition via dispatch (242 ms)
20:58:00
✓ get_args_hash via dispatch (34 ms)
20:58:00
✓ modulo and u1 (19 ms)
20:58:00
✓ Should handle calldata oracle (31 ms)
20:58:00
✓ Should handle return oracle (22 ms)
20:58:00
✓ Should handle revert oracle (23 ms)
20:58:00
✓ ec_add should not revert (24 ms)
20:58:00
✓ elliptic curve operations (26 ms)
20:58:00
✓ pedersen commitment operations (36 ms)
20:58:00
✓ conditional move operations (25 ms)
20:58:00
✓ Logging (27 ms)
20:58:00
✓ Assertion message (57 ms)
20:58:00
✓ conversions (18 ms)
20:58:00
✓ should be able to execute contracts that only have private functions (2 ms)
20:58:00 msm
20:58:00
✓ low scalars (38 ms)
20:58:00
✓ with a zero (24 ms)
20:58:00
✓ high scalars (157 ms)
20:58:00 U128 addition and overflows
20:58:00
✓ U128 addition (32 ms)
20:58:00
✓ Expect failure on U128::add() overflow (57 ms)
20:58:00 SET functions
20:58:00
✓ function 'set_opcode_u8' (16 ms)
20:58:00
✓ function 'set_opcode_u32' (30 ms)
20:58:00
✓ function 'set_opcode_u64' (25 ms)
20:58:00
✓ function 'set_opcode_small_field' (18 ms)
20:58:00
✓ function 'set_opcode_big_field' (19 ms)
20:58:00
✓ function 'set_opcode_really_big_field' (21 ms)
20:58:00 Hashes in noir contracts
20:58:00
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (30 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (32 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (38 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (33 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (39 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (43 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (43 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (52 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (59 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (85 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (65 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (111 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (97 ms)
20:58:00
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (370 ms)
20:58:00
✓ Should execute contract function that performs keccak_hash on input of length 10 (45 ms)
20:58:00
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (11 ms)
20:58:00
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (14 ms)
20:58:00
✓ Should execute contract function that performs pedersen_hash on input of length 10 (535 ms)
20:58:00
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (529 ms)
20:58:00 Environment getters
20:58:00
✓ address getter (23 ms)
20:58:00
✓ sender getter (26 ms)
20:58:00
✓ transactionFee getter (19 ms)
20:58:00
✓ chainId getter (16 ms)
20:58:00
✓ version getter (17 ms)
20:58:00
✓ blockNumber getter (28 ms)
20:58:00
✓ timestamp getter (21 ms)
20:58:00
✓ feePerDaGas getter (22 ms)
20:58:00
✓ feePerL2Gas getter (25 ms)
20:58:00 Side effects, world state, nested calls
20:58:00
✓ Should append a new note hash correctly (34 ms)
20:58:00
✓ Should append a new nullifier correctly (20 ms)
20:58:00 Note hash checks
20:58:00
✓ Should return false (and be traced) when noteHash does NOT exist (27 ms)
20:58:00
✓ Should return true (and be traced) when noteHash DOES exist (21 ms)
20:58:00
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (18 ms)
20:58:00 Nullifier checks
20:58:00
✓ Should return false (and be traced) when nullifier does NOT exist (19 ms)
20:58:00
✓ Should return true (and be traced) when nullifier DOES exist (35 ms)
20:58:00 L1ToL2 message checks
20:58:00
✓ Should return false (and be traced) when message does NOT exist (19 ms)
20:58:00
✓ Should return true (and be traced) when message DOES exist (21 ms)
20:58:00
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (24 ms)
20:58:00 Cached nullifiers
20:58:00
✓ Emits a nullifier and checks its existence (22 ms)
20:58:00
✓ Emits same nullifier twice (expect failure) (19 ms)
20:58:00 Public Logs
20:58:00
✓ Emit public logs (should be traced) (58 ms)
20:58:00 Public storage accesses
20:58:00
✓ Should set value in storage (single) (23 ms)
20:58:00
✓ Should read value in storage (single) (23 ms)
20:58:00
✓ Should set and read a value from storage (single) (35 ms)
20:58:00
✓ Should set a value in storage (list) (30 ms)
20:58:00
✓ Should read a value in storage (list) (22 ms)
20:58:00
✓ Should set a value in storage (map) (29 ms)
20:58:00
✓ Should read-add-set a value in storage (map) (52 ms)
20:58:00
✓ Should read value in storage (map) (30 ms)
20:58:00 Contract Instance Retrieval
20:58:00
✓ Can getContractInstance (31 ms)
20:58:00 Nested external calls
20:58:00
✓ Nested call to non-existent contract (33 ms)
20:58:00
✓ Nested call (228 ms)
20:58:00
✓ Nested static call (250 ms)
20:58:00
✓ Nested call with not enough gas (expect failure) (198 ms)
20:58:00
✓ Nested static call which modifies storage (expect failure) (181 ms)
20:58:00
✓ Nested calls rethrow exceptions (227 ms)
20:58:00
✓ Should handle returndatacopy oracle (225 ms)
20:58:00 Side effect trace errors on overflow
20:58:00
✓ Overrun of Public storage writes (9 ms)
20:58:00
✓ Overrun of New note hashes (18 ms)
20:58:00
✓ Overrun of New nullifiers (13 ms)
20:58:00
✓ Overrun of New unencrypted logs (2 ms)
20:58:00
✓ Overrun of New L1 to L2 messages (2 ms)
20:58:00 Side effects including merkle checks
20:58:00 Note hashes
20:58:00
✓ Should append new note hash correctly (273 ms)
20:58:00
✓ Note hash check properly returns exists=false (267 ms)
20:58:00
✓ Note hash check properly returns exists=true (252 ms)
20:58:00 Nullifiers
20:58:00
✓ Should append a new nullifier correctly (253 ms)
20:58:00
✓ Nullifier check properly returns exists=false (243 ms)
20:58:00
✓ Nullifier check properly returns exists=true (243 ms)
20:58:00 Public storage accesses
20:58:00
✓ Should set value in storage (single) (298 ms)
20:58:00
✓ Should read value in storage (single) - never written (285 ms)
20:58:00
✓ Should read value in storage (single) - written before, leaf exists (293 ms)
20:58:00
✓ Should set and read value in storage (single) (275 ms)
20:58:00
20:58:00
Test Suites: 1 passed, 1 total
20:58:00
Tests: 103 passed, 103 total
20:58:00
Snapshots: 0 total
20:58:00
Time: 10.9 s
20:58:00
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
20:58:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?