76 lines
12 KiB
Plaintext
76 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_duplicate_messages with id: 2024-09-12_04-35-49__17843dfe-e083-4c91-9410-8b583a5c71a9
|
||
[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-49__17843dfe-e083-4c91-9410-8b583a5c71a9__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.224.31
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['41808', '41809', '41810', '41811', '41812']
|
||
[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 41808:41808 -p 41809:41809 -p 41810:41810 -p 41811:41811 -p 41812:41812 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=41810 --rest-port=41808 --tcp-port=41809 --discv5-udp-port=41811 --rest-address=0.0.0.0 --nat=extip:172.18.224.31 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ec8adda209cda9ddd52ce2be61abaebea956e4e37d4d3d1e1de68fc542ff50bf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41812 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.224.31 waku 2d249cf74df2675383d14bb389b94d57a8b68172b1466fc862295dd9a33337d5
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 2d249cf74df2. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-35-49__17843dfe-e083-4c91-9410-8b583a5c71a9__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 41808
|
||
[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:41808/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:41808/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.224.31/tcp/41809/p2p/16Uiu2HAmBz6KgYH6hSo6USoW38NZtRPNsKS517YmRemBxjAXkTCz","/ip4/172.18.224.31/tcp/41810/ws/p2p/16Uiu2HAmBz6KgYH6hSo6USoW38NZtRPNsKS517YmRemBxjAXkTCz"],"enrUri":"enr:-LO4QL9YVEAg9pdWaXPBIc0z9DVBhDCSwmUYC4b6w-fTEuPQBap9Ug_xZZfgTQioWh6FfiZBsWv-TtAKQ5UG4-5alaoBgmlkgnY0gmlwhKwS4B-KbXVsdGlhZGRyc4wACgSsEuAfBqNS3QOCcnOFAAMBAACJc2VjcDI1NmsxoQL2CRnw72EC2Y64-kPLQSqpM8NlzYlaF51rJHGvZofFl4N0Y3CCo1GDdWRwgqNThXdha3UyAw"}'
|
||
[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-49__17843dfe-e083-4c91-9410-8b583a5c71a9__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.191.159
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['41306', '41307', '41308', '41309', '41310']
|
||
[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 41306:41306 -p 41307:41307 -p 41308:41308 -p 41309:41309 -p 41310:41310 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=41308 --rest-port=41306 --tcp-port=41307 --discv5-udp-port=41309 --rest-address=0.0.0.0 --nat=extip:172.18.191.159 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fa210a46ec7b6cbce8bdbc8802429b5d6c01cf5fa9ddbcbebbdafaaae8f7adc7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41310 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QL9YVEAg9pdWaXPBIc0z9DVBhDCSwmUYC4b6w-fTEuPQBap9Ug_xZZfgTQioWh6FfiZBsWv-TtAKQ5UG4-5alaoBgmlkgnY0gmlwhKwS4B-KbXVsdGlhZGRyc4wACgSsEuAfBqNS3QOCcnOFAAMBAACJc2VjcDI1NmsxoQL2CRnw72EC2Y64-kPLQSqpM8NlzYlaF51rJHGvZofFl4N0Y3CCo1GDdWRwgqNThXdha3UyAw --storenode=/ip4/172.18.224.31/tcp/41809/p2p/16Uiu2HAmBz6KgYH6hSo6USoW38NZtRPNsKS517YmRemBxjAXkTCz --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.191.159 waku bd30eefe9f2c3b78a3cd0ec54c70d8f58313ddb4f3075a2336131ef4ecf34c01
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID bd30eefe9f2c. Setting up logs at ./log/docker/store_node1_2024-09-12_04-35-49__17843dfe-e083-4c91-9410-8b583a5c71a9__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 41306
|
||
[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:41306/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:41306/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.191.159/tcp/41307/p2p/16Uiu2HAkyrAmZzzUNKMqcZEaofKhxrAS3j2X7rb6fAjpvSD1n98L","/ip4/172.18.191.159/tcp/41308/ws/p2p/16Uiu2HAkyrAmZzzUNKMqcZEaofKhxrAS3j2X7rb6fAjpvSD1n98L"],"enrUri":"enr:-LO4QPjAyCoKGatQ6pfK65viT_pqzw7R-3MBBBOtkaE6xRqWWG3FNzU9CKLuF47_cQZ1i-Ou3lMZr7astsar2wgscZIBgmlkgnY0gmlwhKwSv5-KbXVsdGlhZGRyc4wACgSsEr-fBqFc3QOCcnOFAAMBAACJc2VjcDI1NmsxoQJBtT0-AIokORod01W6OTkLobTraRB_c-K1Nv7nVAoHEYN0Y3CCoVuDdWRwgqFdhXdha3UyAw"}'
|
||
[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:41306/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.224.31/tcp/41809/p2p/16Uiu2HAmBz6KgYH6hSo6USoW38NZtRPNsKS517YmRemBxjAXkTCz"]'
|
||
[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:41808/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:41306/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:41808/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:129 Relaying message
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:41808/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:41808/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":"SEQzEuyQ/NSgdu8uSFyiT5c2+yYpobbivQxe15TBKZk="}]}'
|
||
[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:41306/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":"SEQzEuyQ/NSgdu8uSFyiT5c2+yYpobbivQxe15TBKZk="}]}'
|
||
[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 2d249cf74df2
|
||
[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 bd30eefe9f2c
|
||
[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. |