2026-02-28 20:41:24 +00:00

116 lines
18 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_relay_publish with id: 2026-02-28_20-22-44__8032105a-e53b-4639-9143-fb95b26e1da6
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.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
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-02-28_20-22-44__8032105a-e53b-4639-9143-fb95b26e1da6__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.51.122
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['9050', '9051', '9052', '9053', '9054']
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 9050:9050 -p 9051:9051 -p 9052:9052 -p 9053:9053 -p 9054:9054 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=9052 --rest-port=9050 --tcp-port=9051 --discv5-udp-port=9053 --rest-address=0.0.0.0 --nat=extip:172.18.51.122 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=faa844f1a130e2b6d1b5edaa4dfea8df59b5eb5b5cfdbb4dddcafc6aec3d528c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9054 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.51.122 waku d4077503cc7c189ab17549eeeb6dad6e05c1abd7bd9f8c578d575602684d0e65
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container ad769dbe5670. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID d4077503cc7c. Setting up logs at ./log/docker/node1_2026-02-28_20-22-44__8032105a-e53b-4639-9143-fb95b26e1da6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 9050
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 661617000bb6. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9050/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_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:9050/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.51.122/tcp/9051/p2p/16Uiu2HAmCzv1ycJCuFDzUvf9XnaNfJd6vDR2sxSnxwBEh9ik8xkr","/ip4/172.18.51.122/tcp/9052/ws/p2p/16Uiu2HAmCzv1ycJCuFDzUvf9XnaNfJd6vDR2sxSnxwBEh9ik8xkr"],"enrUri":"enr:-L24QDMVKBDebgnQKTEuBw5nYv6GZP9kgA41gUcTLc6JTh-sDJZH4b0e3oVNxb-kDlmkXdU_hqn3ErrNPI8VJKZId4QCgmlkgnY0gmlwhKwSM3qKbXVsdGlhZGRyc5YACASsEjN6BiNbAAoErBIzegYjXN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDBRq3hDjrX3IljyrYRLAFNwoVIZQnSDn9GvYWDGr9gxODdGNwgiNbg3VkcIIjXYV3YWt1MgE"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
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-02-28_20-22-44__8032105a-e53b-4639-9143-fb95b26e1da6__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.39.239
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['62218', '62219', '62220', '62221', '62222']
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 62218:62218 -p 62219:62219 -p 62220:62220 -p 62221:62221 -p 62222:62222 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=62220 --rest-port=62218 --tcp-port=62219 --discv5-udp-port=62221 --rest-address=0.0.0.0 --nat=extip:172.18.39.239 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c25720e8f9e9d1757e60a3289cc443ed5eba50fcdd168f9b56f52e2a13bcc2be --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=62222 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QDMVKBDebgnQKTEuBw5nYv6GZP9kgA41gUcTLc6JTh-sDJZH4b0e3oVNxb-kDlmkXdU_hqn3ErrNPI8VJKZId4QCgmlkgnY0gmlwhKwSM3qKbXVsdGlhZGRyc5YACASsEjN6BiNbAAoErBIzegYjXN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDBRq3hDjrX3IljyrYRLAFNwoVIZQnSDn9GvYWDGr9gxODdGNwgiNbg3VkcIIjXYV3YWt1MgE
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.39.239 waku c4881e8c1ffb1f78f66827d6e0ace8e8f4bd193525319412aab3011d59b55b17
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID c4881e8c1ffb. Setting up logs at ./log/docker/node2_2026-02-28_20-22-44__8032105a-e53b-4639-9143-fb95b26e1da6__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 62218
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:62218/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_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:62218/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.39.239/tcp/62219/p2p/16Uiu2HAmRSX1qpG9UPFCaoAwsRSmmQjNCwvoZgAhY4hAxjGCNUbL","/ip4/172.18.39.239/tcp/62220/ws/p2p/16Uiu2HAmRSX1qpG9UPFCaoAwsRSmmQjNCwvoZgAhY4hAxjGCNUbL"],"enrUri":"enr:-L24QO7HsatOepUWMKdKnkz5B02TDOMFnw4s5oRzmnhzeEcMM4gThY7c3PxIsOw-7sSq8jKnm7sZ_SwO0CpbXvrHucICgmlkgnY0gmlwhKwSJ--KbXVsdGlhZGRyc5YACASsEifvBvMLAAoErBIn7wbzDN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDvfYNXbKJ0Kik6ISCwxNGGwxuPwnvFtJRGuHQmHCqyOuDdGNwgvMLg3VkcILzDYV3YWt1MgE"}'
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:62218/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.51.122/tcp/9051/p2p/16Uiu2HAmCzv1ycJCuFDzUvf9XnaNfJd6vDR2sxSnxwBEh9ik8xkr"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:9050/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:62218/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:9050/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.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9050/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":1772310166887346944,"ephemeral":false,"proof":""}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:62218/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":1772310166887346944,"ephemeral":false,"proof":""}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:9050/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:62218/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":1772310167004035698,"ephemeral":false,"proof":""}]'
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: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} 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 2.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 2.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_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: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
DEBUG  src.steps.metrics:metrics.py:27 Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} 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 2.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 2.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 d4077503cc7c
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id c4881e8c1ffb
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.