84 lines
15 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_passing_cursor_of_non_existing_message_from_the_store with id: 2026-03-11_04-34-21__337f5821-8377-4c24-88f2-cd44a205e9d5
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-11_04-34-21__337f5821-8377-4c24-88f2-cd44a205e9d5__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.172.157
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['1541', '1542', '1543', '1544', '1545']
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 1541:1541 -p 1542:1542 -p 1543:1543 -p 1544:1544 -p 1545:1545 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=1543 --rest-port=1541 --tcp-port=1542 --discv5-udp-port=1544 --rest-address=0.0.0.0 --nat=extip:172.18.172.157 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ffdfc7e95ed133da8d54aff1ca8dfaadb0ab9ab34bb2db7404ba88cf759ff9f6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1545 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.172.157 waku a74d3a2912c740649e705f3a86074fdfda273cf1293c4b5ed2960ae141d59166
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 6a52f2711eed. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a74d3a2912c7. Setting up logs at ./log/docker/publishing_node1_2026-03-11_04-34-21__337f5821-8377-4c24-88f2-cd44a205e9d5__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 1541
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 b7cc678e0fd0. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1541/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:1541/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.172.157/tcp/1542/p2p/16Uiu2HAmDY7HMKGt22Ni8kRWXB8wNsAgGJ18Dd5JLpyrbn4h9JYD","/ip4/172.18.172.157/tcp/1543/ws/p2p/16Uiu2HAmDY7HMKGt22Ni8kRWXB8wNsAgGJ18Dd5JLpyrbn4h9JYD"],"enrUri":"enr:-L24QFhmh_OL3-bmcNN0oW5a68XPZefAnONgSKFbW3f1IfqJMR6lxWSDac5p_26-HOCDoJ6jS7PHHuTIwFskg1_xgDACgmlkgnY0gmlwhKwSrJ2KbXVsdGlhZGRyc5YACASsEqydBgYGAAoErBKsnQYGB90DgnJzhQADAQAAiXNlY3AyNTZrMaEDDRh1m1e3fgeMe0JIxHz-QI2S0LjcMMm8mA68OdUX5laDdGNwggYGg3VkcIIGCIV3YWt1MgM"}'
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-11_04-34-21__337f5821-8377-4c24-88f2-cd44a205e9d5__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.142.14
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['6560', '6561', '6562', '6563', '6564']
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 6560:6560 -p 6561:6561 -p 6562:6562 -p 6563:6563 -p 6564:6564 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=6562 --rest-port=6560 --tcp-port=6561 --discv5-udp-port=6563 --rest-address=0.0.0.0 --nat=extip:172.18.142.14 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=efeeedf49a6ebf748af5d0ebc5c13dcfff7ebede1d8282043636cbb71eaf5ff1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=6564 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QFhmh_OL3-bmcNN0oW5a68XPZefAnONgSKFbW3f1IfqJMR6lxWSDac5p_26-HOCDoJ6jS7PHHuTIwFskg1_xgDACgmlkgnY0gmlwhKwSrJ2KbXVsdGlhZGRyc5YACASsEqydBgYGAAoErBKsnQYGB90DgnJzhQADAQAAiXNlY3AyNTZrMaEDDRh1m1e3fgeMe0JIxHz-QI2S0LjcMMm8mA68OdUX5laDdGNwggYGg3VkcIIGCIV3YWt1MgM --storenode=/ip4/172.18.172.157/tcp/1542/p2p/16Uiu2HAmDY7HMKGt22Ni8kRWXB8wNsAgGJ18Dd5JLpyrbn4h9JYD --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.142.14 waku dc0c62f43e06adb2b6cbc934fe98855bbcfc3979b35062e55589aecfa500973f
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID dc0c62f43e06. Setting up logs at ./log/docker/store_node1_2026-03-11_04-34-21__337f5821-8377-4c24-88f2-cd44a205e9d5__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 6560
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:6560/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:6560/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.142.14/tcp/6561/p2p/16Uiu2HAmTcCXDdR9dgRm9haosDBeDdVFDcpgBohHuXLFks9tct1p","/ip4/172.18.142.14/tcp/6562/ws/p2p/16Uiu2HAmTcCXDdR9dgRm9haosDBeDdVFDcpgBohHuXLFks9tct1p"],"enrUri":"enr:-L24QIqltTL8i7hW_wqN8nTresP6sZbP-QgvaFz5Xy9cp1PuIt1n9kxcQFOFZ7WKA5DjprhYHWh3hhSNl8BoW_rKlnsCgmlkgnY0gmlwhKwSjg6KbXVsdGlhZGRyc5YACASsEo4OBhmhAAoErBKODgYZot0DgnJzhQADAQAAiXNlY3AyNTZrMaED3ihSzuWMjYnP9wS6pP91UdiAwvsy0LYzL8F1iczRyQODdGNwghmhg3VkcIIZo4V3YWt1MgM"}'
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:6560/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.172.157/tcp/1542/p2p/16Uiu2HAmDY7HMKGt22Ni8kRWXB8wNsAgGJ18Dd5JLpyrbn4h9JYD"]'
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:1541/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:6560/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:1541/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8w", "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:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:1541/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8x", "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:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:1541/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8y", "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:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:1541/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8z", "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
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1541/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&cursor=0x0358f6d237931dec20e356c06fc438be22ac35a651941a93fc7fed412221bc14&pageSize=100&ascending=true" -H "Content-Type: application/json" -d 'None'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 500 Server Error: Internal Server Error for url: http://127.0.0.1:1541/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&cursor=0x0358f6d237931dec20e356c06fc438be22ac35a651941a93fc7fed412221bc14&pageSize=100&ascending=true. Response content: b'error in handleSelfStoreRequest: BAD_RESPONSE: archive error: DRIVER_ERROR: cursor not found'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:6560/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&cursor=0x0358f6d237931dec20e356c06fc438be22ac35a651941a93fc7fed412221bc14&pageSize=100&ascending=true" -H "Content-Type: application/json" -d 'None'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 500 Server Error: Internal Server Error for url: http://127.0.0.1:6560/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&cursor=0x0358f6d237931dec20e356c06fc438be22ac35a651941a93fc7fed412221bc14&pageSize=100&ascending=true. Response content: b'error in handleSelfStoreRequest: BAD_RESPONSE: archive error: DRIVER_ERROR: cursor not found'
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 a74d3a2912c7
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id dc0c62f43e06
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.