100 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_message_relayed_while_store_node_is_paused with id: 2026-03-11_04-41-09__c3ac1db5-56f8-4c33-a869-6c16873e84de
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-11_04-41-09__c3ac1db5-56f8-4c33-a869-6c16873e84de__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.174.68
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['36328', '36329', '36330', '36331', '36332']
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 36328:36328 -p 36329:36329 -p 36330:36330 -p 36331:36331 -p 36332:36332 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=36330 --rest-port=36328 --tcp-port=36329 --discv5-udp-port=36331 --rest-address=0.0.0.0 --nat=extip:172.18.174.68 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=093ac703bb6cfcd6cdff53b83a878b5645fcf1a3cc0a91ca34c17bd5cdcba393 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36332 --metrics-logging=true --store=true --relay=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 56f1c513da86. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.174.68 waku da38363c4325c1efca0067b8b28d289db768feb233a45cec6741a849224a4735
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID da38363c4325. Setting up logs at ./log/docker/publishing_node1_2026-03-11_04-41-09__c3ac1db5-56f8-4c33-a869-6c16873e84de__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 36328
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 401134d106bd. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:36328/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:36328/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.174.68/tcp/36329/p2p/16Uiu2HAm26svWAA7k8ha8WdanK8MTqEoks3w1YRQm4KtWhfQbpzB","/ip4/172.18.174.68/tcp/36330/ws/p2p/16Uiu2HAm26svWAA7k8ha8WdanK8MTqEoks3w1YRQm4KtWhfQbpzB"],"enrUri":"enr:-L24QJLQ1hHYxep3k4tQ0BBHR0uf1paY_C83RcbOLBRpo2D7Gp7Vf7O3WVn7pqYg8S7W_zIns_9x4fJ0ekdB_4-on7MCgmlkgnY0gmlwhKwSrkSKbXVsdGlhZGRyc5YACASsEq5EBo3pAAoErBKuRAaN6t0DgnJzhQADAQAAiXNlY3AyNTZrMaECYzFHBNXPvTG6QPeFzSbAYd05jXErFOzCIkURVWjAH5CDdGNwgo3pg3VkcIKN64V3YWt1MgM"}'
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-11_04-41-09__c3ac1db5-56f8-4c33-a869-6c16873e84de__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.16.97
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['8506', '8507', '8508', '8509', '8510']
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 8506:8506 -p 8507:8507 -p 8508:8508 -p 8509:8509 -p 8510:8510 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=8508 --rest-port=8506 --tcp-port=8507 --discv5-udp-port=8509 --rest-address=0.0.0.0 --nat=extip:172.18.16.97 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c13247b770bb078ad8b168104d92e806ec3e190dce738c893beefed2d5a7f9aa --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=8510 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QJLQ1hHYxep3k4tQ0BBHR0uf1paY_C83RcbOLBRpo2D7Gp7Vf7O3WVn7pqYg8S7W_zIns_9x4fJ0ekdB_4-on7MCgmlkgnY0gmlwhKwSrkSKbXVsdGlhZGRyc5YACASsEq5EBo3pAAoErBKuRAaN6t0DgnJzhQADAQAAiXNlY3AyNTZrMaECYzFHBNXPvTG6QPeFzSbAYd05jXErFOzCIkURVWjAH5CDdGNwgo3pg3VkcIKN64V3YWt1MgM --storenode=/ip4/172.18.174.68/tcp/36329/p2p/16Uiu2HAm26svWAA7k8ha8WdanK8MTqEoks3w1YRQm4KtWhfQbpzB --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.16.97 waku 86bf2b995221825087705c44e263f01b844dd6bfcac74502227c952ba00749b9
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 86bf2b995221. Setting up logs at ./log/docker/store_node1_2026-03-11_04-41-09__c3ac1db5-56f8-4c33-a869-6c16873e84de__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 8506
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:8506/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:8506/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.16.97/tcp/8507/p2p/16Uiu2HAmK9eKVSkfieCVNtekR8HR2ZY1emRDwp6DW6VVHnxeffTj","/ip4/172.18.16.97/tcp/8508/ws/p2p/16Uiu2HAmK9eKVSkfieCVNtekR8HR2ZY1emRDwp6DW6VVHnxeffTj"],"enrUri":"enr:-L24QEK49VWBVnqRotVqRq92q2WHN2MUvcPv8RFOQWmZm0LvIB69TgdLr-XoCq0udpYkXjyDtxGYxa7x9dN6yOWSOtsCgmlkgnY0gmlwhKwSEGGKbXVsdGlhZGRyc5YACASsEhBhBiE7AAoErBIQYQYhPN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDYH1Q3dN92DB0PJSuW36qDLMk2gSkx9l2s-4ChRJCVUaDdGNwgiE7g3VkcIIhPYV3YWt1MgM"}'
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:8506/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.174.68/tcp/36329/p2p/16Uiu2HAm26svWAA7k8ha8WdanK8MTqEoks3w1YRQm4KtWhfQbpzB"]'
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:36328/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:8506/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:36328/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:36328/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"}]}'
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:8506/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:262 Pausing container with id 86bf2b995221
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:36328/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.node.waku_node:waku_node.py:267 Unpause container with id 86bf2b995221
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:8506/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:8506/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.16.97/tcp/8507/p2p/16Uiu2HAmK9eKVSkfieCVNtekR8HR2ZY1emRDwp6DW6VVHnxeffTj","/ip4/172.18.16.97/tcp/8508/ws/p2p/16Uiu2HAmK9eKVSkfieCVNtekR8HR2ZY1emRDwp6DW6VVHnxeffTj"],"enrUri":"enr:-L24QEK49VWBVnqRotVqRq92q2WHN2MUvcPv8RFOQWmZm0LvIB69TgdLr-XoCq0udpYkXjyDtxGYxa7x9dN6yOWSOtsCgmlkgnY0gmlwhKwSEGGKbXVsdGlhZGRyc5YACASsEhBhBiE7AAoErBIQYQYhPN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDYH1Q3dN92DB0PJSuW36qDLMk2gSkx9l2s-4ChRJCVUaDdGNwgiE7g3VkcIIhPYV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
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:36328/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"},{"messageHash":"0x0bcb7a9b27f33671a229a4d0cc2dc959b772f1636663db9f800c28213aa4fe4c"}]}'
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:8506/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"},{"messageHash":"0x0bcb7a9b27f33671a229a4d0cc2dc959b772f1636663db9f800c28213aa4fe4c"}]}'
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:36328/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"},{"messageHash":"0x0bcb7a9b27f33671a229a4d0cc2dc959b772f1636663db9f800c28213aa4fe4c"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:8506/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":"0x3b0c8da95af94d7ff1000e3b7561eed0a7ced7250f9de838b07328dbe6bcf76d"},{"messageHash":"0x0bcb7a9b27f33671a229a4d0cc2dc959b772f1636663db9f800c28213aa4fe4c"}]}'
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 da38363c4325
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 86bf2b995221
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.