2026-03-16 12:56:34 +00:00

87 lines
16 KiB
Plaintext

2026-03-16 12:34:30.728 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-16 12:34:30.728 DEBUG [tests.conftest] Running test: test_relay_subscribe_to_already_existing_pubsub_topic with id: 2026-03-16_12-34-30__2a7454cc-147b-4e05-a0f7-085663257ed8
2026-03-16 12:34:30.728 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-16 12:34:30.729 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-16 12:34:30.729 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-16 12:34:30.736 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0
2026-03-16 12:34:30.736 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-16_12-34-30__2a7454cc-147b-4e05-a0f7-085663257ed8__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
2026-03-16 12:34:30.737 DEBUG [src.node.waku_node] Starting Node...
2026-03-16 12:34:30.737 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-16 12:34:30.738 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-16 12:34:30.738 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.184.17
2026-03-16 12:34:30.738 DEBUG [src.node.docker_mananger] Generated ports ['21677', '21678', '21679', '21680', '21681']
2026-03-16 12:34:30.739 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-16 12:34:30.739 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-16 12:34:30.739 DEBUG [src.node.waku_node] Using volumes []
2026-03-16 12:34:30.739 DEBUG [src.node.docker_mananger] docker run -i -t -p 21677:21677 -p 21678:21678 -p 21679:21679 -p 21680:21680 -p 21681:21681 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=21679 --rest-port=21677 --tcp-port=21678 --discv5-udp-port=21680 --rest-address=0.0.0.0 --nat=extip:172.18.184.17 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1baa66c71b40f5de9bf5750fce72cec70e0fafc7639bb4baadadcf9f1b1ad8a9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21681 --metrics-logging=true --relay=true
2026-03-16 12:34:30.902 ERROR [src.node.docker_mananger] Max retries reached for container b162299a1ddc. Exiting log stream.
2026-03-16 12:34:30.934 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.184.17 waku ff5b1bbcf9acd07dc417982d8717360e5a9c130e9e335740eef359ad72903bce
2026-03-16 12:34:30.967 DEBUG [src.node.docker_mananger] Container started with ID ff5b1bbcf9ac. Setting up logs at ./log/docker/node1_2026-03-16_12-34-30__2a7454cc-147b-4e05-a0f7-085663257ed8__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
2026-03-16 12:34:30.968 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0. REST: 21677
2026-03-16 12:34:30.968 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-16 12:34:31.476 ERROR [src.node.docker_mananger] Max retries reached for container cb59290ab2d5. Exiting log stream.
2026-03-16 12:34:31.968 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21677/health" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:31.972 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-16 12:34:31.972 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-16 12:34:31.972 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21677/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:31.974 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.184.17/tcp/21678/p2p/16Uiu2HAm6m9owahWGEj98yezRJpom5Yt8JGRvHRDcae8B3KvQayf","/ip4/172.18.184.17/tcp/21679/ws/p2p/16Uiu2HAm6m9owahWGEj98yezRJpom5Yt8JGRvHRDcae8B3KvQayf"],"enrUri":"enr:-L24QCEvdxa6GjKRc0ElAVlKRgeOmaU99if84CybzoXW5bjYezLyR4ss6ht062R9cV7znNoIDa7eZIPPeyZl6v-bTwUCgmlkgnY0gmlwhKwSuBGKbXVsdGlhZGRyc5YACASsErgRBlSuAAoErBK4EQZUr90DgnJzhQADAQAAiXNlY3AyNTZrMaECqG4PKCcGbyWzwvytqF5hCygr3Ve_G9Izp0rY0cxXrCKDdGNwglSug3VkcIJUsIV3YWt1MgE"}'
2026-03-16 12:34:31.975 INFO [src.node.waku_node] REST service is ready !!
2026-03-16 12:34:31.982 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0
2026-03-16 12:34:31.982 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-16_12-34-30__2a7454cc-147b-4e05-a0f7-085663257ed8__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
2026-03-16 12:34:31.982 DEBUG [src.node.waku_node] Starting Node...
2026-03-16 12:34:31.982 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-16 12:34:31.984 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-16 12:34:31.984 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.247.47
2026-03-16 12:34:31.984 DEBUG [src.node.docker_mananger] Generated ports ['28529', '28530', '28531', '28532', '28533']
2026-03-16 12:34:31.984 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-16 12:34:31.984 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-16 12:34:31.984 DEBUG [src.node.waku_node] Using volumes []
2026-03-16 12:34:31.984 DEBUG [src.node.docker_mananger] docker run -i -t -p 28529:28529 -p 28530:28530 -p 28531:28531 -p 28532:28532 -p 28533:28533 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=28531 --rest-port=28529 --tcp-port=28530 --discv5-udp-port=28532 --rest-address=0.0.0.0 --nat=extip:172.18.247.47 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=aecba226e5d750bf6c5d93ca9ec4b67ab02bdb00a7e9e2d7f618db57d308af27 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28533 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCEvdxa6GjKRc0ElAVlKRgeOmaU99if84CybzoXW5bjYezLyR4ss6ht062R9cV7znNoIDa7eZIPPeyZl6v-bTwUCgmlkgnY0gmlwhKwSuBGKbXVsdGlhZGRyc5YACASsErgRBlSuAAoErBK4EQZUr90DgnJzhQADAQAAiXNlY3AyNTZrMaECqG4PKCcGbyWzwvytqF5hCygr3Ve_G9Izp0rY0cxXrCKDdGNwglSug3VkcIJUsIV3YWt1MgE
2026-03-16 12:34:32.190 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.247.47 waku b6040d314ac2bc4edd3ae34b1e9e0e16bc1f10ea6e1d20671caabeb25eaf25e6
2026-03-16 12:34:32.224 DEBUG [src.node.docker_mananger] Container started with ID b6040d314ac2. Setting up logs at ./log/docker/node2_2026-03-16_12-34-30__2a7454cc-147b-4e05-a0f7-085663257ed8__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
2026-03-16 12:34:32.225 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0. REST: 28529
2026-03-16 12:34:32.225 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-16 12:34:33.226 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28529/health" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.240 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-16 12:34:33.240 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-16 12:34:33.241 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28529/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.246 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.247.47/tcp/28530/p2p/16Uiu2HAm9CMJXCxXRYw3juXfneo1QRatmSwZJ1oqeFARXjSgepZ7","/ip4/172.18.247.47/tcp/28531/ws/p2p/16Uiu2HAm9CMJXCxXRYw3juXfneo1QRatmSwZJ1oqeFARXjSgepZ7"],"enrUri":"enr:-L24QD8iAh63-l9fvD7D4v9xvZrRCquBc9VsGy_nF15h2W6XIaG_7xtB-8O3h6NVJk_cmyELbd9XRPS2CXblpEtzEHkCgmlkgnY0gmlwhKwS9y-KbXVsdGlhZGRyc5YACASsEvcvBm9yAAoErBL3LwZvc90DgnJzhQADAQAAiXNlY3AyNTZrMaECzJnyvDorDlA4IygGRsBJaYB40jfUNX4vcZp0H4WM1jqDdGNwgm9yg3VkcIJvdIV3YWt1MgE"}'
2026-03-16 12:34:33.248 INFO [src.node.waku_node] REST service is ready !!
2026-03-16 12:34:33.249 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28529/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.184.17/tcp/21678/p2p/16Uiu2HAm6m9owahWGEj98yezRJpom5Yt8JGRvHRDcae8B3KvQayf"]'
2026-03-16 12:34:33.256 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.258 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21677/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-16 12:34:33.262 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.262 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28529/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-16 12:34:33.266 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.267 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21677/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-16 12:34:33.275 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.275 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-16 12:34:33.376 DEBUG [src.steps.relay] Checking that peer NODE_1:harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 can find the published message
2026-03-16 12:34:33.376 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21677/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.379 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":1773664473267347200,"ephemeral":false,"proof":""}]'
2026-03-16 12:34:33.380 DEBUG [src.steps.relay] Checking that peer NODE_2:harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 can find the published message
2026-03-16 12:34:33.380 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28529/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.383 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":1773664473267347200,"ephemeral":false,"proof":""}]'
2026-03-16 12:34:33.384 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21677/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-16 12:34:33.387 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.387 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28529/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-16 12:34:33.389 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.390 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21677/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-16 12:34:33.394 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-16 12:34:33.395 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-16 12:34:33.495 DEBUG [src.steps.relay] Checking that peer NODE_1:harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 can find the published message
2026-03-16 12:34:33.495 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21677/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.497 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":1773664473390365341,"ephemeral":false,"proof":""}]'
2026-03-16 12:34:33.499 DEBUG [src.steps.relay] Checking that peer NODE_2:harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 can find the published message
2026-03-16 12:34:33.499 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28529/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-16 12:34:33.502 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":1773664473390365341,"ephemeral":false,"proof":""}]'
2026-03-16 12:34:33.504 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-16 12:34:33.505 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-16 12:34:33.505 DEBUG [src.node.waku_node] Stopping container with id ff5b1bbcf9ac
2026-03-16 12:34:34.096 DEBUG [src.node.waku_node] Container stopped.
2026-03-16 12:34:34.096 DEBUG [src.node.waku_node] Stopping container with id b6040d314ac2
2026-03-16 12:34:34.717 DEBUG [src.node.waku_node] Container stopped.
2026-03-16 12:34:34.721 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-16 12:34:34.731 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-16 12:34:34.737 DEBUG [src.node.docker_mananger] No errors found in the waku logs.