73 lines
12 KiB
Plaintext
73 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_2_nodes_different_cluster_different_shard with id: 2024-09-12_04-32-00__93b89e88-1d34-4ef6-b410-20707a7ab977
|
||
[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-32-00__93b89e88-1d34-4ef6-b410-20707a7ab977__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.144.218
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['64792', '64793', '64794', '64795', '64796']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:72 Cluster id was resolved to: 2
|
||
[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 64792:64792 -p 64793:64793 -p 64794:64794 -p 64795:64795 -p 64796:64796 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=64794 --rest-port=64792 --tcp-port=64793 --discv5-udp-port=64795 --rest-address=0.0.0.0 --nat=extip:172.18.144.218 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=7ea216dd96d2dfbea50b9ebfe03582dc6a225dfdd1d890a5e77e7b5d8dabed63 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=64796 --metrics-logging=true --relay=true --filter=true --pubsub-topic=/waku/2/rs/2/0
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.144.218 waku 6d736244062fd9a13c0617a3f77db8709d4e64906568462d1a2be285a327c3f9
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 6d736244062f. Setting up logs at ./log/docker/node1_2024-09-12_04-32-00__93b89e88-1d34-4ef6-b410-20707a7ab977__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 64792
|
||
[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:64792/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:64792/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.144.218/tcp/64793/p2p/16Uiu2HAmT8u7U1CNbtifW2UJyNUoMoC3piQFkA4zoTJRHVwSEbzb","/ip4/172.18.144.218/tcp/64794/ws/p2p/16Uiu2HAmT8u7U1CNbtifW2UJyNUoMoC3piQFkA4zoTJRHVwSEbzb"],"enrUri":"enr:-LO4QAwJ_AFGRtiHFbmVwl0iPwgsYawEqKx4zUnDetuSrlsiKtCBCmZsGPoJaSQIa5e00DXznenoRciJXl1AEH7fNpoBgmlkgnY0gmlwhKwSkNqKbXVsdGlhZGRyc4wACgSsEpDaBv0a3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPXKfTk5fxfSfTcx6IpGsiSwHTJJ6DNU_KNUhue8vvHLIN0Y3CC_RmDdWRwgv0bhXdha3UyBQ"}'
|
||
[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-32-00__93b89e88-1d34-4ef6-b410-20707a7ab977__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.113
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['3084', '3085', '3086', '3087', '3088']
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:72 Cluster id was resolved to: 4
|
||
[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 3084:3084 -p 3085:3085 -p 3086:3086 -p 3087:3087 -p 3088:3088 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=3086 --rest-port=3084 --tcp-port=3085 --discv5-udp-port=3087 --rest-address=0.0.0.0 --nat=extip:172.18.97.113 --peer-exchange=true --discv5-discovery=true --cluster-id=4 --nodekey=ae55fdcf1e5277a6acdedb9ce19c2fab65cea4ec85a96ded93ec5d89e326aef7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3088 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QAwJ_AFGRtiHFbmVwl0iPwgsYawEqKx4zUnDetuSrlsiKtCBCmZsGPoJaSQIa5e00DXznenoRciJXl1AEH7fNpoBgmlkgnY0gmlwhKwSkNqKbXVsdGlhZGRyc4wACgSsEpDaBv0a3QOCcnOFAAIBAACJc2VjcDI1NmsxoQPXKfTk5fxfSfTcx6IpGsiSwHTJJ6DNU_KNUhue8vvHLIN0Y3CC_RmDdWRwgv0bhXdha3UyBQ --pubsub-topic=/waku/2/rs/4/1
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.97.113 waku 3b14e911000243820ad4d8af837aa697593f967af9b95bf23c7c3ddb23d7a520
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 3b14e9110002. Setting up logs at ./log/docker/node2_2024-09-12_04-32-00__93b89e88-1d34-4ef6-b410-20707a7ab977__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 3084
|
||
[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:3084/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:3084/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.113/tcp/3085/p2p/16Uiu2HAmG1rXjvifafFycSNPyxNmmLTrQKsCuNVxvyf9Vnn9Sjvu","/ip4/172.18.97.113/tcp/3086/ws/p2p/16Uiu2HAmG1rXjvifafFycSNPyxNmmLTrQKsCuNVxvyf9Vnn9Sjvu"],"enrUri":"enr:-LO4QHafP1PCinC9tCNwYUx3pYclVPBUU6MyWkxjC7HwMIUKOfpXfiwXpeW7xXkPtxxG59osLJ-kfcsn-CYuHnDYiVwBgmlkgnY0gmlwhKwSYXGKbXVsdGlhZGRyc4wACgSsEmFxBgwO3QOCcnOFAAQBAAGJc2VjcDI1NmsxoQMx62p3S5iQ5AopLPWVF7q8iFX3uVwhfOhTfp1TJtpS5oN0Y3CCDA2DdWRwggwPhXdha3UyAQ"}'
|
||
[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:3084/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.144.218/tcp/64793/p2p/16Uiu2HAmT8u7U1CNbtifW2UJyNUoMoC3piQFkA4zoTJRHVwSEbzb"]'
|
||
[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:64792/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
|
||
[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:3084/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/4/1"]'
|
||
[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:64792/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -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:64792/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -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":1726115524720098304,"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:3084/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
|
||
[1m[31mERROR [0m 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:3084/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0. Response content: b''
|
||
[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 6d736244062f
|
||
[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 3b14e9110002
|
||
[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. |