87 lines
15 KiB
Plaintext

2026-03-18 04:40:35.833 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-18 04:40:35.834 DEBUG [tests.conftest] Running test: test_relay_subscribe_to_already_existing_pubsub_topic with id: 2026-03-18_04-40-35__f04eb9fa-8814-49c3-a435-db76909e8066
2026-03-18 04:40:35.834 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-18 04:40:35.834 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-18 04:40:35.835 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-18 04:40:35.841 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-18 04:40:35.842 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-18_04-40-35__f04eb9fa-8814-49c3-a435-db76909e8066__wakuorg_nwaku:latest.log
2026-03-18 04:40:35.842 DEBUG [src.node.waku_node] Starting Node...
2026-03-18 04:40:35.842 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-18 04:40:35.843 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-18 04:40:35.843 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.255.4
2026-03-18 04:40:35.844 DEBUG [src.node.docker_mananger] Generated ports ['26568', '26569', '26570', '26571', '26572']
2026-03-18 04:40:35.844 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-18 04:40:35.844 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-18 04:40:35.844 DEBUG [src.node.waku_node] Using volumes []
2026-03-18 04:40:35.844 DEBUG [src.node.docker_mananger] docker run -i -t -p 26568:26568 -p 26569:26569 -p 26570:26570 -p 26571:26571 -p 26572:26572 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=26570 --rest-port=26568 --tcp-port=26569 --discv5-udp-port=26571 --rest-address=0.0.0.0 --nat=extip:172.18.255.4 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=79ff50cd0ac8985dbac8fb6eb1fbbbfe4fd8bcaaa9bb388ecea86d6deff4c739 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26572 --metrics-logging=true --relay=true
2026-03-18 04:40:36.032 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.255.4 waku 24e2dee6f194f03679be27f93904ea96e4480bf581da96f1fc19aacb8732fc45
2026-03-18 04:40:36.070 DEBUG [src.node.docker_mananger] Container started with ID 24e2dee6f194. Setting up logs at ./log/docker/node1_2026-03-18_04-40-35__f04eb9fa-8814-49c3-a435-db76909e8066__wakuorg_nwaku:latest.log
2026-03-18 04:40:36.070 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 26568
2026-03-18 04:40:36.071 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-18 04:40:36.077 ERROR [src.node.docker_mananger] Max retries reached for container 90dcf0c477be. Exiting log stream.
2026-03-18 04:40:36.595 ERROR [src.node.docker_mananger] Max retries reached for container f9755cd42525. Exiting log stream.
2026-03-18 04:40:37.071 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26568/health" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:37.074 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-18 04:40:37.074 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-18 04:40:37.075 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26568/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:37.077 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.255.4/tcp/26569/p2p/16Uiu2HAm62HnpvPTZUvqcHfpoJYVxsAUnYC4EtsKF1oCm21iDXgV","/ip4/172.18.255.4/tcp/26570/ws/p2p/16Uiu2HAm62HnpvPTZUvqcHfpoJYVxsAUnYC4EtsKF1oCm21iDXgV"],"enrUri":"enr:-L24QHoqM630fe-aS_Rr_J_eX_uvtnWUEuXvnpaK1IIQDj5wAQSFT5k-P4_WE9xs4jDC0F7rCkpVu7WpAXu8xmJINZYCgmlkgnY0gmlwhKwS_wSKbXVsdGlhZGRyc5YACASsEv8EBmfJAAoErBL_BAZnyt0DgnJzhQADAQAAiXNlY3AyNTZrMaECnXMbukwLr35rqPhQLkemiELlKyzj3fJAzFCSWKaEH9qDdGNwgmfJg3VkcIJny4V3YWt1MgE"}'
2026-03-18 04:40:37.077 INFO [src.node.waku_node] REST service is ready !!
2026-03-18 04:40:37.084 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-18 04:40:37.084 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-18_04-40-35__f04eb9fa-8814-49c3-a435-db76909e8066__wakuorg_nwaku:latest.log
2026-03-18 04:40:37.084 DEBUG [src.node.waku_node] Starting Node...
2026-03-18 04:40:37.084 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-18 04:40:37.086 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-18 04:40:37.086 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.165.215
2026-03-18 04:40:37.086 DEBUG [src.node.docker_mananger] Generated ports ['15420', '15421', '15422', '15423', '15424']
2026-03-18 04:40:37.086 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-18 04:40:37.086 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-18 04:40:37.087 DEBUG [src.node.waku_node] Using volumes []
2026-03-18 04:40:37.087 DEBUG [src.node.docker_mananger] docker run -i -t -p 15420:15420 -p 15421:15421 -p 15422:15422 -p 15423:15423 -p 15424:15424 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=15422 --rest-port=15420 --tcp-port=15421 --discv5-udp-port=15423 --rest-address=0.0.0.0 --nat=extip:172.18.165.215 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=eaaacac89dd890228c997da1917adae81be7783ecdcc461a92cd02eeac32a265 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=15424 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QHoqM630fe-aS_Rr_J_eX_uvtnWUEuXvnpaK1IIQDj5wAQSFT5k-P4_WE9xs4jDC0F7rCkpVu7WpAXu8xmJINZYCgmlkgnY0gmlwhKwS_wSKbXVsdGlhZGRyc5YACASsEv8EBmfJAAoErBL_BAZnyt0DgnJzhQADAQAAiXNlY3AyNTZrMaECnXMbukwLr35rqPhQLkemiELlKyzj3fJAzFCSWKaEH9qDdGNwgmfJg3VkcIJny4V3YWt1MgE
2026-03-18 04:40:37.288 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.165.215 waku 8fc294539b8f26318ff502217222da4d82e2a97fc12e6e49a2322988f49d6168
2026-03-18 04:40:37.323 DEBUG [src.node.docker_mananger] Container started with ID 8fc294539b8f. Setting up logs at ./log/docker/node2_2026-03-18_04-40-35__f04eb9fa-8814-49c3-a435-db76909e8066__wakuorg_nwaku:latest.log
2026-03-18 04:40:37.323 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 15420
2026-03-18 04:40:37.324 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-18 04:40:38.324 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15420/health" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.351 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-18 04:40:38.353 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-18 04:40:38.354 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15420/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.358 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.165.215/tcp/15421/p2p/16Uiu2HAmHsKbbTMD5woS5AsaGSmevpK9PtQRuk65htyTA4gukKN3","/ip4/172.18.165.215/tcp/15422/ws/p2p/16Uiu2HAmHsKbbTMD5woS5AsaGSmevpK9PtQRuk65htyTA4gukKN3"],"enrUri":"enr:-L24QP_Atu_ax31TD2_RJQ4Re_mAUQMFD3KPJE2_jvUM9jmQeDculrLG5U0e-RVIGsPwfLQX7gQiQ0MRA0Oy3-_LJJECgmlkgnY0gmlwhKwSpdeKbXVsdGlhZGRyc5YACASsEqXXBjw9AAoErBKl1wY8Pt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDTXMqpTGSI9klpZZvBa86LJsoCfNBCSlKnc5M8AARz-SDdGNwgjw9g3VkcII8P4V3YWt1MgE"}'
2026-03-18 04:40:38.359 INFO [src.node.waku_node] REST service is ready !!
2026-03-18 04:40:38.359 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15420/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.255.4/tcp/26569/p2p/16Uiu2HAm62HnpvPTZUvqcHfpoJYVxsAUnYC4EtsKF1oCm21iDXgV"]'
2026-03-18 04:40:38.364 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.365 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26568/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-18 04:40:38.369 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.369 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15420/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-18 04:40:38.374 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.376 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26568/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-18 04:40:38.381 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.381 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-18 04:40:38.483 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-18 04:40:38.483 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26568/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.486 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":1773808838375947776,"ephemeral":false,"proof":""}]'
2026-03-18 04:40:38.488 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-18 04:40:38.488 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15420/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.491 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":1773808838375947776,"ephemeral":false,"proof":""}]'
2026-03-18 04:40:38.492 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26568/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-18 04:40:38.495 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.495 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15420/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-18 04:40:38.498 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.498 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26568/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-18 04:40:38.502 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-18 04:40:38.503 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-18 04:40:38.603 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-18 04:40:38.604 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26568/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.607 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":1773808838498501891,"ephemeral":false,"proof":""}]'
2026-03-18 04:40:38.608 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-18 04:40:38.608 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15420/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-18 04:40:38.611 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":1773808838498501891,"ephemeral":false,"proof":""}]'
2026-03-18 04:40:38.613 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-18 04:40:38.615 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-18 04:40:38.615 DEBUG [src.node.waku_node] Stopping container with id 24e2dee6f194
2026-03-18 04:40:39.233 DEBUG [src.node.waku_node] Container stopped.
2026-03-18 04:40:39.235 DEBUG [src.node.waku_node] Stopping container with id 8fc294539b8f
2026-03-18 04:40:39.789 DEBUG [src.node.waku_node] Container stopped.
2026-03-18 04:40:39.792 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-18 04:40:39.799 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-18 04:40:39.804 DEBUG [src.node.docker_mananger] No errors found in the waku logs.