117 lines
18 KiB
Plaintext

2025-12-18 04:19:33.952 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-18 04:19:33.953 DEBUG [tests.conftest] Running test: test_metrics_after_relay_publish with id: 2025-12-18_04-19-33__2d08511d-da27-46ef-b8d3-5ae95eaca59c
2025-12-18 04:19:33.953 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-18 04:19:33.953 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-18 04:19:33.953 DEBUG [src.steps.light_push] Running fixture setup: light_push_setup
2025-12-18 04:19:33.954 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-18 04:19:33.954 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-18 04:19:33.954 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-18 04:19:33.960 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:19:33.960 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-18_04-19-33__2d08511d-da27-46ef-b8d3-5ae95eaca59c__wakuorg_nwaku:latest.log
2025-12-18 04:19:33.961 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:19:33.961 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:19:33.962 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:19:33.962 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.165.193
2025-12-18 04:19:33.962 DEBUG [src.node.docker_mananger] Generated ports ['43650', '43651', '43652', '43653', '43654']
2025-12-18 04:19:33.963 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:19:33.963 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:19:33.963 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:19:33.963 DEBUG [src.node.docker_mananger] docker run -i -t -p 43650:43650 -p 43651:43651 -p 43652:43652 -p 43653:43653 -p 43654:43654 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=43652 --rest-port=43650 --tcp-port=43651 --discv5-udp-port=43653 --rest-address=0.0.0.0 --nat=extip:172.18.165.193 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=aa2cd9c7c16e7945219e45d06f9df2dc0afed64fc9ece3fceb2ea1df87bc4b3d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=43654 --metrics-logging=true --relay=true
2025-12-18 04:19:34.149 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.165.193 waku 7739fdbd6a87a05fd3092fc662a055a3f1cda2a660fc26b5472c8fa0899037d9
2025-12-18 04:19:34.181 DEBUG [src.node.docker_mananger] Container started with ID 7739fdbd6a87. Setting up logs at ./log/docker/node1_2025-12-18_04-19-33__2d08511d-da27-46ef-b8d3-5ae95eaca59c__wakuorg_nwaku:latest.log
2025-12-18 04:19:34.182 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 43650
2025-12-18 04:19:34.182 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:19:34.228 ERROR [src.node.docker_mananger] Max retries reached for container 8e37dab9fae3. Exiting log stream.
2025-12-18 04:19:34.755 ERROR [src.node.docker_mananger] Max retries reached for container 10a574a04e72. Exiting log stream.
2025-12-18 04:19:35.182 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43650/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:35.185 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-18 04:19:35.186 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:19:35.186 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43650/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:35.188 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.165.193/tcp/43651/p2p/16Uiu2HAm9CF7t1WaSPDxZECdahejfKuUbCxGBXExavC5TVLUPPz5","/ip4/172.18.165.193/tcp/43652/ws/p2p/16Uiu2HAm9CF7t1WaSPDxZECdahejfKuUbCxGBXExavC5TVLUPPz5"],"enrUri":"enr:-L24QLf_jLwGSE8I6App6QIKdQM8rotcE0-1d3vNMaYdmmF_MehsIBYKdOsjKoi2Mk4DV9X99Y5onmS3FqoQTEmYph0CgmlkgnY0gmlwhKwSpcGKbXVsdGlhZGRyc5YACASsEqXBBqqDAAoErBKlwQaqhN0DgnJzhQADAQAAiXNlY3AyNTZrMaECzJL03e2twJ5eZt7BKILZIPL36yDjFVFyi--f4OiHVwaDdGNwgqqDg3VkcIKqhYV3YWt1MgE"}'
2025-12-18 04:19:35.188 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:19:35.195 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:19:35.195 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-18_04-19-33__2d08511d-da27-46ef-b8d3-5ae95eaca59c__wakuorg_nwaku:latest.log
2025-12-18 04:19:35.195 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:19:35.195 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:19:35.196 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:19:35.196 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.208.254
2025-12-18 04:19:35.197 DEBUG [src.node.docker_mananger] Generated ports ['52941', '52942', '52943', '52944', '52945']
2025-12-18 04:19:35.197 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:19:35.197 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:19:35.197 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:19:35.197 DEBUG [src.node.docker_mananger] docker run -i -t -p 52941:52941 -p 52942:52942 -p 52943:52943 -p 52944:52944 -p 52945:52945 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=52943 --rest-port=52941 --tcp-port=52942 --discv5-udp-port=52944 --rest-address=0.0.0.0 --nat=extip:172.18.208.254 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9597c88fbd90acaf59fa5fbd0c55fdbedae33ef1be04352797dc078a1cecc3b6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52945 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLf_jLwGSE8I6App6QIKdQM8rotcE0-1d3vNMaYdmmF_MehsIBYKdOsjKoi2Mk4DV9X99Y5onmS3FqoQTEmYph0CgmlkgnY0gmlwhKwSpcGKbXVsdGlhZGRyc5YACASsEqXBBqqDAAoErBKlwQaqhN0DgnJzhQADAQAAiXNlY3AyNTZrMaECzJL03e2twJ5eZt7BKILZIPL36yDjFVFyi--f4OiHVwaDdGNwgqqDg3VkcIKqhYV3YWt1MgE
2025-12-18 04:19:35.377 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.208.254 waku 3c446da69c814c844e8c4fc37d34275e06864137c53211add85fd1e5e817290b
2025-12-18 04:19:35.408 DEBUG [src.node.docker_mananger] Container started with ID 3c446da69c81. Setting up logs at ./log/docker/node2_2025-12-18_04-19-33__2d08511d-da27-46ef-b8d3-5ae95eaca59c__wakuorg_nwaku:latest.log
2025-12-18 04:19:35.408 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 52941
2025-12-18 04:19:35.408 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:19:36.409 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52941/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:36.418 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-18 04:19:36.419 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:19:36.419 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52941/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:36.425 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.208.254/tcp/52942/p2p/16Uiu2HAmNKsxcbVrA8xvEALCcYT63UZcK7wp6MrTB4gbGhJqTmLz","/ip4/172.18.208.254/tcp/52943/ws/p2p/16Uiu2HAmNKsxcbVrA8xvEALCcYT63UZcK7wp6MrTB4gbGhJqTmLz"],"enrUri":"enr:-L24QAnr9WLDHcwlaJBTQCTHr5PFqeza05SFJoXHv9hl3UHUNS1iOpmDNx1pwK4-bUq_ej6XAaAkq3hjGAkuopSOrVYCgmlkgnY0gmlwhKwS0P6KbXVsdGlhZGRyc5YACASsEtD-Bs7OAAoErBLQ_gbOz90DgnJzhQADAQAAiXNlY3AyNTZrMaEDj6-bjLcc2fs2mo55w7n-2kLvvf32XKyXEjI0vKDw3OeDdGNwgs7Og3VkcILO0IV3YWt1MgE"}'
2025-12-18 04:19:36.425 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:19:36.426 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52941/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.165.193/tcp/43651/p2p/16Uiu2HAm9CF7t1WaSPDxZECdahejfKuUbCxGBXExavC5TVLUPPz5"]'
2025-12-18 04:19:36.430 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:19:36.431 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2025-12-18 04:19:36.431 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43650/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:19:36.434 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:19:36.435 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52941/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:19:36.439 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:19:36.440 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43650/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-18 04:19:36.445 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:19:36.446 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-18 04:19:36.546 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-18 04:19:36.546 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43650/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:36.549 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":1766031576440787712,"ephemeral":false,"proof":""}]'
2025-12-18 04:19:36.551 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-18 04:19:36.551 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52941/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:36.553 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":1766031576440787712,"ephemeral":false,"proof":""}]'
2025-12-18 04:19:36.554 INFO [src.steps.relay] WARM UP successful!!
2025-12-18 04:19:36.555 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43650/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-18 04:19:36.560 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:19:36.560 DEBUG [src.libs.common] Sleeping for 0.5 seconds
2025-12-18 04:19:37.060 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52941/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:19:37.063 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":1766031576555865678,"ephemeral":false,"proof":""}]'
2025-12-18 04:19:37.063 DEBUG [src.libs.common] Sleeping for 5 seconds
2025-12-18 04:19:42.064 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2025-12-18 04:19:42.068 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2025-12-18 04:19:42.068 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2025-12-18 04:19:42.072 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2025-12-18 04:19:42.072 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2025-12-18 04:19:42.075 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2025-12-18 04:19:42.075 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2025-12-18 04:19:42.078 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2025-12-18 04:19:42.078 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2025-12-18 04:19:42.081 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2025-12-18 04:19:42.082 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2025-12-18 04:19:42.085 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2025-12-18 04:19:42.085 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2025-12-18 04:19:42.088 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2025-12-18 04:19:42.088 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2025-12-18 04:19:42.091 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2025-12-18 04:19:42.092 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2025-12-18 04:19:42.095 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2025-12-18 04:19:42.095 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2025-12-18 04:19:42.098 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2025-12-18 04:19:42.099 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2025-12-18 04:19:42.102 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2025-12-18 04:19:42.102 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2025-12-18 04:19:42.105 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2025-12-18 04:19:42.106 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2025-12-18 04:19:42.109 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2025-12-18 04:19:42.109 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2025-12-18 04:19:42.112 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2025-12-18 04:19:42.112 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2025-12-18 04:19:42.115 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2025-12-18 04:19:42.116 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2025-12-18 04:19:42.119 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2025-12-18 04:19:42.121 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-18 04:19:42.122 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-18 04:19:42.123 DEBUG [src.node.waku_node] Stopping container with id 7739fdbd6a87
2025-12-18 04:19:42.684 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:19:42.684 DEBUG [src.node.waku_node] Stopping container with id 3c446da69c81
2025-12-18 04:19:43.174 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:19:43.177 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-18 04:19:43.187 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-18 04:19:43.193 DEBUG [src.node.docker_mananger] No errors found in the waku logs.