87 lines
15 KiB
Plaintext

2025-12-26 04:23:08.666 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-26 04:23:08.667 DEBUG [tests.conftest] Running test: test_subscribe_and_publish_on_another_shard with id: 2025-12-26_04-23-08__498b2a93-2995-4683-8f51-416f8c577e73
2025-12-26 04:23:08.668 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-26 04:23:08.668 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-26 04:23:08.669 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-26 04:23:08.681 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:23:08.682 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-26_04-23-08__498b2a93-2995-4683-8f51-416f8c577e73__wakuorg_nwaku:latest.log
2025-12-26 04:23:08.683 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:23:08.683 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:23:08.685 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:23:08.685 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.255.13
2025-12-26 04:23:08.685 DEBUG [src.node.docker_mananger] Generated ports ['62861', '62862', '62863', '62864', '62865']
2025-12-26 04:23:08.685 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2025-12-26 04:23:08.685 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-26 04:23:08.685 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:23:08.686 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:23:08.686 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:23:08.686 DEBUG [src.node.docker_mananger] docker run -i -t -p 62861:62861 -p 62862:62862 -p 62863:62863 -p 62864:62864 -p 62865:62865 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=62863 --rest-port=62861 --tcp-port=62862 --discv5-udp-port=62864 --rest-address=0.0.0.0 --nat=extip:172.18.255.13 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=d8abec6ce86454bcda777a3e88af9aedabef98c846e96e1f995e680238b7626c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=62865 --metrics-logging=true --relay=true --filter=true
2025-12-26 04:23:08.871 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.255.13 waku 7dbb009ddc4a2fdfe49c2288e3ac5c55ef2d24c3c09ff8d9e1a6103a787c5a75
2025-12-26 04:23:08.874 ERROR [src.node.docker_mananger] Max retries reached for container e7ae1a6c496c. Exiting log stream.
2025-12-26 04:23:08.905 DEBUG [src.node.docker_mananger] Container started with ID 7dbb009ddc4a. Setting up logs at ./log/docker/node1_2025-12-26_04-23-08__498b2a93-2995-4683-8f51-416f8c577e73__wakuorg_nwaku:latest.log
2025-12-26 04:23:08.906 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 62861
2025-12-26 04:23:08.907 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:23:09.497 ERROR [src.node.docker_mananger] Max retries reached for container ea73a7975260. Exiting log stream.
2025-12-26 04:23:09.908 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62861/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:09.911 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-26 04:23:09.911 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:23:09.911 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62861/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:09.914 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.255.13/tcp/62862/p2p/16Uiu2HAmBcvokPkvc9JTrZ66vz9vBXmMVjTNC9scQytv6yieddEB","/ip4/172.18.255.13/tcp/62863/ws/p2p/16Uiu2HAmBcvokPkvc9JTrZ66vz9vBXmMVjTNC9scQytv6yieddEB"],"enrUri":"enr:-L24QNX6oUZyYKaJfpGz9sprfepC0sMvdbv8K-csyJAmEGHkb_upzsUDbVVwkk0XK4yK9agEgQL3Dd77sXSkNr3ixwoCgmlkgnY0gmlwhKwS_w2KbXVsdGlhZGRyc5YACASsEv8NBvWOAAoErBL_DQb1j90DgnJzhQACAQAAiXNlY3AyNTZrMaEC8J0k-zNV5UvpxABnNPqFauGuLTX85xOFPgN3E5ccYRyDdGNwgvWOg3VkcIL1kIV3YWt1MgU"}'
2025-12-26 04:23:09.914 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:23:09.921 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:23:09.921 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-26_04-23-08__498b2a93-2995-4683-8f51-416f8c577e73__wakuorg_nwaku:latest.log
2025-12-26 04:23:09.921 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:23:09.921 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:23:09.922 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:23:09.923 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.219.58
2025-12-26 04:23:09.923 DEBUG [src.node.docker_mananger] Generated ports ['12019', '12020', '12021', '12022', '12023']
2025-12-26 04:23:09.923 DEBUG [src.node.waku_node] Cluster id was resolved to: 2
2025-12-26 04:23:09.923 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-26 04:23:09.923 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:23:09.923 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:23:09.923 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:23:09.923 DEBUG [src.node.docker_mananger] docker run -i -t -p 12019:12019 -p 12020:12020 -p 12021:12021 -p 12022:12022 -p 12023:12023 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=12021 --rest-port=12019 --tcp-port=12020 --discv5-udp-port=12022 --rest-address=0.0.0.0 --nat=extip:172.18.219.58 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=d9be762312ff543adfec02ccffff04eec91da5edadef7b35fc57247a3dba8c5e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=12023 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QNX6oUZyYKaJfpGz9sprfepC0sMvdbv8K-csyJAmEGHkb_upzsUDbVVwkk0XK4yK9agEgQL3Dd77sXSkNr3ixwoCgmlkgnY0gmlwhKwS_w2KbXVsdGlhZGRyc5YACASsEv8NBvWOAAoErBL_DQb1j90DgnJzhQACAQAAiXNlY3AyNTZrMaEC8J0k-zNV5UvpxABnNPqFauGuLTX85xOFPgN3E5ccYRyDdGNwgvWOg3VkcIL1kIV3YWt1MgU
2025-12-26 04:23:10.096 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.219.58 waku da6dca54f842a3d96348a3a4217215f89dc91bdd17025e4a7a9b423827d6ca1e
2025-12-26 04:23:10.125 DEBUG [src.node.docker_mananger] Container started with ID da6dca54f842. Setting up logs at ./log/docker/node2_2025-12-26_04-23-08__498b2a93-2995-4683-8f51-416f8c577e73__wakuorg_nwaku:latest.log
2025-12-26 04:23:10.125 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 12019
2025-12-26 04:23:10.125 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:23:11.126 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12019/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.139 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-26 04:23:11.141 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:23:11.142 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12019/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.146 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.219.58/tcp/12020/p2p/16Uiu2HAmP2x5A1Q3ZDPBvjMKaPp5ia94y9QUxjQGsBfEREbWoHBt","/ip4/172.18.219.58/tcp/12021/ws/p2p/16Uiu2HAmP2x5A1Q3ZDPBvjMKaPp5ia94y9QUxjQGsBfEREbWoHBt"],"enrUri":"enr:-L24QOTw6wfQfT9fNbFKloIyggVkGj4sMBgLsi0p2bbiSOmxRcQajbcKD-aS5wI_Q6PuGjXwqgN6jQNUSUMlSCEyvt8CgmlkgnY0gmlwhKwS2zqKbXVsdGlhZGRyc5YACASsEts6Bi70AAoErBLbOgYu9d0DgnJzhQACAQAAiXNlY3AyNTZrMaEDmjUSNZHzOju_nOBKGqiJjD3tQQIaOiurlWvFdr3dQDeDdGNwgi70g3VkcIIu9oV3YWt1MgE"}'
2025-12-26 04:23:11.146 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:23:11.147 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12019/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.255.13/tcp/62862/p2p/16Uiu2HAmBcvokPkvc9JTrZ66vz9vBXmMVjTNC9scQytv6yieddEB"]'
2025-12-26 04:23:11.150 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:23:11.151 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62861/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/1"]'
2025-12-26 04:23:11.154 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:23:11.154 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12019/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/1"]'
2025-12-26 04:23:11.158 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:23:11.161 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62861/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-26 04:23:11.167 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:23:11.167 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-26 04:23:11.267 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-26 04:23:11.268 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62861/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.270 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766722991160831004,"ephemeral":false,"proof":""}]'
2025-12-26 04:23:11.272 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-26 04:23:11.272 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12019/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.275 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766722991160831004,"ephemeral":false,"proof":""}]'
2025-12-26 04:23:11.276 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:62861/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-26 04:23:11.281 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:23:11.282 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-26 04:23:11.382 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-26 04:23:11.382 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:62861/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.385 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766722991276479981,"ephemeral":false,"proof":""}]'
2025-12-26 04:23:11.386 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-26 04:23:11.387 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12019/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:23:11.389 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1766722991276479981,"ephemeral":false,"proof":""}]'
2025-12-26 04:23:11.391 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-26 04:23:11.392 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-26 04:23:11.392 DEBUG [src.node.waku_node] Stopping container with id 7dbb009ddc4a
2025-12-26 04:23:11.936 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:23:11.938 DEBUG [src.node.waku_node] Stopping container with id da6dca54f842
2025-12-26 04:23:12.457 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:23:12.459 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-26 04:23:12.466 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-26 04:23:12.472 DEBUG [src.node.docker_mananger] No errors found in the waku logs.