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-03-26_04-48-02__c5f6578d-9027-4272-b0cd-e83d90b25125
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-03-26_04-48-02__c5f6578d-9027-4272-b0cd-e83d90b25125__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.69.45
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['2724', '2725', '2726', '2727', '2728']
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 2724:2724 -p 2725:2725 -p 2726:2726 -p 2727:2727 -p 2728:2728 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=2726 --rest-port=2724 --tcp-port=2725 --discv5-udp-port=2727 --rest-address=0.0.0.0 --nat=extip:172.18.69.45 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e10dfa7af9befea5d268166c66da1e7199d0194e83201d9eee2796698df0419d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2728 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.69.45 waku fb74c743e3dedfb341ab34eafb7404892a7ba69f85fa7652eeff539c4efc6d28
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID fb74c743e3de. Setting up logs at ./log/docker/node1_2026-03-26_04-48-02__c5f6578d-9027-4272-b0cd-e83d90b25125__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 2724
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 b69b867361b2. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container c2211e05c92e. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:2724/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:2724/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.69.45/tcp/2725/p2p/16Uiu2HAmGKVtQRuYvQpvkkV2oVpeoVpEBC3AzQ9ur8KuUW5MRkJG","/ip4/172.18.69.45/tcp/2726/ws/p2p/16Uiu2HAmGKVtQRuYvQpvkkV2oVpeoVpEBC3AzQ9ur8KuUW5MRkJG"],"enrUri":"enr:-L24QLttSHwX2-653gD84O_EA2VNF95sqICUfVNekf0827L3ZlPvrJWCxBHp9XDgG79k_TXcoqA-EuwQJEWs3WkXkcECgmlkgnY0gmlwhKwSRS2KbXVsdGlhZGRyc5YACASsEkUtBgqlAAoErBJFLQYKpt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDNnCHTGzlLI_PUcZVp2UATFWAvFWKP4XD8_K4X9DJRTWDdGNwggqlg3VkcIIKp4V3YWt1MgE"}'
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-03-26_04-48-02__c5f6578d-9027-4272-b0cd-e83d90b25125__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.132.13
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['63879', '63880', '63881', '63882', '63883']
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 63879:63879 -p 63880:63880 -p 63881:63881 -p 63882:63882 -p 63883:63883 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=63881 --rest-port=63879 --tcp-port=63880 --discv5-udp-port=63882 --rest-address=0.0.0.0 --nat=extip:172.18.132.13 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=45f4ccf8b9931eaf50dc479ada969f880ecfacdac9c4d61eedc6a4e4b0e0faa2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63883 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLttSHwX2-653gD84O_EA2VNF95sqICUfVNekf0827L3ZlPvrJWCxBHp9XDgG79k_TXcoqA-EuwQJEWs3WkXkcECgmlkgnY0gmlwhKwSRS2KbXVsdGlhZGRyc5YACASsEkUtBgqlAAoErBJFLQYKpt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDNnCHTGzlLI_PUcZVp2UATFWAvFWKP4XD8_K4X9DJRTWDdGNwggqlg3VkcIIKp4V3YWt1MgE
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.132.13 waku a0dc1494ef2e4b79c182cee59fe947404ab1ed00578c588f9aae7d6cb0afa8d1
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a0dc1494ef2e. Setting up logs at ./log/docker/node2_2026-03-26_04-48-02__c5f6578d-9027-4272-b0cd-e83d90b25125__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 63879
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:63879/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:63879/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.132.13/tcp/63880/p2p/16Uiu2HAm1WeYuuBQubGnNyVe3iVqtheBmkBYn8Yz7CKYt3qjp61M","/ip4/172.18.132.13/tcp/63881/ws/p2p/16Uiu2HAm1WeYuuBQubGnNyVe3iVqtheBmkBYn8Yz7CKYt3qjp61M"],"enrUri":"enr:-L24QK_uDtDoud3SZBUW36H9VQRniEybE4OOkoFPFV2kGkz6duK64VFWnSO1-SpqmivLbt3Npm9clhuMugc1BGkyHg4CgmlkgnY0gmlwhKwShA2KbXVsdGlhZGRyc5YACASsEoQNBvmIAAoErBKEDQb5id0DgnJzhQADAQAAiXNlY3AyNTZrMaECWmxo7DsSfJx5h30pvjw6YeGgPZDSzcT8h73-zHUuJMCDdGNwgvmIg3VkcIL5ioV3YWt1MgE"}'
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:63879/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.69.45/tcp/2725/p2p/16Uiu2HAmGKVtQRuYvQpvkkV2oVpeoVpEBC3AzQ9ur8KuUW5MRkJG"]'
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:2724/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:63879/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:2724/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:2724/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":1774500485304568832,"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:63879/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":1774500485304568832,"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:2724/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:63879/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":1774500485421869382,"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 fb74c743e3de
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id a0dc1494ef2e
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.