Skip to content

Integration test issue #1172

@bogdanfazakas

Description

@bogdanfazakas
 167 passing (4m)
  1 failing

  1) Indexer stores a new metadata events and orders.
       should find the state of the ddo using query ddo state handler:
     AssertionError: No ddo state found in results array
      at Context.<anonymous> (file:///home/runner/work/ocean-node/ocean-node/dist/test/integration/indexer.test.js:189:13)
      at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

2026-01-26T08:00:22.996Z debug: Saved or updated DDO : did:op:9ec86f743bbf5efdb531802ede0fb917c244b620d01ff19a14fadddadf941221 from network: 8996 triggered by: MetadataCreated 2026-01-26T08:00:22.996Z debug: saved DDO: {"_index":"op_ddo_v4.1.0","_id":"did:op:9ec86f743bbf5efdb531802ede0fb917c244b620d01ff19a14fadddadf941221","_version":2,"result":"noop","_shards":{"total":0,"successful":0,"failed":0},"_seq_no":79,"_primary_term":1,"id":"did:op:9ec86f743bbf5efdb531802ede0fb917c244b620d01ff19a14fadddadf941221"} 2026-01-26T08:00:22.996Z debug: INDEXER: Processed undefined events from 2 logs 2026-01-26T08:00:23.379Z info: DATABASE: Could not find any running C2D jobs! 2026-01-26T08:00:23.380Z info: CORE: No C2D jobs found for engine 0xe12c02ba86fa52021b617196d26e3c4eb454ccec12181e5a89ef2c97514ac6ea 2026-01-26T08:00:23.437Z debug: INDEXER: INDEXER: New last indexed block : 151 2026-01-26T08:00:23.437Z debug: Emiting "MetadataCreated" for DDO : did:op:9ec86f743bbf5efdb531802ede0fb917c244b620d01ff19a14fadddadf941221 from network: 8996 2026-01-26T08:00:23.568Z info: CORE: Checking received command data for Command "query": { "query": { "term": { "did": "did:op:9ec86f743bbf5efdb531802ede0fb917c244b620d01ff19a14fadddadf941221" } }, "command": "query" } Query result: { took: 2, timed_out: false, _shards: { total: 1, successful: 1, skipped: 0, failed: 0 }, hits: { total: { value: 0, relation: 'eq' }, max_score: null, hits: [] } } 2026-01-26T08:00:23.574Z debug: CORE: DDO State search result: [] 1) should find the state of the ddo using query ddo state handler 2026-01-26T08:00:23.575Z debug: CONFIG: Restoring environment variable: RPCS current: {"8996":{"chainId":8996,"network":"development","rpc":"http://127.0.0.1:8545/","chunkSize":100}} original: { "8996": {"rpc": "http://127.0.0.1:8545/", "chainId": 8996, "network": "development", "chunkSize": 100}, "137": {"rpc": "https://polygon.meowrpc.com/", "chainId": 137, "network": "polygon", "chunkSize": 100 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions