waku-interop-tests/nim/357/data/attachments/366133314da9abf.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_extra_field with id: 2024-09-12_04-26-32__8ef10453-7769-45bd-8afb-38e86a65c160
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-32__8ef10453-7769-45bd-8afb-38e86a65c160__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.172.12
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['62420', '62421', '62422', '62423', '62424']
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 62420:62420 -p 62421:62421 -p 62422:62422 -p 62423:62423 -p 62424:62424 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=62422 --rest-port=62420 --tcp-port=62421 --discv5-udp-port=62423 --rest-address=0.0.0.0 --nat=extip:172.18.172.12 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fbde5f3bb501bddfc1bb61cdc082be9a99cbddf9cfd87ee626e2f7e99fbf695d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=62424 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.172.12 waku 65b013f9bf90381293784441faadba6b7e2f672817d183f24c81b6668c15efdf
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 65b013f9bf90. Setting up logs at ./log/docker/node1_2024-09-12_04-26-32__8ef10453-7769-45bd-8afb-38e86a65c160__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 62420
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:62420/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:62420/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.172.12/tcp/62421/p2p/16Uiu2HAmDwN3d5Ycm1uyi3rsqQL88tRBZFezAS4272ucv2DbkKmZ","/ip4/172.18.172.12/tcp/62422/ws/p2p/16Uiu2HAmDwN3d5Ycm1uyi3rsqQL88tRBZFezAS4272ucv2DbkKmZ"],"enrUri":"enr:-LO4QDwb9CSEDU7sGAlod7IQq6oFR1G1_OK_17_OKQqimv4iPYQyUGmU8EfBqvbY1x_fkq49eXudOHTgqAQPmWv9q6YBgmlkgnY0gmlwhKwSrAyKbXVsdGlhZGRyc4wACgSsEqwMBvPW3QOCcnOFAAMBAACJc2VjcDI1NmsxoQMTDYLMlqXC7glsas7VUfLtZkirM9EXeW_pzdjxMWj8uIN0Y3CC89WDdWRwgvPXhXdha3UyAQ"}'
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-32__8ef10453-7769-45bd-8afb-38e86a65c160__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.217.217
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['21982', '21983', '21984', '21985', '21986']
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 21982:21982 -p 21983:21983 -p 21984:21984 -p 21985:21985 -p 21986:21986 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=21984 --rest-port=21982 --tcp-port=21983 --discv5-udp-port=21985 --rest-address=0.0.0.0 --nat=extip:172.18.217.217 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=2fb2bb8cf706bac3ca93eebb94a2464d20963af63ce1614735b4a62e6ef9bcda --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21986 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-LO4QDwb9CSEDU7sGAlod7IQq6oFR1G1_OK_17_OKQqimv4iPYQyUGmU8EfBqvbY1x_fkq49eXudOHTgqAQPmWv9q6YBgmlkgnY0gmlwhKwSrAyKbXVsdGlhZGRyc4wACgSsEqwMBvPW3QOCcnOFAAMBAACJc2VjcDI1NmsxoQMTDYLMlqXC7glsas7VUfLtZkirM9EXeW_pzdjxMWj8uIN0Y3CC89WDdWRwgvPXhXdha3UyAQ
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.217.217 waku 00aac9996fd9f5a7e9063be25ba8d7c8d8dfc37bede653dbc42d387cc6696f07
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 00aac9996fd9. Setting up logs at ./log/docker/node2_2024-09-12_04-26-32__8ef10453-7769-45bd-8afb-38e86a65c160__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 21982
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:21982/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:21982/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.217.217/tcp/21983/p2p/16Uiu2HAmToBZyJyQcnrTvkU7aUgBTWSrM1F8pGYFhgCspSyEwV5c","/ip4/172.18.217.217/tcp/21984/ws/p2p/16Uiu2HAmToBZyJyQcnrTvkU7aUgBTWSrM1F8pGYFhgCspSyEwV5c"],"enrUri":"enr:-LO4QES6VwXGSZ8q5riwlm3ZqOGDpbLdksLriBXquf3UpjIgaXiPJcD47oTlnO7GBWGzNF4LCUv0zea5Q3ieoDC0A2gBgmlkgnY0gmlwhKwS2dmKbXVsdGlhZGRyc4wACgSsEtnZBlXg3QOCcnOFAAMBAACJc2VjcDI1NmsxoQPg-KKlgBazAdRyY_dL8dMxyEGMybPe3P82uOaF9zwv-4N0Y3CCVd-DdWRwglXhhXdha3UyAQ"}'
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:21982/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.172.12/tcp/62421/p2p/16Uiu2HAmDwN3d5Ycm1uyi3rsqQL88tRBZFezAS4272ucv2DbkKmZ"]'
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:62420/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:21982/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:62420/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:62420/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":1726115196303282176,"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:21982/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":1726115196303282176,"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:62420/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)', "extraField": "extraValue"}'
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:62420/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 65b013f9bf90
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 00aac9996fd9
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.