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_store_node_paused_and_unpaused with id: 2026-03-03_04-41-00__bdf0b92b-bc36-48ce-95be-6131eea47498
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-03_04-41-00__bdf0b92b-bc36-48ce-95be-6131eea47498__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.4
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['52776', '52777', '52778', '52779', '52780']
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 52776:52776 -p 52777:52777 -p 52778:52778 -p 52779:52779 -p 52780:52780 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=52778 --rest-port=52776 --tcp-port=52777 --discv5-udp-port=52779 --rest-address=0.0.0.0 --nat=extip:172.18.23.4 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b8b2d4fdfee8da4a082ed6c24cb7bd420a6a7c2adc46a5ea83336a52ad4c0c9c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52780 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.23.4 waku 12333955a076c33d33f30fb770031acda8bfa1255cf521e4e6000ced4deae703
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 12333955a076. Setting up logs at ./log/docker/publishing_node1_2026-03-03_04-41-00__bdf0b92b-bc36-48ce-95be-6131eea47498__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 52776
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 c174c7ac834b. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container b53f4b86187d. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:52776/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:52776/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.4/tcp/52777/p2p/16Uiu2HAmP4hYNuQKtyQ4sgHS5Ze8sWJMLkuoR6RoA9uwdKi9wgm7","/ip4/172.18.23.4/tcp/52778/ws/p2p/16Uiu2HAmP4hYNuQKtyQ4sgHS5Ze8sWJMLkuoR6RoA9uwdKi9wgm7"],"enrUri":"enr:-L24QJU4EpfrfzPwpxV-jAX_RIGytkmq5CBoHK4v0MeS1ApWHJK1f6n4fctItiZNYt78Xi49brFVvi-HTXT1ioYLf5ECgmlkgnY0gmlwhKwSFwSKbXVsdGlhZGRyc5YACASsEhcEBs4pAAoErBIXBAbOKt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDmqfNikCvkH-_T3-7diesg1mDNEzd2xIgHnBs-6cH3oqDdGNwgs4pg3VkcILOK4V3YWt1MgM"}'
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-03_04-41-00__bdf0b92b-bc36-48ce-95be-6131eea47498__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.190.110
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['53030', '53031', '53032', '53033', '53034']
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 53030:53030 -p 53031:53031 -p 53032:53032 -p 53033:53033 -p 53034:53034 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=53032 --rest-port=53030 --tcp-port=53031 --discv5-udp-port=53033 --rest-address=0.0.0.0 --nat=extip:172.18.190.110 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9cd0d6fc2ebbaddaab09f27a55b33edbcf45f8d69e72b8accaadcc9d634c0b3b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=53034 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QJU4EpfrfzPwpxV-jAX_RIGytkmq5CBoHK4v0MeS1ApWHJK1f6n4fctItiZNYt78Xi49brFVvi-HTXT1ioYLf5ECgmlkgnY0gmlwhKwSFwSKbXVsdGlhZGRyc5YACASsEhcEBs4pAAoErBIXBAbOKt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDmqfNikCvkH-_T3-7diesg1mDNEzd2xIgHnBs-6cH3oqDdGNwgs4pg3VkcILOK4V3YWt1MgM --storenode=/ip4/172.18.23.4/tcp/52777/p2p/16Uiu2HAmP4hYNuQKtyQ4sgHS5Ze8sWJMLkuoR6RoA9uwdKi9wgm7 --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.190.110 waku ceb4d0d5651f2e753ac7f343489ff0655ef1b31688233dd582a713deb025bdcd
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID ceb4d0d5651f. Setting up logs at ./log/docker/store_node1_2026-03-03_04-41-00__bdf0b92b-bc36-48ce-95be-6131eea47498__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 53030
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:53030/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:53030/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.190.110/tcp/53031/p2p/16Uiu2HAmPB9C7oTb8ZoK3gtxbSq27tixEcoxZHQHGW9G66eRiQ6G","/ip4/172.18.190.110/tcp/53032/ws/p2p/16Uiu2HAmPB9C7oTb8ZoK3gtxbSq27tixEcoxZHQHGW9G66eRiQ6G"],"enrUri":"enr:-L24QESeS40iBS6Twoi4nwbU7ye2F5hzDaqou-lpxi2ta0BXfP8wei3ZLoc_9M4N0rBikJqfW1WwK1u_ZdVtaWICyLoCgmlkgnY0gmlwhKwSvm6KbXVsdGlhZGRyc5YACASsEr5uBs8nAAoErBK-bgbPKN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDnE5KgzvhZvSpPLBztBMvFDzXgjKVVad0XiMrTyhx2DWDdGNwgs8ng3VkcILPKYV3YWt1MgM"}'
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:53030/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.23.4/tcp/52777/p2p/16Uiu2HAmP4hYNuQKtyQ4sgHS5Ze8sWJMLkuoR6RoA9uwdKi9wgm7"]'
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:52776/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:53030/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:52776/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:52776/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"}]}'
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:53030/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:262 Pausing container with id ceb4d0d5651f
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
DEBUG  src.node.waku_node:waku_node.py:267 Unpause container with id ceb4d0d5651f
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:53030/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:53030/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.190.110/tcp/53031/p2p/16Uiu2HAmPB9C7oTb8ZoK3gtxbSq27tixEcoxZHQHGW9G66eRiQ6G","/ip4/172.18.190.110/tcp/53032/ws/p2p/16Uiu2HAmPB9C7oTb8ZoK3gtxbSq27tixEcoxZHQHGW9G66eRiQ6G"],"enrUri":"enr:-L24QESeS40iBS6Twoi4nwbU7ye2F5hzDaqou-lpxi2ta0BXfP8wei3ZLoc_9M4N0rBikJqfW1WwK1u_ZdVtaWICyLoCgmlkgnY0gmlwhKwSvm6KbXVsdGlhZGRyc5YACASsEr5uBs8nAAoErBK-bgbPKN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDnE5KgzvhZvSpPLBztBMvFDzXgjKVVad0XiMrTyhx2DWDdGNwgs8ng3VkcILPKYV3YWt1MgM"}'
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:52776/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:52776/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"},{"messageHash":"0x89145a1bfbe9d2ea58e4a88b0f6723567ac782f7803f7f4a24f1dd6e6ca4eb02"}]}'
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:53030/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"},{"messageHash":"0x89145a1bfbe9d2ea58e4a88b0f6723567ac782f7803f7f4a24f1dd6e6ca4eb02"}]}'
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:52776/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"},{"messageHash":"0x89145a1bfbe9d2ea58e4a88b0f6723567ac782f7803f7f4a24f1dd6e6ca4eb02"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:53030/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":"0x90e2ff62c98037605602b896b2cefa84212a0a419be34350644479351d332a4a"},{"messageHash":"0x89145a1bfbe9d2ea58e4a88b0f6723567ac782f7803f7f4a24f1dd6e6ca4eb02"}]}'
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 12333955a076
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id ceb4d0d5651f
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.