83 lines
15 KiB
Plaintext

2025-12-08 12:11:28.909 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:11:28.909 DEBUG [tests.conftest] Running test: test_subscribe_and_publish_on_another_content_topic_from_same_shard with id: 2025-12-08_12-11-28__515195c2-547e-4837-bac4-584a9683cbdd
2025-12-08 12:11:28.909 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:11:28.909 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-08 12:11:28.910 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-08 12:11:28.917 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:28.918 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-11-28__515195c2-547e-4837-bac4-584a9683cbdd__wakuorg_nwaku:latest.log
2025-12-08 12:11:28.918 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:28.918 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:28.919 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:28.919 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.181.72
2025-12-08 12:11:28.920 DEBUG [src.node.docker_mananger] Generated ports ['36641', '36642', '36643', '36644', '36645']
2025-12-08 12:11:28.920 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:28.920 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:28.920 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:28.920 DEBUG [src.node.docker_mananger] docker run -i -t -p 36641:36641 -p 36642:36642 -p 36643:36643 -p 36644:36644 -p 36645:36645 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=36643 --rest-port=36641 --tcp-port=36642 --discv5-udp-port=36644 --rest-address=0.0.0.0 --nat=extip:172.18.181.72 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=ccad0f6ce4dc1bf0f20f18daa9db592a3e136ed9fbe72dec95ffac56fefbdadd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36645 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-08 12:11:29.096 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.181.72 waku 57ff493a079435f3ac50ba5de93ae73164ac749dced07b1eaf63dfbccb2c7a4a
2025-12-08 12:11:29.127 DEBUG [src.node.docker_mananger] Container started with ID 57ff493a0794. Setting up logs at ./log/docker/node1_2025-12-08_12-11-28__515195c2-547e-4837-bac4-584a9683cbdd__wakuorg_nwaku:latest.log
2025-12-08 12:11:29.129 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 36641
2025-12-08 12:11:29.129 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:29.180 ERROR [src.node.docker_mananger] Max retries reached for container 350f50415d05. Exiting log stream.
2025-12-08 12:11:29.718 ERROR [src.node.docker_mananger] Max retries reached for container a2afff129301. Exiting log stream.
2025-12-08 12:11:30.129 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36641/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:30.133 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-08 12:11:30.133 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:30.133 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36641/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:30.135 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.181.72/tcp/36642/p2p/16Uiu2HAm4PS62jN45NysHUw419EUMkAVjBZ9C6W9ASqBT1xApqCu","/ip4/172.18.181.72/tcp/36643/ws/p2p/16Uiu2HAm4PS62jN45NysHUw419EUMkAVjBZ9C6W9ASqBT1xApqCu"],"enrUri":"enr:-L24QFK6Qjq7f58PR5jn2GH3EsOLTuHQWQknn_0xbhDeJWIUZi76aYOJlpSfvrR3BmA8QgvnzNzEtam6AVmWsI_uaHMCgmlkgnY0gmlwhKwStUiKbXVsdGlhZGRyc5YACASsErVIBo8iAAoErBK1SAaPI90DgnJzhQACAQAAiXNlY3AyNTZrMaEChSZP_W4sM5HbdQQl8Enj7P9fNMGPhIxGxwQ33EAhSLqDdGNwgo8ig3VkcIKPJIV3YWt1MgU"}'
2025-12-08 12:11:30.136 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:30.142 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:30.142 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-11-28__515195c2-547e-4837-bac4-584a9683cbdd__wakuorg_nwaku:latest.log
2025-12-08 12:11:30.143 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:30.143 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:30.144 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:30.144 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.8.73
2025-12-08 12:11:30.144 DEBUG [src.node.docker_mananger] Generated ports ['53365', '53366', '53367', '53368', '53369']
2025-12-08 12:11:30.145 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:30.145 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:30.145 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:30.145 DEBUG [src.node.docker_mananger] docker run -i -t -p 53365:53365 -p 53366:53366 -p 53367:53367 -p 53368:53368 -p 53369:53369 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=53367 --rest-port=53365 --tcp-port=53366 --discv5-udp-port=53368 --rest-address=0.0.0.0 --nat=extip:172.18.8.73 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=672dd0c0c05fc801fedcde7f5cac2c7e0ccd6ebe6e73f0b94c68b0f9fdf9e87a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=53369 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QFK6Qjq7f58PR5jn2GH3EsOLTuHQWQknn_0xbhDeJWIUZi76aYOJlpSfvrR3BmA8QgvnzNzEtam6AVmWsI_uaHMCgmlkgnY0gmlwhKwStUiKbXVsdGlhZGRyc5YACASsErVIBo8iAAoErBK1SAaPI90DgnJzhQACAQAAiXNlY3AyNTZrMaEChSZP_W4sM5HbdQQl8Enj7P9fNMGPhIxGxwQ33EAhSLqDdGNwgo8ig3VkcIKPJIV3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-08 12:11:30.332 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.8.73 waku ce25439d994af89f7c399fad99efc6f3d3f36563d1f9dcb944613bcbac78853e
2025-12-08 12:11:30.364 DEBUG [src.node.docker_mananger] Container started with ID ce25439d994a. Setting up logs at ./log/docker/node2_2025-12-08_12-11-28__515195c2-547e-4837-bac4-584a9683cbdd__wakuorg_nwaku:latest.log
2025-12-08 12:11:30.364 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 53365
2025-12-08 12:11:30.364 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:31.365 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:53365/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.401 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-08 12:11:31.402 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:31.403 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:53365/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.406 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.8.73/tcp/53366/p2p/16Uiu2HAmVmDGicE71oW1qzFdfQRLFpGu6csVboBko536WsY5vGxq","/ip4/172.18.8.73/tcp/53367/ws/p2p/16Uiu2HAmVmDGicE71oW1qzFdfQRLFpGu6csVboBko536WsY5vGxq"],"enrUri":"enr:-L24QAGYR0bTyiiTEzup4G8OH1pOFHL9eqJ21ELOdp0-qYDLPGbdvkmJ4eUnxso-5fx5puuT6yCc1Q4vWTWEqlM5BxwCgmlkgnY0gmlwhKwSCEmKbXVsdGlhZGRyc5YACASsEghJBtB2AAoErBIISQbQd90DgnJzhQACAQAAiXNlY3AyNTZrMaED_i7FyrsarHUCwxoSfe79OBsIGLYVjmiIngKnu7SV4KqDdGNwgtB2g3VkcILQeIV3YWt1MgE"}'
2025-12-08 12:11:31.407 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:31.408 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:53365/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.181.72/tcp/36642/p2p/16Uiu2HAm4PS62jN45NysHUw419EUMkAVjBZ9C6W9ASqBT1xApqCu"]'
2025-12-08 12:11:31.411 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:31.412 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36641/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-08 12:11:31.415 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:31.416 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:53365/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/newsService/1.0/weekly/protobuf"]'
2025-12-08 12:11:31.420 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:31.421 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36641/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/newsService/1.0/weekly/protobuf", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:31.428 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:31.428 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:31.529 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:31.529 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36641/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.531 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":1765195891421427826,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:31.533 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:31.533 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:53365/relay/v1/auto/messages/%2FnewsService%2F1.0%2Fweekly%2Fprotobuf" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.535 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":1765195891421427826,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:31.537 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36641/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:31.541 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:31.541 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:31.641 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:31.642 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36641/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.644 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1765195891537096297,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:31.645 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:31.645 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:53365/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:31.647 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1765195891537096297,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:31.650 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:11:31.651 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:11:31.651 DEBUG [src.node.waku_node] Stopping container with id 57ff493a0794
2025-12-08 12:11:32.183 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:32.184 DEBUG [src.node.waku_node] Stopping container with id ce25439d994a
2025-12-08 12:11:32.744 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:32.746 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:11:32.753 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:11:32.758 DEBUG [src.node.docker_mananger] No errors found in the waku logs.