69 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_cant_retrieve_messages_on_not_subscribed_content_topic with id: 2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a
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:86 WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__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.227.42
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['1707', '1708', '1709', '1710', '1711']
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 1707:1707 -p 1708:1708 -p 1709:1709 -p 1710:1710 -p 1711:1711 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=1709 --rest-port=1707 --tcp-port=1708 --discv5-udp-port=1710 --rest-address=0.0.0.0 --nat=extip:172.18.227.42 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=d9fcabbc45e20a8b40c42f86618e238daacfd7d668cd5eee8acf4fcd73dfe77c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1711 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.227.42 waku ef30c4626a261d51567b5fde79a4961f6c286dec0e07ae3aea9e5c5c8475d72d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID ef30c4626a26. Setting up logs at ./log/docker/node1_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 1707
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 c3ba7ddfbcaf. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1707/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","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"},{"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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"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"}]}'
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:1707/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.227.42/tcp/1708/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o","/ip4/172.18.227.42/tcp/1709/ws/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o"],"enrUri":"enr:-L24QCoQzu8TFC2Lzo925v5DK0Bpyyi8PelezHtYmfCOb1twQ3zPsCRALAmzk2viq8uKTwbOXFxaNBla-U9pA5XCMRgCgmlkgnY0gmlwhKwS4yqKbXVsdGlhZGRyc5YACASsEuMqBgasAAoErBLjKgYGrd0DgnJzhQACAQAAiXNlY3AyNTZrMaECNpyMtwJpaLcIzb2OJsbf8_5CM0WmWPsazXJU-W_b3TKDdGNwggasg3VkcIIGroV3YWt1MgU"}'
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/node2_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__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.25.36
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['48172', '48173', '48174', '48175', '48176']
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 48172:48172 -p 48173:48173 -p 48174:48174 -p 48175:48175 -p 48176:48176 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=48174 --rest-port=48172 --tcp-port=48173 --discv5-udp-port=48175 --rest-address=0.0.0.0 --nat=extip:172.18.25.36 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=9f7dc761aab1f7eee56ea7b6c56c1fd872ce37eddc05b7368bef778c4ff52fca --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=48176 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCoQzu8TFC2Lzo925v5DK0Bpyyi8PelezHtYmfCOb1twQ3zPsCRALAmzk2viq8uKTwbOXFxaNBla-U9pA5XCMRgCgmlkgnY0gmlwhKwS4yqKbXVsdGlhZGRyc5YACASsEuMqBgasAAoErBLjKgYGrd0DgnJzhQACAQAAiXNlY3AyNTZrMaECNpyMtwJpaLcIzb2OJsbf8_5CM0WmWPsazXJU-W_b3TKDdGNwggasg3VkcIIGroV3YWt1MgU --content-topic=/myapp/1/latest/proto --num-shards-in-network=8
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.25.36 waku 87580e7c6757a6eb5b77963d5f8b6ece0f7e4484fa62913593255e66ae6badb9
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 87580e7c6757. Setting up logs at ./log/docker/node2_2025-12-08_12-15-48__12d49526-70f0-40bf-952f-63fdc821874a__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 48172
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:48172/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","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"READY"}]}'
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:48172/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.25.36/tcp/48173/p2p/16Uiu2HAmUJnEdjhwei2yfG5GsHcN6RupFPB7LroH6KtVCaVD5fGC","/ip4/172.18.25.36/tcp/48174/ws/p2p/16Uiu2HAmUJnEdjhwei2yfG5GsHcN6RupFPB7LroH6KtVCaVD5fGC"],"enrUri":"enr:-L24QEmhME7oltPYoc1dbjdgf2-Lnu5O7YTG0Es_FeRniGk2WOOpyzFO516OaJx-UBnb2M4l7bfawwIt6FS7qYs4NXECgmlkgnY0gmlwhKwSGSSKbXVsdGlhZGRyc5YACASsEhkkBrwtAAoErBIZJAa8Lt0DgnJzhQACAQAAiXNlY3AyNTZrMaED6I2tK4O7vJ58a6e0otiN8p0UfEvoElhLWkUsUMvE1WmDdGNwgrwtg3VkcIK8L4V3YWt1MgE"}'
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:48172/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.227.42/tcp/1708/p2p/16Uiu2HAky6rSzgupZKcdrGL5RhA1TNqVw6SGWUTGeGWb9GJfYF3o"]'
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:1707/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
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:48172/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
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:1707/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/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.1 seconds
DEBUG  src.steps.sharding:sharding.py:158 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1707/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 404 Client Error: Not Found for url: http://127.0.0.1:1707/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto. Response content: b'/toychat/2/huilong/proto'
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 ef30c4626a26
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 87580e7c6757
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.