102 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_store_node_restarts with id: 2026-04-23_05-16-22__6d38982c-072f-4be8-b6ca-802c75096d9d
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:108 WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-04-23_05-16-22__6d38982c-072f-4be8-b6ca-802c75096d9d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.66.228
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['13801', '13802', '13803', '13804', '13805']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 13801:13801 -p 13802:13802 -p 13803:13803 -p 13804:13804 -p 13805:13805 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=13803 --rest-port=13801 --tcp-port=13802 --discv5-udp-port=13804 --rest-address=0.0.0.0 --nat=extip:172.18.66.228 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=c65da7d9bdd98dd9d49fdb7e1be003ccab79c4ed33bbf903ebed16164bde2e67 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=13805 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.66.228 waku a1d237459a9364a311e2ad1fa48a0b73e47a3871e27f8bf28027ce418e1aafb8
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a1d237459a93. Setting up logs at ./log/docker/publishing_node1_2026-04-23_05-16-22__6d38982c-072f-4be8-b6ca-802c75096d9d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 13801
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 0519f1050225. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 0d5078680283. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:13801/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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:13801/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.66.228/tcp/13802/p2p/16Uiu2HAmBQH1jENvBMHLkXQUsR4wv1W45bKVL274owHaTdRfmn5b","/ip4/172.18.66.228/tcp/13803/ws/p2p/16Uiu2HAmBQH1jENvBMHLkXQUsR4wv1W45bKVL274owHaTdRfmn5b"],"enrUri":"enr:-L24QMy0upQ6IUY2BRg9Oa79byD0YwmukmAP0qJQlfnhmz4Mb1zoLgONj7S3nhSbAlJfeWysaNnLZi3n0tKZZsYJDBsCgmlkgnY0gmlwhKwSQuSKbXVsdGlhZGRyc5YACASsEkLkBjXqAAoErBJC5AY1690DgnJzhQDGAQAAiXNlY3AyNTZrMaEC7V9xChkq5H2xEM38CrWI7rUKP94vtC_M_Uo1rp7XkZ6DdGNwgjXqg3VkcII17IV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:417 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:108 WakuNode instance initialized with log path ./log/docker/store_node1_2026-04-23_05-16-22__6d38982c-072f-4be8-b6ca-802c75096d9d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.179.166
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['11528', '11529', '11530', '11531', '11532']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 11528:11528 -p 11529:11529 -p 11530:11530 -p 11531:11531 -p 11532:11532 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=11530 --rest-port=11528 --tcp-port=11529 --discv5-udp-port=11531 --rest-address=0.0.0.0 --nat=extip:172.18.179.166 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=afa3aaaafc8ec1b609292f9c40f66c66abdf6c2b70b6e1f683f9ebb82f0f0406 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=11532 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QMy0upQ6IUY2BRg9Oa79byD0YwmukmAP0qJQlfnhmz4Mb1zoLgONj7S3nhSbAlJfeWysaNnLZi3n0tKZZsYJDBsCgmlkgnY0gmlwhKwSQuSKbXVsdGlhZGRyc5YACASsEkLkBjXqAAoErBJC5AY1690DgnJzhQDGAQAAiXNlY3AyNTZrMaEC7V9xChkq5H2xEM38CrWI7rUKP94vtC_M_Uo1rp7XkZ6DdGNwgjXqg3VkcII17IV3YWt1MgM --storenode=/ip4/172.18.66.228/tcp/13802/p2p/16Uiu2HAmBQH1jENvBMHLkXQUsR4wv1W45bKVL274owHaTdRfmn5b --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.179.166 waku 3fe0b0e98aa0d4a5b00df7fa7438da3102b35db933f9d2d66b1212da13d6d414
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 3fe0b0e98aa0. Setting up logs at ./log/docker/store_node1_2026-04-23_05-16-22__6d38982c-072f-4be8-b6ca-802c75096d9d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 11528
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:11528/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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11528/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.179.166/tcp/11529/p2p/16Uiu2HAkvf9nZha3s68fqgsrMmEqR8rm7rYp22esGrbQDofZKd8w","/ip4/172.18.179.166/tcp/11530/ws/p2p/16Uiu2HAkvf9nZha3s68fqgsrMmEqR8rm7rYp22esGrbQDofZKd8w"],"enrUri":"enr:-L24QCL2--hCr0c9z77QxpjxQsxDJ1Ik-x_jDA4rEsbt10xUeehAv_eKo8QrELaFV67GUuTV_gIJBO5PVwVLcXVaxU0CgmlkgnY0gmlwhKwSs6aKbXVsdGlhZGRyc5YACASsErOmBi0JAAoErBKzpgYtCt0DgnJzhQDGAQAAiXNlY3AyNTZrMaECEk-toQ5fae2aIDXpMBgpjnqIsTVbAdDC3g0PoxG7TeyDdGNwgi0Jg3VkcIItC4V3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:11528/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.66.228/tcp/13802/p2p/16Uiu2HAmBQH1jENvBMHLkXQUsR4wv1W45bKVL274owHaTdRfmn5b"]'
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:13801/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:11528/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:13801/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%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:13801/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"}]}'
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:11528/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:379 Restarting container with id 3fe0b0e98aa0
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11528/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11528/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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11528/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.179.166/tcp/11529/p2p/16Uiu2HAkvf9nZha3s68fqgsrMmEqR8rm7rYp22esGrbQDofZKd8w","/ip4/172.18.179.166/tcp/11530/ws/p2p/16Uiu2HAkvf9nZha3s68fqgsrMmEqR8rm7rYp22esGrbQDofZKd8w"],"enrUri":"enr:-L24QCL2--hCr0c9z77QxpjxQsxDJ1Ik-x_jDA4rEsbt10xUeehAv_eKo8QrELaFV67GUuTV_gIJBO5PVwVLcXVaxU0CgmlkgnY0gmlwhKwSs6aKbXVsdGlhZGRyc5YACASsErOmBi0JAAoErBKzpgYtCt0DgnJzhQDGAQAAiXNlY3AyNTZrMaECEk-toQ5fae2aIDXpMBgpjnqIsTVbAdDC3g0PoxG7TeyDdGNwgi0Jg3VkcIItC4V3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:11528/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:13801/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%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:13801/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"},{"messageHash":"0xb0300275a36b1b9516b58a8ed69bce9e146b09127e0542230f01add22cfc515e"}]}'
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:11528/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"},{"messageHash":"0xb0300275a36b1b9516b58a8ed69bce9e146b09127e0542230f01add22cfc515e"}]}'
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:13801/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"},{"messageHash":"0xb0300275a36b1b9516b58a8ed69bce9e146b09127e0542230f01add22cfc515e"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11528/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x56660818757baeba0882f18f9cd6310674882141f10c73ccee0e5a660ea93b0b"},{"messageHash":"0xb0300275a36b1b9516b58a8ed69bce9e146b09127e0542230f01add22cfc515e"}]}'
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:343 Stopping container with id a1d237459a93
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 3fe0b0e98aa0
DEBUG  src.node.waku_node:waku_node.py:355 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.