96 lines
15 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_metrics_after_filter_get with id: 2026-04-23_22-00-42__c98b3861-64c8-4555-9d29-ff387f5fde4b
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.light_push:light_push.py:28 Running fixture setup: light_push_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.store:store.py:31 Running fixture setup: store_setup
DEBUG  src.steps.filter:filter.py:34 Running fixture setup: setup_main_relay_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node1_2026-04-23_22-00-42__c98b3861-64c8-4555-9d29-ff387f5fde4b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.29.221
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['31814', '31815', '31816', '31817', '31818']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 31814:31814 -p 31815:31815 -p 31816:31816 -p 31817:31817 -p 31818:31818 wakuorg/nwaku:latest --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=31816 --rest-port=31814 --tcp-port=31815 --discv5-udp-port=31817 --rest-address=0.0.0.0 --nat=extip:172.18.29.221 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=63931e5c63b9a6a524ecff49fcf50857ca14b9a4cfb2afac3a79ffc9abefc7d7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31818 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.29.221 waku af2a6f85c92c6b964e726d34850211b69d2c52765ddd3370e7237670992270ed
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID af2a6f85c92c. Setting up logs at ./log/docker/node1_2026-04-23_22-00-42__c98b3861-64c8-4555-9d29-ff387f5fde4b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 31814
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 4059cc46b932. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:31814/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:31814/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.29.221/tcp/31815/p2p/16Uiu2HAkyMCWhDQdCTzkq8MHZjwZu5y2L8ZNhH1g4JrDyEHrjY5g","/ip4/172.18.29.221/tcp/31816/ws/p2p/16Uiu2HAkyMCWhDQdCTzkq8MHZjwZu5y2L8ZNhH1g4JrDyEHrjY5g"],"enrUri":"enr:-L24QD-DAC5W1c1w57K4zhEo3uzAwbgSxNgkhgqBEYmuuYq8OvJXdDXw_NphBzDnO3NySWNm9V_jtwOPAKPzGMWabGECgmlkgnY0gmlwhKwSHd2KbXVsdGlhZGRyc5YACASsEh3dBnxHAAoErBId3QZ8SN0DgnJzhQDGAQAAiXNlY3AyNTZrMaECOkld_wljuShbncFx7qLbv_dw_WeGTWEn2DgwcCqrDEuDdGNwgnxHg3VkcIJ8SYV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:299 REST service is ready !!
DEBUG  src.steps.filter:filter.py:39 Running fixture setup: setup_main_filter_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node2_2026-04-23_22-00-42__c98b3861-64c8-4555-9d29-ff387f5fde4b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.150.247
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['35449', '35450', '35451', '35452', '35453']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 35449:35449 -p 35450:35450 -p 35451:35451 -p 35452:35452 -p 35453:35453 wakuorg/nwaku:latest --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=35451 --rest-port=35449 --tcp-port=35450 --discv5-udp-port=35452 --rest-address=0.0.0.0 --nat=extip:172.18.150.247 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=9e1ccfdec5aa9a557ca89eac234300ec6d6c2a7428c0fabae86a8efebbd0cfb8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=35453 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QD-DAC5W1c1w57K4zhEo3uzAwbgSxNgkhgqBEYmuuYq8OvJXdDXw_NphBzDnO3NySWNm9V_jtwOPAKPzGMWabGECgmlkgnY0gmlwhKwSHd2KbXVsdGlhZGRyc5YACASsEh3dBnxHAAoErBId3QZ8SN0DgnJzhQDGAQAAiXNlY3AyNTZrMaECOkld_wljuShbncFx7qLbv_dw_WeGTWEn2DgwcCqrDEuDdGNwgnxHg3VkcIJ8SYV3YWt1MgU --filternode=/ip4/172.18.29.221/tcp/31815/p2p/16Uiu2HAkyMCWhDQdCTzkq8MHZjwZu5y2L8ZNhH1g4JrDyEHrjY5g
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.150.247 waku bb885f0e5fa84b827023cf4b7a283e6c8b280ace5b7d97a54d3b4ab9df8dfdbc
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID bb885f0e5fa8. Setting up logs at ./log/docker/node2_2026-04-23_22-00-42__c98b3861-64c8-4555-9d29-ff387f5fde4b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 35449
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:35449/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:35449/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.150.247/tcp/35450/p2p/16Uiu2HAkuUPFP6dnwjSxXVfVn9JUevpKBQawcxdKSGG1HTUEKogm","/ip4/172.18.150.247/tcp/35451/ws/p2p/16Uiu2HAkuUPFP6dnwjSxXVfVn9JUevpKBQawcxdKSGG1HTUEKogm"],"enrUri":"enr:-L24QEokakrbNzajy0j1fghDDTtiQwIMFq6oOobkspLSXIoSadO5prWx2FBUmLvHE8_vMjHicECQcygZaiCuFcdumtMCgmlkgnY0gmlwhKwSlveKbXVsdGlhZGRyc5YACASsEpb3Bop6AAoErBKW9waKe90DgnJzhQDGAQAAiXNlY3AyNTZrMaECALHTCR1yI0qSF6j2EDnpo7W8EZq_SBgGPZ9GqjSTgnqDdGNwgop6g3VkcIKKfIV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:299 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:35449/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.29.221/tcp/31815/p2p/16Uiu2HAkyMCWhDQdCTzkq8MHZjwZu5y2L8ZNhH1g4JrDyEHrjY5g"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.filter:filter.py:47 Running fixture setup: subscribe_main_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:31814/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:35449/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "0cc328c3-0a72-4249-9b33-b6ce381265c7", "contentFilters": ["/test/1/waku-relay/proto"], "pubsubTopic": "/waku/2/rs/198/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"0cc328c3-0a72-4249-9b33-b6ce381265c7","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:31814/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.5 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:35449/filter/v2/messages/%2Ftest%2F1%2Fwaku-relay%2Fproto" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981645072107418,"ephemeral":false}]'
DEBUG  src.libs.common:common.py:47 Sleeping for 5 seconds
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_peers has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_peers with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_pubsub_peers has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_pubsub_peers with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_pubsub_topics has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_pubsub_topics with value 2.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_pubsub_subscriptions_total has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_pubsub_subscriptions_total with value 2.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: waku_peer_store_size has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: waku_peer_store_size with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: waku_histogram_message_size_count has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: waku_histogram_message_size_count with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: waku_node_messages_total{type="relay"} has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: waku_node_messages_total{type="relay"} with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: waku_service_peers{protocol="/vac/waku/filter-subscribe/2.0.0-beta1",peerId="/ip4/172.18.29.221/tcp/31815"} has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: waku_service_peers{protocol="/vac/waku/filter-subscribe/2.0.0-beta1",peerId="/ip4/172.18.29.221/tcp/31815"} with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_peers has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_peers with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: libp2p_total_dial_attempts_total has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_total_dial_attempts_total with value 1.0
DEBUG  src.steps.metrics:metrics.py:15 Checking metric: waku_peer_store_size has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: waku_peer_store_size with value 1.0
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:241 Stopping container with id af2a6f85c92c
DEBUG  src.node.waku_node:waku_node.py:248 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:241 Stopping container with id bb885f0e5fa8
DEBUG  src.node.waku_node:waku_node.py:248 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.