78 lines
14 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_publishing_node_is_stopped with id: 2026-03-26_04-56-27__ac9ca8a0-f6ae-433d-b796-dc5657041071
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.store:store.py:31 Running fixture setup: store_setup
DEBUG  src.steps.store:store.py:39 Running fixture setup: node_setup
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-03-26_04-56-27__ac9ca8a0-f6ae-433d-b796-dc5657041071__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.217.180
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['51614', '51615', '51616', '51617', '51618']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 51614:51614 -p 51615:51615 -p 51616:51616 -p 51617:51617 -p 51618:51618 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=51616 --rest-port=51614 --tcp-port=51615 --discv5-udp-port=51617 --rest-address=0.0.0.0 --nat=extip:172.18.217.180 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4c373e5efccbd938ff5765ef0dc925e758cf41f5f33d2f6cbaf73e811cd1cb54 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=51618 --metrics-logging=true --store=true --relay=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 1388c64aea64. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.217.180 waku 2f1faaf6eaa7f99da7557a92d3bb6235724871a4df42cfd0474a7951f61359ef
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 2f1faaf6eaa7. Setting up logs at ./log/docker/publishing_node1_2026-03-26_04-56-27__ac9ca8a0-f6ae-433d-b796-dc5657041071__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 51614
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container b9d337a26a0e. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:51614/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"READY"},{"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":"READY"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:51614/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.217.180/tcp/51615/p2p/16Uiu2HAm5XQSXynoYbQ928eEbLaSzPWNwufsQaPetqJfLgJSqk93","/ip4/172.18.217.180/tcp/51616/ws/p2p/16Uiu2HAm5XQSXynoYbQ928eEbLaSzPWNwufsQaPetqJfLgJSqk93"],"enrUri":"enr:-L24QMmB491ZYFvNXzY4RjEcI7WZ4F2uuiLbF-1xawPjm_kcG2r5z3zu5cD09OEAwXcL71sTUNygUrh8gPy5_I6N0SsCgmlkgnY0gmlwhKwS2bSKbXVsdGlhZGRyc5YACASsEtm0BsmfAAoErBLZtAbJoN0DgnJzhQADAQAAiXNlY3AyNTZrMaEClgzIwBxdw44FTkCsB1HnKVfRY83jrr18-v_hzlG3l86DdGNwgsmfg3VkcILJoYV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/store_node1_2026-03-26_04-56-27__ac9ca8a0-f6ae-433d-b796-dc5657041071__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.39.137
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['16211', '16212', '16213', '16214', '16215']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 16211:16211 -p 16212:16212 -p 16213:16213 -p 16214:16214 -p 16215:16215 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=16213 --rest-port=16211 --tcp-port=16212 --discv5-udp-port=16214 --rest-address=0.0.0.0 --nat=extip:172.18.39.137 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a9a7cefd5d36afe038a10c48eadde9a220dbe12df9e8ca54bbf01154e60dd4e7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16215 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QMmB491ZYFvNXzY4RjEcI7WZ4F2uuiLbF-1xawPjm_kcG2r5z3zu5cD09OEAwXcL71sTUNygUrh8gPy5_I6N0SsCgmlkgnY0gmlwhKwS2bSKbXVsdGlhZGRyc5YACASsEtm0BsmfAAoErBLZtAbJoN0DgnJzhQADAQAAiXNlY3AyNTZrMaEClgzIwBxdw44FTkCsB1HnKVfRY83jrr18-v_hzlG3l86DdGNwgsmfg3VkcILJoYV3YWt1MgM --storenode=/ip4/172.18.217.180/tcp/51615/p2p/16Uiu2HAm5XQSXynoYbQ928eEbLaSzPWNwufsQaPetqJfLgJSqk93 --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.39.137 waku 11cc9af47ebf713f806bb34577cb96f426b1eab3d78b621ab50aa3f117170b16
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 11cc9af47ebf. Setting up logs at ./log/docker/store_node1_2026-03-26_04-56-27__ac9ca8a0-f6ae-433d-b796-dc5657041071__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 16211
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16211/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"PartiallyConnected","protocolsHealth":[{"Relay":"READY"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"READY"},{"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":"READY"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16211/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.39.137/tcp/16212/p2p/16Uiu2HAmHMBTVDb9xsLyaqZmd9WtzWFuQ6e1LJBeGV5CVUuwXw6W","/ip4/172.18.39.137/tcp/16213/ws/p2p/16Uiu2HAmHMBTVDb9xsLyaqZmd9WtzWFuQ6e1LJBeGV5CVUuwXw6W"],"enrUri":"enr:-L24QDAXYY82bCHq8hQ4sBHfeNdGOqpBDLZkWqG1j9hNhMqcbYqNEOyJDbGdP0JkyVesptnsEHxIwO5cJYR3ewYm_XUCgmlkgnY0gmlwhKwSJ4mKbXVsdGlhZGRyc5YACASsEieJBj9UAAoErBIniQY_Vd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDRbqJ420SvQDMJp4fikWe-_0KZj5U52u0z_2YsaYBlyeDdGNwgj9Ug3VkcII_VoV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:16211/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.217.180/tcp/51615/p2p/16Uiu2HAm5XQSXynoYbQ928eEbLaSzPWNwufsQaPetqJfLgJSqk93"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:51614/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:16211/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.store:store.py:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:51614/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.2 seconds
DEBUG  src.steps.store:store.py:211 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:51614/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x5794f17686a3c3a634cc5363c9c3d92b79e9a8f06be15ee305e6ebb4c1d7f531"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.steps.store:store.py:211 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16211/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x5794f17686a3c3a634cc5363c9c3d92b79e9a8f06be15ee305e6ebb4c1d7f531"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 2f1faaf6eaa7
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16211/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x5794f17686a3c3a634cc5363c9c3d92b79e9a8f06be15ee305e6ebb4c1d7f531"}]}'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 11cc9af47ebf
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.