78 lines
12 KiB
Plaintext
78 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_messages_with_timestamps_far_from_now with id: 2024-09-12_04-41-50__01f19b30-0e9b-41b3-be01-ecce18149f83
|
||
[35mDEBUG [0m src.steps.common:common.py:17 Running fixture setup: common_setup
|
||
[35mDEBUG [0m src.steps.store:store.py:28 Running fixture setup: store_setup
|
||
[35mDEBUG [0m src.steps.store:store.py:36 Running fixture setup: node_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/publishing_node1_2024-09-12_04-41-50__01f19b30-0e9b-41b3-be01-ecce18149f83__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.173.26
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['2246', '2247', '2248', '2249', '2250']
|
||
[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 2246:2246 -p 2247:2247 -p 2248:2248 -p 2249:2249 -p 2250:2250 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=2248 --rest-port=2246 --tcp-port=2247 --discv5-udp-port=2249 --rest-address=0.0.0.0 --nat=extip:172.18.173.26 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=57aaced2f394bdfd00cee83b07d989ed8afedd9bfabef204c5a43f387c35e3cb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2250 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.173.26 waku e74f05d30a9affe46d3d797e6e2c374130ab8f7281b4e167b91ee7acfa8f0f0e
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID e74f05d30a9a. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-41-50__01f19b30-0e9b-41b3-be01-ecce18149f83__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 2246
|
||
[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:2246/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:2246/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.173.26/tcp/2247/p2p/16Uiu2HAm3S1fE1tRV1W5ZmZ2YZtAsChyqjiaYe5hXjM4nxvaA9m9","/ip4/172.18.173.26/tcp/2248/ws/p2p/16Uiu2HAm3S1fE1tRV1W5ZmZ2YZtAsChyqjiaYe5hXjM4nxvaA9m9"],"enrUri":"enr:-LO4QJZiJnNlVlmSe-yaWIXIHp5AqtKyEyEs3OcGWmmTd8n8VoHN3y2Sc8pqlC_pFCZw8sWfvuGfjwrrJKy6wSBVyXoBgmlkgnY0gmlwhKwSrRqKbXVsdGlhZGRyc4wACgSsEq0aBgjI3QOCcnOFAAMBAACJc2VjcDI1NmsxoQJ2879b5VaK49lTd1NXl7lUhxW_XF9EN-F5-28Js6ma-IN0Y3CCCMeDdWRwggjJhXdha3UyAw"}'
|
||
[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/store_node1_2024-09-12_04-41-50__01f19b30-0e9b-41b3-be01-ecce18149f83__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.113.109
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['38581', '38582', '38583', '38584', '38585']
|
||
[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 38581:38581 -p 38582:38582 -p 38583:38583 -p 38584:38584 -p 38585:38585 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=38583 --rest-port=38581 --tcp-port=38582 --discv5-udp-port=38584 --rest-address=0.0.0.0 --nat=extip:172.18.113.109 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ebe97ad6768c359e29ebff7fbc7dabef4fe8bfbfed1e6ac93547ba471a17ae1e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=38585 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QJZiJnNlVlmSe-yaWIXIHp5AqtKyEyEs3OcGWmmTd8n8VoHN3y2Sc8pqlC_pFCZw8sWfvuGfjwrrJKy6wSBVyXoBgmlkgnY0gmlwhKwSrRqKbXVsdGlhZGRyc4wACgSsEq0aBgjI3QOCcnOFAAMBAACJc2VjcDI1NmsxoQJ2879b5VaK49lTd1NXl7lUhxW_XF9EN-F5-28Js6ma-IN0Y3CCCMeDdWRwggjJhXdha3UyAw --storenode=/ip4/172.18.173.26/tcp/2247/p2p/16Uiu2HAm3S1fE1tRV1W5ZmZ2YZtAsChyqjiaYe5hXjM4nxvaA9m9 --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.113.109 waku b2b10430f96afc731cb05aff4216e802ef2d9449b8c21bd5be6a622f17dafe95
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID b2b10430f96a. Setting up logs at ./log/docker/store_node1_2024-09-12_04-41-50__01f19b30-0e9b-41b3-be01-ecce18149f83__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 38581
|
||
[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:38581/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:38581/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.113.109/tcp/38582/p2p/16Uiu2HAmHt7v3LTYLt8z2YnnqoNvmnvwPWhcuTZc9tXCJJzKBF42","/ip4/172.18.113.109/tcp/38583/ws/p2p/16Uiu2HAmHt7v3LTYLt8z2YnnqoNvmnvwPWhcuTZc9tXCJJzKBF42"],"enrUri":"enr:-LO4QO0MU1QUy0GaJMqifGHjwV6RD5arDOvYrWs-LIvACq44a8KSatZEiHAIy5owBH9bOTZgqOuJLpSAHnZiPrL49Y4BgmlkgnY0gmlwhKwScW2KbXVsdGlhZGRyc4wACgSsEnFtBpa33QOCcnOFAAMBAACJc2VjcDI1NmsxoQNNp4ne0L7P596AVn6B-lDHheRIVR_Pin_vUSXyknJJt4N0Y3CClraDdWRwgpa4hXdha3UyAw"}'
|
||
[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:38581/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.173.26/tcp/2247/p2p/16Uiu2HAm3S1fE1tRV1W5ZmZ2YZtAsChyqjiaYe5hXjM4nxvaA9m9"]'
|
||
[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:2246/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/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:38581/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
|
||
[35mDEBUG [0m tests.store.test_time_filter:test_time_filter.py:42 Running test with payload 20 sec Past
|
||
[35mDEBUG [0m src.steps.store:store.py:129 Relaying message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:2246/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "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.2 seconds
|
||
[35mDEBUG [0m src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:2246/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%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'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[]}'
|
||
[35mDEBUG [0m tests.store.test_time_filter:test_time_filter.py:42 Running test with payload 40 sec Future
|
||
[35mDEBUG [0m src.steps.store:store.py:129 Relaying message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:2246/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "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.2 seconds
|
||
[35mDEBUG [0m src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:2246/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F3%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'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[]}'
|
||
[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 e74f05d30a9a
|
||
[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 b2b10430f96a
|
||
[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. |