Parent Log:
http://ci.aztec-labs.com/4fd3ef431e05f779
Command: 0f4f65dca0a2798e yarn-project/scripts/run_test.sh simulator/src/public/avm/avm_simulator.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/67bf12030291ce3da2cf39ff5fbfa799eae98dc5
Env: REF_NAME=gh-readonly-queue/next/pr-14963-42440bd429a3b283b3a344db0be4652d818bd261 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 16 20:02:11 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_a567dd4d141dbecd_next
20:02:15 [20:02:15.608]
WARN:
simulator:avm(calldata[0]: undefined) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000000. Reverting...
20:02:20 [20:02:20.155]
WARN:
simulator:avm(f:0xaa6348a1) No bytecode found at: 0x0000000000000000000000000000000000000000000000000000000000000001. Reverting...
20:02:21 [20:02:21.448]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-z6b9Pm/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:21 [20:02:21.776]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-K6X4U7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:22 [20:02:22.040]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Oad0TY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:22 [20:02:22.309]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-Cck7aA/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:22 [20:02:22.567]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-8FdOkk/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:22 [20:02:22.849]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-ctpun7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:23 [20:02:23.157]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-FgbOxd/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:23 [20:02:23.427]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-9RRg3j/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:23 [20:02:23.680]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YvCBC7/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:23 [20:02:23.952]
INFO:
world-state:database Creating world state data store at directory /tmp/aztec-world-state-YmXxSY/world_state with map sizes {"archiveTreeMapSizeKb":10485760,"nullifierTreeMapSizeKb":10485760,"noteHashTreeMapSizeKb":10485760,"messageTreeMapSizeKb":10485760,"publicDataTreeMapSizeKb":10485760} and 16 threads.
20:02:24
PASS src/public/avm/avm_simulator.test.ts (
11.368 s)
20:02:24 AVM simulator: injected bytecode
20:02:24
✓ Should execute bytecode that performs basic addition (7 ms)
20:02:24
✓ Should halt if runs out of gas (4 ms)
20:02:24
✓ An exceptional halt should consume all allocated gas (2 ms)
20:02:24 AVM simulator: transpiled Noir contracts
20:02:24
✓ execution of a non-existent contract immediately reverts and consumes all allocated gas (7 ms)
20:02:24
✓ addition (39 ms)
20:02:24
✓ addition via dispatch (258 ms)
20:02:24
✓ get_args_hash via dispatch (46 ms)
20:02:24
✓ modulo and u1 (21 ms)
20:02:24
✓ Should handle calldata oracle (24 ms)
20:02:24
✓ Should handle return oracle (18 ms)
20:02:24
✓ Should handle revert oracle (22 ms)
20:02:24
✓ ec_add should not revert (33 ms)
20:02:24
✓ elliptic curve operations (30 ms)
20:02:24
✓ pedersen commitment operations (35 ms)
20:02:24
✓ conditional move operations (25 ms)
20:02:24
✓ Logging (27 ms)
20:02:24
✓ Assertion message (54 ms)
20:02:24
✓ conversions (30 ms)
20:02:24
✓ should be able to execute contracts that only have private functions (1 ms)
20:02:24 msm
20:02:24
✓ low scalars (50 ms)
20:02:24
✓ with a zero (39 ms)
20:02:24
✓ high scalars (145 ms)
20:02:24 U128 addition and overflows
20:02:24
✓ U128 addition (20 ms)
20:02:24
✓ Expect failure on U128::add() overflow (40 ms)
20:02:24 SET functions
20:02:24
✓ function 'set_opcode_u8' (31 ms)
20:02:24
✓ function 'set_opcode_u32' (31 ms)
20:02:24
✓ function 'set_opcode_u64' (31 ms)
20:02:24
✓ function 'set_opcode_small_field' (32 ms)
20:02:24
✓ function 'set_opcode_big_field' (38 ms)
20:02:24
✓ function 'set_opcode_really_big_field' (33 ms)
20:02:24 Hashes in noir contracts
20:02:24
✓ Should execute contract function that performs sha256_hash_10 on input of length 10 (37 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_20 on input of length 20 (34 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_30 on input of length 30 (36 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_40 on input of length 40 (27 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_50 on input of length 50 (36 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_60 on input of length 60 (39 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_70 on input of length 70 (57 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_80 on input of length 80 (36 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_90 on input of length 90 (35 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_100 on input of length 100 (46 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_255 on input of length 255 (73 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_256 on input of length 256 (67 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_511 on input of length 511 (127 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_512 on input of length 512 (148 ms)
20:02:24
✓ Should execute contract function that performs sha256_hash_2048 on input of length 2048 (485 ms)
20:02:24
✓ Should execute contract function that performs keccak_hash on input of length 10 (43 ms)
20:02:24
✓ Should execute contract function that performs keccak_f1600 on input of length 25 (13 ms)
20:02:24
✓ Should execute contract function that performs poseidon2_hash on input of length 10 (35 ms)
20:02:24
✓ Should execute contract function that performs pedersen_hash on input of length 10 (626 ms)
20:02:24
✓ Should execute contract function that performs pedersen_hash_with_index on input of length 10 (458 ms)
20:02:24 Environment getters
20:02:24
✓ address getter (25 ms)
20:02:24
✓ sender getter (27 ms)
20:02:24
✓ transactionFee getter (18 ms)
20:02:24
✓ chainId getter (19 ms)
20:02:24
✓ version getter (31 ms)
20:02:24
✓ blockNumber getter (26 ms)
20:02:24
✓ timestamp getter (19 ms)
20:02:24
✓ feePerDaGas getter (25 ms)
20:02:24
✓ feePerL2Gas getter (21 ms)
20:02:24 Side effects, world state, nested calls
20:02:24
✓ Should append a new note hash correctly (27 ms)
20:02:24
✓ Should append a new nullifier correctly (23 ms)
20:02:24 Note hash checks
20:02:24
✓ Should return false (and be traced) when noteHash does NOT exist (35 ms)
20:02:24
✓ Should return true (and be traced) when noteHash DOES exist (34 ms)
20:02:24
✓ Should return false (and be traced) when noteHash does NOT exist at leafIndex=8 (exists at leafIndex=7) (37 ms)
20:02:24 Nullifier checks
20:02:24
✓ Should return false (and be traced) when nullifier does NOT exist (36 ms)
20:02:24
✓ Should return true (and be traced) when nullifier DOES exist (32 ms)
20:02:24 L1ToL2 message checks
20:02:24
✓ Should return false (and be traced) when message does NOT exist (24 ms)
20:02:24
✓ Should return true (and be traced) when message DOES exist (21 ms)
20:02:24
✓ Should return false (and be traced) when message does NOT exist at leafIndex=8 (exists at leafIndex=7) (26 ms)
20:02:24 Cached nullifiers
20:02:24
✓ Emits a nullifier and checks its existence (19 ms)
20:02:24
✓ Emits same nullifier twice (expect failure) (25 ms)
20:02:24 Public Logs
20:02:24
✓ Emit public logs (should be traced) (64 ms)
20:02:24 Public storage accesses
20:02:24
✓ Should set value in storage (single) (37 ms)
20:02:24
✓ Should read value in storage (single) (34 ms)
20:02:24
✓ Should set and read a value from storage (single) (30 ms)
20:02:24
✓ Should set a value in storage (list) (34 ms)
20:02:24
✓ Should read a value in storage (list) (23 ms)
20:02:24
✓ Should set a value in storage (map) (26 ms)
20:02:24
✓ Should read-add-set a value in storage (map) (24 ms)
20:02:24
✓ Should read value in storage (map) (23 ms)
20:02:24 Contract Instance Retrieval
20:02:24
✓ Can getContractInstance (29 ms)
20:02:24 Nested external calls
20:02:24
✓ Nested call to non-existent contract (23 ms)
20:02:24
✓ Nested call (194 ms)
20:02:24
✓ Nested static call (192 ms)
20:02:24
✓ Nested call with not enough gas (expect failure) (199 ms)
20:02:24
✓ Nested static call which modifies storage (expect failure) (175 ms)
20:02:24
✓ Nested calls rethrow exceptions (217 ms)
20:02:24
✓ Should handle returndatacopy oracle (225 ms)
20:02:24 Side effect trace errors on overflow
20:02:24
✓ Overrun of Public storage writes (12 ms)
20:02:24
✓ Overrun of New note hashes (23 ms)
20:02:24
✓ Overrun of New nullifiers (25 ms)
20:02:24
✓ Overrun of New unencrypted logs (3 ms)
20:02:24
✓ Overrun of New L1 to L2 messages (3 ms)
20:02:24 Side effects including merkle checks
20:02:24 Note hashes
20:02:24
✓ Should append new note hash correctly (337 ms)
20:02:24
✓ Note hash check properly returns exists=false (265 ms)
20:02:24
✓ Note hash check properly returns exists=true (263 ms)
20:02:24 Nullifiers
20:02:24
✓ Should append a new nullifier correctly (264 ms)
20:02:24
✓ Nullifier check properly returns exists=false (275 ms)
20:02:24
✓ Nullifier check properly returns exists=true (315 ms)
20:02:24 Public storage accesses
20:02:24
✓ Should set value in storage (single) (268 ms)
20:02:24
✓ Should read value in storage (single) - never written (249 ms)
20:02:24
✓ Should read value in storage (single) - written before, leaf exists (268 ms)
20:02:24
✓ Should set and read value in storage (single) (294 ms)
20:02:24
20:02:24
Test Suites: 1 passed, 1 total
20:02:24
Tests: 103 passed, 103 total
20:02:24
Snapshots: 0 total
20:02:24
Time: 11.467 s
20:02:24
Ran all test suites matching simulator/src/public/avm/avm_simulator.test.ts
.
20:02:24
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?