waku-interop-tests/nim/357/data/attachments/c212232e658e9b42.txt

88 lines
15 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_publish_with_invalid_content_topics with id: 2024-09-12_04-25-57__5e136d61-4cd9-46eb-9f49-ad9b21d59905
DEBUG  src.steps.common:common.py:17 Running fixture setup: common_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
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/node1_2024-09-12_04-25-57__5e136d61-4cd9-46eb-9f49-ad9b21d59905__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.153.36
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['14716', '14717', '14718', '14719', '14720']
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 14716:14716 -p 14717:14717 -p 14718:14718 -p 14719:14719 -p 14720:14720 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=14718 --rest-port=14716 --tcp-port=14717 --discv5-udp-port=14719 --rest-address=0.0.0.0 --nat=extip:172.18.153.36 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6cb5cfbf97b4e4aaa10bac185e6eaeae45a77c1129d8eccae9cae34fbd3e7b4f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=14720 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.153.36 waku 18c0b382032464c13315f942f63cefacdde6cc372541f919c752066b04f44081
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 18c0b3820324. Setting up logs at ./log/docker/node1_2024-09-12_04-25-57__5e136d61-4cd9-46eb-9f49-ad9b21d59905__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 14716
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:14716/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:14716/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.153.36/tcp/14717/p2p/16Uiu2HAmAKFHGq5izJmmgHUFG7cCLrcfh5eMurCSq4z8kUxcf2WZ","/ip4/172.18.153.36/tcp/14718/ws/p2p/16Uiu2HAmAKFHGq5izJmmgHUFG7cCLrcfh5eMurCSq4z8kUxcf2WZ"],"enrUri":"enr:-LO4QIrT3-MLpPHGJfIeS7cQcn98mngeRi2YyXIaTt81Hv0oGZtG90LFhP-y5MPsGLgTWXZOzC_ZjSgT88gLbXcQP-wBgmlkgnY0gmlwhKwSmSSKbXVsdGlhZGRyc4wACgSsEpkkBjl-3QOCcnOFAAMBAACJc2VjcDI1NmsxoQLdOeRo5KMCSiiuItViZhPAbgwdAmujZAfuDgTQq8S9loN0Y3CCOX2DdWRwgjl_hXdha3UyAQ"}'
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/node2_2024-09-12_04-25-57__5e136d61-4cd9-46eb-9f49-ad9b21d59905__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.66.99
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['2376', '2377', '2378', '2379', '2380']
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 2376:2376 -p 2377:2377 -p 2378:2378 -p 2379:2379 -p 2380:2380 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=2378 --rest-port=2376 --tcp-port=2377 --discv5-udp-port=2379 --rest-address=0.0.0.0 --nat=extip:172.18.66.99 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=99ab84053fbcac0cf247fcece320fbd94edf0da9f0e0efeabbea423ed4a9c06b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2380 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QIrT3-MLpPHGJfIeS7cQcn98mngeRi2YyXIaTt81Hv0oGZtG90LFhP-y5MPsGLgTWXZOzC_ZjSgT88gLbXcQP-wBgmlkgnY0gmlwhKwSmSSKbXVsdGlhZGRyc4wACgSsEpkkBjl-3QOCcnOFAAMBAACJc2VjcDI1NmsxoQLdOeRo5KMCSiiuItViZhPAbgwdAmujZAfuDgTQq8S9loN0Y3CCOX2DdWRwgjl_hXdha3UyAQ
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.66.99 waku 0466cea7ef53dd3d1c75551932e3332cbe019fdd624e9f2f5b6bfe31e909c508
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 0466cea7ef53. Setting up logs at ./log/docker/node2_2024-09-12_04-25-57__5e136d61-4cd9-46eb-9f49-ad9b21d59905__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 2376
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:2376/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:2376/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.66.99/tcp/2377/p2p/16Uiu2HAm7BsbNd2ukQFbfRMKzVHA4ZUemdgEMmrYSsHQd4rDk812","/ip4/172.18.66.99/tcp/2378/ws/p2p/16Uiu2HAm7BsbNd2ukQFbfRMKzVHA4ZUemdgEMmrYSsHQd4rDk812"],"enrUri":"enr:-LO4QITCyxRWOmwtX9SGvPpwkCqeNIzpPwZNCNJ2hQcqUZK9awCi7OGVNEmXzoBmWSmoDnc5fzlJ9JMdP0SPeRnOoKUBgmlkgnY0gmlwhKwSQmOKbXVsdGlhZGRyc4wACgSsEkJjBglK3QOCcnOFAAMBAACJc2VjcDI1NmsxoQKuwz4_o69fCxd6EI-KAUDlj6sBpkZxAmlPS7qCWWfE1YN0Y3CCCUmDdWRwgglLhXdha3UyAQ"}'
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:2376/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.153.36/tcp/14717/p2p/16Uiu2HAmAKFHGq5izJmmgHUFG7cCLrcfh5eMurCSq4z8kUxcf2WZ"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
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:2376/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115160595380480,"ephemeral":false}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:2376/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1726115160595380480,"ephemeral":false}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
DEBUG  tests.relay.test_publish:test_publish.py:78 Running test with contetn topic Empty string
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "", "timestamp": '$(date +%s%N)'}'
ERROR  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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:78 Running test with contetn topic A dictionary
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": {"key": "YWFh"}, "timestamp": '$(date +%s%N)'}'
ERROR  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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:78 Running test with contetn topic An integer
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": 1234567890, "timestamp": '$(date +%s%N)'}'
ERROR  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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:78 Running test with contetn topic A list
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": ["YWFh"], "timestamp": '$(date +%s%N)'}'
ERROR  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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
DEBUG  tests.relay.test_publish:test_publish.py:78 Running test with contetn topic A bool
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": true, "timestamp": '$(date +%s%N)'}'
ERROR  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:14716/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode. Unable to deserialize data'
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 18c0b3820324
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 0466cea7ef53
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.