67 lines
11 KiB
Plaintext
67 lines
11 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_retrieve_messages_without_subscribing_via_api with id: 2024-09-12_04-28-44__2aed4e7e-4367-4718-8bff-ab023038bedd
|
||
[35mDEBUG [0m src.steps.common:common.py:17 Running fixture setup: common_setup
|
||
[35mDEBUG [0m src.steps.relay:relay.py:28 Running fixture setup: relay_setup
|
||
[35mDEBUG [0m src.steps.sharding:sharding.py:29 Running fixture setup: sharding_setup
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node1_2024-09-12_04-28-44__2aed4e7e-4367-4718-8bff-ab023038bedd__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.192.209
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['13398', '13399', '13400', '13401', '13402']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 13398:13398 -p 13399:13399 -p 13400:13400 -p 13401:13401 -p 13402:13402 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=13400 --rest-port=13398 --tcp-port=13399 --discv5-udp-port=13401 --rest-address=0.0.0.0 --nat=extip:172.18.192.209 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=5edca10b0ab4f269f12022c0a8afc965bec4c3d1fb3abb12bc57d6ab2eb22eaf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=13402 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.192.209 waku f0d967adeb16262f3679c8a14787527c007a5408e77b8a43ea19004a8a5cc7a8
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID f0d967adeb16. Setting up logs at ./log/docker/node1_2024-09-12_04-28-44__2aed4e7e-4367-4718-8bff-ab023038bedd__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 13398
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:13398/health" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:13398/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.192.209/tcp/13399/p2p/16Uiu2HAmUJUvQvBiQ7QJmCMGEqc6VD3irF6NRREXDbdk7FuATQyd","/ip4/172.18.192.209/tcp/13400/ws/p2p/16Uiu2HAmUJUvQvBiQ7QJmCMGEqc6VD3irF6NRREXDbdk7FuATQyd"],"enrUri":"enr:-LO4QP1T5uycCZkqmZZGaatcGBi6ZeRcXq0Bc72bq88lRMumNApZR7eY5PcnaUiAwohNnZ0HZp2hM0if-ZbfRKbpgb4BgmlkgnY0gmlwhKwSwNGKbXVsdGlhZGRyc4wACgSsEsDRBjRY3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPoehlpkdkPhgLIGKENVi0V714a5TWJHSD6svks0eOOsIN0Y3CCNFeDdWRwgjRZhXdha3UyBQ"}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/node2_2024-09-12_04-28-44__2aed4e7e-4367-4718-8bff-ab023038bedd__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:89 Starting Node...
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.97.71
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['16769', '16770', '16771', '16772', '16773']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:434 RLN credentials were not set
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:165 Using volumes []
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 16769:16769 -p 16770:16770 -p 16771:16771 -p 16772:16772 -p 16773:16773 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=16771 --rest-port=16769 --tcp-port=16770 --discv5-udp-port=16772 --rest-address=0.0.0.0 --nat=extip:172.18.97.71 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=9bbba64ad3dcfb81a1fb79d7ad4aead0dcd15c5eaffdcc0f23c5cc67c20d2fb9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16773 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QP1T5uycCZkqmZZGaatcGBi6ZeRcXq0Bc72bq88lRMumNApZR7eY5PcnaUiAwohNnZ0HZp2hM0if-ZbfRKbpgb4BgmlkgnY0gmlwhKwSwNGKbXVsdGlhZGRyc4wACgSsEsDRBjRY3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPoehlpkdkPhgLIGKENVi0V714a5TWJHSD6svks0eOOsIN0Y3CCNFeDdWRwgjRZhXdha3UyBQ --content-topic=/myapp/1/latest/proto
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.97.71 waku 4d7386eec01dcbfba090db7991ed382a16d6d5ed569edaa73cd71afd4075921c
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 4d7386eec01d. Setting up logs at ./log/docker/node2_2024-09-12_04-28-44__2aed4e7e-4367-4718-8bff-ab023038bedd__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 16769
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 1 seconds
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16769/health" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16769/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.97.71/tcp/16770/p2p/16Uiu2HAmUA4sGzkvxdbnBTpUCyJ8wkzYFURjrwJC87rVRGCmSzKP","/ip4/172.18.97.71/tcp/16771/ws/p2p/16Uiu2HAmUA4sGzkvxdbnBTpUCyJ8wkzYFURjrwJC87rVRGCmSzKP"],"enrUri":"enr:-LO4QAz9KmHfu5VMwluG643mg0O_XWI6Nuj8vuQOvis6rQjad8m0_Dy_JRJPABDLUuoaYokb_TUVcLIvTF_qjKrWgroBgmlkgnY0gmlwhKwSYUeKbXVsdGlhZGRyc4wACgSsEmFHBkGD3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPmUkE4AlgG0NeSsuoVhyhU8X2SUaAt9GCV9C4q7DrbdoN0Y3CCQYKDdWRwgkGEhXdha3UyAQ"}'
|
||
[32mINFO [0m src.node.waku_node:waku_node.py:282 REST service is ready !!
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:16769/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.192.209/tcp/13399/p2p/16Uiu2HAmUJUvQvBiQ7QJmCMGEqc6VD3irF6NRREXDbdk7FuATQyd"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:13398/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m src.libs.common:common.py:35 Sleeping for 0.1 seconds
|
||
[35mDEBUG [0m src.steps.sharding:sharding.py:157 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:13398/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1726115328095602432,"ephemeral":false}]'
|
||
[35mDEBUG [0m src.steps.sharding:sharding.py:157 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16769/relay/v1/auto/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1726115328095602432,"ephemeral":false}]'
|
||
[35mDEBUG [0m tests.conftest:conftest.py:59 Running fixture teardown: test_setup
|
||
[35mDEBUG [0m tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id f0d967adeb16
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:221 Stopping container with id 4d7386eec01d
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:228 Container stopped.
|
||
[35mDEBUG [0m tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs. |