78 lines
14 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_is_stopped with id: 2026-04-23_05-22-26__2e6699da-265c-4eea-b63c-483e75dec4cb
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-22-26__2e6699da-265c-4eea-b63c-483e75dec4cb__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.195.85
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['10117', '10118', '10119', '10120', '10121']
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 10117:10117 -p 10118:10118 -p 10119:10119 -p 10120:10120 -p 10121:10121 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=10119 --rest-port=10117 --tcp-port=10118 --discv5-udp-port=10120 --rest-address=0.0.0.0 --nat=extip:172.18.195.85 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=7b90ad5b32265a53fbb3ebc59cc9e1ad923eaa698d92d355fe781c46a6faf65f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10121 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.195.85 waku 33d7aab4a595dfd2f5984aacf2f7542ba6dd848b1079eeaf406bd3274269bd43
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 33d7aab4a595. Setting up logs at ./log/docker/publishing_node1_2026-04-23_05-22-26__2e6699da-265c-4eea-b63c-483e75dec4cb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 10117
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 d798284d8bce. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 54fb6bf0df2c. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:10117/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:10117/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.195.85/tcp/10118/p2p/16Uiu2HAm12c6vXhrBV3UKR8SzR1TrMk8QDwJ8i1EpgL8nREUfMSW","/ip4/172.18.195.85/tcp/10119/ws/p2p/16Uiu2HAm12c6vXhrBV3UKR8SzR1TrMk8QDwJ8i1EpgL8nREUfMSW"],"enrUri":"enr:-L24QIQvfl_2gtXuJhdbuGWLQoZuF7JojyX28asnFqxz2WNqZ6hcAXyEbxMssRM8OqWH-suvccjp43d4_XY30SvIefsCgmlkgnY0gmlwhKwSw1WKbXVsdGlhZGRyc5YACASsEsNVBieGAAoErBLDVQYnh90DgnJzhQDGAQAAiXNlY3AyNTZrMaECUz1hDy0QhiZowigJeENFs6aDYSxrgoVbn0OGOZbID9eDdGNwgieGg3VkcIIniIV3YWt1MgM"}'
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-22-26__2e6699da-265c-4eea-b63c-483e75dec4cb__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.237.231
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['12645', '12646', '12647', '12648', '12649']
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 12645:12645 -p 12646:12646 -p 12647:12647 -p 12648:12648 -p 12649:12649 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=12647 --rest-port=12645 --tcp-port=12646 --discv5-udp-port=12648 --rest-address=0.0.0.0 --nat=extip:172.18.237.231 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=4fc41afc9ae9ccc3b25ae4ddf9830cc5f9fbaec8bee6da4033367dd30fbcaecd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=12649 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QIQvfl_2gtXuJhdbuGWLQoZuF7JojyX28asnFqxz2WNqZ6hcAXyEbxMssRM8OqWH-suvccjp43d4_XY30SvIefsCgmlkgnY0gmlwhKwSw1WKbXVsdGlhZGRyc5YACASsEsNVBieGAAoErBLDVQYnh90DgnJzhQDGAQAAiXNlY3AyNTZrMaECUz1hDy0QhiZowigJeENFs6aDYSxrgoVbn0OGOZbID9eDdGNwgieGg3VkcIIniIV3YWt1MgM --storenode=/ip4/172.18.195.85/tcp/10118/p2p/16Uiu2HAm12c6vXhrBV3UKR8SzR1TrMk8QDwJ8i1EpgL8nREUfMSW --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.237.231 waku 9b289a6716ee2cb45c89a55006331ae33990161fa8e98b0566a79c63e30843e7
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 9b289a6716ee. Setting up logs at ./log/docker/store_node1_2026-04-23_05-22-26__2e6699da-265c-4eea-b63c-483e75dec4cb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 12645
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:12645/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:12645/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.237.231/tcp/12646/p2p/16Uiu2HAmLJvUEteazWLtZZ39aRcr97W5VUgnHcnU1k1S8AAtsY4T","/ip4/172.18.237.231/tcp/12647/ws/p2p/16Uiu2HAmLJvUEteazWLtZZ39aRcr97W5VUgnHcnU1k1S8AAtsY4T"],"enrUri":"enr:-L24QDwBDr--7S0z-dxMb86bs5nIcKtd_SItCSzU_hhMKTU2W2rCPuiDZnJ02sf59r-xJPv_Hzw_8eeNHK1tmzJuipcCgmlkgnY0gmlwhKwS7eeKbXVsdGlhZGRyc5YACASsEu3nBjFmAAoErBLt5wYxZ90DgnJzhQDGAQAAiXNlY3AyNTZrMaEDcbl97f8ypV5rvA7cn0OXNBd9r2FFnojMB5g9XBW9p4SDdGNwgjFmg3VkcIIxaIV3YWt1MgM"}'
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:12645/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.195.85/tcp/10118/p2p/16Uiu2HAm12c6vXhrBV3UKR8SzR1TrMk8QDwJ8i1EpgL8nREUfMSW"]'
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:10117/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:12645/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:10117/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:10117/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":"0x3e8f0e84f2aed9262d567698d7c3f489eaa900bf8a362e0145171decece0209a"}]}'
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:12645/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":"0x3e8f0e84f2aed9262d567698d7c3f489eaa900bf8a362e0145171decece0209a"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 33d7aab4a595
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:12645/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":"0x3e8f0e84f2aed9262d567698d7c3f489eaa900bf8a362e0145171decece0209a"}]}'
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 9b289a6716ee
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.