83 lines
15 KiB
Plaintext

2025-12-18 04:25:03.684 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-18 04:25:03.685 DEBUG [tests.conftest] Running test: test_subscribe_and_publish_on_another_content_topic_from_same_shard with id: 2025-12-18_04-25-03__2c95ee53-d10a-4da7-b513-30dee7b3389e
2025-12-18 04:25:03.685 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-18 04:25:03.685 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-18 04:25:03.685 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-18 04:25:03.692 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:25:03.693 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-18_04-25-03__2c95ee53-d10a-4da7-b513-30dee7b3389e__wakuorg_nwaku:latest.log
2025-12-18 04:25:03.693 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:25:03.693 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:25:03.694 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:25:03.694 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.57.238
2025-12-18 04:25:03.695 DEBUG [src.node.docker_mananger] Generated ports ['7219', '7220', '7221', '7222', '7223']
2025-12-18 04:25:03.695 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:25:03.695 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:25:03.695 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:25:03.695 DEBUG [src.node.docker_mananger] docker run -i -t -p 7219:7219 -p 7220:7220 -p 7221:7221 -p 7222:7222 -p 7223:7223 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=7221 --rest-port=7219 --tcp-port=7220 --discv5-udp-port=7222 --rest-address=0.0.0.0 --nat=extip:172.18.57.238 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=a049813cd5ba5f4d760eeee3c70e3f0ea6afcf9fbdce2a384e4e3de4b2f45ac9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=7223 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-18 04:25:03.877 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.57.238 waku 301e21a7aef753a0e41b912f7215cf887a4cd8e19347a63f33305c961cc4eb3e
2025-12-18 04:25:03.909 DEBUG [src.node.docker_mananger] Container started with ID 301e21a7aef7. Setting up logs at ./log/docker/node1_2025-12-18_04-25-03__2c95ee53-d10a-4da7-b513-30dee7b3389e__wakuorg_nwaku:latest.log
2025-12-18 04:25:03.909 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 7219
2025-12-18 04:25:03.910 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:25:03.948 ERROR [src.node.docker_mananger] Max retries reached for container 0c10b6beb56d. Exiting log stream.
2025-12-18 04:25:04.483 ERROR [src.node.docker_mananger] Max retries reached for container a1982e0ed5f6. Exiting log stream.
2025-12-18 04:25:04.910 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7219/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:04.913 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_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"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:25:04.913 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:25:04.913 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7219/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:04.916 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.57.238/tcp/7220/p2p/16Uiu2HAm9fsuN6kmCxTaU9H5YYupbW1F4JEYrt6ZiPxukS2YjNjC","/ip4/172.18.57.238/tcp/7221/ws/p2p/16Uiu2HAm9fsuN6kmCxTaU9H5YYupbW1F4JEYrt6ZiPxukS2YjNjC"],"enrUri":"enr:-L24QJHvHuS00BIZDr_9WQCQqGAiJTZ8a3MRSTYoDxC2Tna3dwDn6VM_jbuCo424TJOGKQ0lq9HQEx4Z11bmZUi6mMYCgmlkgnY0gmlwhKwSOe6KbXVsdGlhZGRyc5YACASsEjnuBhw0AAoErBI57gYcNd0DgnJzhQACAQAAiXNlY3AyNTZrMaEC06c6-1uO3EptSQ31jeUyz3FGdolZax2quykMswj5fGODdGNwghw0g3VkcIIcNoV3YWt1MgU"}'
2025-12-18 04:25:04.916 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:25:04.922 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:25:04.923 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-18_04-25-03__2c95ee53-d10a-4da7-b513-30dee7b3389e__wakuorg_nwaku:latest.log
2025-12-18 04:25:04.923 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:25:04.923 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:25:04.924 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:25:04.924 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.190.85
2025-12-18 04:25:04.924 DEBUG [src.node.docker_mananger] Generated ports ['22180', '22181', '22182', '22183', '22184']
2025-12-18 04:25:04.924 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:25:04.925 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:25:04.925 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:25:04.925 DEBUG [src.node.docker_mananger] docker run -i -t -p 22180:22180 -p 22181:22181 -p 22182:22182 -p 22183:22183 -p 22184:22184 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=22182 --rest-port=22180 --tcp-port=22181 --discv5-udp-port=22183 --rest-address=0.0.0.0 --nat=extip:172.18.190.85 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=148b382bb8fbfa50cf0f3fe5a09bfbe3e62b19b0ae6d7dfc6ecf8fae7bd3b8f5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=22184 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QJHvHuS00BIZDr_9WQCQqGAiJTZ8a3MRSTYoDxC2Tna3dwDn6VM_jbuCo424TJOGKQ0lq9HQEx4Z11bmZUi6mMYCgmlkgnY0gmlwhKwSOe6KbXVsdGlhZGRyc5YACASsEjnuBhw0AAoErBI57gYcNd0DgnJzhQACAQAAiXNlY3AyNTZrMaEC06c6-1uO3EptSQ31jeUyz3FGdolZax2quykMswj5fGODdGNwghw0g3VkcIIcNoV3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-18 04:25:05.109 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.190.85 waku aa3b7c4efad71955ef7219885834c0c2b093b18bdeadc1c9e2896a1e73e838f2
2025-12-18 04:25:05.144 DEBUG [src.node.docker_mananger] Container started with ID aa3b7c4efad7. Setting up logs at ./log/docker/node2_2025-12-18_04-25-03__2c95ee53-d10a-4da7-b513-30dee7b3389e__wakuorg_nwaku:latest.log
2025-12-18 04:25:05.145 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 22180
2025-12-18 04:25:05.145 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:25:06.145 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22180/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.152 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":"READY"}]}'
2025-12-18 04:25:06.156 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:25:06.156 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22180/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.160 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.190.85/tcp/22181/p2p/16Uiu2HAmPGnpGN9Y6vNLjg7kFYa4p2cuyvaZQNCe1o1scmXqB4V3","/ip4/172.18.190.85/tcp/22182/ws/p2p/16Uiu2HAmPGnpGN9Y6vNLjg7kFYa4p2cuyvaZQNCe1o1scmXqB4V3"],"enrUri":"enr:-L24QLbLGi9rkDba4TCV9vilOX9iHFdm_o6Zi3zG9viq7pTOP1p2xsvCKXDob_mjxQjnn2SRRfRoa_KSl0OOtqyA2w4CgmlkgnY0gmlwhKwSvlWKbXVsdGlhZGRyc5YACASsEr5VBlalAAoErBK-VQZWpt0DgnJzhQACAQAAiXNlY3AyNTZrMaEDncC8X-NjMOIk93cF9-cMAWc2NHCZCqj1NpH4zGbta5aDdGNwglalg3VkcIJWp4V3YWt1MgE"}'
2025-12-18 04:25:06.161 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:25:06.161 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:22180/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.57.238/tcp/7220/p2p/16Uiu2HAm9fsuN6kmCxTaU9H5YYupbW1F4JEYrt6ZiPxukS2YjNjC"]'
2025-12-18 04:25:06.164 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:25:06.164 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7219/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-18 04:25:06.167 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:25:06.168 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:22180/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-18 04:25:06.174 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:25:06.174 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7219/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/newsService/1.0/weekly/protobuf", "timestamp": '$(date +%s%N)'}'
2025-12-18 04:25:06.181 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:25:06.181 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-18 04:25:06.281 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-18 04:25:06.282 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7219/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.284 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/newsService/1.0/weekly/protobuf","version":0,"timestamp":1766031906174790453,"ephemeral":false,"proof":""}]'
2025-12-18 04:25:06.286 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-18 04:25:06.286 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22180/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.288 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/newsService/1.0/weekly/protobuf","version":0,"timestamp":1766031906174790453,"ephemeral":false,"proof":""}]'
2025-12-18 04:25:06.290 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7219/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-18 04:25:06.294 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:25:06.294 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-18 04:25:06.395 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-18 04:25:06.395 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7219/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.398 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766031906290300595,"ephemeral":false,"proof":""}]'
2025-12-18 04:25:06.400 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-18 04:25:06.400 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22180/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:25:06.402 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766031906290300595,"ephemeral":false,"proof":""}]'
2025-12-18 04:25:06.405 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-18 04:25:06.406 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-18 04:25:06.406 DEBUG [src.node.waku_node] Stopping container with id 301e21a7aef7
2025-12-18 04:25:06.934 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:25:06.935 DEBUG [src.node.waku_node] Stopping container with id aa3b7c4efad7
2025-12-18 04:25:07.469 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:25:07.472 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-18 04:25:07.477 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-18 04:25:07.482 DEBUG [src.node.docker_mananger] No errors found in the waku logs.