104 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_restarts with id: 2025-12-11_04-19-59__fc9a04d1-da51-4f57-b505-baae2aaa795d
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_2025-12-11_04-19-59__fc9a04d1-da51-4f57-b505-baae2aaa795d__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.193.141
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['18214', '18215', '18216', '18217', '18218']
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 18214:18214 -p 18215:18215 -p 18216:18216 -p 18217:18217 -p 18218:18218 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=18216 --rest-port=18214 --tcp-port=18215 --discv5-udp-port=18217 --rest-address=0.0.0.0 --nat=extip:172.18.193.141 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d0c9fdb03d886b15fb5d9cee563ab748c7bd41bdde8dcafe70dd5f2e0bbff59d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=18218 --metrics-logging=true --store=true --relay=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 5a8bab738f3b. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.193.141 waku 165a4b1ef9170aaf37d4db2b73b4c41dc0fe1031a6350d1f6998a1006b8f2660
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 165a4b1ef917. Setting up logs at ./log/docker/publishing_node1_2025-12-11_04-19-59__fc9a04d1-da51-4f57-b505-baae2aaa795d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 18214
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 70e5f0b54ac4. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:18214/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","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
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:18214/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.193.141/tcp/18215/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ","/ip4/172.18.193.141/tcp/18216/ws/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ"],"enrUri":"enr:-L24QGkKCgpg2BJII7wvFlkj4biyudA_adxsJC0EQWn-g5ARWMaNbhrkin269kPR1l4LewOebKpt1l7uEkI8jBlJ-DICgmlkgnY0gmlwhKwSwY2KbXVsdGlhZGRyc5YACASsEsGNBkcnAAoErBLBjQZHKN0DgnJzhQADAQAAiXNlY3AyNTZrMaECq35TECXu6XdZOqFo_0XKpTMV09GocXZfrc8c0sI4Ae2DdGNwgkcng3VkcIJHKYV3YWt1MgM"}'
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_2025-12-11_04-19-59__fc9a04d1-da51-4f57-b505-baae2aaa795d__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.23.140
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['37736', '37737', '37738', '37739', '37740']
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 37736:37736 -p 37737:37737 -p 37738:37738 -p 37739:37739 -p 37740:37740 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=37738 --rest-port=37736 --tcp-port=37737 --discv5-udp-port=37739 --rest-address=0.0.0.0 --nat=extip:172.18.23.140 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6aaf7b858d1bdd0adb456cdc1ae3328be82da2bdb3e682abda563cfd8cf96297 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=37740 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QGkKCgpg2BJII7wvFlkj4biyudA_adxsJC0EQWn-g5ARWMaNbhrkin269kPR1l4LewOebKpt1l7uEkI8jBlJ-DICgmlkgnY0gmlwhKwSwY2KbXVsdGlhZGRyc5YACASsEsGNBkcnAAoErBLBjQZHKN0DgnJzhQADAQAAiXNlY3AyNTZrMaECq35TECXu6XdZOqFo_0XKpTMV09GocXZfrc8c0sI4Ae2DdGNwgkcng3VkcIJHKYV3YWt1MgM --storenode=/ip4/172.18.193.141/tcp/18215/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.23.140 waku 07f4c5bbec22f1c21c539c2bd59b0ddcf0ed7f4d708d96e9e163176eb1b32087
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 07f4c5bbec22. Setting up logs at ./log/docker/store_node1_2025-12-11_04-19-59__fc9a04d1-da51-4f57-b505-baae2aaa795d__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 37736
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:37736/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","protocolsHealth":[{"Relay":"READY"},{"Rln Relay":"NOT_MOUNTED"},{"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":"READY"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"}]}'
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:37736/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.23.140/tcp/37737/p2p/16Uiu2HAmByZUPTy4Kv4bmRKCyJBDMqQszhiyn4emLwYH5qvpT91Z","/ip4/172.18.23.140/tcp/37738/ws/p2p/16Uiu2HAmByZUPTy4Kv4bmRKCyJBDMqQszhiyn4emLwYH5qvpT91Z"],"enrUri":"enr:-L24QOSGEhl1ur3kkbxxUSINJbGyt0KLFmCT0qXhnWb7ZFrjLnAA4njZbSKZMWXUmW3fpe0c2vf_CyHu4XSgHxxzHXECgmlkgnY0gmlwhKwSF4yKbXVsdGlhZGRyc5YACASsEheMBpNpAAoErBIXjAaTat0DgnJzhQADAQAAiXNlY3AyNTZrMaEC9eY4H9fOXeXKNWRAKymmwPs0wKA7rUXnJIXbTfTzDWCDdGNwgpNpg3VkcIKTa4V3YWt1MgM"}'
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:37736/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.193.141/tcp/18215/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ"]'
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:18214/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:37736/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:18214/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:18214/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"}]}'
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:37736/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:257 Restarting container with id 165a4b1ef917
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:18214/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:18214/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","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
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:18214/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.193.141/tcp/18215/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ","/ip4/172.18.193.141/tcp/18216/ws/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ"],"enrUri":"enr:-L24QGkKCgpg2BJII7wvFlkj4biyudA_adxsJC0EQWn-g5ARWMaNbhrkin269kPR1l4LewOebKpt1l7uEkI8jBlJ-DICgmlkgnY0gmlwhKwSwY2KbXVsdGlhZGRyc5YACASsEsGNBkcnAAoErBLBjQZHKN0DgnJzhQADAQAAiXNlY3AyNTZrMaECq35TECXu6XdZOqFo_0XKpTMV09GocXZfrc8c0sI4Ae2DdGNwgkcng3VkcIJHKYV3YWt1MgM"}'
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:37736/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.193.141/tcp/18215/p2p/16Uiu2HAm6y7RDU59V7hgFixx3fR8Zgox2QrhQwEvNw3NKP5gUZbJ"]'
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:18214/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:18214/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:18214/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"},{"messageHash":"0x7cf4609621094fc6897bb1819389d95737785a7cef793d63ae987a4edb0da058"}]}'
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:37736/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"},{"messageHash":"0x7cf4609621094fc6897bb1819389d95737785a7cef793d63ae987a4edb0da058"}]}'
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:18214/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"},{"messageHash":"0x7cf4609621094fc6897bb1819389d95737785a7cef793d63ae987a4edb0da058"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:37736/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":"0x228f5c5aefe70e4e1c9eb521b4b35705d23e93b00ca310d671262b9d1eb32fcf"},{"messageHash":"0x7cf4609621094fc6897bb1819389d95737785a7cef793d63ae987a4edb0da058"}]}'
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 165a4b1ef917
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 07f4c5bbec22
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.