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

91 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_payloads with id: 2024-09-12_04-25-42__d710cabf-7b06-4759-8760-35e5d23a96e0
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-42__d710cabf-7b06-4759-8760-35e5d23a96e0__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.119.11
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['32012', '32013', '32014', '32015', '32016']
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 32012:32012 -p 32013:32013 -p 32014:32014 -p 32015:32015 -p 32016:32016 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=32014 --rest-port=32012 --tcp-port=32013 --discv5-udp-port=32015 --rest-address=0.0.0.0 --nat=extip:172.18.119.11 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7bde9b3aea2bc1db77e6fff1edd91ef96e11b77decc594f1ed6d59cb0afa4eec --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=32016 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.119.11 waku e991c31579ec553ae100116dfbda666716c07b9abdba432e356823310e3b76a7
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID e991c31579ec. Setting up logs at ./log/docker/node1_2024-09-12_04-25-42__d710cabf-7b06-4759-8760-35e5d23a96e0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 32012
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:32012/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:32012/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.119.11/tcp/32013/p2p/16Uiu2HAmMT7ifoVVGznmGHFPywi6GPi5hj1USMEruVf7tikBz42m","/ip4/172.18.119.11/tcp/32014/ws/p2p/16Uiu2HAmMT7ifoVVGznmGHFPywi6GPi5hj1USMEruVf7tikBz42m"],"enrUri":"enr:-LO4QCFUkvjisScfmQ-G_mt6nZDaBHYMIEgyht9fOHLwq1knW1paMcRmQf-PCnSOWF_xPDyLK1CioXYVnrF5so6WYKgBgmlkgnY0gmlwhKwSdwuKbXVsdGlhZGRyc4wACgSsEncLBn0O3QOCcnOFAAMBAACJc2VjcDI1NmsxoQOCrotattrpZ-zsX7ByrjjwZkH1XshRUSzP7-4jCIZY-oN0Y3CCfQ2DdWRwgn0PhXdha3UyAQ"}'
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-42__d710cabf-7b06-4759-8760-35e5d23a96e0__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.105.147
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['40285', '40286', '40287', '40288', '40289']
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 40285:40285 -p 40286:40286 -p 40287:40287 -p 40288:40288 -p 40289:40289 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=40287 --rest-port=40285 --tcp-port=40286 --discv5-udp-port=40288 --rest-address=0.0.0.0 --nat=extip:172.18.105.147 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a0af39503f86adb18fe2532682d6fc7579911431b60b1dd7ae5a8b3ccb356bb9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40289 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QCFUkvjisScfmQ-G_mt6nZDaBHYMIEgyht9fOHLwq1knW1paMcRmQf-PCnSOWF_xPDyLK1CioXYVnrF5so6WYKgBgmlkgnY0gmlwhKwSdwuKbXVsdGlhZGRyc4wACgSsEncLBn0O3QOCcnOFAAMBAACJc2VjcDI1NmsxoQOCrotattrpZ-zsX7ByrjjwZkH1XshRUSzP7-4jCIZY-oN0Y3CCfQ2DdWRwgn0PhXdha3UyAQ
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.105.147 waku 349e9b6b253c0d0ec3cc326a85126d52ef74934bdf33f42441aa7718365b3c0d
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 349e9b6b253c. Setting up logs at ./log/docker/node2_2024-09-12_04-25-42__d710cabf-7b06-4759-8760-35e5d23a96e0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 40285
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:40285/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:40285/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.105.147/tcp/40286/p2p/16Uiu2HAm4i3fcU3jDJr32yc7zb9KNeoLD9nXzf8BGt3V52vRFhyw","/ip4/172.18.105.147/tcp/40287/ws/p2p/16Uiu2HAm4i3fcU3jDJr32yc7zb9KNeoLD9nXzf8BGt3V52vRFhyw"],"enrUri":"enr:-LO4QLGllqYN8daF34S5iTiLR_oDLW49iu8tRacAMEj1y92yQ0Le72tLdPa8l1sWaiBXH8mOiiu0hUCO3mydq2qbXEYBgmlkgnY0gmlwhKwSaZOKbXVsdGlhZGRyc4wACgSsEmmTBp1f3QOCcnOFAAMBAACJc2VjcDI1NmsxoQKJ6v8O48RTJ8AkAQUJb3xA1iU1I0wLY_NiSXa3eICAloN0Y3CCnV6DdWRwgp1ghXdha3UyAQ"}'
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:40285/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.119.11/tcp/32013/p2p/16Uiu2HAmMT7ifoVVGznmGHFPywi6GPi5hj1USMEruVf7tikBz42m"]'
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:32012/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:40285/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:32012/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:32012/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":1726115146182422016,"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:40285/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":1726115146182422016,"ephemeral":false}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
DEBUG  tests.relay.test_publish:test_publish.py:30 Running test with payload Empty string
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "", "contentTopic": "/test/1/waku-relay/proto", "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:32012/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:30 Running test with payload Unecoded text
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "Hello World!", "contentTopic": "/test/1/waku-relay/proto", "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:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
DEBUG  tests.relay.test_publish:test_publish.py:30 Running test with payload A dictionary
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": {"key": "YWFh"}, "contentTopic": "/test/1/waku-relay/proto", "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:32012/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:30 Running test with payload An integer
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": 1234567890, "contentTopic": "/test/1/waku-relay/proto", "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:32012/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:30 Running test with payload A list
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": ["YWFh"], "contentTopic": "/test/1/waku-relay/proto", "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:32012/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:30 Running test with payload A bool
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:32012/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": true, "contentTopic": "/test/1/waku-relay/proto", "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:32012/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 e991c31579ec
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 349e9b6b253c
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.