117 lines
18 KiB
Plaintext

2026-02-03 04:35:06.919 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-03 04:35:06.919 DEBUG [tests.conftest] Running test: test_metrics_after_relay_publish with id: 2026-02-03_04-35-06__434ba26c-e956-4d27-86ff-a3a73b057a19
2026-02-03 04:35:06.919 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-03 04:35:06.920 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-03 04:35:06.920 DEBUG [src.steps.light_push] Running fixture setup: light_push_setup
2026-02-03 04:35:06.920 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-03 04:35:06.921 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-02-03 04:35:06.921 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-02-03 04:35:06.927 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-03 04:35:06.927 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-03_04-35-06__434ba26c-e956-4d27-86ff-a3a73b057a19__wakuorg_nwaku:latest.log
2026-02-03 04:35:06.927 DEBUG [src.node.waku_node] Starting Node...
2026-02-03 04:35:06.928 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-03 04:35:06.929 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-03 04:35:06.929 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.246.27
2026-02-03 04:35:06.929 DEBUG [src.node.docker_mananger] Generated ports ['37305', '37306', '37307', '37308', '37309']
2026-02-03 04:35:06.929 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-03 04:35:06.929 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-03 04:35:06.930 DEBUG [src.node.waku_node] Using volumes []
2026-02-03 04:35:06.930 DEBUG [src.node.docker_mananger] docker run -i -t -p 37305:37305 -p 37306:37306 -p 37307:37307 -p 37308:37308 -p 37309:37309 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=37307 --rest-port=37305 --tcp-port=37306 --discv5-udp-port=37308 --rest-address=0.0.0.0 --nat=extip:172.18.246.27 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0ff0bc7d11f6cbf5cb48cfac1ee40a46d26eb0adac2fb7dbe4abfdb777fbfba5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=37309 --metrics-logging=true --relay=true
2026-02-03 04:35:07.112 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.246.27 waku 270d8466199b48666c13a65d6b35e93eaeef6cbda2f6e8ce0f623d42fa881389
2026-02-03 04:35:07.147 DEBUG [src.node.docker_mananger] Container started with ID 270d8466199b. Setting up logs at ./log/docker/node1_2026-02-03_04-35-06__434ba26c-e956-4d27-86ff-a3a73b057a19__wakuorg_nwaku:latest.log
2026-02-03 04:35:07.147 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 37305
2026-02-03 04:35:07.147 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-03 04:35:07.196 ERROR [src.node.docker_mananger] Max retries reached for container 8ec996884657. Exiting log stream.
2026-02-03 04:35:07.727 ERROR [src.node.docker_mananger] Max retries reached for container 58622b30ecba. Exiting log stream.
2026-02-03 04:35:08.148 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37305/health" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:08.151 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln 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"}]}'
2026-02-03 04:35:08.151 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-03 04:35:08.151 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37305/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:08.154 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.246.27/tcp/37306/p2p/16Uiu2HAmE2sSgYWBeNCGh55gcLsbGW31db9Ak2z7ZFbUWx97exsS","/ip4/172.18.246.27/tcp/37307/ws/p2p/16Uiu2HAmE2sSgYWBeNCGh55gcLsbGW31db9Ak2z7ZFbUWx97exsS"],"enrUri":"enr:-L24QOvzjDI8eQit9EQd9pDsDev5lqUPeWAZKK95F9SK0Q-BaLJkxePMQvQJHOysVqPiEbvNqbcTJx40ttgqqYvTpLkCgmlkgnY0gmlwhKwS9huKbXVsdGlhZGRyc5YACASsEvYbBpG6AAoErBL2GwaRu90DgnJzhQADAQAAiXNlY3AyNTZrMaEDFHanqZK7iR9P9pdVNrB0MPaQr9EUz0Tk4ZI9WP3RMJGDdGNwgpG6g3VkcIKRvIV3YWt1MgE"}'
2026-02-03 04:35:08.154 INFO [src.node.waku_node] REST service is ready !!
2026-02-03 04:35:08.160 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-03 04:35:08.160 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-03_04-35-06__434ba26c-e956-4d27-86ff-a3a73b057a19__wakuorg_nwaku:latest.log
2026-02-03 04:35:08.160 DEBUG [src.node.waku_node] Starting Node...
2026-02-03 04:35:08.160 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-03 04:35:08.161 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-03 04:35:08.162 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.192.70
2026-02-03 04:35:08.162 DEBUG [src.node.docker_mananger] Generated ports ['61533', '61534', '61535', '61536', '61537']
2026-02-03 04:35:08.162 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-03 04:35:08.162 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-03 04:35:08.162 DEBUG [src.node.waku_node] Using volumes []
2026-02-03 04:35:08.162 DEBUG [src.node.docker_mananger] docker run -i -t -p 61533:61533 -p 61534:61534 -p 61535:61535 -p 61536:61536 -p 61537:61537 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=61535 --rest-port=61533 --tcp-port=61534 --discv5-udp-port=61536 --rest-address=0.0.0.0 --nat=extip:172.18.192.70 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a80e5e1edf7c3deda8ffa6fb67614c6e54d6ad7dbff0b0ad28f8df1622eb70f9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61537 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QOvzjDI8eQit9EQd9pDsDev5lqUPeWAZKK95F9SK0Q-BaLJkxePMQvQJHOysVqPiEbvNqbcTJx40ttgqqYvTpLkCgmlkgnY0gmlwhKwS9huKbXVsdGlhZGRyc5YACASsEvYbBpG6AAoErBL2GwaRu90DgnJzhQADAQAAiXNlY3AyNTZrMaEDFHanqZK7iR9P9pdVNrB0MPaQr9EUz0Tk4ZI9WP3RMJGDdGNwgpG6g3VkcIKRvIV3YWt1MgE
2026-02-03 04:35:08.354 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.192.70 waku f98b0a0034447109b58126de8282d94b5c104a575de5ad1f8770f1e3a7f99ae0
2026-02-03 04:35:08.390 DEBUG [src.node.docker_mananger] Container started with ID f98b0a003444. Setting up logs at ./log/docker/node2_2026-02-03_04-35-06__434ba26c-e956-4d27-86ff-a3a73b057a19__wakuorg_nwaku:latest.log
2026-02-03 04:35:08.391 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 61533
2026-02-03 04:35:08.391 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-03 04:35:09.391 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61533/health" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:09.400 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln 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"}]}'
2026-02-03 04:35:09.403 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-03 04:35:09.403 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61533/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:09.409 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.192.70/tcp/61534/p2p/16Uiu2HAmVWkA4fX1Xrbgb9ja6sDzwXJwBHn2LoDA3CpTctqvTP75","/ip4/172.18.192.70/tcp/61535/ws/p2p/16Uiu2HAmVWkA4fX1Xrbgb9ja6sDzwXJwBHn2LoDA3CpTctqvTP75"],"enrUri":"enr:-L24QGb1MWPXY3nBg-DdUDsepVkxvhh5tOXMY-kW8-LhfYN9clJ6HT-20EXHN6B8vqBUQOIXCtwpuQIK2gYUhjdXb_oCgmlkgnY0gmlwhKwSwEaKbXVsdGlhZGRyc5YACASsEsBGBvBeAAoErBLARgbwX90DgnJzhQADAQAAiXNlY3AyNTZrMaED-nn7ijNPm4pR9vTfOmnWzKUtPf26aujdVJ3f3pPXhxiDdGNwgvBeg3VkcILwYIV3YWt1MgE"}'
2026-02-03 04:35:09.409 INFO [src.node.waku_node] REST service is ready !!
2026-02-03 04:35:09.409 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61533/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.246.27/tcp/37306/p2p/16Uiu2HAmE2sSgYWBeNCGh55gcLsbGW31db9Ak2z7ZFbUWx97exsS"]'
2026-02-03 04:35:09.412 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:35:09.412 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-02-03 04:35:09.413 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37305/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-03 04:35:09.417 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:35:09.417 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61533/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-03 04:35:09.421 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:35:09.422 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37305/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)'}'
2026-02-03 04:35:09.427 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:35:09.427 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-03 04:35:09.528 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-03 04:35:09.528 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37305/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:09.530 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1770093309422411264,"ephemeral":false,"proof":""}]'
2026-02-03 04:35:09.533 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-03 04:35:09.533 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61533/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:09.535 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1770093309422411264,"ephemeral":false,"proof":""}]'
2026-02-03 04:35:09.537 INFO [src.steps.relay] WARM UP successful!!
2026-02-03 04:35:09.538 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37305/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)'}'
2026-02-03 04:35:09.542 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-03 04:35:09.543 DEBUG [src.libs.common] Sleeping for 0.5 seconds
2026-02-03 04:35:10.043 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61533/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-03 04:35:10.046 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1770093309538036443,"ephemeral":false,"proof":""}]'
2026-02-03 04:35:10.046 DEBUG [src.libs.common] Sleeping for 5 seconds
2026-02-03 04:35:15.046 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2026-02-03 04:35:15.051 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2026-02-03 04:35:15.051 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2026-02-03 04:35:15.054 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2026-02-03 04:35:15.055 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2026-02-03 04:35:15.058 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2026-02-03 04:35:15.058 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2026-02-03 04:35:15.061 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2026-02-03 04:35:15.061 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2026-02-03 04:35:15.064 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2026-02-03 04:35:15.065 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2026-02-03 04:35:15.068 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2026-02-03 04:35:15.068 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2026-02-03 04:35:15.071 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2026-02-03 04:35:15.071 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2026-02-03 04:35:15.074 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2026-02-03 04:35:15.075 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2026-02-03 04:35:15.078 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2026-02-03 04:35:15.078 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2026-02-03 04:35:15.081 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2026-02-03 04:35:15.082 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2026-02-03 04:35:15.085 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2026-02-03 04:35:15.085 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2026-02-03 04:35:15.088 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2026-02-03 04:35:15.088 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2026-02-03 04:35:15.091 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2026-02-03 04:35:15.091 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2026-02-03 04:35:15.094 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2026-02-03 04:35:15.095 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2026-02-03 04:35:15.118 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2026-02-03 04:35:15.118 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2026-02-03 04:35:15.122 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2026-02-03 04:35:15.124 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-03 04:35:15.125 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-03 04:35:15.125 DEBUG [src.node.waku_node] Stopping container with id 270d8466199b
2026-02-03 04:35:15.672 DEBUG [src.node.waku_node] Container stopped.
2026-02-03 04:35:15.672 DEBUG [src.node.waku_node] Stopping container with id f98b0a003444
2026-02-03 04:35:16.209 DEBUG [src.node.waku_node] Container stopped.
2026-02-03 04:35:16.212 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-03 04:35:16.217 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-03 04:35:16.223 DEBUG [src.node.docker_mananger] No errors found in the waku logs.