87 lines
15 KiB
Plaintext

2026-03-20 04:34:42.800 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-20 04:34:42.800 DEBUG [tests.conftest] Running test: test_relay_subscribe_to_already_existing_pubsub_topic with id: 2026-03-20_04-34-42__2a693290-61c1-4e32-832d-2d0a359b6038
2026-03-20 04:34:42.801 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-20 04:34:42.801 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-20 04:34:42.801 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-20 04:34:42.809 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-20 04:34:42.809 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-20_04-34-42__2a693290-61c1-4e32-832d-2d0a359b6038__wakuorg_nwaku:latest.log
2026-03-20 04:34:42.809 DEBUG [src.node.waku_node] Starting Node...
2026-03-20 04:34:42.809 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-20 04:34:42.810 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-20 04:34:42.810 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.194.142
2026-03-20 04:34:42.811 DEBUG [src.node.docker_mananger] Generated ports ['34838', '34839', '34840', '34841', '34842']
2026-03-20 04:34:42.811 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-20 04:34:42.811 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-20 04:34:42.811 DEBUG [src.node.waku_node] Using volumes []
2026-03-20 04:34:42.811 DEBUG [src.node.docker_mananger] docker run -i -t -p 34838:34838 -p 34839:34839 -p 34840:34840 -p 34841:34841 -p 34842:34842 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=34840 --rest-port=34838 --tcp-port=34839 --discv5-udp-port=34841 --rest-address=0.0.0.0 --nat=extip:172.18.194.142 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ce9e89f60abf82e3fad1aafbf02deecba22b2ddeb1abd03b7c8efccf1d9d93c8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=34842 --metrics-logging=true --relay=true
2026-03-20 04:34:43.012 ERROR [src.node.docker_mananger] Max retries reached for container d8f31090cbeb. Exiting log stream.
2026-03-20 04:34:43.013 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.194.142 waku 76c3540225189ed50d12d9331e878e77cc438f5857ff887de63c6f19ea65ffc5
2026-03-20 04:34:43.050 DEBUG [src.node.docker_mananger] Container started with ID 76c354022518. Setting up logs at ./log/docker/node1_2026-03-20_04-34-42__2a693290-61c1-4e32-832d-2d0a359b6038__wakuorg_nwaku:latest.log
2026-03-20 04:34:43.050 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 34838
2026-03-20 04:34:43.051 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-20 04:34:43.601 ERROR [src.node.docker_mananger] Max retries reached for container cdeda8f0440c. Exiting log stream.
2026-03-20 04:34:44.052 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34838/health" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:44.055 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-20 04:34:44.056 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-20 04:34:44.056 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34838/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:44.058 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.194.142/tcp/34839/p2p/16Uiu2HAkxzRXEo45CrbRYrfT6D2qf4iKYcAPonknTwt8DrKVAiZk","/ip4/172.18.194.142/tcp/34840/ws/p2p/16Uiu2HAkxzRXEo45CrbRYrfT6D2qf4iKYcAPonknTwt8DrKVAiZk"],"enrUri":"enr:-L24QEansBCKCM-vwcn0IXXO9Efv0Po6ZPhvvG9m9RzJnbktQdmlAnKV-bXgv-lOlkp1S54YcOR54Rc4WLx8cltojD0CgmlkgnY0gmlwhKwSwo6KbXVsdGlhZGRyc5YACASsEsKOBogXAAoErBLCjgaIGN0DgnJzhQADAQAAiXNlY3AyNTZrMaECNPbhQ_5gD6JnDMuf5xcQLj2oBaOv9zTloMVJT7SMPdeDdGNwgogXg3VkcIKIGYV3YWt1MgE"}'
2026-03-20 04:34:44.058 INFO [src.node.waku_node] REST service is ready !!
2026-03-20 04:34:44.065 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-20 04:34:44.065 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-20_04-34-42__2a693290-61c1-4e32-832d-2d0a359b6038__wakuorg_nwaku:latest.log
2026-03-20 04:34:44.065 DEBUG [src.node.waku_node] Starting Node...
2026-03-20 04:34:44.065 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-20 04:34:44.066 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-20 04:34:44.067 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.210.12
2026-03-20 04:34:44.067 DEBUG [src.node.docker_mananger] Generated ports ['62624', '62625', '62626', '62627', '62628']
2026-03-20 04:34:44.067 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-20 04:34:44.067 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-20 04:34:44.067 DEBUG [src.node.waku_node] Using volumes []
2026-03-20 04:34:44.067 DEBUG [src.node.docker_mananger] docker run -i -t -p 62624:62624 -p 62625:62625 -p 62626:62626 -p 62627:62627 -p 62628:62628 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=62626 --rest-port=62624 --tcp-port=62625 --discv5-udp-port=62627 --rest-address=0.0.0.0 --nat=extip:172.18.210.12 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=dc3bddb5a7dcf6143630468f28ae12c78eedf2221fffacf21ad86e07bd657774 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=62628 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QEansBCKCM-vwcn0IXXO9Efv0Po6ZPhvvG9m9RzJnbktQdmlAnKV-bXgv-lOlkp1S54YcOR54Rc4WLx8cltojD0CgmlkgnY0gmlwhKwSwo6KbXVsdGlhZGRyc5YACASsEsKOBogXAAoErBLCjgaIGN0DgnJzhQADAQAAiXNlY3AyNTZrMaECNPbhQ_5gD6JnDMuf5xcQLj2oBaOv9zTloMVJT7SMPdeDdGNwgogXg3VkcIKIGYV3YWt1MgE
2026-03-20 04:34:44.257 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.210.12 waku 1c07422468e2350c0be8e56261c4c5b33844aadfcc5dded2391ab45fbcaa1f99
2026-03-20 04:34:44.293 DEBUG [src.node.docker_mananger] Container started with ID 1c07422468e2. Setting up logs at ./log/docker/node2_2026-03-20_04-34-42__2a693290-61c1-4e32-832d-2d0a359b6038__wakuorg_nwaku:latest.log
2026-03-20 04:34:44.293 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 62624
2026-03-20 04:34:44.293 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-20 04:34:45.295 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62624/health" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.318 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"PartiallyConnected","protocolsHealth":[{"Relay":"READY"},{"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-20 04:34:45.318 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-20 04:34:45.319 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62624/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.324 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.210.12/tcp/62625/p2p/16Uiu2HAmLsAvrdrjdfC4Rzs2HQYCrkqdZwMESHT24ayyKCk5dXU4","/ip4/172.18.210.12/tcp/62626/ws/p2p/16Uiu2HAmLsAvrdrjdfC4Rzs2HQYCrkqdZwMESHT24ayyKCk5dXU4"],"enrUri":"enr:-L24QGKTh4GZ88GFjsLGw_61zR4pBnw2MIm5V4RzO0Phnt6jVBfVVOJEsz8Emfwa77ll77vH9mmUc933aFbchqcWpH0CgmlkgnY0gmlwhKwS0gyKbXVsdGlhZGRyc5YACASsEtIMBvShAAoErBLSDAb0ot0DgnJzhQADAQAAiXNlY3AyNTZrMaEDefxtMWvUhM7n_2MQIaQblfBN0XN9k1np5Ignd_eJadmDdGNwgvShg3VkcIL0o4V3YWt1MgE"}'
2026-03-20 04:34:45.325 INFO [src.node.waku_node] REST service is ready !!
2026-03-20 04:34:45.326 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62624/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.194.142/tcp/34839/p2p/16Uiu2HAkxzRXEo45CrbRYrfT6D2qf4iKYcAPonknTwt8DrKVAiZk"]'
2026-03-20 04:34:45.330 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.331 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34838/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-20 04:34:45.335 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.336 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62624/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-20 04:34:45.340 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.342 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34838/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-20 04:34:45.347 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.348 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-20 04:34:45.448 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-20 04:34:45.448 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34838/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.451 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":1773981285341889536,"ephemeral":false,"proof":""}]'
2026-03-20 04:34:45.453 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-20 04:34:45.453 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62624/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.455 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":1773981285341889536,"ephemeral":false,"proof":""}]'
2026-03-20 04:34:45.456 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34838/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-20 04:34:45.459 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.459 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62624/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-20 04:34:45.461 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.462 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34838/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-20 04:34:45.466 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-20 04:34:45.467 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-20 04:34:45.567 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-20 04:34:45.567 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34838/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.570 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":1773981285462382696,"ephemeral":false,"proof":""}]'
2026-03-20 04:34:45.571 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-20 04:34:45.571 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62624/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-20 04:34:45.573 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":1773981285462382696,"ephemeral":false,"proof":""}]'
2026-03-20 04:34:45.576 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-20 04:34:45.577 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-20 04:34:45.577 DEBUG [src.node.waku_node] Stopping container with id 76c354022518
2026-03-20 04:34:46.149 DEBUG [src.node.waku_node] Container stopped.
2026-03-20 04:34:46.150 DEBUG [src.node.waku_node] Stopping container with id 1c07422468e2
2026-03-20 04:34:46.727 DEBUG [src.node.waku_node] Container stopped.
2026-03-20 04:34:46.728 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-20 04:34:46.734 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-20 04:34:46.740 DEBUG [src.node.docker_mananger] No errors found in the waku logs.