72 lines
12 KiB
Plaintext
72 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_get_store_message_with_version with id: 2024-09-12_04-35-41__16450089-0820-4a16-b9dc-9d1abf93863f
|
||
[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-35-41__16450089-0820-4a16-b9dc-9d1abf93863f__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.233.24
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['44812', '44813', '44814', '44815', '44816']
|
||
[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 44812:44812 -p 44813:44813 -p 44814:44814 -p 44815:44815 -p 44816:44816 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=44814 --rest-port=44812 --tcp-port=44813 --discv5-udp-port=44815 --rest-address=0.0.0.0 --nat=extip:172.18.233.24 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=dcc6dcaadedec19aaf859c7337fc3c789a5df3e7eaea953feda954dc11b66e3e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=44816 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.233.24 waku 210f63074f53753ca18d8695dbf9f55ca0b807df689281feb0f056c418a56bf5
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 210f63074f53. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-35-41__16450089-0820-4a16-b9dc-9d1abf93863f__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 44812
|
||
[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:44812/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:44812/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.233.24/tcp/44813/p2p/16Uiu2HAm7t6Cxigepk4E83nJVXXkTb7KpHXpWQQeD1Ve8Lx2smWn","/ip4/172.18.233.24/tcp/44814/ws/p2p/16Uiu2HAm7t6Cxigepk4E83nJVXXkTb7KpHXpWQQeD1Ve8Lx2smWn"],"enrUri":"enr:-LO4QMmbENFG0QQVyXfp4WLwOi2Ro59eBls8d9EbZzvZanUcOJTKNPLsuV-RHM-3C_BaHzDpA1CXCGbs09Xv_eTxJGUBgmlkgnY0gmlwhKwS6RiKbXVsdGlhZGRyc4wACgSsEukYBq8O3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK5ELzc-H8B94DKZz_W-6tNNlGlzv-z69i9zV3kplhEb4N0Y3CCrw2DdWRwgq8PhXdha3UyAw"}'
|
||
[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-35-41__16450089-0820-4a16-b9dc-9d1abf93863f__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.44.114
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['19765', '19766', '19767', '19768', '19769']
|
||
[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 19765:19765 -p 19766:19766 -p 19767:19767 -p 19768:19768 -p 19769:19769 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=19767 --rest-port=19765 --tcp-port=19766 --discv5-udp-port=19768 --rest-address=0.0.0.0 --nat=extip:172.18.44.114 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fafc9afeebdab341a5d6dd8ec2801cd46d63af62abbcdaacada132ab8b7be81d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=19769 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QMmbENFG0QQVyXfp4WLwOi2Ro59eBls8d9EbZzvZanUcOJTKNPLsuV-RHM-3C_BaHzDpA1CXCGbs09Xv_eTxJGUBgmlkgnY0gmlwhKwS6RiKbXVsdGlhZGRyc4wACgSsEukYBq8O3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK5ELzc-H8B94DKZz_W-6tNNlGlzv-z69i9zV3kplhEb4N0Y3CCrw2DdWRwgq8PhXdha3UyAw --storenode=/ip4/172.18.233.24/tcp/44813/p2p/16Uiu2HAm7t6Cxigepk4E83nJVXXkTb7KpHXpWQQeD1Ve8Lx2smWn --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.44.114 waku bd967a616592c027a75f410846b594218714c931a16794c6bc190096f8d162f0
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID bd967a616592. Setting up logs at ./log/docker/store_node1_2024-09-12_04-35-41__16450089-0820-4a16-b9dc-9d1abf93863f__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 19765
|
||
[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:19765/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:19765/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.44.114/tcp/19766/p2p/16Uiu2HAmUPLn4SVTZvuDP8S93uPU7CQ2JxsQAnymhANpBNTXojvz","/ip4/172.18.44.114/tcp/19767/ws/p2p/16Uiu2HAmUPLn4SVTZvuDP8S93uPU7CQ2JxsQAnymhANpBNTXojvz"],"enrUri":"enr:-LO4QOxL1QkB8kjcCDZ4W-nsU0YlQfakkHgzne9uKaXkkNKQHUfpvRBzgHFxnZ6t3Xn6Qgnru00V2dRALm5chXgRwZEBgmlkgnY0gmlwhKwSLHKKbXVsdGlhZGRyc4wACgSsEixyBk033QOCcnOFAAMBAACJc2VjcDI1NmsxoQPpuMt6vlskBFKYahdjTOD7N4U0cXjwOcbHIfemJH_Cs4N0Y3CCTTaDdWRwgk04hXdha3UyAw"}'
|
||
[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:19765/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.233.24/tcp/44813/p2p/16Uiu2HAm7t6Cxigepk4E83nJVXXkTb7KpHXpWQQeD1Ve8Lx2smWn"]'
|
||
[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:44812/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:19765/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 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:44812/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)', "version": 10}'
|
||
[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:44812/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -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":[{"messageHash":"Jgvs60UMgTGfREtUSYQNjSnC2ay7XyzTnFC44x+ugVg="}]}'
|
||
[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:19765/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -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":[{"messageHash":"Jgvs60UMgTGfREtUSYQNjSnC2ay7XyzTnFC44x+ugVg="}]}'
|
||
[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 210f63074f53
|
||
[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 bd967a616592
|
||
[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. |