117 lines
18 KiB
Plaintext

2026-03-23 04:45:37.126 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-23 04:45:37.127 DEBUG [tests.conftest] Running test: test_metrics_after_relay_publish with id: 2026-03-23_04-45-37__1f1a9c7a-7709-491c-b200-d8235aee7165
2026-03-23 04:45:37.127 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-23 04:45:37.127 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-23 04:45:37.128 DEBUG [src.steps.light_push] Running fixture setup: light_push_setup
2026-03-23 04:45:37.128 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-23 04:45:37.128 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-03-23 04:45:37.129 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-23 04:45:37.135 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-23 04:45:37.136 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-23_04-45-37__1f1a9c7a-7709-491c-b200-d8235aee7165__wakuorg_nwaku:latest.log
2026-03-23 04:45:37.136 DEBUG [src.node.waku_node] Starting Node...
2026-03-23 04:45:37.136 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-23 04:45:37.138 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-23 04:45:37.138 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.96.239
2026-03-23 04:45:37.138 DEBUG [src.node.docker_mananger] Generated ports ['59625', '59626', '59627', '59628', '59629']
2026-03-23 04:45:37.138 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-23 04:45:37.138 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-23 04:45:37.138 DEBUG [src.node.waku_node] Using volumes []
2026-03-23 04:45:37.138 DEBUG [src.node.docker_mananger] docker run -i -t -p 59625:59625 -p 59626:59626 -p 59627:59627 -p 59628:59628 -p 59629:59629 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=59627 --rest-port=59625 --tcp-port=59626 --discv5-udp-port=59628 --rest-address=0.0.0.0 --nat=extip:172.18.96.239 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ed4d4a85ebbc8e6ac9db7f4fe65da8dff4f69fe691f2feacf1d50afcec8152b2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=59629 --metrics-logging=true --relay=true
2026-03-23 04:45:37.339 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.96.239 waku 9df3bc663430fb118e9b0b833cf6c4178435ec143fa26aa939e2c93c4ba32d48
2026-03-23 04:45:37.359 ERROR [src.node.docker_mananger] Max retries reached for container 1779fbae17f4. Exiting log stream.
2026-03-23 04:45:37.374 DEBUG [src.node.docker_mananger] Container started with ID 9df3bc663430. Setting up logs at ./log/docker/node1_2026-03-23_04-45-37__1f1a9c7a-7709-491c-b200-d8235aee7165__wakuorg_nwaku:latest.log
2026-03-23 04:45:37.374 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 59625
2026-03-23 04:45:37.375 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-23 04:45:37.933 ERROR [src.node.docker_mananger] Max retries reached for container 879deff68b1f. Exiting log stream.
2026-03-23 04:45:38.375 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59625/health" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:38.378 INFO [src.node.api_clients.base_client] 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"}]}'
2026-03-23 04:45:38.378 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-23 04:45:38.378 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59625/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:38.381 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.96.239/tcp/59626/p2p/16Uiu2HAmJNtEsQtwywSy5MtvduvYnYTcwqKR2bZeFXgbnaJ3q8yG","/ip4/172.18.96.239/tcp/59627/ws/p2p/16Uiu2HAmJNtEsQtwywSy5MtvduvYnYTcwqKR2bZeFXgbnaJ3q8yG"],"enrUri":"enr:-L24QOM5xOiyxdwFlQdQcZKXbVQaWm1iSauKDSojHddck0y4DLzrved-G5E1jAEfd97L7GYK-VeXuRXvb4SUZM0rmAMCgmlkgnY0gmlwhKwSYO-KbXVsdGlhZGRyc5YACASsEmDvBujqAAoErBJg7wbo690DgnJzhQADAQAAiXNlY3AyNTZrMaEDVQXrUxHIx2h4Q7h5QhTbNUpAbCxEl1fJg8o9IyqN0LuDdGNwgujqg3VkcILo7IV3YWt1MgE"}'
2026-03-23 04:45:38.381 INFO [src.node.waku_node] REST service is ready !!
2026-03-23 04:45:38.387 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-23 04:45:38.387 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-23_04-45-37__1f1a9c7a-7709-491c-b200-d8235aee7165__wakuorg_nwaku:latest.log
2026-03-23 04:45:38.388 DEBUG [src.node.waku_node] Starting Node...
2026-03-23 04:45:38.388 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-23 04:45:38.389 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-23 04:45:38.389 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.255.230
2026-03-23 04:45:38.389 DEBUG [src.node.docker_mananger] Generated ports ['60249', '60250', '60251', '60252', '60253']
2026-03-23 04:45:38.389 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-23 04:45:38.390 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-23 04:45:38.390 DEBUG [src.node.waku_node] Using volumes []
2026-03-23 04:45:38.390 DEBUG [src.node.docker_mananger] docker run -i -t -p 60249:60249 -p 60250:60250 -p 60251:60251 -p 60252:60252 -p 60253:60253 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=60251 --rest-port=60249 --tcp-port=60250 --discv5-udp-port=60252 --rest-address=0.0.0.0 --nat=extip:172.18.255.230 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d0b5a5c2ffd6e751a81cafa3622b5b3fbfd7a0d8355abd9bfd749a6e05aeb2eb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=60253 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QOM5xOiyxdwFlQdQcZKXbVQaWm1iSauKDSojHddck0y4DLzrved-G5E1jAEfd97L7GYK-VeXuRXvb4SUZM0rmAMCgmlkgnY0gmlwhKwSYO-KbXVsdGlhZGRyc5YACASsEmDvBujqAAoErBJg7wbo690DgnJzhQADAQAAiXNlY3AyNTZrMaEDVQXrUxHIx2h4Q7h5QhTbNUpAbCxEl1fJg8o9IyqN0LuDdGNwgujqg3VkcILo7IV3YWt1MgE
2026-03-23 04:45:38.588 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.255.230 waku de9982dfcf54d885dd5525e72b725934f486b3e5f58c933c5200b1a969efbae8
2026-03-23 04:45:38.624 DEBUG [src.node.docker_mananger] Container started with ID de9982dfcf54. Setting up logs at ./log/docker/node2_2026-03-23_04-45-37__1f1a9c7a-7709-491c-b200-d8235aee7165__wakuorg_nwaku:latest.log
2026-03-23 04:45:38.624 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 60249
2026-03-23 04:45:38.625 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-23 04:45:39.626 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:60249/health" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:39.640 INFO [src.node.api_clients.base_client] 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"}]}'
2026-03-23 04:45:39.641 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-23 04:45:39.642 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:60249/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:39.647 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.255.230/tcp/60250/p2p/16Uiu2HAm7CedfrAUyvyDKPdDmimnArnrgokXCT18QYjE6XHcNUgS","/ip4/172.18.255.230/tcp/60251/ws/p2p/16Uiu2HAm7CedfrAUyvyDKPdDmimnArnrgokXCT18QYjE6XHcNUgS"],"enrUri":"enr:-L24QE3-b80E-EdaL0RrIqkj0eA1gpUPbeL532sejirbQcrLc2BdXltA7U1BDRWoxb0mPlCHTZMyvWfnPokvYSs7tDYCgmlkgnY0gmlwhKwS_-aKbXVsdGlhZGRyc5YACASsEv_mButaAAoErBL_5gbrW90DgnJzhQADAQAAiXNlY3AyNTZrMaECrvYravMB4ypJqwoQs4Bz1bGfdJk72X678aY4ycL12TODdGNwgutag3VkcILrXIV3YWt1MgE"}'
2026-03-23 04:45:39.648 INFO [src.node.waku_node] REST service is ready !!
2026-03-23 04:45:39.648 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:60249/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.96.239/tcp/59626/p2p/16Uiu2HAmJNtEsQtwywSy5MtvduvYnYTcwqKR2bZeFXgbnaJ3q8yG"]'
2026-03-23 04:45:39.654 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-23 04:45:39.655 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-23 04:45:39.655 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59625/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-23 04:45:39.659 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-23 04:45:39.659 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:60249/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-23 04:45:39.665 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-23 04:45:39.667 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59625/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-03-23 04:45:39.673 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-23 04:45:39.674 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-23 04:45:39.774 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-23 04:45:39.774 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59625/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:39.777 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":1774241139667006464,"ephemeral":false,"proof":""}]'
2026-03-23 04:45:39.779 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-23 04:45:39.779 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:60249/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:39.781 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":1774241139667006464,"ephemeral":false,"proof":""}]'
2026-03-23 04:45:39.783 INFO [src.steps.relay] WARM UP successful!!
2026-03-23 04:45:39.784 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59625/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-03-23 04:45:39.788 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-23 04:45:39.789 DEBUG [src.libs.common] Sleeping for 0.5 seconds
2026-03-23 04:45:40.289 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:60249/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-23 04:45:40.292 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":1774241139784027934,"ephemeral":false,"proof":""}]'
2026-03-23 04:45:40.292 DEBUG [src.libs.common] Sleeping for 5 seconds
2026-03-23 04:45:45.293 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2026-03-23 04:45:45.298 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2026-03-23 04:45:45.298 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2026-03-23 04:45:45.302 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2026-03-23 04:45:45.302 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2026-03-23 04:45:45.306 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2026-03-23 04:45:45.306 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2026-03-23 04:45:45.309 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2026-03-23 04:45:45.309 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2026-03-23 04:45:45.313 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2026-03-23 04:45:45.313 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2026-03-23 04:45:45.316 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2026-03-23 04:45:45.316 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2026-03-23 04:45:45.320 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2026-03-23 04:45:45.320 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2026-03-23 04:45:45.323 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2026-03-23 04:45:45.323 DEBUG [src.steps.metrics] Checking metric: libp2p_peers has 1
2026-03-23 04:45:45.327 DEBUG [src.steps.metrics] Found metric: libp2p_peers with value 1.0
2026-03-23 04:45:45.327 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_peers has 1
2026-03-23 04:45:45.331 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_peers with value 1.0
2026-03-23 04:45:45.331 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_topics has 1
2026-03-23 04:45:45.334 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_topics with value 2.0
2026-03-23 04:45:45.335 DEBUG [src.steps.metrics] Checking metric: libp2p_pubsub_subscriptions_total has 1
2026-03-23 04:45:45.338 DEBUG [src.steps.metrics] Found metric: libp2p_pubsub_subscriptions_total with value 2.0
2026-03-23 04:45:45.338 DEBUG [src.steps.metrics] Checking metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} has 1
2026-03-23 04:45:45.342 DEBUG [src.steps.metrics] Found metric: libp2p_gossipsub_peers_per_topic_mesh{topic="other"} with value 2.0
2026-03-23 04:45:45.342 DEBUG [src.steps.metrics] Checking metric: waku_peer_store_size has 1
2026-03-23 04:45:45.345 DEBUG [src.steps.metrics] Found metric: waku_peer_store_size with value 1.0
2026-03-23 04:45:45.345 DEBUG [src.steps.metrics] Checking metric: waku_histogram_message_size_count has 1
2026-03-23 04:45:45.349 DEBUG [src.steps.metrics] Found metric: waku_histogram_message_size_count with value 2.0
2026-03-23 04:45:45.349 DEBUG [src.steps.metrics] Checking metric: waku_node_messages_total{type="relay"} has 1
2026-03-23 04:45:45.353 DEBUG [src.steps.metrics] Found metric: waku_node_messages_total{type="relay"} with value 2.0
2026-03-23 04:45:45.355 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-23 04:45:45.356 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-23 04:45:45.356 DEBUG [src.node.waku_node] Stopping container with id 9df3bc663430
2026-03-23 04:45:45.903 DEBUG [src.node.waku_node] Container stopped.
2026-03-23 04:45:45.905 DEBUG [src.node.waku_node] Stopping container with id de9982dfcf54
2026-03-23 04:45:46.463 DEBUG [src.node.waku_node] Container stopped.
2026-03-23 04:45:46.464 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-23 04:45:46.470 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-23 04:45:46.477 DEBUG [src.node.docker_mananger] No errors found in the waku logs.