82 lines
15 KiB
Plaintext

2025-12-21 04:32:37.267 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-21 04:32:37.268 DEBUG [tests.conftest] Running test: test_subscribe_and_publish_on_another_content_topic_from_another_shard with id: 2025-12-21_04-32-37__361a5881-2610-41ae-adc6-a11ba8599bf6
2025-12-21 04:32:37.268 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-21 04:32:37.268 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-21 04:32:37.268 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-21 04:32:37.275 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-21 04:32:37.275 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-21_04-32-37__361a5881-2610-41ae-adc6-a11ba8599bf6__wakuorg_nwaku:latest.log
2025-12-21 04:32:37.276 DEBUG [src.node.waku_node] Starting Node...
2025-12-21 04:32:37.276 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-21 04:32:37.277 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-21 04:32:37.277 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.120.248
2025-12-21 04:32:37.277 DEBUG [src.node.docker_mananger] Generated ports ['29376', '29377', '29378', '29379', '29380']
2025-12-21 04:32:37.277 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-21 04:32:37.278 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-21 04:32:37.278 DEBUG [src.node.waku_node] Using volumes []
2025-12-21 04:32:37.278 DEBUG [src.node.docker_mananger] docker run -i -t -p 29376:29376 -p 29377:29377 -p 29378:29378 -p 29379:29379 -p 29380:29380 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=29378 --rest-port=29376 --tcp-port=29377 --discv5-udp-port=29379 --rest-address=0.0.0.0 --nat=extip:172.18.120.248 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=c9dab97ee7abcb9cb4c71b8dcc8ae850d729689b8114630787f992b577f2a7bc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29380 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-21 04:32:37.461 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.120.248 waku 774bf0e85f3b38d4b3192320eb679782a1a112954082cc68d15844424afb06a0
2025-12-21 04:32:37.494 DEBUG [src.node.docker_mananger] Container started with ID 774bf0e85f3b. Setting up logs at ./log/docker/node1_2025-12-21_04-32-37__361a5881-2610-41ae-adc6-a11ba8599bf6__wakuorg_nwaku:latest.log
2025-12-21 04:32:37.495 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 29376
2025-12-21 04:32:37.495 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-21 04:32:38.074 ERROR [src.node.docker_mananger] Max retries reached for container bf31a716827e. Exiting log stream.
2025-12-21 04:32:38.495 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29376/health" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:38.499 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-21 04:32:38.499 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-21 04:32:38.499 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29376/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:38.501 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.120.248/tcp/29377/p2p/16Uiu2HAm941eMx3AQB9hcq4RZnXyfC5kjCdqyT9d5BdEhP9SG1RZ","/ip4/172.18.120.248/tcp/29378/ws/p2p/16Uiu2HAm941eMx3AQB9hcq4RZnXyfC5kjCdqyT9d5BdEhP9SG1RZ"],"enrUri":"enr:-L24QK2se5pppKvqw-bTzsL5k2HU9zG924oGNR0O3qFkBx3OLz8Q2iv6obal4HlmdIuuCz0KKtPckGe4ji4YuKRd3ioCgmlkgnY0gmlwhKwSePiKbXVsdGlhZGRyc5YACASsEnj4BnLBAAoErBJ4-AZywt0DgnJzhQACAQAAiXNlY3AyNTZrMaECyncTDZgy19Bp7DWidnevXVB8i5fJJtDVyERQuJJbS_iDdGNwgnLBg3VkcIJyw4V3YWt1MgU"}'
2025-12-21 04:32:38.501 INFO [src.node.waku_node] REST service is ready !!
2025-12-21 04:32:38.508 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-21 04:32:38.508 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-21_04-32-37__361a5881-2610-41ae-adc6-a11ba8599bf6__wakuorg_nwaku:latest.log
2025-12-21 04:32:38.508 DEBUG [src.node.waku_node] Starting Node...
2025-12-21 04:32:38.508 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-21 04:32:38.510 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-21 04:32:38.510 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.205.4
2025-12-21 04:32:38.510 DEBUG [src.node.docker_mananger] Generated ports ['20014', '20015', '20016', '20017', '20018']
2025-12-21 04:32:38.510 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-21 04:32:38.510 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-21 04:32:38.510 DEBUG [src.node.waku_node] Using volumes []
2025-12-21 04:32:38.511 DEBUG [src.node.docker_mananger] docker run -i -t -p 20014:20014 -p 20015:20015 -p 20016:20016 -p 20017:20017 -p 20018:20018 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=20016 --rest-port=20014 --tcp-port=20015 --discv5-udp-port=20017 --rest-address=0.0.0.0 --nat=extip:172.18.205.4 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=8de9ba26a609c7642b6a866bbe3fd98c2eee59eeb9a2ad8fe0ff154802aea6e2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=20018 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QK2se5pppKvqw-bTzsL5k2HU9zG924oGNR0O3qFkBx3OLz8Q2iv6obal4HlmdIuuCz0KKtPckGe4ji4YuKRd3ioCgmlkgnY0gmlwhKwSePiKbXVsdGlhZGRyc5YACASsEnj4BnLBAAoErBJ4-AZywt0DgnJzhQACAQAAiXNlY3AyNTZrMaECyncTDZgy19Bp7DWidnevXVB8i5fJJtDVyERQuJJbS_iDdGNwgnLBg3VkcIJyw4V3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
2025-12-21 04:32:38.691 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.205.4 waku c577340b4f0fba2a4347b47903c3e1605ff6583237080c5625f18371fcc706b3
2025-12-21 04:32:38.721 DEBUG [src.node.docker_mananger] Container started with ID c577340b4f0f. Setting up logs at ./log/docker/node2_2025-12-21_04-32-37__361a5881-2610-41ae-adc6-a11ba8599bf6__wakuorg_nwaku:latest.log
2025-12-21 04:32:38.721 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 20014
2025-12-21 04:32:38.721 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-21 04:32:39.723 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20014/health" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.732 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-21 04:32:39.732 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-21 04:32:39.733 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20014/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.741 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.205.4/tcp/20015/p2p/16Uiu2HAmB6Hn4g5ZFTbhSsDLDLYKE2t7BRWYBktkvuytEhJpf4qY","/ip4/172.18.205.4/tcp/20016/ws/p2p/16Uiu2HAmB6Hn4g5ZFTbhSsDLDLYKE2t7BRWYBktkvuytEhJpf4qY"],"enrUri":"enr:-L24QHT-qtmDybA_IAmfI2RzfUeHMXwN--uBB_-jzazpmyF-Jt6OkEi1o2zzc-TloiakOgrQYshy9HXFMInVxdU8KwsCgmlkgnY0gmlwhKwSzQSKbXVsdGlhZGRyc5YACASsEs0EBk4vAAoErBLNBAZOMN0DgnJzhQACAQAAiXNlY3AyNTZrMaEC6MPZ70b9qBxg6mXpR1kUftwYLBSK2Uny2MMeRzok92uDdGNwgk4vg3VkcIJOMYV3YWt1MgE"}'
2025-12-21 04:32:39.741 INFO [src.node.waku_node] REST service is ready !!
2025-12-21 04:32:39.742 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20014/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.120.248/tcp/29377/p2p/16Uiu2HAm941eMx3AQB9hcq4RZnXyfC5kjCdqyT9d5BdEhP9SG1RZ"]'
2025-12-21 04:32:39.746 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:32:39.746 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29376/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2025-12-21 04:32:39.749 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:32:39.750 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20014/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2025-12-21 04:32:39.756 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:32:39.757 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29376/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2025-12-21 04:32:39.761 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:32:39.762 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-21 04:32:39.862 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-21 04:32:39.863 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29376/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.866 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1766291559756846734,"ephemeral":false,"proof":""}]'
2025-12-21 04:32:39.867 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-21 04:32:39.867 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20014/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.870 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1766291559756846734,"ephemeral":false,"proof":""}]'
2025-12-21 04:32:39.871 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29376/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-21 04:32:39.876 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:32:39.876 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-21 04:32:39.977 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-21 04:32:39.977 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29376/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.980 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766291559871587504,"ephemeral":false,"proof":""}]'
2025-12-21 04:32:39.982 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-21 04:32:39.982 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20014/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:32:39.984 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766291559871587504,"ephemeral":false,"proof":""}]'
2025-12-21 04:32:39.987 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-21 04:32:39.988 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-21 04:32:39.988 DEBUG [src.node.waku_node] Stopping container with id 774bf0e85f3b
2025-12-21 04:32:40.502 DEBUG [src.node.waku_node] Container stopped.
2025-12-21 04:32:40.502 DEBUG [src.node.waku_node] Stopping container with id c577340b4f0f
2025-12-21 04:32:41.059 DEBUG [src.node.waku_node] Container stopped.
2025-12-21 04:32:41.060 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-21 04:32:41.070 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-21 04:32:41.078 DEBUG [src.node.docker_mananger] No errors found in the waku logs.