98 lines
16 KiB
Plaintext
98 lines
16 KiB
Plaintext
[35mDEBUG [0m tests.conftest:conftest.py:51 Running fixture setup: test_id
|
||
[35mDEBUG [0m tests.conftest:conftest.py:57 Running test: test_store_without_pubsub_topic_and_content_topic with id: 2024-09-12_04-43-38__0212d518-6838-4438-a2d7-d112e564a29b
|
||
[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-43-38__0212d518-6838-4438-a2d7-d112e564a29b__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.169.78
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['9275', '9276', '9277', '9278', '9279']
|
||
[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 9275:9275 -p 9276:9276 -p 9277:9277 -p 9278:9278 -p 9279:9279 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=9277 --rest-port=9275 --tcp-port=9276 --discv5-udp-port=9278 --rest-address=0.0.0.0 --nat=extip:172.18.169.78 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f4a58b17a5408a7c2bf0134f3ef1288d7deabc0c4e09cd9f39e4c85ecbbeaaed --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9279 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.169.78 waku 4ac8ec3ad779869ca9a74365f604ebd4d60e72a78f5b0a073359b8fcb580b16a
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 4ac8ec3ad779. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-43-38__0212d518-6838-4438-a2d7-d112e564a29b__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 9275
|
||
[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:9275/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:9275/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.169.78/tcp/9276/p2p/16Uiu2HAmDEvZKp7cP7XWXXGidURHFVePzWwLQxUozSzWMTypETT2","/ip4/172.18.169.78/tcp/9277/ws/p2p/16Uiu2HAmDEvZKp7cP7XWXXGidURHFVePzWwLQxUozSzWMTypETT2"],"enrUri":"enr:-LO4QIo0bEWXw9_qWq5aNjUsHXK3kPo4JyL3u3zYq9_HzdYkdKvLteKeq5zMvvPeZkyOm4s70G1upfHSNR8UUsByfjgBgmlkgnY0gmlwhKwSqU6KbXVsdGlhZGRyc4wACgSsEqlOBiQ93QOCcnOFAAMBAACJc2VjcDI1NmsxoQMIsXWWDC1xgMxtYR6pwZ6TMvwpVSQMePjtF9uT2MQYBYN0Y3CCJDyDdWRwgiQ-hXdha3UyAw"}'
|
||
[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-43-38__0212d518-6838-4438-a2d7-d112e564a29b__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.142.83
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['16426', '16427', '16428', '16429', '16430']
|
||
[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 16426:16426 -p 16427:16427 -p 16428:16428 -p 16429:16429 -p 16430:16430 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=16428 --rest-port=16426 --tcp-port=16427 --discv5-udp-port=16429 --rest-address=0.0.0.0 --nat=extip:172.18.142.83 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b06bb22182afdceb8e50fe3afbeb2f352be3a6dc7885b9144b9cd6dfc36bcbec --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16430 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QIo0bEWXw9_qWq5aNjUsHXK3kPo4JyL3u3zYq9_HzdYkdKvLteKeq5zMvvPeZkyOm4s70G1upfHSNR8UUsByfjgBgmlkgnY0gmlwhKwSqU6KbXVsdGlhZGRyc4wACgSsEqlOBiQ93QOCcnOFAAMBAACJc2VjcDI1NmsxoQMIsXWWDC1xgMxtYR6pwZ6TMvwpVSQMePjtF9uT2MQYBYN0Y3CCJDyDdWRwgiQ-hXdha3UyAw --storenode=/ip4/172.18.169.78/tcp/9276/p2p/16Uiu2HAmDEvZKp7cP7XWXXGidURHFVePzWwLQxUozSzWMTypETT2 --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.142.83 waku 67b32aefa4bbfb9a03c6dcc3bc5a143cd77f48b879a37c656faa286a54e1d472
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 67b32aefa4bb. Setting up logs at ./log/docker/store_node1_2024-09-12_04-43-38__0212d518-6838-4438-a2d7-d112e564a29b__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 16426
|
||
[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:16426/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:16426/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.142.83/tcp/16427/p2p/16Uiu2HAmLwk1axQfsLWFXMtgcePX65z7sGea8GKiNpbiYrKsPSLs","/ip4/172.18.142.83/tcp/16428/ws/p2p/16Uiu2HAmLwk1axQfsLWFXMtgcePX65z7sGea8GKiNpbiYrKsPSLs"],"enrUri":"enr:-LO4QId2u1k_jruoWm1EYSHfhYT9ZD9ppO8fhlI2p24OcVSsSryDOr03Eot9jlqQyeMZERigYZEp2aFR4URWs8rIKpEBgmlkgnY0gmlwhKwSjlOKbXVsdGlhZGRyc4wACgSsEo5TBkAs3QOCcnOFAAMBAACJc2VjcDI1NmsxoQN7KCe61m-K5SdBFCdP3TJdHqOf1wg93HcOnhKdt8rHlIN0Y3CCQCuDdWRwgkAthXdha3UyAw"}'
|
||
[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:16426/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.169.78/tcp/9276/p2p/16Uiu2HAmDEvZKp7cP7XWXXGidURHFVePzWwLQxUozSzWMTypETT2"]'
|
||
[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:9275/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:16426/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:9275/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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/waku/2/content/test.js", "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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/app/22/sometopic/someencoding", "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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/statusim/1/community/cbor", "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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/app/27/sometopic/someencoding", "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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/app/29/sometopic/someencoding", "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:9275/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/app/20/sometopic/someencoding", "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
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9275/store/v3/messages?pageSize=20&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":"RcDHTaffwDUA53of79VL2S4+W7O+Dw0x3HnXcw9aH0A="},{"messageHash":"wfEBpRx0/bA/i3EpEGBY5/gFn4EeUroRsq1oPGsaKu4="},{"messageHash":"qOcW+NDb3IwPt3D3IA8IhO64x81oayyqcTD5xR7KQng="},{"messageHash":"rMbM3vdj6ihBghJ5+79BqX5+vXdXTiXVIKz8i+nKARo="},{"messageHash":"IB38iR5YJ5Wxk/Yfi6wMkrK2WWogKIrnj2BJY9AFXcY="},{"messageHash":"rfotp1mKlamYwcfopmBxythKUYxszu73lYIQYo2bu/M="},{"messageHash":"yZwFKBX2yu9nN4C7QA82YZB7Ziwe/s+jCrYuddeazXA="},{"messageHash":"6cc0Q6IbZGTHXvCgujVjTlIimfqFmmXBgo0rpXBRI5U="}]}'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16426/store/v3/messages?pageSize=20&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":"RcDHTaffwDUA53of79VL2S4+W7O+Dw0x3HnXcw9aH0A="},{"messageHash":"wfEBpRx0/bA/i3EpEGBY5/gFn4EeUroRsq1oPGsaKu4="},{"messageHash":"qOcW+NDb3IwPt3D3IA8IhO64x81oayyqcTD5xR7KQng="},{"messageHash":"rMbM3vdj6ihBghJ5+79BqX5+vXdXTiXVIKz8i+nKARo="},{"messageHash":"IB38iR5YJ5Wxk/Yfi6wMkrK2WWogKIrnj2BJY9AFXcY="},{"messageHash":"rfotp1mKlamYwcfopmBxythKUYxszu73lYIQYo2bu/M="},{"messageHash":"yZwFKBX2yu9nN4C7QA82YZB7Ziwe/s+jCrYuddeazXA="},{"messageHash":"6cc0Q6IbZGTHXvCgujVjTlIimfqFmmXBgo0rpXBRI5U="}]}'
|
||
[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 4ac8ec3ad779
|
||
[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 67b32aefa4bb
|
||
[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. |