75 lines
13 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_main_node_relay_and_store__peer_relay_and_store with id: 2026-03-13_04-36-07__3d4c02e9-f425-468b-accf-3de3881f49d1
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.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-13_04-36-07__3d4c02e9-f425-468b-accf-3de3881f49d1__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.170.205
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['61587', '61588', '61589', '61590', '61591']
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 61587:61587 -p 61588:61588 -p 61589:61589 -p 61590:61590 -p 61591:61591 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=61589 --rest-port=61587 --tcp-port=61588 --discv5-udp-port=61590 --rest-address=0.0.0.0 --nat=extip:172.18.170.205 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=25c53e20a37edb6cd698edae5a1e0cb06cee8f4afcb1f639faa7b5a2dfec6dd9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61591 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.170.205 waku 7dcbe19e2952182b8597e4cb712f68eb54efd0d7652a257a0d54f3e0a4788cdd
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container dbff743d9ff9. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7dcbe19e2952. Setting up logs at ./log/docker/publishing_node1_2026-03-13_04-36-07__3d4c02e9-f425-468b-accf-3de3881f49d1__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 61587
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 8ea56a19d09e. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:61587/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:61587/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.170.205/tcp/61588/p2p/16Uiu2HAm9eF8UnbjYAmzG1zA9iZRfVcj1jYH8wVqWNLfpismhQus","/ip4/172.18.170.205/tcp/61589/ws/p2p/16Uiu2HAm9eF8UnbjYAmzG1zA9iZRfVcj1jYH8wVqWNLfpismhQus"],"enrUri":"enr:-L24QA5QHFUKK7Lu0j7BbqV_TDSvycsf7DW0Ll4ToYssqhuSUThqery9qTcPpC9KKHFm67H5FJMYcgq-UuysX16l8WMCgmlkgnY0gmlwhKwSqs2KbXVsdGlhZGRyc5YACASsEqrNBvCUAAoErBKqzQbwld0DgnJzhQADAQAAiXNlY3AyNTZrMaEC0zwRuX4qphTUvFS3JKel13wc2tQLpizr8lj8M3eIZjaDdGNwgvCUg3VkcILwloV3YWt1MgM"}'
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-13_04-36-07__3d4c02e9-f425-468b-accf-3de3881f49d1__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.155.108
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['31082', '31083', '31084', '31085', '31086']
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 31082:31082 -p 31083:31083 -p 31084:31084 -p 31085:31085 -p 31086:31086 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=31084 --rest-port=31082 --tcp-port=31083 --discv5-udp-port=31085 --rest-address=0.0.0.0 --nat=extip:172.18.155.108 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7f59aa50decf90a6b2458bf94d889df00cb3ad49e01aea011add03d91cb2e402 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31086 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QA5QHFUKK7Lu0j7BbqV_TDSvycsf7DW0Ll4ToYssqhuSUThqery9qTcPpC9KKHFm67H5FJMYcgq-UuysX16l8WMCgmlkgnY0gmlwhKwSqs2KbXVsdGlhZGRyc5YACASsEqrNBvCUAAoErBKqzQbwld0DgnJzhQADAQAAiXNlY3AyNTZrMaEC0zwRuX4qphTUvFS3JKel13wc2tQLpizr8lj8M3eIZjaDdGNwgvCUg3VkcILwloV3YWt1MgM --storenode=/ip4/172.18.170.205/tcp/61588/p2p/16Uiu2HAm9eF8UnbjYAmzG1zA9iZRfVcj1jYH8wVqWNLfpismhQus --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.155.108 waku 5a61ac45822a7d86a96695a9e52e23ac2e9e7a0165be4791618347827260af69
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 5a61ac45822a. Setting up logs at ./log/docker/store_node1_2026-03-13_04-36-07__3d4c02e9-f425-468b-accf-3de3881f49d1__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 31082
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:31082/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:31082/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.155.108/tcp/31083/p2p/16Uiu2HAmLFbwsggkNpweGfsCLCUTtGuVGM4o9rmneifimWEGeKLk","/ip4/172.18.155.108/tcp/31084/ws/p2p/16Uiu2HAmLFbwsggkNpweGfsCLCUTtGuVGM4o9rmneifimWEGeKLk"],"enrUri":"enr:-L24QEJf0K3z3GpI91N8ro0Go6KPOBJVdl-0MLc-g6-243VEeiqIOCwdZ8QXK-BNx1g3xO8yYcyKoix3CvRar1Fi0jQCgmlkgnY0gmlwhKwSm2yKbXVsdGlhZGRyc5YACASsEptsBnlrAAoErBKbbAZ5bN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDcN_OCmYO1MlgQbVCDNcyKijEdTryzLQiBywJJlQCGhmDdGNwgnlrg3VkcIJ5bYV3YWt1MgM"}'
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:31082/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.170.205/tcp/61588/p2p/16Uiu2HAm9eF8UnbjYAmzG1zA9iZRfVcj1jYH8wVqWNLfpismhQus"]'
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:61587/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:31082/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:61587/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:61587/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":"0x9c4811efd73639a3b51ccb95aeccc948b1d2444849a151b3c82c190fafb5ac9b"}]}'
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:31082/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":"0x9c4811efd73639a3b51ccb95aeccc948b1d2444849a151b3c82c190fafb5ac9b"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
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 7dcbe19e2952
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 5a61ac45822a
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.