96 lines
16 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-03-10_04-34-24__ded78e5b-81a5-42c8-aa3f-9eaca4e5f848
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-03-10_04-34-24__ded78e5b-81a5-42c8-aa3f-9eaca4e5f848__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.54.109
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['21738', '21739', '21740', '21741', '21742']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 21738:21738 -p 21739:21739 -p 21740:21740 -p 21741:21741 -p 21742:21742 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=21740 --rest-port=21738 --tcp-port=21739 --discv5-udp-port=21741 --rest-address=0.0.0.0 --nat=extip:172.18.54.109 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ebb4cdac44e0e1bd31f2fe5d24ca7e75ee51ae9120bf8bceae43cc9afa129e3e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21742 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.54.109 waku a8ec3ce83760c45986fb0ff6f52cfb0aaf0714effa8e8d7e19cf28be9eec7e5b
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a8ec3ce83760. Setting up logs at ./log/docker/node1_2026-03-10_04-34-24__ded78e5b-81a5-42c8-aa3f-9eaca4e5f848__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 21738
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 8c5f545d430f. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:21738/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"},{"Legacy 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"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are 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:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:21738/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.54.109/tcp/21739/p2p/16Uiu2HAm7ouke5VmbV8Z16kqnwE33viHHuj289qBwCWYrRk6Lq95","/ip4/172.18.54.109/tcp/21740/ws/p2p/16Uiu2HAm7ouke5VmbV8Z16kqnwE33viHHuj289qBwCWYrRk6Lq95"],"enrUri":"enr:-L24QI5M60i1GLMIxMBSy0LkSpRT2fzclnLR1BcOZDnNZqKhW98jZNKtKwF3riAmNJllomySayrE2dVP2Ah6ChjIUYwCgmlkgnY0gmlwhKwSNm2KbXVsdGlhZGRyc5YACASsEjZtBlTrAAoErBI2bQZU7N0DgnJzhQADAQAAiXNlY3AyNTZrMaECt_6YJsW0oZ7zhNG5zXa_c0Il7Xz_tx6O1yfzh6pLkjyDdGNwglTrg3VkcIJU7YV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:292 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-03-10_04-34-24__ded78e5b-81a5-42c8-aa3f-9eaca4e5f848__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.27.19
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['14150', '14151', '14152', '14153', '14154']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 14150:14150 -p 14151:14151 -p 14152:14152 -p 14153:14153 -p 14154:14154 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=14152 --rest-port=14150 --tcp-port=14151 --discv5-udp-port=14153 --rest-address=0.0.0.0 --nat=extip:172.18.27.19 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5ddcc21a99356a92c008e3fae52fa53b1faaeafbc91143b154f8c32457248a84 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=14154 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QI5M60i1GLMIxMBSy0LkSpRT2fzclnLR1BcOZDnNZqKhW98jZNKtKwF3riAmNJllomySayrE2dVP2Ah6ChjIUYwCgmlkgnY0gmlwhKwSNm2KbXVsdGlhZGRyc5YACASsEjZtBlTrAAoErBI2bQZU7N0DgnJzhQADAQAAiXNlY3AyNTZrMaECt_6YJsW0oZ7zhNG5zXa_c0Il7Xz_tx6O1yfzh6pLkjyDdGNwglTrg3VkcIJU7YV3YWt1MgU --filternode=/ip4/172.18.54.109/tcp/21739/p2p/16Uiu2HAm7ouke5VmbV8Z16kqnwE33viHHuj289qBwCWYrRk6Lq95
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.27.19 waku dbca42ee02649089bb2a62bfef08504b136cc2d4c77df2c6f730b3df99784cf5
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID dbca42ee0264. Setting up logs at ./log/docker/node2_2026-03-10_04-34-24__ded78e5b-81a5-42c8-aa3f-9eaca4e5f848__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 14150
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:14150/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"},{"Legacy 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"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are 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:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:14150/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.27.19/tcp/14151/p2p/16Uiu2HAmFsHcMG2zsjKiAubZ3JcEBtLHCR6o29wvNJV2F5WBfYyt","/ip4/172.18.27.19/tcp/14152/ws/p2p/16Uiu2HAmFsHcMG2zsjKiAubZ3JcEBtLHCR6o29wvNJV2F5WBfYyt"],"enrUri":"enr:-L24QIa6uF9ro0S46K2qxouaIxP-Q25bGF2FfL_w9zJuy-s9ZiXI083xTZ9LFe65kfGhxG4w5dqCcO1cNW4sP14C-FMCgmlkgnY0gmlwhKwSGxOKbXVsdGlhZGRyc5YACASsEhsTBjdHAAoErBIbEwY3SN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDL7mLybrOXDIx1Jm7QAxXXErQjRoMgFsA2RyM-6ubPO-DdGNwgjdHg3VkcII3SYV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14150/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.54.109/tcp/21739/p2p/16Uiu2HAm7ouke5VmbV8Z16kqnwE33viHHuj289qBwCWYrRk6Lq95"]'
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:21738/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/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:14150/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "e9a5cd28-937b-4cf9-b9b4-dfe44e27fc95", "contentFilters": ["/test/1/waku-relay/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"e9a5cd28-937b-4cf9-b9b4-dfe44e27fc95","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:21738/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%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:14150/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":1773117267424865050,"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.54.109/tcp/21739"} 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.54.109/tcp/21739"} 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:234 Stopping container with id a8ec3ce83760
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id dbca42ee0264
DEBUG  src.node.waku_node:waku_node.py:241 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.