Parent Log:
http://ci.aztec-labs.com/461faebffafe60ea
Command: 6e611b2acba6dc44 yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9a37be7dc4208f0eeb44ec50194c00ca3f5c4cc6
Env: REF_NAME=gh-readonly-queue/next/pr-15072-1e338a3fb2e2077f1feaee8b86c42644ff8a5352 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 16:42:07 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15072_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
16:42:11 [16:42:11.146]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
16:42:15 [16:42:15.371]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
16:42:16 [16:42:16.850]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-l04E2f/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:17 [16:42:17.131]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-NHlIDY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:17 [16:42:17.403]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-wMnWOO/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:17 [16:42:17.660]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-HldIkk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:17 [16:42:17.907]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-jEIVs3/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:18 [16:42:18.181]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Ro8LE2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:18 [16:42:18.486]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-4B08ao/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:18 [16:42:18.793]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-EENvPR/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:19 [16:42:19.049]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-L0kTYs/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:19 [16:42:19.343]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-U021n2/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
16:42:19
PASS src/public/avm/avm_simulator.test.ts (
11.125 s)
16:42:19 AVM simulator: injected bytecode
16:42:19
✓ Should execute bytecode that performs basic addition (9 ms)
16:42:19
✓ Should halt if runs out of gas (4 ms)
16:42:19
✓ An exceptional halt should consume all allocated gas (1 ms)
16:42:19 AVM simulator: transpiled Noir contracts
16:42:19
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (5 ms)
16:42:19
✓ addition (30 ms)
16:42:19
✓ addition via dispatch (249 ms)
16:42:19
✓ get_args_hash via dispatch (50 ms)
16:42:19
✓ modulo and u1 (25 ms)
16:42:19
✓ Should handle calldata oracle (23 ms)
16:42:19
✓ Should handle return oracle (23 ms)
16:42:19
✓ Should handle revert oracle (17 ms)
16:42:19
✓ ec_add should not revert (21 ms)
16:42:19
✓ elliptic curve operations (28 ms)
16:42:19
✓ pedersen commitment operations (41 ms)
16:42:19
✓ conditional move operations (21 ms)
16:42:19
✓ Logging (31 ms)
16:42:19
✓ Assertion message (39 ms)
16:42:19
✓ conversions (17 ms)
16:42:19
✓ should be able to execute contracts that only have private functions (1 ms)
16:42:19 msm
16:42:19
✓ low scalars (31 ms)
16:42:19
✓ with a zero (33 ms)
16:42:19
✓ high scalars (153 ms)
16:42:19 U128 addition and overflows
16:42:19
✓ U128 addition (30 ms)
16:42:19
✓ Expect failure on U128::add() overflow (63 ms)
16:42:19 SET functions
16:42:19
✓ function 'set_opcode_u8' (18 ms)
16:42:19
✓ function 'set_opcode_u32' (22 ms)
16:42:19
✓ function 'set_opcode_u64' (22 ms)
16:42:19
✓ function 'set_opcode_small_field' (24 ms)
16:42:19
✓ function 'set_opcode_big_field' (24 ms)
16:42:19
✓ function 'set_opcode_really_big_field' (16 ms)
16:42:19 Hashes in noir contracts
16:42:19
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (31 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (28 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (27 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (25 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (30 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (30 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (36 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (53 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (42 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (38 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (77 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (67 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (114 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (104 ms)
16:42:19
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (483 ms)
16:42:19
✓ Should execute contract function that performs keccak_hash on input of length 10 (51 ms)
16:42:19
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (18 ms)
16:42:19
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (25 ms)
16:42:19
✓ Should execute contract function that performs pedersen_hash on input of length 10 (492 ms)
16:42:19
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (467 ms)
16:42:19 Environment getters
16:42:19
✓ address getter (15 ms)
16:42:19
✓ sender getter (20 ms)
16:42:19
✓ transactionFee getter (35 ms)
16:42:19
✓ chainId getter (21 ms)
16:42:19
✓ version getter (22 ms)
16:42:19
✓ blockNumber getter (18 ms)
16:42:19
✓ timestamp getter (15 ms)
16:42:19
✓ feePerDaGas getter (38 ms)
16:42:19
✓ feePerL2Gas getter (18 ms)
16:42:19 Side effects, world state, nested calls
16:42:19
✓ Should append a new note hash correctly (25 ms)
16:42:19
✓ Should append a new nullifier correctly (31 ms)
16:42:19 Note hash checks
16:42:19
✓ Should return false (and be traced) when noteHash does NOT exist (17 ms)
16:42:19
✓ Should return true (and be traced) when noteHash DOES exist (28 ms)
16:42:19
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (20 ms)
16:42:19 Nullifier checks
16:42:19
✓ Should return false (and be traced) when nullifier does NOT exist (16 ms)
16:42:19
✓ Should return true (and be traced) when nullifier DOES exist (24 ms)
16:42:19 L1ToL2 message checks
16:42:19
✓ Should return false (and be traced) when message does NOT exist (22 ms)
16:42:19
✓ Should return true (and be traced) when message DOES exist (34 ms)
16:42:19
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (22 ms)
16:42:19 Cached nullifiers
16:42:19
✓ Emits a nullifier and checks its existence (33 ms)
16:42:19
✓ Emits same nullifier twice (expect failure) (29 ms)
16:42:19 Public Logs
16:42:19
✓ Emit public logs (should be traced) (71 ms)
16:42:19 Public storage accesses
16:42:19
✓ Should set value in storage (single) (33 ms)
16:42:19
✓ Should read value in storage (single) (33 ms)
16:42:19
✓ Should set and read a value from storage (single) (32 ms)
16:42:19
✓ Should set a value in storage (list) (29 ms)
16:42:19
✓ Should read a value in storage (list) (30 ms)
16:42:19
✓ Should set a value in storage (map) (39 ms)
16:42:19
✓ Should read-add-set a value in storage (map) (29 ms)
16:42:19
✓ Should read value in storage (map) (26 ms)
16:42:19 Contract Instance Retrieval
16:42:19
✓ Can getContractInstance (47 ms)
16:42:19 Nested external calls
16:42:19
✓ Nested call to non-existent contract (32 ms)
16:42:19
✓ Nested call (229 ms)
16:42:19
✓ Nested static call (235 ms)
16:42:19
✓ Nested call with not enough gas (expect failure) (198 ms)
16:42:19
✓ Nested static call which modifies storage (expect failure) (218 ms)
16:42:19
✓ Nested calls rethrow exceptions (281 ms)
16:42:19
✓ Should handle returndatacopy oracle (233 ms)
16:42:19 Side effect trace errors on overflow
16:42:19
✓ Overrun of Public storage writes (12 ms)
16:42:19
✓ Overrun of New note hashes (21 ms)
16:42:19
✓ Overrun of New nullifiers (25 ms)
16:42:19
✓ Overrun of New unencrypted logs (3 ms)
16:42:19
✓ Overrun of New L1 to L2 messages (3 ms)
16:42:19 Side effects including merkle checks
16:42:19 Note hashes
16:42:19
✓ Should append new note hash correctly (285 ms)
16:42:19
✓ Note hash check properly returns exists=false (265 ms)
16:42:19
✓ Note hash check properly returns exists=true (263 ms)
16:42:19 Nullifiers
16:42:19
✓ Should append a new nullifier correctly (249 ms)
16:42:19
✓ Nullifier check properly returns exists=false (268 ms)
16:42:19
✓ Nullifier check properly returns exists=true (306 ms)
16:42:19 Public storage accesses
16:42:19
✓ Should set value in storage (single) (306 ms)
16:42:19
✓ Should read value in storage (single) - never written (254 ms)
16:42:19
✓ Should read value in storage (single) - written before, leaf exists (294 ms)
16:42:19
✓ Should set and read value in storage (single) (300 ms)
16:42:19
16:42:19
Test Suites: 1 passed, 1 total
16:42:19
Tests: 103 passed, 103 total
16:42:19
Snapshots: 0 total
16:42:19
Time: 11.249 s
16:42:19
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
16:42:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?