87 lines
15 KiB
Plaintext

2025-12-18 04:24:17.431 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-18 04:24:17.432 DEBUG [tests.conftest] Running test: test_relay_subscribe_to_already_existing_pubsub_topic with id: 2025-12-18_04-24-17__cbd05293-bcba-4d97-a2cb-9d183263b284
2025-12-18 04:24:17.432 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-18 04:24:17.432 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-18 04:24:17.432 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-18 04:24:17.439 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:24:17.439 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-18_04-24-17__cbd05293-bcba-4d97-a2cb-9d183263b284__wakuorg_nwaku:latest.log
2025-12-18 04:24:17.439 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:24:17.439 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:24:17.440 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:24:17.440 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.134.88
2025-12-18 04:24:17.441 DEBUG [src.node.docker_mananger] Generated ports ['19756', '19757', '19758', '19759', '19760']
2025-12-18 04:24:17.441 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:24:17.441 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:24:17.441 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:24:17.441 DEBUG [src.node.docker_mananger] docker run -i -t -p 19756:19756 -p 19757:19757 -p 19758:19758 -p 19759:19759 -p 19760:19760 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=19758 --rest-port=19756 --tcp-port=19757 --discv5-udp-port=19759 --rest-address=0.0.0.0 --nat=extip:172.18.134.88 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d50dcc8bba6a0ee9f3ddc6c2dfd7c966490dcd0db6ee32a7eeba4bdacfac623c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=19760 --metrics-logging=true --relay=true
2025-12-18 04:24:17.623 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.134.88 waku ef90be95fa1ad6e25930e35db56af9a69b55f4e1dca21baeb7beaca718a0a3dd
2025-12-18 04:24:17.653 DEBUG [src.node.docker_mananger] Container started with ID ef90be95fa1a. Setting up logs at ./log/docker/node1_2025-12-18_04-24-17__cbd05293-bcba-4d97-a2cb-9d183263b284__wakuorg_nwaku:latest.log
2025-12-18 04:24:17.654 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 19756
2025-12-18 04:24:17.655 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:24:17.714 ERROR [src.node.docker_mananger] Max retries reached for container c32cc8d5f9f4. Exiting log stream.
2025-12-18 04:24:18.234 ERROR [src.node.docker_mananger] Max retries reached for container e2443b988d4f. Exiting log stream.
2025-12-18 04:24:18.656 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19756/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:18.659 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:24:18.659 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:24:18.659 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19756/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:18.661 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.134.88/tcp/19757/p2p/16Uiu2HAm7Hd1CKDQc71mV8gvCvp9tULVeVP9JjHs13YEdGAGgwji","/ip4/172.18.134.88/tcp/19758/ws/p2p/16Uiu2HAm7Hd1CKDQc71mV8gvCvp9tULVeVP9JjHs13YEdGAGgwji"],"enrUri":"enr:-L24QMw-QLpOc8aQJU24vArjYw3i1nGfSz0O9l_qJXotvqrpOvkuDSPipxLYmoDoDXDWp4tFr52uMkJ-GuSzfsd9XxECgmlkgnY0gmlwhKwShliKbXVsdGlhZGRyc5YACASsEoZYBk0tAAoErBKGWAZNLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECsDw7W_P2qPZGGchL9cl_IeTajtNVaysHMmK5Flm6hK2DdGNwgk0tg3VkcIJNL4V3YWt1MgE"}'
2025-12-18 04:24:18.661 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:24:18.668 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:24:18.668 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-18_04-24-17__cbd05293-bcba-4d97-a2cb-9d183263b284__wakuorg_nwaku:latest.log
2025-12-18 04:24:18.668 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:24:18.668 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:24:18.669 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:24:18.669 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.69.23
2025-12-18 04:24:18.670 DEBUG [src.node.docker_mananger] Generated ports ['41241', '41242', '41243', '41244', '41245']
2025-12-18 04:24:18.670 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:24:18.670 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:24:18.670 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:24:18.670 DEBUG [src.node.docker_mananger] docker run -i -t -p 41241:41241 -p 41242:41242 -p 41243:41243 -p 41244:41244 -p 41245:41245 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=41243 --rest-port=41241 --tcp-port=41242 --discv5-udp-port=41244 --rest-address=0.0.0.0 --nat=extip:172.18.69.23 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ad2c2da6cf21f9bd971e02a7268f2e4ac98ad0ab0530a569b0b8a03a1b3c2ead --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41245 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QMw-QLpOc8aQJU24vArjYw3i1nGfSz0O9l_qJXotvqrpOvkuDSPipxLYmoDoDXDWp4tFr52uMkJ-GuSzfsd9XxECgmlkgnY0gmlwhKwShliKbXVsdGlhZGRyc5YACASsEoZYBk0tAAoErBKGWAZNLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECsDw7W_P2qPZGGchL9cl_IeTajtNVaysHMmK5Flm6hK2DdGNwgk0tg3VkcIJNL4V3YWt1MgE
2025-12-18 04:24:18.847 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.69.23 waku 440bd3513003b43bf4c14a381de1902dc22d877053931863d48249f072a2c8af
2025-12-18 04:24:18.880 DEBUG [src.node.docker_mananger] Container started with ID 440bd3513003. Setting up logs at ./log/docker/node2_2025-12-18_04-24-17__cbd05293-bcba-4d97-a2cb-9d183263b284__wakuorg_nwaku:latest.log
2025-12-18 04:24:18.880 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 41241
2025-12-18 04:24:18.881 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:24:19.882 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41241/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:19.892 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:24:19.893 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:24:19.893 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41241/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:19.897 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.69.23/tcp/41242/p2p/16Uiu2HAmCbZ1V7dSBtCvhBD3E6yYTVacyRm98nbkGzZW8WRGGPXY","/ip4/172.18.69.23/tcp/41243/ws/p2p/16Uiu2HAmCbZ1V7dSBtCvhBD3E6yYTVacyRm98nbkGzZW8WRGGPXY"],"enrUri":"enr:-L24QBKFcl_3I646-h9nW19N2Z5ceYvDkg1rY8rHedEzr-GeTmYYV1nT-ZY-Mz6wT0iJAY_8e1RPwcwnvnb3lHGFJMYCgmlkgnY0gmlwhKwSRReKbXVsdGlhZGRyc5YACASsEkUXBqEaAAoErBJFFwahG90DgnJzhQADAQAAiXNlY3AyNTZrMaEC_x6amSbla5bXKV_ySDSpfAb2-9JUvcRzPLQSoVYgAwuDdGNwgqEag3VkcIKhHIV3YWt1MgE"}'
2025-12-18 04:24:19.897 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:24:19.898 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41241/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.134.88/tcp/19757/p2p/16Uiu2HAm7Hd1CKDQc71mV8gvCvp9tULVeVP9JjHs13YEdGAGgwji"]'
2025-12-18 04:24:19.901 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:19.902 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19756/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:24:19.906 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:19.906 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41241/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:24:19.910 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:19.910 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19756/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:24:19.916 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:19.917 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-18 04:24:20.017 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-18 04:24:20.017 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19756/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:20.020 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":1766031859910844416,"ephemeral":false,"proof":""}]'
2025-12-18 04:24:20.021 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-18 04:24:20.021 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41241/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:20.023 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":1766031859910844416,"ephemeral":false,"proof":""}]'
2025-12-18 04:24:20.025 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19756/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:24:20.027 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:20.027 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41241/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-18 04:24:20.029 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:20.030 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:19756/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:24:20.033 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:24:20.033 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-18 04:24:20.134 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-18 04:24:20.134 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:19756/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:20.136 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":1766031860030211792,"ephemeral":false,"proof":""}]'
2025-12-18 04:24:20.137 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-18 04:24:20.138 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41241/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:24:20.140 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":1766031860030211792,"ephemeral":false,"proof":""}]'
2025-12-18 04:24:20.142 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-18 04:24:20.143 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-18 04:24:20.143 DEBUG [src.node.waku_node] Stopping container with id ef90be95fa1a
2025-12-18 04:24:20.673 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:24:20.673 DEBUG [src.node.waku_node] Stopping container with id 440bd3513003
2025-12-18 04:24:21.204 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:24:21.206 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-18 04:24:21.218 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-18 04:24:21.223 DEBUG [src.node.docker_mananger] No errors found in the waku logs.