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

79 lines
14 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_filter_subscribe_with_invalid_content_topic_format with id: 2024-09-12_04-18-21__15ce89d1-5b44-40ef-b9df-aee7f28dcc36
DEBUG  src.steps.common:common.py:17 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.filter:filter.py:34 Running fixture setup: setup_main_relay_node
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-18-21__15ce89d1-5b44-40ef-b9df-aee7f28dcc36__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.71.5
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['3414', '3415', '3416', '3417', '3418']
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 3414:3414 -p 3415:3415 -p 3416:3416 -p 3417:3417 -p 3418:3418 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=3416 --rest-port=3414 --tcp-port=3415 --discv5-udp-port=3417 --rest-address=0.0.0.0 --nat=extip:172.18.71.5 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=58abe5f72aaeecbda7786ccc071eb096c5aebe74267aed32a2f8c9eaeee5b4fb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3418 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.71.5 waku 1736cdbbf58378a64bc57356973d5994fc76aa7eda539613a9c760425a82c6f3
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 1736cdbbf583. Setting up logs at ./log/docker/node1_2024-09-12_04-18-21__15ce89d1-5b44-40ef-b9df-aee7f28dcc36__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 3414
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:3414/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:3414/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.71.5/tcp/3415/p2p/16Uiu2HAm7pQuNSZgESQyh1KuiaeddFGRE3cC1RP3ks1W31mbpgwW","/ip4/172.18.71.5/tcp/3416/ws/p2p/16Uiu2HAm7pQuNSZgESQyh1KuiaeddFGRE3cC1RP3ks1W31mbpgwW"],"enrUri":"enr:-LO4QLNR-F-PLLwX4th1fBdEsJ-9kiZZXWPxJX1LaKO8g7awBydtr5ZzbChX158OCzMKB0wIcZyNGMYiLmmOf72G05IBgmlkgnY0gmlwhKwSRwWKbXVsdGlhZGRyc4wACgSsEkcFBg1Y3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK4H44Q1T_vz-yfTM2BIaWOy9577bRjsw7j5aQ8MDpfzYN0Y3CCDVeDdWRwgg1ZhXdha3UyBQ"}'
INFO  src.node.waku_node:waku_node.py:282 REST service is ready !!
DEBUG  src.steps.filter:filter.py:39 Running fixture setup: setup_main_filter_node
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-18-21__15ce89d1-5b44-40ef-b9df-aee7f28dcc36__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.227.109
DEBUG  src.node.docker_mananger:docker_mananger.py:74 Generated ports ['38521', '38522', '38523', '38524', '38525']
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 38521:38521 -p 38522:38522 -p 38523:38523 -p 38524:38524 -p 38525:38525 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=38523 --rest-port=38521 --tcp-port=38522 --discv5-udp-port=38524 --rest-address=0.0.0.0 --nat=extip:172.18.227.109 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e8ac972d3db14e5fcf2bebcc62be2dbccbe3acadb926c8bcda16dcb4d7d8e7ad --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=38525 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-LO4QLNR-F-PLLwX4th1fBdEsJ-9kiZZXWPxJX1LaKO8g7awBydtr5ZzbChX158OCzMKB0wIcZyNGMYiLmmOf72G05IBgmlkgnY0gmlwhKwSRwWKbXVsdGlhZGRyc4wACgSsEkcFBg1Y3QOCcnOFAAMBAACJc2VjcDI1NmsxoQK4H44Q1T_vz-yfTM2BIaWOy9577bRjsw7j5aQ8MDpfzYN0Y3CCDVeDdWRwgg1ZhXdha3UyBQ --filternode=/ip4/172.18.71.5/tcp/3415/p2p/16Uiu2HAm7pQuNSZgESQyh1KuiaeddFGRE3cC1RP3ks1W31mbpgwW
DEBUG  src.node.docker_mananger:docker_mananger.py:54 docker network connect --ip 172.18.227.109 waku 570aa42c797d10ff949692db6175074b85cfa9f9e36d7d6d3d16935253723c6b
DEBUG  src.node.docker_mananger:docker_mananger.py:57 Container started with ID 570aa42c797d. Setting up logs at ./log/docker/node2_2024-09-12_04-18-21__15ce89d1-5b44-40ef-b9df-aee7f28dcc36__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:177 Started container from image wakuorg/nwaku:latest. REST: 38521
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:38521/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:38521/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.227.109/tcp/38522/p2p/16Uiu2HAkxfgsidbAMDb8FnoEiadYeEzaieAkwDumBHCn6McFcyUp","/ip4/172.18.227.109/tcp/38523/ws/p2p/16Uiu2HAkxfgsidbAMDb8FnoEiadYeEzaieAkwDumBHCn6McFcyUp"],"enrUri":"enr:-LO4QAxpyvzeeAB_m6SgrarjSCWe2i73z2b0trCmP2vRqSh-C5a3o2y4tfY3Hn-itMqguhx42uKqHMP2m31yC6gBMAUBgmlkgnY0gmlwhKwS422KbXVsdGlhZGRyc4wACgSsEuNtBpZ73QOCcnOFAAMBAACJc2VjcDI1NmsxoQIwKjRSOeYWto8gscAeZQz1K9TKbXwtijtwj5ZiVnrR5YN0Y3CClnqDdWRwgpZ8hXdha3UyAA"}'
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:38521/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.71.5/tcp/3415/p2p/16Uiu2HAm7pQuNSZgESQyh1KuiaeddFGRE3cC1RP3ks1W31mbpgwW"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.filter:filter.py:47 Running fixture setup: subscribe_main_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:3414/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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "ab67ea86-8091-445b-83cb-665c60c5c329", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"ab67ea86-8091-445b-83cb-665c60c5c329","statusDesc":"OK"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:133 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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
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:38521/filter/v2/subscriptions. Response content: b'{"requestId":"unknown","statusDesc":"BAD_REQUEST: Failed to decode request: (status: 400 Bad Request, headers: , kind: Error, errobj: (status: 400 Bad Request, message: \\"Invalid content body, could not decode. Unable to deserialize data\\", contentType: \\"text/plain\\"))"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:133 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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A dictionary", "value": {"key": "YWFh"}}], "pubsubTopic": "/waku/2/rs/3/1"}'
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:38521/filter/v2/subscriptions. Response content: b'{"requestId":"unknown","statusDesc":"BAD_REQUEST: Failed to decode request: (status: 400 Bad Request, headers: , kind: Error, errobj: (status: 400 Bad Request, message: \\"Invalid content body, could not decode. Unable to deserialize data\\", contentType: \\"text/plain\\"))"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:133 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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
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:38521/filter/v2/subscriptions. Response content: b'{"requestId":"unknown","statusDesc":"BAD_REQUEST: Failed to decode request: (status: 400 Bad Request, headers: , kind: Error, errobj: (status: 400 Bad Request, message: \\"Invalid content body, could not decode. Unable to deserialize data\\", contentType: \\"text/plain\\"))"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:133 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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
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:38521/filter/v2/subscriptions. Response content: b'{"requestId":"unknown","statusDesc":"BAD_REQUEST: Failed to decode request: (status: 400 Bad Request, headers: , kind: Error, errobj: (status: 400 Bad Request, message: \\"Invalid content body, could not decode. Unable to deserialize data\\", contentType: \\"text/plain\\"))"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:133 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:38521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
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:38521/filter/v2/subscriptions. Response content: b'{"requestId":"unknown","statusDesc":"BAD_REQUEST: Failed to decode request: (status: 400 Bad Request, headers: , kind: Error, errobj: (status: 400 Bad Request, message: \\"Invalid content body, could not decode. Unable to deserialize data\\", contentType: \\"text/plain\\"))"}'
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 1736cdbbf583
DEBUG  src.node.waku_node:waku_node.py:228 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:221 Stopping container with id 570aa42c797d
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.