waku-interop-tests/nim/357/data/attachments/8510bae4a10d9cc5.txt

71 lines
11 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_main_node_relay_and_store__peer_relay_and_store with id: 2024-09-12_04-40-32__4649249f-c4c6-4e31-b4f8-1449975231f4
DEBUG  src.steps.common:common.py:17 Running fixture setup: common_setup
DEBUG  src.steps.store:store.py:28 Running fixture setup: store_setup
DEBUG  src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/publishing_node1_2024-09-12_04-40-32__4649249f-c4c6-4e31-b4f8-1449975231f4__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:89 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.162.155
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['14995', '14996', '14997', '14998', '14999']
DEBUG  src.node.waku_node:waku_node.py:434 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:165 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 14995:14995 -p 14996:14996 -p 14997:14997 -p 14998:14998 -p 14999:14999 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=14997 --rest-port=14995 --tcp-port=14996 --discv5-udp-port=14998 --rest-address=0.0.0.0 --nat=extip:172.18.162.155 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a6db940c7cbcbca0b98a442fcdd7f825c6a3e98f94ae4bcfc34671dbcada346c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=14999 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.162.155 waku 743ef0333c115be3e481c15357150c7066e3c8b6c58cf6036f34e1d1cf25cd68
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 743ef0333c11. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-40-32__4649249f-c4c6-4e31-b4f8-1449975231f4__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 14995
DEBUG  src.libs.common:common.py:35 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:14995/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
INFO  src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:14995/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.162.155/tcp/14996/p2p/16Uiu2HAmLN7vHp8w7AEqm8ruYxMR78wqFYennQTMdc2iB714vUqj","/ip4/172.18.162.155/tcp/14997/ws/p2p/16Uiu2HAmLN7vHp8w7AEqm8ruYxMR78wqFYennQTMdc2iB714vUqj"],"enrUri":"enr:-LO4QEFYc6SSvEAQvpo0KDoXtC3fCcrBnViD_gHA7n8fp4MRL5q51F7twIbPuLhHiqT7GHj2DEiV4OJiSBRT1TSi01sBgmlkgnY0gmlwhKwSopuKbXVsdGlhZGRyc4wACgSsEqKbBjqV3QOCcnOFAAMBAACJc2VjcDI1NmsxoQNyiy4P0_0dxueZPhcYU6i5svnW_4eWuQAus_F4uxTczoN0Y3CCOpSDdWRwgjqWhXdha3UyAw"}'
INFO  src.node.waku_node:waku_node.py:282 REST service is ready !!
DEBUG  src.node.docker_mananger:docker_mananger.py:18 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:85 WakuNode instance initialized with log path ./log/docker/store_node1_2024-09-12_04-40-32__4649249f-c4c6-4e31-b4f8-1449975231f4__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:89 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:21 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:24 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:81 Generated random external IP 172.18.93.178
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['22574', '22575', '22576', '22577', '22578']
DEBUG  src.node.waku_node:waku_node.py:434 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:163 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:165 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:48 docker run -i -t -p 22574:22574 -p 22575:22575 -p 22576:22576 -p 22577:22577 -p 22578:22578 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=22576 --rest-port=22574 --tcp-port=22575 --discv5-udp-port=22577 --rest-address=0.0.0.0 --nat=extip:172.18.93.178 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8ffaee780a4fb50a5cafa1d4bdfd15ecc0a8d9bffc9bef3bc6a69f02bf4fb0a9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=22578 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QEFYc6SSvEAQvpo0KDoXtC3fCcrBnViD_gHA7n8fp4MRL5q51F7twIbPuLhHiqT7GHj2DEiV4OJiSBRT1TSi01sBgmlkgnY0gmlwhKwSopuKbXVsdGlhZGRyc4wACgSsEqKbBjqV3QOCcnOFAAMBAACJc2VjcDI1NmsxoQNyiy4P0_0dxueZPhcYU6i5svnW_4eWuQAus_F4uxTczoN0Y3CCOpSDdWRwgjqWhXdha3UyAw --storenode=/ip4/172.18.162.155/tcp/14996/p2p/16Uiu2HAmLN7vHp8w7AEqm8ruYxMR78wqFYennQTMdc2iB714vUqj --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.93.178 waku fc379fbed23586231d764d535c381869c98404c703bfa0a5291de105c9139759
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID fc379fbed235. Setting up logs at ./log/docker/store_node1_2024-09-12_04-40-32__4649249f-c4c6-4e31-b4f8-1449975231f4__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 22574
DEBUG  src.libs.common:common.py:35 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:22574/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"Ready","protocolsHealth":[]}'
INFO  src.node.waku_node:waku_node.py:277 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:22574/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.93.178/tcp/22575/p2p/16Uiu2HAkx3igdRdMz9uya14zZbgZNEwDq2XiWLPBpfcgWBzgMFfL","/ip4/172.18.93.178/tcp/22576/ws/p2p/16Uiu2HAkx3igdRdMz9uya14zZbgZNEwDq2XiWLPBpfcgWBzgMFfL"],"enrUri":"enr:-LO4QIB9q1cp6Xi_GnzO8_wfUIQ55kqiFZoVCyM0j3SgbkqqX45w15w7CSA9F2O73kt-OeVvUzQNSs3Uddihwc2bWRkBgmlkgnY0gmlwhKwSXbKKbXVsdGlhZGRyc4wACgSsEl2yBlgw3QOCcnOFAAMBAACJc2VjcDI1NmsxoQIm81coz58S1NdoRh2FzQd5yVbP-7GxxVN8PKNmP67t14N0Y3CCWC-DdWRwglgxhXdha3UyAw"}'
INFO  src.node.waku_node:waku_node.py:282 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:22574/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.162.155/tcp/14996/p2p/16Uiu2HAmLN7vHp8w7AEqm8ruYxMR78wqFYennQTMdc2iB714vUqj"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14995/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:22574/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.store:store.py:129 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14995/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)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:35 Sleeping for 0.2 seconds
DEBUG  src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:14995/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"f9nxjkRR+54v525XNpfOAb5TpzBuwID4ZSi+NisNw6o="}]}'
DEBUG  src.steps.store:store.py:215 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:22574/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"f9nxjkRR+54v525XNpfOAb5TpzBuwID4ZSi+NisNw6o="}]}'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 743ef0333c11
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id fc379fbed235
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:117 No errors found in the waku logs.