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: 2025-12-10_04-17-00__be5020b1-be17-4a02-9692-2795174b6949
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-10_04-17-00__be5020b1-be17-4a02-9692-2795174b6949__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.7.112
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['6676', '6677', '6678', '6679', '6680']
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 6676:6676 -p 6677:6677 -p 6678:6678 -p 6679:6679 -p 6680:6680 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=6678 --rest-port=6676 --tcp-port=6677 --discv5-udp-port=6679 --rest-address=0.0.0.0 --nat=extip:172.18.7.112 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9b0a65899ebb94ec3e0cd8a8653a48cadcbc3b6e56e2cbc55a0a64d8d269c265 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=6680 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.7.112 waku 91046c2bf2dc80aaf27d1dd0344018fb93e9714be289b10a96bf65fe2b34e180
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 91046c2bf2dc. Setting up logs at ./log/docker/publishing_node1_2025-12-10_04-17-00__be5020b1-be17-4a02-9692-2795174b6949__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 6676
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 e3b320d82a88. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 2df8327a0d06. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:6676/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:6676/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.7.112/tcp/6677/p2p/16Uiu2HAmG4QLJrc8haKrtmw5N1NL8rHbRM8k1YJ3yUJaPwaGhiU9","/ip4/172.18.7.112/tcp/6678/ws/p2p/16Uiu2HAmG4QLJrc8haKrtmw5N1NL8rHbRM8k1YJ3yUJaPwaGhiU9"],"enrUri":"enr:-L24QBGcMPS1xenSTgTGkd7DTxkisQ9GJodqQHuGv8RAf8TNQxPCjSIE0wZHPga8T0IbOcIv_ShGrBOQdR-wGLU2fYgCgmlkgnY0gmlwhKwSB3CKbXVsdGlhZGRyc5YACASsEgdwBhoVAAoErBIHcAYaFt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMpKJgmGojwVzT3Tbdyb978FwfCVhxe5MYXdL8LNaZDqDdGNwghoVg3VkcIIaF4V3YWt1MgM"}'
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-10_04-17-00__be5020b1-be17-4a02-9692-2795174b6949__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.229.21
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['44475', '44476', '44477', '44478', '44479']
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 44475:44475 -p 44476:44476 -p 44477:44477 -p 44478:44478 -p 44479:44479 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=44477 --rest-port=44475 --tcp-port=44476 --discv5-udp-port=44478 --rest-address=0.0.0.0 --nat=extip:172.18.229.21 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=aa3df11a23cabddbdffacffa9b8fc1ccb5cb00943ed3d2eed23c6b9fa1de19ef --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=44479 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QBGcMPS1xenSTgTGkd7DTxkisQ9GJodqQHuGv8RAf8TNQxPCjSIE0wZHPga8T0IbOcIv_ShGrBOQdR-wGLU2fYgCgmlkgnY0gmlwhKwSB3CKbXVsdGlhZGRyc5YACASsEgdwBhoVAAoErBIHcAYaFt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMpKJgmGojwVzT3Tbdyb978FwfCVhxe5MYXdL8LNaZDqDdGNwghoVg3VkcIIaF4V3YWt1MgM --storenode=/ip4/172.18.7.112/tcp/6677/p2p/16Uiu2HAmG4QLJrc8haKrtmw5N1NL8rHbRM8k1YJ3yUJaPwaGhiU9 --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.229.21 waku ada4f3a02c97e73fb7dec9dbbc1eccf40071777db678cf17d412460c187c7e47
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID ada4f3a02c97. Setting up logs at ./log/docker/store_node1_2025-12-10_04-17-00__be5020b1-be17-4a02-9692-2795174b6949__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 44475
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:44475/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:44475/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.229.21/tcp/44476/p2p/16Uiu2HAm46P67xvDbDD2MLa8JBDAh2N9dLZRn2C4j1wz2otqm5TV","/ip4/172.18.229.21/tcp/44477/ws/p2p/16Uiu2HAm46P67xvDbDD2MLa8JBDAh2N9dLZRn2C4j1wz2otqm5TV"],"enrUri":"enr:-L24QPsoBI4AjMxQFvgsvV0_XzaEWBjvU8NWg1VxxsrFtZ_2QxyKlJ4n4841CFSpq2JIHryBwFS8j4ZC3KamHwuZVqsCgmlkgnY0gmlwhKwS5RWKbXVsdGlhZGRyc5YACASsEuUVBq28AAoErBLlFQatvd0DgnJzhQADAQAAiXNlY3AyNTZrMaECgMgMYPuue0_xq7Gjd1fo_dsyingNusQC6Kszd_Uk2lCDdGNwgq28g3VkcIKtvoV3YWt1MgM"}'
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:44475/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.7.112/tcp/6677/p2p/16Uiu2HAmG4QLJrc8haKrtmw5N1NL8rHbRM8k1YJ3yUJaPwaGhiU9"]'
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:6676/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:44475/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:6676/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:6676/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"}]}'
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:44475/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:257 Restarting container with id ada4f3a02c97
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:44475/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:44475/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:44475/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.229.21/tcp/44476/p2p/16Uiu2HAm46P67xvDbDD2MLa8JBDAh2N9dLZRn2C4j1wz2otqm5TV","/ip4/172.18.229.21/tcp/44477/ws/p2p/16Uiu2HAm46P67xvDbDD2MLa8JBDAh2N9dLZRn2C4j1wz2otqm5TV"],"enrUri":"enr:-L24QPsoBI4AjMxQFvgsvV0_XzaEWBjvU8NWg1VxxsrFtZ_2QxyKlJ4n4841CFSpq2JIHryBwFS8j4ZC3KamHwuZVqsCgmlkgnY0gmlwhKwS5RWKbXVsdGlhZGRyc5YACASsEuUVBq28AAoErBLlFQatvd0DgnJzhQADAQAAiXNlY3AyNTZrMaECgMgMYPuue0_xq7Gjd1fo_dsyingNusQC6Kszd_Uk2lCDdGNwgq28g3VkcIKtvoV3YWt1MgM"}'
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:44475/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:6676/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:6676/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"},{"messageHash":"0x95f97140b299e7c3c68df93eab8947bab711d5c86515cfb80481c71f869854f3"}]}'
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:44475/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"},{"messageHash":"0x95f97140b299e7c3c68df93eab8947bab711d5c86515cfb80481c71f869854f3"}]}'
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:6676/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"},{"messageHash":"0x95f97140b299e7c3c68df93eab8947bab711d5c86515cfb80481c71f869854f3"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:44475/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":"0x4496b2c6ff661afc84d301002beab6d493e0d41f0f355c16897cfeea2a14b692"},{"messageHash":"0x95f97140b299e7c3c68df93eab8947bab711d5c86515cfb80481c71f869854f3"}]}'
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 91046c2bf2dc
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id ada4f3a02c97
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.