117 lines
18 KiB
Plaintext

2025-12-26 04:21:40.399 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-26 04:21:40.400 DEBUG [tests.conftest] Running test: test_metrics_after_relay_publish with id: 2025-12-26_04-21-40__ecfd1d70-c779-476a-9e85-33e073b93693
2025-12-26 04:21:40.400 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-26 04:21:40.401 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-26 04:21:40.402 DEBUG [src.steps.light_push] Running fixture setup: light_push_setup
2025-12-26 04:21:40.402 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-26 04:21:40.402 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-26 04:21:40.403 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-26 04:21:40.411 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:21:40.412 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-26_04-21-40__ecfd1d70-c779-476a-9e85-33e073b93693__wakuorg_nwaku:latest.log
2025-12-26 04:21:40.412 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:21:40.412 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:21:40.415 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:21:40.416 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.121.222
2025-12-26 04:21:40.416 DEBUG [src.node.docker_mananger] Generated ports ['40719', '40720', '40721', '40722', '40723']
2025-12-26 04:21:40.416 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:21:40.416 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:21:40.416 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:21:40.416 DEBUG [src.node.docker_mananger] docker run -i -t -p 40719:40719 -p 40720:40720 -p 40721:40721 -p 40722:40722 -p 40723:40723 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=40721 --rest-port=40719 --tcp-port=40720 --discv5-udp-port=40722 --rest-address=0.0.0.0 --nat=extip:172.18.121.222 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5c2bb3d5b654b263afec9347469620a58efa6d4c3f77cdbf7a2d2b1ddc40a2ce --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40723 --metrics-logging=true --relay=true
2025-12-26 04:21:40.593 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.121.222 waku b1b85c17209da1187aaeea0c5c83c29c44d55d3ec47be3fd450e18513848143c
2025-12-26 04:21:40.623 DEBUG [src.node.docker_mananger] Container started with ID b1b85c17209d. Setting up logs at ./log/docker/node1_2025-12-26_04-21-40__ecfd1d70-c779-476a-9e85-33e073b93693__wakuorg_nwaku:latest.log
2025-12-26 04:21:40.624 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 40719
2025-12-26 04:21:40.624 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:21:40.670 ERROR [src.node.docker_mananger] Max retries reached for container 5cab211e04b9. Exiting log stream.
2025-12-26 04:21:41.223 ERROR [src.node.docker_mananger] Max retries reached for container 32416f9d5f06. Exiting log stream.
2025-12-26 04:21:41.625 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40719/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:41.628 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"}]}'
2025-12-26 04:21:41.628 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:21:41.629 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40719/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:41.631 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.121.222/tcp/40720/p2p/16Uiu2HAm82UJiaQd5EqCc53GCtAiWVXQgwM3jcMzhd9G6qqBsms4","/ip4/172.18.121.222/tcp/40721/ws/p2p/16Uiu2HAm82UJiaQd5EqCc53GCtAiWVXQgwM3jcMzhd9G6qqBsms4"],"enrUri":"enr:-L24QLzrG8ylUM_fGGwpFcSwM8lvfbOJZfcdiWA7qwVlsjH3KKHxQywGVGmk4syKGmaSwGCX9hb24gaO1kUjdOaxZFgCgmlkgnY0gmlwhKwSed6KbXVsdGlhZGRyc5YACASsEnneBp8QAAoErBJ53gafEd0DgnJzhQADAQAAiXNlY3AyNTZrMaECuzZfNceW1KqkzYPM39BYcIxgskYzoJKYBpz6xFyv2XeDdGNwgp8Qg3VkcIKfEoV3YWt1MgE"}'
2025-12-26 04:21:41.631 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:21:41.637 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:21:41.637 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-26_04-21-40__ecfd1d70-c779-476a-9e85-33e073b93693__wakuorg_nwaku:latest.log
2025-12-26 04:21:41.637 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:21:41.637 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:21:41.639 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:21:41.639 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.117.174
2025-12-26 04:21:41.639 DEBUG [src.node.docker_mananger] Generated ports ['56473', '56474', '56475', '56476', '56477']
2025-12-26 04:21:41.639 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:21:41.639 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:21:41.639 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:21:41.640 DEBUG [src.node.docker_mananger] docker run -i -t -p 56473:56473 -p 56474:56474 -p 56475:56475 -p 56476:56476 -p 56477:56477 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=56475 --rest-port=56473 --tcp-port=56474 --discv5-udp-port=56476 --rest-address=0.0.0.0 --nat=extip:172.18.117.174 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f0adaa6ef8b30582a93dc0efbc2b1caab7eeb903dd7eaf5ce3a81d672ea1f7ed --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=56477 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLzrG8ylUM_fGGwpFcSwM8lvfbOJZfcdiWA7qwVlsjH3KKHxQywGVGmk4syKGmaSwGCX9hb24gaO1kUjdOaxZFgCgmlkgnY0gmlwhKwSed6KbXVsdGlhZGRyc5YACASsEnneBp8QAAoErBJ53gafEd0DgnJzhQADAQAAiXNlY3AyNTZrMaECuzZfNceW1KqkzYPM39BYcIxgskYzoJKYBpz6xFyv2XeDdGNwgp8Qg3VkcIKfEoV3YWt1MgE
2025-12-26 04:21:41.827 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.117.174 waku 020a193730400a1348ed22d16fff35f5a6a8624abf46ca839e5c4c57b38e2dac
2025-12-26 04:21:41.857 DEBUG [src.node.docker_mananger] Container started with ID 020a19373040. Setting up logs at ./log/docker/node2_2025-12-26_04-21-40__ecfd1d70-c779-476a-9e85-33e073b93693__wakuorg_nwaku:latest.log
2025-12-26 04:21:41.858 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 56473
2025-12-26 04:21:41.858 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:21:42.858 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56473/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:42.869 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"}]}'
2025-12-26 04:21:42.869 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:21:42.870 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56473/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:42.876 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.117.174/tcp/56474/p2p/16Uiu2HAmJFFszKzudDtnyro5PDsMY615tmtazPU1xKKPPjFcmjqc","/ip4/172.18.117.174/tcp/56475/ws/p2p/16Uiu2HAmJFFszKzudDtnyro5PDsMY615tmtazPU1xKKPPjFcmjqc"],"enrUri":"enr:-L24QKZ2avaQa9olAiFFekQG078THSGG9kuG2MMzE_CW8JgkQjMqC1RseyD3LfXzWWM1sNfHJ0S_viARBcCz4jQ9w7ICgmlkgnY0gmlwhKwSda6KbXVsdGlhZGRyc5YACASsEnWuBtyaAAoErBJ1rgbcm90DgnJzhQADAQAAiXNlY3AyNTZrMaEDUxG9vaEL22MHjOgjSHeVqqHqSKEL6grwL4_I8pKbITuDdGNwgtyag3VkcILcnIV3YWt1MgE"}'
2025-12-26 04:21:42.877 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:21:42.877 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56473/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.121.222/tcp/40720/p2p/16Uiu2HAm82UJiaQd5EqCc53GCtAiWVXQgwM3jcMzhd9G6qqBsms4"]'
2025-12-26 04:21:42.881 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:21:42.881 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2025-12-26 04:21:42.882 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40719/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-26 04:21:42.885 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:21:42.886 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56473/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-26 04:21:42.890 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:21:42.892 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40719/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)'}'
2025-12-26 04:21:42.897 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:21:42.897 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-26 04:21:42.998 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-26 04:21:42.998 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40719/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:43.001 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":1766722902892705024,"ephemeral":false,"proof":""}]'
2025-12-26 04:21:43.002 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-26 04:21:43.003 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56473/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:43.005 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":1766722902892705024,"ephemeral":false,"proof":""}]'
2025-12-26 04:21:43.006 INFO [src.steps.relay] WARM UP successful!!
2025-12-26 04:21:43.007 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40719/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)'}'
2025-12-26 04:21:43.011 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:21:43.012 DEBUG [src.libs.common] Sleeping for 0.5 seconds
2025-12-26 04:21:43.512 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56473/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:21:43.515 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":1766722903007412587,"ephemeral":false,"proof":""}]'
2025-12-26 04:21:43.515 DEBUG [src.libs.common] Sleeping for 5 seconds
2025-12-26 04:21:48.516 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2025-12-26 04:21:48.520 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2025-12-26 04:21:48.520 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2025-12-26 04:21:48.523 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2025-12-26 04:21:48.524 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2025-12-26 04:21:48.527 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2025-12-26 04:21:48.527 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2025-12-26 04:21:48.530 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2025-12-26 04:21:48.530 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2025-12-26 04:21:48.533 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2025-12-26 04:21:48.534 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2025-12-26 04:21:48.537 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2025-12-26 04:21:48.537 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2025-12-26 04:21:48.540 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2025-12-26 04:21:48.540 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2025-12-26 04:21:48.543 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2025-12-26 04:21:48.543 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2025-12-26 04:21:48.547 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2025-12-26 04:21:48.547 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2025-12-26 04:21:48.550 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2025-12-26 04:21:48.550 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2025-12-26 04:21:48.553 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2025-12-26 04:21:48.554 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2025-12-26 04:21:48.557 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2025-12-26 04:21:48.557 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2025-12-26 04:21:48.560 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2025-12-26 04:21:48.561 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2025-12-26 04:21:48.564 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2025-12-26 04:21:48.564 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2025-12-26 04:21:48.567 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2025-12-26 04:21:48.567 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2025-12-26 04:21:48.570 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2025-12-26 04:21:48.573 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-26 04:21:48.574 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-26 04:21:48.574 DEBUG [src.node.waku_node] Stopping container with id b1b85c17209d
2025-12-26 04:21:49.088 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:21:49.088 DEBUG [src.node.waku_node] Stopping container with id 020a19373040
2025-12-26 04:21:49.603 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:21:49.604 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-26 04:21:49.611 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-26 04:21:49.618 DEBUG [src.node.docker_mananger] No errors found in the waku logs.