waku-interop-tests/nim/357/data/attachments/7fbe84689e6b9bf3.txt

75 lines
12 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_meta with id: 2024-09-12_04-26-31__02a43688-fd0c-4107-ada1-6d82b8be2471
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-26-31__02a43688-fd0c-4107-ada1-6d82b8be2471__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.249.35
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['39137', '39138', '39139', '39140', '39141']
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 39137:39137 -p 39138:39138 -p 39139:39139 -p 39140:39140 -p 39141:39141 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=39139 --rest-port=39137 --tcp-port=39138 --discv5-udp-port=39140 --rest-address=0.0.0.0 --nat=extip:172.18.249.35 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=be027e005f46b9bbd81d9e8f3ecec8ed7cfe2dcdd0ad313670c756496bcfdd0c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39141 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.249.35 waku fe12f08e36bc1f5b446f0e20c3228984cde8cd2945d411255df935fc13501503
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID fe12f08e36bc. Setting up logs at ./log/docker/node1_2024-09-12_04-26-31__02a43688-fd0c-4107-ada1-6d82b8be2471__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 39137
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:39137/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:39137/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.249.35/tcp/39138/p2p/16Uiu2HAmNZgotxJXxhN8vnkfwZ5vvxYyfcNQemcqHJsJLSy3mJS3","/ip4/172.18.249.35/tcp/39139/ws/p2p/16Uiu2HAmNZgotxJXxhN8vnkfwZ5vvxYyfcNQemcqHJsJLSy3mJS3"],"enrUri":"enr:-LO4QMJiuukFQb4WLNbfNS0ktt4mdM6i24JTCYUW2ogMkMPKD-OxJOickTooGS0Y6eET_hiVs_UKGboL7oWQggqkobIBgmlkgnY0gmlwhKwS-SOKbXVsdGlhZGRyc4wACgSsEvkjBpjj3QOCcnOFAAMBAACJc2VjcDI1NmsxoQOTOSGZc-sJtiA78GeXZXZ-BNRvAiTVFNZl2GPUcVCl0IN0Y3CCmOKDdWRwgpjkhXdha3UyAQ"}'
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-26-31__02a43688-fd0c-4107-ada1-6d82b8be2471__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.16.91
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['39512', '39513', '39514', '39515', '39516']
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 39512:39512 -p 39513:39513 -p 39514:39514 -p 39515:39515 -p 39516:39516 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=39514 --rest-port=39512 --tcp-port=39513 --discv5-udp-port=39515 --rest-address=0.0.0.0 --nat=extip:172.18.16.91 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=dfcf96bbe067bb8f20013ebdf6cfbfdbdcb167c41f2e69afda5fee0bf6319dbe --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39516 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QMJiuukFQb4WLNbfNS0ktt4mdM6i24JTCYUW2ogMkMPKD-OxJOickTooGS0Y6eET_hiVs_UKGboL7oWQggqkobIBgmlkgnY0gmlwhKwS-SOKbXVsdGlhZGRyc4wACgSsEvkjBpjj3QOCcnOFAAMBAACJc2VjcDI1NmsxoQOTOSGZc-sJtiA78GeXZXZ-BNRvAiTVFNZl2GPUcVCl0IN0Y3CCmOKDdWRwgpjkhXdha3UyAQ
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.16.91 waku 6bcc23617649f70892991fcdc001ea57c9a6e9c9508ed8a711e0ccfd8d1b3386
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 6bcc23617649. Setting up logs at ./log/docker/node2_2024-09-12_04-26-31__02a43688-fd0c-4107-ada1-6d82b8be2471__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 39512
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:39512/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:39512/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.16.91/tcp/39513/p2p/16Uiu2HAmRH58sG1zVpjrhQs9AQ5DxcMiQnNks7uwVm56UyqwD8W2","/ip4/172.18.16.91/tcp/39514/ws/p2p/16Uiu2HAmRH58sG1zVpjrhQs9AQ5DxcMiQnNks7uwVm56UyqwD8W2"],"enrUri":"enr:-LO4QM6BsL2IZxwhIVvR21Z1q7PzZxb_Ki1Bmqi59EQM7J5hSKFATdaFE7W9Bi_YcAqDmD7J9RU2W8H7M_c3DQ-DcogBgmlkgnY0gmlwhKwSEFuKbXVsdGlhZGRyc4wACgSsEhBbBppa3QOCcnOFAAMBAACJc2VjcDI1NmsxoQO7ipBHHhTnZ-jyfRaKfsguOx-P6ww11488QnfeQ7oCT4N0Y3CCmlmDdWRwgppbhXdha3UyAQ"}'
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:39512/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.249.35/tcp/39138/p2p/16Uiu2HAmNZgotxJXxhN8vnkfwZ5vvxYyfcNQemcqHJsJLSy3mJS3"]'
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:39137/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:39512/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:39137/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:39137/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":1726115194957828864,"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:39512/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":1726115194957828864,"ephemeral":false}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:39137/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)', "meta": "Relay works!!"}'
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:39137/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
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 fe12f08e36bc
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 6bcc23617649
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.