71 lines
12 KiB
Plaintext
71 lines
12 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_pubsub_topic_also_in_docker_flags[/waku/2/rs/2/0] with id: 2024-09-12_04-31-00__9850feda-b4b4-4898-9fa6-361a10bedd18
|
||
[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-31-00__9850feda-b4b4-4898-9fa6-361a10bedd18__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.19.92
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['40668', '40669', '40670', '40671', '40672']
|
||
[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 40668:40668 -p 40669:40669 -p 40670:40670 -p 40671:40671 -p 40672:40672 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=40670 --rest-port=40668 --tcp-port=40669 --discv5-udp-port=40671 --rest-address=0.0.0.0 --nat=extip:172.18.19.92 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=b2fe6eb641ffa33ecb8988d06b9177fb6aa3facbe7ef35ed35c1bdaa4c9143a5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40672 --metrics-logging=true --relay=true --filter=true --pubsub-topic=/waku/2/rs/2/0 --content-topic=/myapp/1/latest/proto
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.19.92 waku 53b543a69fa740b4859ff295d5f02702ba9ff3cc168f7328938f0284b9a26143
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 53b543a69fa7. Setting up logs at ./log/docker/node1_2024-09-12_04-31-00__9850feda-b4b4-4898-9fa6-361a10bedd18__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 40668
|
||
[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:40668/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:40668/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.19.92/tcp/40669/p2p/16Uiu2HAm6tYcuRp7YNwhTwsJv1BPt2yZi8uXffwVhBSUodgWGnJw","/ip4/172.18.19.92/tcp/40670/ws/p2p/16Uiu2HAm6tYcuRp7YNwhTwsJv1BPt2yZi8uXffwVhBSUodgWGnJw"],"enrUri":"enr:-LO4QJZz3AuCW7kyZx_aWapp90TIKJVxEIy-74peQpQgIdZ2RfRV-Tc-48ks6_yflOlsofMoCzUykRoBEO6696vv-Q0BgmlkgnY0gmlwhKwSE1yKbXVsdGlhZGRyc4wACgSsEhNcBp7e3QOCcnOFAAIBAACJc2VjcDI1NmsxoQKqUup3djNur4vj2-976S3f-sP8mMgDs2IwVjzXUyFS7IN0Y3CCnt2DdWRwgp7fhXdha3UyBQ"}'
|
||
[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-31-00__9850feda-b4b4-4898-9fa6-361a10bedd18__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.148.69
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['42430', '42431', '42432', '42433', '42434']
|
||
[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 42430:42430 -p 42431:42431 -p 42432:42432 -p 42433:42433 -p 42434:42434 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=42432 --rest-port=42430 --tcp-port=42431 --discv5-udp-port=42433 --rest-address=0.0.0.0 --nat=extip:172.18.148.69 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=77cabf31fb9fdb2dc7ec8f471d4d318d7f39d44abdce52fe5fc77defff9dd5d6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42434 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QJZz3AuCW7kyZx_aWapp90TIKJVxEIy-74peQpQgIdZ2RfRV-Tc-48ks6_yflOlsofMoCzUykRoBEO6696vv-Q0BgmlkgnY0gmlwhKwSE1yKbXVsdGlhZGRyc4wACgSsEhNcBp7e3QOCcnOFAAIBAACJc2VjcDI1NmsxoQKqUup3djNur4vj2-976S3f-sP8mMgDs2IwVjzXUyFS7IN0Y3CCnt2DdWRwgp7fhXdha3UyBQ --pubsub-topic=/waku/2/rs/2/0 --content-topic=/myapp/1/latest/proto
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.148.69 waku a3a432abd4078a03dbef4569425418e8a15d9c52779a8ea29b94f1e48d30cc70
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID a3a432abd407. Setting up logs at ./log/docker/node2_2024-09-12_04-31-00__9850feda-b4b4-4898-9fa6-361a10bedd18__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 42430
|
||
[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:42430/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:42430/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.148.69/tcp/42431/p2p/16Uiu2HAmVAXkt2xFGGe7aN8jPiVgdezgCSXswvpfvMXi6NhMV6Vg","/ip4/172.18.148.69/tcp/42432/ws/p2p/16Uiu2HAmVAXkt2xFGGe7aN8jPiVgdezgCSXswvpfvMXi6NhMV6Vg"],"enrUri":"enr:-LO4QLpKPiQdHL-8GD_hKchX3Qkqr54DSUPYoFu2ZdiVsR2GXxeDXYSxS3RxaYIsZLk5LlTqOTNQeb5IqUVb6gK9sIABgmlkgnY0gmlwhKwSlEWKbXVsdGlhZGRyc4wACgSsEpRFBqXA3QOCcnOFAAIBAACJc2VjcDI1NmsxoQP1TFiTRfjjjEVTRXZ-uOcV-iSACxaqIfXSqRKQR1kvk4N0Y3CCpb-DdWRwgqXBhXdha3UyAQ"}'
|
||
[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:42430/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.19.92/tcp/40669/p2p/16Uiu2HAm6tYcuRp7YNwhTwsJv1BPt2yZi8uXffwVhBSUodgWGnJw"]'
|
||
[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:40668/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
|
||
[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:42430/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
|
||
[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:40668/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:40668/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":1726115464097982208,"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:42430/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":1726115464097982208,"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 53b543a69fa7
|
||
[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 a3a432abd407
|
||
[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. |