2026-02-25 20:22:16 +00:00

87 lines
15 KiB
Plaintext

2026-02-25 20:04:41.387 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 20:04:41.387 DEBUG [tests.conftest] Running test: test_relay_subscribe_to_already_existing_pubsub_topic with id: 2026-02-25_20-04-41__e2516927-1621-4aac-aa10-668919b0f2f8
2026-02-25 20:04:41.388 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 20:04:41.388 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-25 20:04:41.388 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-02-25 20:04:41.395 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:04:41.395 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_20-04-41__e2516927-1621-4aac-aa10-668919b0f2f8__wakuorg_nwaku:latest.log
2026-02-25 20:04:41.396 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:04:41.396 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:04:41.397 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:04:41.397 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.76.134
2026-02-25 20:04:41.397 DEBUG [src.node.docker_mananger] Generated ports ['16958', '16959', '16960', '16961', '16962']
2026-02-25 20:04:41.398 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:04:41.398 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:04:41.398 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:04:41.398 DEBUG [src.node.docker_mananger] docker run -i -t -p 16958:16958 -p 16959:16959 -p 16960:16960 -p 16961:16961 -p 16962:16962 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=16960 --rest-port=16958 --tcp-port=16959 --discv5-udp-port=16961 --rest-address=0.0.0.0 --nat=extip:172.18.76.134 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6e2e37a92fa4aee7db78d9aed84e8da604a8bab642e94e0ff883f032abed30b0 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16962 --metrics-logging=true --relay=true
2026-02-25 20:04:41.582 ERROR [src.node.docker_mananger] Max retries reached for container ee301828732c. Exiting log stream.
2026-02-25 20:04:41.597 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.76.134 waku 86774ef3e9bf53a15fe27b924c2659a49dd1558a1b5b665ea27b2846a636afdc
2026-02-25 20:04:41.635 DEBUG [src.node.docker_mananger] Container started with ID 86774ef3e9bf. Setting up logs at ./log/docker/node1_2026-02-25_20-04-41__e2516927-1621-4aac-aa10-668919b0f2f8__wakuorg_nwaku:latest.log
2026-02-25 20:04:41.636 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 16958
2026-02-25 20:04:41.636 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:04:42.160 ERROR [src.node.docker_mananger] Max retries reached for container 73b6ab41aade. Exiting log stream.
2026-02-25 20:04:42.637 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16958/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:42.639 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-02-25 20:04:42.640 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:04:42.640 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16958/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:42.642 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.76.134/tcp/16959/p2p/16Uiu2HAmGUjnzDSEvVptYoGxRR5gs6eYweQsWa2tk4p3BMEVRqxA","/ip4/172.18.76.134/tcp/16960/ws/p2p/16Uiu2HAmGUjnzDSEvVptYoGxRR5gs6eYweQsWa2tk4p3BMEVRqxA"],"enrUri":"enr:-L24QCrsucrT0nffD9GUx_wOY04nVvHJ1E93UjzHpPdbGU8ZSSUlGLaPB0P7jCnCGYJOXpfqguwG-UFC_kG6oqr5rZQCgmlkgnY0gmlwhKwSTIaKbXVsdGlhZGRyc5YACASsEkyGBkI_AAoErBJMhgZCQN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDOM564yV_pfJ22W08d5ibcjD3B_vAezNv-IS9n0RvH9-DdGNwgkI_g3VkcIJCQYV3YWt1MgE"}'
2026-02-25 20:04:42.642 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:04:42.649 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:04:42.649 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_20-04-41__e2516927-1621-4aac-aa10-668919b0f2f8__wakuorg_nwaku:latest.log
2026-02-25 20:04:42.650 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:04:42.650 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:04:42.651 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:04:42.651 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.210.4
2026-02-25 20:04:42.651 DEBUG [src.node.docker_mananger] Generated ports ['28331', '28332', '28333', '28334', '28335']
2026-02-25 20:04:42.651 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:04:42.652 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:04:42.652 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:04:42.652 DEBUG [src.node.docker_mananger] docker run -i -t -p 28331:28331 -p 28332:28332 -p 28333:28333 -p 28334:28334 -p 28335:28335 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=28333 --rest-port=28331 --tcp-port=28332 --discv5-udp-port=28334 --rest-address=0.0.0.0 --nat=extip:172.18.210.4 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d9e97216e076cdb89adc0e8902cda036ccc6931af46ccc20c542fcf71fffe358 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28335 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCrsucrT0nffD9GUx_wOY04nVvHJ1E93UjzHpPdbGU8ZSSUlGLaPB0P7jCnCGYJOXpfqguwG-UFC_kG6oqr5rZQCgmlkgnY0gmlwhKwSTIaKbXVsdGlhZGRyc5YACASsEkyGBkI_AAoErBJMhgZCQN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDOM564yV_pfJ22W08d5ibcjD3B_vAezNv-IS9n0RvH9-DdGNwgkI_g3VkcIJCQYV3YWt1MgE
2026-02-25 20:04:42.850 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.210.4 waku 7d2ab10ca3f3ea95d45228e8faea15bbaa330f79bccc8b6244fb8ee71a8b7b25
2026-02-25 20:04:42.887 DEBUG [src.node.docker_mananger] Container started with ID 7d2ab10ca3f3. Setting up logs at ./log/docker/node2_2026-02-25_20-04-41__e2516927-1621-4aac-aa10-668919b0f2f8__wakuorg_nwaku:latest.log
2026-02-25 20:04:42.887 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 28331
2026-02-25 20:04:42.888 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:04:43.888 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28331/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:43.911 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-02-25 20:04:43.913 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:04:43.913 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28331/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:43.916 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.210.4/tcp/28332/p2p/16Uiu2HAm7SpgCjTJUDirYsEUGQ8fASVcTqAvnjEkCHCEe6niJGFq","/ip4/172.18.210.4/tcp/28333/ws/p2p/16Uiu2HAm7SpgCjTJUDirYsEUGQ8fASVcTqAvnjEkCHCEe6niJGFq"],"enrUri":"enr:-L24QM1ZlhEdKlbzsL6fk-QyrnCVG5Xp-hUm6XEIEXLi1NSMdjEUlPL8Wze0COrpEMYSIU3X_xcY05Lyiigsm3mvzXwCgmlkgnY0gmlwhKwS0gSKbXVsdGlhZGRyc5YACASsEtIEBm6sAAoErBLSBAZurd0DgnJzhQADAQAAiXNlY3AyNTZrMaECspeoRxA2QsUJJlJjmVeudBzhWqsQoWbyunkZ1jOCIJCDdGNwgm6sg3VkcIJuroV3YWt1MgE"}'
2026-02-25 20:04:43.917 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:04:43.918 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28331/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.76.134/tcp/16959/p2p/16Uiu2HAmGUjnzDSEvVptYoGxRR5gs6eYweQsWa2tk4p3BMEVRqxA"]'
2026-02-25 20:04:43.925 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:43.926 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16958/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:04:43.930 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:43.931 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28331/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:04:43.935 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:43.937 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16958/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-02-25 20:04:43.943 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:43.943 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 20:04:44.043 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-25 20:04:44.044 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16958/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:44.046 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":1772049883937731072,"ephemeral":false,"proof":""}]'
2026-02-25 20:04:44.048 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 20:04:44.048 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28331/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:44.050 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":1772049883937731072,"ephemeral":false,"proof":""}]'
2026-02-25 20:04:44.052 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16958/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:04:44.054 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:44.055 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28331/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:04:44.057 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:44.057 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16958/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-02-25 20:04:44.062 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:04:44.062 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 20:04:44.163 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-25 20:04:44.164 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16958/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:44.166 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":1772049884057785950,"ephemeral":false,"proof":""}]'
2026-02-25 20:04:44.168 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 20:04:44.168 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28331/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:04:44.170 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":1772049884057785950,"ephemeral":false,"proof":""}]'
2026-02-25 20:04:44.173 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 20:04:44.174 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 20:04:44.174 DEBUG [src.node.waku_node] Stopping container with id 86774ef3e9bf
2026-02-25 20:04:44.760 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:04:44.761 DEBUG [src.node.waku_node] Stopping container with id 7d2ab10ca3f3
2026-02-25 20:04:45.309 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:04:45.311 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 20:04:45.318 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 20:04:45.324 DEBUG [src.node.docker_mananger] No errors found in the waku logs.