82 lines
13 KiB
Plaintext
82 lines
13 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_with_invalid_hash with id: 2024-09-12_04-36-47__25cd6c4c-41a1-474a-b380-30bba979d9b1
|
||
[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-36-47__25cd6c4c-41a1-474a-b380-30bba979d9b1__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.181.120
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['50421', '50422', '50423', '50424', '50425']
|
||
[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 50421:50421 -p 50422:50422 -p 50423:50423 -p 50424:50424 -p 50425:50425 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=50423 --rest-port=50421 --tcp-port=50422 --discv5-udp-port=50424 --rest-address=0.0.0.0 --nat=extip:172.18.181.120 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=65ddc30bc978becca90bcb2b8b3a9bd1abecd79ce767cfbef1fa0c675bf5264f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=50425 --metrics-logging=true --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.181.120 waku 6b68cfb85b353e509f4a6d5967a9ec4fec6fea1fc5dd43bf4bee4e0f57635112
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID 6b68cfb85b35. Setting up logs at ./log/docker/publishing_node1_2024-09-12_04-36-47__25cd6c4c-41a1-474a-b380-30bba979d9b1__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 50421
|
||
[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:50421/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:50421/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.181.120/tcp/50422/p2p/16Uiu2HAmSRJb6wkjUsYmUHq6krEKAZzZ5RENkUpdYr7gLdoa164N","/ip4/172.18.181.120/tcp/50423/ws/p2p/16Uiu2HAmSRJb6wkjUsYmUHq6krEKAZzZ5RENkUpdYr7gLdoa164N"],"enrUri":"enr:-LO4QGRN5alLlvf6zXSo5XmYZsEDF1UonA8jO4riK4SwOBs1GXOZ1R0A4YcLYUj9CKfhgT0GODcMwYt94yZIKPV66HoBgmlkgnY0gmlwhKwStXiKbXVsdGlhZGRyc4wACgSsErV4BsT33QOCcnOFAAMBAACJc2VjcDI1NmsxoQPMghuLieJxAwJSgglwEvOkYhIfo-StTRqhnbYvmFO7x4N0Y3CCxPaDdWRwgsT4hXdha3UyAw"}'
|
||
[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-36-47__25cd6c4c-41a1-474a-b380-30bba979d9b1__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.4.247
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:74 Generated ports ['4421', '4422', '4423', '4424', '4425']
|
||
[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 4421:4421 -p 4422:4422 -p 4423:4423 -p 4424:4424 -p 4425:4425 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=4423 --rest-port=4421 --tcp-port=4422 --discv5-udp-port=4424 --rest-address=0.0.0.0 --nat=extip:172.18.4.247 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f5037335ac58dcc61fed9ccc2e9f40bf8752a9bdbf67df58b807e8bb1aacbbab --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=4425 --metrics-logging=true --discv5-bootstrap-node=enr:-LO4QGRN5alLlvf6zXSo5XmYZsEDF1UonA8jO4riK4SwOBs1GXOZ1R0A4YcLYUj9CKfhgT0GODcMwYt94yZIKPV66HoBgmlkgnY0gmlwhKwStXiKbXVsdGlhZGRyc4wACgSsErV4BsT33QOCcnOFAAMBAACJc2VjcDI1NmsxoQPMghuLieJxAwJSgglwEvOkYhIfo-StTRqhnbYvmFO7x4N0Y3CCxPaDdWRwgsT4hXdha3UyAw --storenode=/ip4/172.18.181.120/tcp/50422/p2p/16Uiu2HAmSRJb6wkjUsYmUHq6krEKAZzZ5RENkUpdYr7gLdoa164N --store=true --relay=true
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.4.247 waku ad539fc1919dc4d76acd687243bed902579b043836af495b3dd6dc10f2e3b486
|
||
[35mDEBUG [0m src.node.docker_mananger:docker_mananger.py:57 Container started with ID ad539fc1919d. Setting up logs at ./log/docker/store_node1_2024-09-12_04-36-47__25cd6c4c-41a1-474a-b380-30bba979d9b1__wakuorg_nwaku:latest.log
|
||
[35mDEBUG [0m src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 4421
|
||
[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:4421/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:4421/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.4.247/tcp/4422/p2p/16Uiu2HAmL9URRcCh6XSmigF9U3TDuBAQ7nb1b2Ze6RwoqergRcz3","/ip4/172.18.4.247/tcp/4423/ws/p2p/16Uiu2HAmL9URRcCh6XSmigF9U3TDuBAQ7nb1b2Ze6RwoqergRcz3"],"enrUri":"enr:-LO4QGbsAKPRL69E_HnhSIFZpFmXwlvtmyAtchMy7IZH_P4mH5kJ1QoanqFbdsSZZTpC9g7e0G3_TeaNp2Kf3-8eCx4BgmlkgnY0gmlwhKwSBPeKbXVsdGlhZGRyc4wACgSsEgT3BhFH3QOCcnOFAAMBAACJc2VjcDI1NmsxoQNvTc-7fymtx7FBTfbKTMCi10DvEUihhbiCeiEvAbbO6IN0Y3CCEUaDdWRwghFIhXdha3UyAw"}'
|
||
[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:4421/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.181.120/tcp/50422/p2p/16Uiu2HAmSRJb6wkjUsYmUHq6krEKAZzZ5RENkUpdYr7gLdoa164N"]'
|
||
[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:50421/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:4421/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:50421/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8w", "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:50421/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8x", "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:50421/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8y", "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:50421/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "TWVzc2FnZV8z", "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
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:50421/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&hashes=dGVzdA%3D%3D&pageSize=50&ascending=true" -H "Content-Type: application/json" -d 'None'
|
||
[31m[1mERROR [0m src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50421/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&hashes=dGVzdA%3D%3D&pageSize=50&ascending=true. Response content: b'waku message hash parsing error: invalid hash length: 4'
|
||
[32mINFO [0m src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:4421/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&hashes=dGVzdA%3D%3D&pageSize=50&ascending=true" -H "Content-Type: application/json" -d 'None'
|
||
[31m[1mERROR [0m src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:4421/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&hashes=dGVzdA%3D%3D&pageSize=50&ascending=true. Response content: b'waku message hash parsing error: invalid hash length: 4'
|
||
[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 6b68cfb85b35
|
||
[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 ad539fc1919d
|
||
[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. |