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_05-14-58__e9b5df7e-6419-49b7-8e4d-56b050f8bd68
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:108 WakuNode instance initialized with log path ./log/docker/node1_2026-04-23_05-14-58__e9b5df7e-6419-49b7-8e4d-56b050f8bd68__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.118.57
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['19131', '19132', '19133', '19134', '19135']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 19131:19131 -p 19132:19132 -p 19133:19133 -p 19134:19134 -p 19135:19135 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=19133 --rest-port=19131 --tcp-port=19132 --discv5-udp-port=19134 --rest-address=0.0.0.0 --nat=extip:172.18.118.57 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=07cc81360e6e2a564efb5cf52d185ebbbd4f3dadfcfcaacb7b1aaecc35b45de7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=19135 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.118.57 waku f7598fc8a28043133eca1ad1da3ff28d1713d1f289b5df96c013e56331305d18
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID f7598fc8a280. Setting up logs at ./log/docker/node1_2026-04-23_05-14-58__e9b5df7e-6419-49b7-8e4d-56b050f8bd68__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 19131
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 08c7ff30bd27. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:19131/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:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:19131/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.118.57/tcp/19132/p2p/16Uiu2HAmPzNt2Hw4PoMdAapEH8q4wYnBJDrrkQ7wi6GnhNbaBzbQ","/ip4/172.18.118.57/tcp/19133/ws/p2p/16Uiu2HAmPzNt2Hw4PoMdAapEH8q4wYnBJDrrkQ7wi6GnhNbaBzbQ"],"enrUri":"enr:-L24QEmha-o2uHleWLbufi3S8R3w3pJ_PubZahHniP-K-VXtYrM7gpnYNaBIpdgFEh6zZvyahyHW5TezjyM1NRCjgrYCgmlkgnY0gmlwhKwSdjmKbXVsdGlhZGRyc5YACASsEnY5Bkq8AAoErBJ2OQZKvd0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDqGgQ8VHQ9By5kk9VWvMps4TMMKmE_p7G-w99-SV6Xu-DdGNwgkq8g3VkcIJKvoV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:417 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:108 WakuNode instance initialized with log path ./log/docker/node2_2026-04-23_05-14-58__e9b5df7e-6419-49b7-8e4d-56b050f8bd68__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.100.11
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['4242', '4243', '4244', '4245', '4246']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 4242:4242 -p 4243:4243 -p 4244:4244 -p 4245:4245 -p 4246:4246 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=4244 --rest-port=4242 --tcp-port=4243 --discv5-udp-port=4245 --rest-address=0.0.0.0 --nat=extip:172.18.100.11 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=5afbfecf8bccfbfb1efee9fc794c048d6be39af176ac8ceb66fe49abe6ec9d4d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=4246 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QEmha-o2uHleWLbufi3S8R3w3pJ_PubZahHniP-K-VXtYrM7gpnYNaBIpdgFEh6zZvyahyHW5TezjyM1NRCjgrYCgmlkgnY0gmlwhKwSdjmKbXVsdGlhZGRyc5YACASsEnY5Bkq8AAoErBJ2OQZKvd0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDqGgQ8VHQ9By5kk9VWvMps4TMMKmE_p7G-w99-SV6Xu-DdGNwgkq8g3VkcIJKvoV3YWt1MgU --filternode=/ip4/172.18.118.57/tcp/19132/p2p/16Uiu2HAmPzNt2Hw4PoMdAapEH8q4wYnBJDrrkQ7wi6GnhNbaBzbQ
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.100.11 waku 75afe9fcd4e96190dfcd4f885322d2ffd78f8146b16f435b4c56322125e5055d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 75afe9fcd4e9. Setting up logs at ./log/docker/node2_2026-04-23_05-14-58__e9b5df7e-6419-49b7-8e4d-56b050f8bd68__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 4242
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:4242/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:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:4242/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.100.11/tcp/4243/p2p/16Uiu2HAm8PY9Gv6mDHQC2HRkQt92nKTbb6v7WYpBSnEpgRy2qB8U","/ip4/172.18.100.11/tcp/4244/ws/p2p/16Uiu2HAm8PY9Gv6mDHQC2HRkQt92nKTbb6v7WYpBSnEpgRy2qB8U"],"enrUri":"enr:-L24QGOJwXF-rutfxGtLA5dwUF9HGdk1hEp0yHSGIgqM6UkcYavmRsPolcCDQUKgZ06PLl_VG8XSuk4FsTX9h1EEu64CgmlkgnY0gmlwhKwSZAuKbXVsdGlhZGRyc5YACASsEmQLBhCTAAoErBJkCwYQlN0DgnJzhQDGAQAAiXNlY3AyNTZrMaECwJvoWx6yiERSFhZRW-7jw8Nm6IwsFN7AVlATAsijISmDdGNwghCTg3VkcIIQlYV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:4242/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.118.57/tcp/19132/p2p/16Uiu2HAmPzNt2Hw4PoMdAapEH8q4wYnBJDrrkQ7wi6GnhNbaBzbQ"]'
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:19131/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:4242/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "9a15c501-3eb9-4e7c-be36-62733ba3f0a4", "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":"9a15c501-3eb9-4e7c-be36-62733ba3f0a4","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:19131/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:4242/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":1776921301403602609,"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.118.57/tcp/19132"} 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.118.57/tcp/19132"} 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:343 Stopping container with id f7598fc8a280
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 75afe9fcd4e9
DEBUG  src.node.waku_node:waku_node.py:355 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.