68 lines
12 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_node_uses_both_auto_and_regular_apis with id: 2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.sharding:sharding.py:30 Running fixture setup: sharding_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/node1_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__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.118.197
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['45762', '45763', '45764', '45765', '45766']
DEBUG  src.node.waku_node:waku_node.py:197 Removing pubsub-topic from nwaku args
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 45762:45762 -p 45763:45763 -p 45764:45764 -p 45765:45765 -p 45766:45766 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=45764 --rest-port=45762 --tcp-port=45763 --discv5-udp-port=45765 --rest-address=0.0.0.0 --nat=extip:172.18.118.197 --peer-exchange=true --discv5-discovery=true --cluster-id=199 --nodekey=eb09df850e795b8f3fcefb3fd41cd07cebeb8c8fba66783bdd42a2aea6c71c8e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=45766 --metrics-logging=true --relay=true --filter=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 66ccde7a8ba4. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.118.197 waku 18c3be30609d8fec0d07943cf73dd61f8347041a3cc78173d77526e8962d5a38
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 18c3be30609d. Setting up logs at ./log/docker/node1_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 45762
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:45762/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_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"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":"NOT_READY","desc":"No Store service peer 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: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:45762/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.118.197/tcp/45763/p2p/16Uiu2HAm3NaYFL5HUhFXdTBgbREmwdpcg1Tc7V3Mew768zE6C8u6","/ip4/172.18.118.197/tcp/45764/ws/p2p/16Uiu2HAm3NaYFL5HUhFXdTBgbREmwdpcg1Tc7V3Mew768zE6C8u6"],"enrUri":"enr:-L24QLCtmrpkZ4DJaFEWtgy9ZjIv6kWScYwkfCoFh1l6ejrSFh8nJkiGWkttMwotDP7ss0RXJ1jwlo-XgPb8j3cP7kcCgmlkgnY0gmlwhKwSdsWKbXVsdGlhZGRyc5YACASsEnbFBrLDAAoErBJ2xQayxN0DgnJzhQDHAQAAiXNlY3AyNTZrMaECdhKZ-QPKSpjYW_M4Z1R6nQM-FEb793ggqSiBO82sULGDdGNwgrLDg3VkcIKyxYV3YWt1MgU"}'
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/node2_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__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.1.12
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['39492', '39493', '39494', '39495', '39496']
DEBUG  src.node.waku_node:waku_node.py:197 Removing pubsub-topic from nwaku args
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 39492:39492 -p 39493:39493 -p 39494:39494 -p 39495:39495 -p 39496:39496 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=39494 --rest-port=39492 --tcp-port=39493 --discv5-udp-port=39495 --rest-address=0.0.0.0 --nat=extip:172.18.1.12 --peer-exchange=true --discv5-discovery=true --cluster-id=199 --nodekey=574a8aef7ccdad2cef0b4bddb0dcd5fd720df2a0ddeda1cda2fbc2d3f8710a7a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39496 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLCtmrpkZ4DJaFEWtgy9ZjIv6kWScYwkfCoFh1l6ejrSFh8nJkiGWkttMwotDP7ss0RXJ1jwlo-XgPb8j3cP7kcCgmlkgnY0gmlwhKwSdsWKbXVsdGlhZGRyc5YACASsEnbFBrLDAAoErBJ2xQayxN0DgnJzhQDHAQAAiXNlY3AyNTZrMaECdhKZ-QPKSpjYW_M4Z1R6nQM-FEb793ggqSiBO82sULGDdGNwgrLDg3VkcIKyxYV3YWt1MgU
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.1.12 waku e7a9316000c4bd62ccf17869220a7e05a922f398e4265d1d6e75cc8562216c27
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID e7a9316000c4. Setting up logs at ./log/docker/node2_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 39492
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:39492/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":"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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Filter Client":"READY"},{"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:39492/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.1.12/tcp/39493/p2p/16Uiu2HAmCn3eAcBpwQV7paEbuvKcb6Uoj1nFBCvMKHHwhDZmfH9d","/ip4/172.18.1.12/tcp/39494/ws/p2p/16Uiu2HAmCn3eAcBpwQV7paEbuvKcb6Uoj1nFBCvMKHHwhDZmfH9d"],"enrUri":"enr:-L24QL_lTun4bPajvU1mUij8MhHjEzwCN4diEBL8B9BGULUQAL7P7q6rNdhO-8bIlQuAf37WThJa28Mn9gdTJNt5fR0CgmlkgnY0gmlwhKwSAQyKbXVsdGlhZGRyc5YACASsEgEMBppFAAoErBIBDAaaRt0DgnJzhQDHAQAAiXNlY3AyNTZrMaEDAc7Jan8mT8YWWU8ce5gi3kQmvjjoQknTb4lHlF-8neSDdGNwgppFg3VkcIKaR4V3YWt1MgE"}'
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:39492/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.118.197/tcp/45763/p2p/16Uiu2HAm3NaYFL5HUhFXdTBgbREmwdpcg1Tc7V3Mew768zE6C8u6"]'
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:45762/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 500 Server Error: Internal Server Error for url: http://127.0.0.1:45762/relay/v1/auto/subscriptions. Response content: b'Subscribe failed:Failed to decode subscription event: Static sharding is used, relay subscriptions must specify a pubsub topic'
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 18c3be30609d
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id e7a9316000c4
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 18c3be30609d. Exiting log stream.
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.
DEBUG  tests.conftest:conftest.py:73 Running fixture teardown: attach_logs_on_fail
DEBUG  tests.conftest:conftest.py:74 Test failed, attempting to attach logs to the allure reports
DEBUG  src.libs.common:common.py:42 Attaching file ./log/docker/node2_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__wakuorg_nwaku:latest.log
DEBUG  src.libs.common:common.py:42 Attaching file ./log/docker/node1_2026-04-23_05-16-10__9380855d-fa03-49bd-8195-b98241de904b__wakuorg_nwaku:latest.log