88 lines
14 KiB
Plaintext
88 lines
14 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_publish_while_peer_is_paused with id: 2024-09-12_04-26-41__88596618-440d-4b94-95f5-03ceb3dedb26
|
||
[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.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
|
||
[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-26-41__88596618-440d-4b94-95f5-03ceb3dedb26__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.6.23
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['46266', '46267', '46268', '46269', '46270']
|
||
[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 46266:46266 -p 46267:46267 -p 46268:46268 -p 46269:46269 -p 46270:46270 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=46268 --rest-port=46266 --tcp-port=46267 --discv5-udp-port=46269 --rest-address=0.0.0.0 --nat=extip:172.18.6.23 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bbed39261bece556acd3eb7e0ada9fe41a23a2c10df534fb4d45cdeefb3cbf8a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46270 --metrics-logging=true --relay=true
|
||
[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.167.79
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['22884', '22885', '22886', '22887', '22888']
|
||
[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 22884:22884 -p 22885:22885 -p 22886:22886 -p 22887:22887 -p 22888:22888 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=22886 --rest-port=22884 --tcp-port=22885 --discv5-udp-port=22887 --rest-address=0.0.0.0 --nat=extip:172.18.167.79 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=477cf8900e8ee8e8a1a01a5ac3ebd09be30c2e4cbea2f5e670bbcedd40dad9c6 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=22888 --metrics-logging=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.167.79 waku 7587f06e640bab7a24c43518f4568f34dd6163738f9e5cf35fbdae0ab5d57828
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 7587f06e640b. Setting up logs at ./log/docker/node1_2024-09-12_04-26-41__88596618-440d-4b94-95f5-03ceb3dedb26__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 22884
|
||
[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:22884/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:22884/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.167.79/tcp/22885/p2p/16Uiu2HAmJsjzNvksMJUuJ3fKgYaNBN2PQrYCVuyqL3wMxgAnVgA7","/ip4/172.18.167.79/tcp/22886/ws/p2p/16Uiu2HAmJsjzNvksMJUuJ3fKgYaNBN2PQrYCVuyqL3wMxgAnVgA7"],"enrUri":"enr:-LO4QMdmSOGqlsS0vak23eCASDctvK1VIWSropvM5ocAeSUjKufo8UfHYTnMSWxuPXivP7Gu4OIFagi_3g-Eea1fenkBgmlkgnY0gmlwhKwSp0-KbXVsdGlhZGRyc4wACgSsEqdPBllm3QOCcnOFAAMBAACJc2VjcDI1NmsxoQNcam8_1WhzzvOJ664LjVsFRy8XoW0gqIQGRoo4jkyynIN0Y3CCWWWDdWRwgllnhXdha3UyAQ"}'
|
||
[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-26-41__88596618-440d-4b94-95f5-03ceb3dedb26__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.15.74
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['28309', '28310', '28311', '28312', '28313']
|
||
[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 28309:28309 -p 28310:28310 -p 28311:28311 -p 28312:28312 -p 28313:28313 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=28311 --rest-port=28309 --tcp-port=28310 --discv5-udp-port=28312 --rest-address=0.0.0.0 --nat=extip:172.18.15.74 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d1efcbefec09a7a65d0daa23294bbdd17869f6dedd58b0788b4787bd48fc96da --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28313 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QMdmSOGqlsS0vak23eCASDctvK1VIWSropvM5ocAeSUjKufo8UfHYTnMSWxuPXivP7Gu4OIFagi_3g-Eea1fenkBgmlkgnY0gmlwhKwSp0-KbXVsdGlhZGRyc4wACgSsEqdPBllm3QOCcnOFAAMBAACJc2VjcDI1NmsxoQNcam8_1WhzzvOJ664LjVsFRy8XoW0gqIQGRoo4jkyynIN0Y3CCWWWDdWRwgllnhXdha3UyAQ
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.15.74 waku f3d6a7f58f0a883a04f36cce09161dd3c74bf6f1c5ca92dd0408611a0864c351
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID f3d6a7f58f0a. Setting up logs at ./log/docker/node2_2024-09-12_04-26-41__88596618-440d-4b94-95f5-03ceb3dedb26__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 28309
|
||
[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:28309/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:28309/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.15.74/tcp/28310/p2p/16Uiu2HAmFTC9F5MHQtctDEYSdVVxz3dWkzRcAekxKocEGEC51spr","/ip4/172.18.15.74/tcp/28311/ws/p2p/16Uiu2HAmFTC9F5MHQtctDEYSdVVxz3dWkzRcAekxKocEGEC51spr"],"enrUri":"enr:-LO4QPsVamDgGtF9bmujnmZKkF1fM5wWdN2VlUhyovkly_IkMWFyWVdtBptn2pIDYlvJCIscDabIYvobRA94VK4veckBgmlkgnY0gmlwhKwSD0qKbXVsdGlhZGRyc4wACgSsEg9KBm6X3QOCcnOFAAMBAACJc2VjcDI1NmsxoQMpjWy3M2I8LpCKvnmppUWNuBVCgsHrOBuyYLheOGS_v4N0Y3CCbpaDdWRwgm6YhXdha3UyAQ"}'
|
||
[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:28309/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.167.79/tcp/22885/p2p/16Uiu2HAmJsjzNvksMJUuJ3fKgYaNBN2PQrYCVuyqL3wMxgAnVgA7"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:22884/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/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:28309/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/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:22884/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.relay:relay.py:123 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:22884/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115205770070272,"ephemeral":false}]'
|
||
[35mDEBUG [0m src.steps.relay:relay.py:123 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:28309/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115205770070272,"ephemeral":false}]'
|
||
[32mINFO [0m src.steps.relay:relay.py:71 WARM UP successful!!
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:249 Pausing container with id f3d6a7f58f0a
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:22884/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.node.waku_node:waku_node.py:254 Unpause container with id f3d6a7f58f0a
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:28309/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115205887075328,"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 7587f06e640b
|
||
[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 f3d6a7f58f0a
|
||
[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. |