101 lines
19 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_paused_and_unpaused with id: 2026-03-07_04-32-27__dc213b1d-fad1-4fc5-9cca-a1e5c4774a60
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-07_04-32-27__dc213b1d-fad1-4fc5-9cca-a1e5c4774a60__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.10.88
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['27780', '27781', '27782', '27783', '27784']
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 27780:27780 -p 27781:27781 -p 27782:27782 -p 27783:27783 -p 27784:27784 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=27782 --rest-port=27780 --tcp-port=27781 --discv5-udp-port=27783 --rest-address=0.0.0.0 --nat=extip:172.18.10.88 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5beecceb5b028aa351a4aac988cb0cf91892dafd4938e126d37c5cda7e5dce76 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=27784 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.10.88 waku 4b80eb92756db5ce4334a2a29f0275aaad509cf55aac9b9bfb57f9e2d8e65a18
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 4b80eb92756d. Setting up logs at ./log/docker/publishing_node1_2026-03-07_04-32-27__dc213b1d-fad1-4fc5-9cca-a1e5c4774a60__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 27780
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 88e327d87d71. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container e4467fc37289. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:27780/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:27780/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.10.88/tcp/27781/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i","/ip4/172.18.10.88/tcp/27782/ws/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i"],"enrUri":"enr:-L24QOGNFzJiEBh_jYYHzj2cC_1Qf6s155vr0qu8bB9sKnh_d2GFi7yRQ_i5aDQuBuZzUE5iJxWxhdDNiB_3Lx2yYlUCgmlkgnY0gmlwhKwSCliKbXVsdGlhZGRyc5YACASsEgpYBmyFAAoErBIKWAZsht0DgnJzhQADAQAAiXNlY3AyNTZrMaECTsSqlLUjZyINfGEXua71X3kOfkayggfmKnERmfX50RmDdGNwgmyFg3VkcIJsh4V3YWt1MgM"}'
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-07_04-32-27__dc213b1d-fad1-4fc5-9cca-a1e5c4774a60__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.45.175
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['15348', '15349', '15350', '15351', '15352']
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 15348:15348 -p 15349:15349 -p 15350:15350 -p 15351:15351 -p 15352:15352 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=15350 --rest-port=15348 --tcp-port=15349 --discv5-udp-port=15351 --rest-address=0.0.0.0 --nat=extip:172.18.45.175 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=efa7bdaaca8a5b8c3b8fe86f8e1794636e2facaadfbbe90b3c9aa41fad1e230c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=15352 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QOGNFzJiEBh_jYYHzj2cC_1Qf6s155vr0qu8bB9sKnh_d2GFi7yRQ_i5aDQuBuZzUE5iJxWxhdDNiB_3Lx2yYlUCgmlkgnY0gmlwhKwSCliKbXVsdGlhZGRyc5YACASsEgpYBmyFAAoErBIKWAZsht0DgnJzhQADAQAAiXNlY3AyNTZrMaECTsSqlLUjZyINfGEXua71X3kOfkayggfmKnERmfX50RmDdGNwgmyFg3VkcIJsh4V3YWt1MgM --storenode=/ip4/172.18.10.88/tcp/27781/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.45.175 waku c1d194555727655d1492eadba80302d061cce406318bc2ea1e3a2d49c2e09243
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID c1d194555727. Setting up logs at ./log/docker/store_node1_2026-03-07_04-32-27__dc213b1d-fad1-4fc5-9cca-a1e5c4774a60__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 15348
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:15348/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:15348/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.45.175/tcp/15349/p2p/16Uiu2HAm48V65kxUCX96Gf9FrwUWYz9A7eEpb8y3K54K91eufUvq","/ip4/172.18.45.175/tcp/15350/ws/p2p/16Uiu2HAm48V65kxUCX96Gf9FrwUWYz9A7eEpb8y3K54K91eufUvq"],"enrUri":"enr:-L24QLHqSfEnYMwChzFAuFYnlOTjMH3QlQBgPpefX05q6a7QOYmNmYyC78eA1wodnRDikKxyXzzuYIwfggfXHf9nfhgCgmlkgnY0gmlwhKwSLa-KbXVsdGlhZGRyc5YACASsEi2vBjv1AAoErBItrwY79t0DgnJzhQADAQAAiXNlY3AyNTZrMaECgVH-UvC6qc7xpjlpVvz-ZwNLu_C2aWEBfuWaHKuUzE6DdGNwgjv1g3VkcII794V3YWt1MgM"}'
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:15348/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.10.88/tcp/27781/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i"]'
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:27780/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:15348/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:27780/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:27780/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"}]}'
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:15348/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:262 Pausing container with id 4b80eb92756d
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
DEBUG  src.node.waku_node:waku_node.py:267 Unpause container with id 4b80eb92756d
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:27780/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:27780/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.10.88/tcp/27781/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i","/ip4/172.18.10.88/tcp/27782/ws/p2p/16Uiu2HAkzj9iKDL4XQMjDvqGdNfhnKRcTFqESDhYTsz4EAKKXL3i"],"enrUri":"enr:-L24QOGNFzJiEBh_jYYHzj2cC_1Qf6s155vr0qu8bB9sKnh_d2GFi7yRQ_i5aDQuBuZzUE5iJxWxhdDNiB_3Lx2yYlUCgmlkgnY0gmlwhKwSCliKbXVsdGlhZGRyc5YACASsEgpYBmyFAAoErBIKWAZsht0DgnJzhQADAQAAiXNlY3AyNTZrMaECTsSqlLUjZyINfGEXua71X3kOfkayggfmKnERmfX50RmDdGNwgmyFg3VkcIJsh4V3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
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:27780/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:27780/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"},{"messageHash":"0xbd781be40ef96199c1dbc9592ffe313d31c003724d6b975d39ff82edf8b35d9e"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
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:15348/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"},{"messageHash":"0xbd781be40ef96199c1dbc9592ffe313d31c003724d6b975d39ff82edf8b35d9e"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:27780/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"},{"messageHash":"0xbd781be40ef96199c1dbc9592ffe313d31c003724d6b975d39ff82edf8b35d9e"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:15348/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":"0x762a811c434c7b52084929f51d5ff16de6719d20787f68c69dcd4f7506753e18"},{"messageHash":"0xbd781be40ef96199c1dbc9592ffe313d31c003724d6b975d39ff82edf8b35d9e"}]}'
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 4b80eb92756d
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id c1d194555727
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.