83 lines
15 KiB
Plaintext

2025-12-29 04:34:45.037 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-29 04:34:45.038 DEBUG [tests.conftest] Running test: test_subscribe_and_publish_on_another_content_topic_from_same_shard with id: 2025-12-29_04-34-45__09316887-b403-4c93-9b95-602727a3e223
2025-12-29 04:34:45.038 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-29 04:34:45.038 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-29 04:34:45.038 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-29 04:34:45.046 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-29 04:34:45.046 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-29_04-34-45__09316887-b403-4c93-9b95-602727a3e223__wakuorg_nwaku:latest.log
2025-12-29 04:34:45.046 DEBUG [src.node.waku_node] Starting Node...
2025-12-29 04:34:45.046 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-29 04:34:45.047 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-29 04:34:45.048 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.54.164
2025-12-29 04:34:45.048 DEBUG [src.node.docker_mananger] Generated ports ['8161', '8162', '8163', '8164', '8165']
2025-12-29 04:34:45.048 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-29 04:34:45.048 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-29 04:34:45.048 DEBUG [src.node.waku_node] Using volumes []
2025-12-29 04:34:45.048 DEBUG [src.node.docker_mananger] docker run -i -t -p 8161:8161 -p 8162:8162 -p 8163:8163 -p 8164:8164 -p 8165:8165 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=8163 --rest-port=8161 --tcp-port=8162 --discv5-udp-port=8164 --rest-address=0.0.0.0 --nat=extip:172.18.54.164 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=73eacbeddf0f118eec00e92ccfefc33bd10df89cebdfefa8bffd192e6efecb89 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=8165 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-29 04:34:45.226 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.54.164 waku 1d391699e1b62d02e7beab6d1e9a01941511f82fa52be80d6fed11d7f4bf8555
2025-12-29 04:34:45.260 DEBUG [src.node.docker_mananger] Container started with ID 1d391699e1b6. Setting up logs at ./log/docker/node1_2025-12-29_04-34-45__09316887-b403-4c93-9b95-602727a3e223__wakuorg_nwaku:latest.log
2025-12-29 04:34:45.260 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 8161
2025-12-29 04:34:45.260 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-29 04:34:45.311 ERROR [src.node.docker_mananger] Max retries reached for container b467e155a17a. Exiting log stream.
2025-12-29 04:34:45.845 ERROR [src.node.docker_mananger] Max retries reached for container a267a6639917. Exiting log stream.
2025-12-29 04:34:46.261 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8161/health" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:46.264 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-29 04:34:46.265 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-29 04:34:46.265 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8161/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:46.267 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.54.164/tcp/8162/p2p/16Uiu2HAmVB7dtusiZX5WYM5h7pqBcRsnUcVvGqUYQLY2cv8BEZBQ","/ip4/172.18.54.164/tcp/8163/ws/p2p/16Uiu2HAmVB7dtusiZX5WYM5h7pqBcRsnUcVvGqUYQLY2cv8BEZBQ"],"enrUri":"enr:-L24QCLwcevREa8KqRJ-CYWiRxx_T-5Um-Q4IZGsNeaKgCikRtbt2M-zSUw16AsRMhNMETC2Fc-wpzE__CrUP--wx44CgmlkgnY0gmlwhKwSNqSKbXVsdGlhZGRyc5YACASsEjakBh_iAAoErBI2pAYf490DgnJzhQACAQAAiXNlY3AyNTZrMaED9XKnXDPL5py0BAnpLw-3iWUsfUzFFRmIllNJyoLbSqODdGNwgh_ig3VkcIIf5IV3YWt1MgU"}'
2025-12-29 04:34:46.267 INFO [src.node.waku_node] REST service is ready !!
2025-12-29 04:34:46.274 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-29 04:34:46.274 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-29_04-34-45__09316887-b403-4c93-9b95-602727a3e223__wakuorg_nwaku:latest.log
2025-12-29 04:34:46.274 DEBUG [src.node.waku_node] Starting Node...
2025-12-29 04:34:46.274 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-29 04:34:46.276 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-29 04:34:46.276 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.136.80
2025-12-29 04:34:46.276 DEBUG [src.node.docker_mananger] Generated ports ['28339', '28340', '28341', '28342', '28343']
2025-12-29 04:34:46.276 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-29 04:34:46.276 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-29 04:34:46.276 DEBUG [src.node.waku_node] Using volumes []
2025-12-29 04:34:46.277 DEBUG [src.node.docker_mananger] docker run -i -t -p 28339:28339 -p 28340:28340 -p 28341:28341 -p 28342:28342 -p 28343:28343 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=28341 --rest-port=28339 --tcp-port=28340 --discv5-udp-port=28342 --rest-address=0.0.0.0 --nat=extip:172.18.136.80 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=13fcaddae3a54e5a1eedbdec6b6bb70ad2cacffd7d254a82dee87531b0990b2a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28343 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCLwcevREa8KqRJ-CYWiRxx_T-5Um-Q4IZGsNeaKgCikRtbt2M-zSUw16AsRMhNMETC2Fc-wpzE__CrUP--wx44CgmlkgnY0gmlwhKwSNqSKbXVsdGlhZGRyc5YACASsEjakBh_iAAoErBI2pAYf490DgnJzhQACAQAAiXNlY3AyNTZrMaED9XKnXDPL5py0BAnpLw-3iWUsfUzFFRmIllNJyoLbSqODdGNwgh_ig3VkcIIf5IV3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-29 04:34:46.452 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.136.80 waku eb6c51d9ef048eeb689ccd2a30a9ba847397eaebebf2e063aac3e7d10c89e622
2025-12-29 04:34:46.483 DEBUG [src.node.docker_mananger] Container started with ID eb6c51d9ef04. Setting up logs at ./log/docker/node2_2025-12-29_04-34-45__09316887-b403-4c93-9b95-602727a3e223__wakuorg_nwaku:latest.log
2025-12-29 04:34:46.483 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 28339
2025-12-29 04:34:46.483 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-29 04:34:47.484 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28339/health" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.500 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-29 04:34:47.501 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-29 04:34:47.501 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28339/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.505 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.136.80/tcp/28340/p2p/16Uiu2HAmQftcV1m6zXyimPE1D1yXPPt26G5YVLQ2KwTjr8ivACjM","/ip4/172.18.136.80/tcp/28341/ws/p2p/16Uiu2HAmQftcV1m6zXyimPE1D1yXPPt26G5YVLQ2KwTjr8ivACjM"],"enrUri":"enr:-L24QC9C4gjmga_G86qe22AQG-p9ydo4cDqizjWZZBW6inQ0RMvLNvliIiswa98QefOqxlJ2vuxihwt4IMZudYqSQoYCgmlkgnY0gmlwhKwSiFCKbXVsdGlhZGRyc5YACASsEohQBm60AAoErBKIUAZutd0DgnJzhQACAQAAiXNlY3AyNTZrMaEDsodV_gnTNjlpELsPzRhTyNhmwxqEW0EOaajNaBCK5LyDdGNwgm60g3VkcIJutoV3YWt1MgE"}'
2025-12-29 04:34:47.507 INFO [src.node.waku_node] REST service is ready !!
2025-12-29 04:34:47.507 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28339/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.54.164/tcp/8162/p2p/16Uiu2HAmVB7dtusiZX5WYM5h7pqBcRsnUcVvGqUYQLY2cv8BEZBQ"]'
2025-12-29 04:34:47.511 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-29 04:34:47.511 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8161/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-29 04:34:47.516 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-29 04:34:47.517 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28339/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-29 04:34:47.521 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-29 04:34:47.522 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8161/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/newsService/1.0/weekly/protobuf", "timestamp": '$(date +%s%N)'}'
2025-12-29 04:34:47.529 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-29 04:34:47.529 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-29 04:34:47.629 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-29 04:34:47.630 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8161/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.633 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":1766982887522299348,"ephemeral":false,"proof":""}]'
2025-12-29 04:34:47.634 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-29 04:34:47.634 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28339/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.636 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":1766982887522299348,"ephemeral":false,"proof":""}]'
2025-12-29 04:34:47.638 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8161/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-29 04:34:47.643 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-29 04:34:47.643 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-29 04:34:47.743 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-29 04:34:47.744 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8161/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.746 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766982887638500678,"ephemeral":false,"proof":""}]'
2025-12-29 04:34:47.749 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-29 04:34:47.749 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28339/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-29 04:34:47.751 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766982887638500678,"ephemeral":false,"proof":""}]'
2025-12-29 04:34:47.754 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-29 04:34:47.755 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-29 04:34:47.755 DEBUG [src.node.waku_node] Stopping container with id 1d391699e1b6
2025-12-29 04:34:48.259 DEBUG [src.node.waku_node] Container stopped.
2025-12-29 04:34:48.260 DEBUG [src.node.waku_node] Stopping container with id eb6c51d9ef04
2025-12-29 04:34:48.751 DEBUG [src.node.waku_node] Container stopped.
2025-12-29 04:34:48.753 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-29 04:34:48.765 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-29 04:34:48.770 DEBUG [src.node.docker_mananger] No errors found in the waku logs.