81 lines
17 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_update_subscription_with_invalid_content_topic_format with id: 2026-03-03_04-37-08__1cd006eb-f9ea-4da9-8529-0b0ed2f915d0
DEBUG  src.steps.common:common.py:19 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:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node1_2026-03-03_04-37-08__1cd006eb-f9ea-4da9-8529-0b0ed2f915d0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.142.181
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['29455', '29456', '29457', '29458', '29459']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 29455:29455 -p 29456:29456 -p 29457:29457 -p 29458:29458 -p 29459:29459 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=29457 --rest-port=29455 --tcp-port=29456 --discv5-udp-port=29458 --rest-address=0.0.0.0 --nat=extip:172.18.142.181 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a8beadfec346c8cece9e02f43020f3edd396faaf03c1208e0d0c28dec9b0a1f4 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29459 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.142.181 waku 896f447ffc285a12354eca33c6bf9317026fa647e804b482bcecef34ced06570
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 896f447ffc28. Setting up logs at ./log/docker/node1_2026-03-03_04-37-08__1cd006eb-f9ea-4da9-8529-0b0ed2f915d0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 29455
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 827c4ab43e71. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container a922d4e1076f. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29455/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","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_READY","desc":"Relay is not ready, filter will not be able to sort out messages"},{"Store":"NOT_MOUNTED"},{"Legacy Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:29455/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.142.181/tcp/29456/p2p/16Uiu2HAkxW5uCLPPWzw512HjcMZaiNpPVdQNryTCvT8J9VNrAdpo","/ip4/172.18.142.181/tcp/29457/ws/p2p/16Uiu2HAkxW5uCLPPWzw512HjcMZaiNpPVdQNryTCvT8J9VNrAdpo"],"enrUri":"enr:-L24QE4lY3l7fG054fDSfR9NwyJVz6K6irEhSTNxKBJdNZNXLSc6aHsD4K18bSloXRG_QA_KMeHojgKHghB6WrBXwIACgmlkgnY0gmlwhKwSjrWKbXVsdGlhZGRyc5YACASsEo61BnMQAAoErBKOtQZzEd0DgnJzhQADAQAAiXNlY3AyNTZrMaECLbRuaEISuCn1RjUPPLo_lVhtPOr9guhWiGiNqoOQH3yDdGNwgnMQg3VkcIJzEoV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:292 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:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node2_2026-03-03_04-37-08__1cd006eb-f9ea-4da9-8529-0b0ed2f915d0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.134.125
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['47019', '47020', '47021', '47022', '47023']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 47019:47019 -p 47020:47020 -p 47021:47021 -p 47022:47022 -p 47023:47023 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=47021 --rest-port=47019 --tcp-port=47020 --discv5-udp-port=47022 --rest-address=0.0.0.0 --nat=extip:172.18.134.125 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=44739c4a7cd5bceead1fbdbeba54968e700bc91ef71e27a2ef8e139c05bea1dd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47023 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QE4lY3l7fG054fDSfR9NwyJVz6K6irEhSTNxKBJdNZNXLSc6aHsD4K18bSloXRG_QA_KMeHojgKHghB6WrBXwIACgmlkgnY0gmlwhKwSjrWKbXVsdGlhZGRyc5YACASsEo61BnMQAAoErBKOtQZzEd0DgnJzhQADAQAAiXNlY3AyNTZrMaECLbRuaEISuCn1RjUPPLo_lVhtPOr9guhWiGiNqoOQH3yDdGNwgnMQg3VkcIJzEoV3YWt1MgU --filternode=/ip4/172.18.142.181/tcp/29456/p2p/16Uiu2HAkxW5uCLPPWzw512HjcMZaiNpPVdQNryTCvT8J9VNrAdpo
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.134.125 waku 4e5e1c86f12e0b99454dfebeaae210a474c755c45a68bc11c4ea10ef3c76e834
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 4e5e1c86f12e. Setting up logs at ./log/docker/node2_2026-03-03_04-37-08__1cd006eb-f9ea-4da9-8529-0b0ed2f915d0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 47019
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:47019/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","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"NOT_MOUNTED"},{"Legacy Store":"NOT_MOUNTED"},{"Peer Exchange":"READY"},{"Rendezvous":"NOT_READY","desc":"No Rendezvous peers are available yet"},{"Mix":"NOT_MOUNTED"},{"Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Legacy Lightpush Client":"NOT_READY","desc":"No Lightpush service peer available yet"},{"Store Client":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"Legacy Store Client":"NOT_READY","desc":"No Legacy Store service peers are available yet, neither Store service set up for the node"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:47019/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.134.125/tcp/47020/p2p/16Uiu2HAkvrAByiRN6FXy59PvUJs8KoPD3QUMiDHbWbWLosLNsnFW","/ip4/172.18.134.125/tcp/47021/ws/p2p/16Uiu2HAkvrAByiRN6FXy59PvUJs8KoPD3QUMiDHbWbWLosLNsnFW"],"enrUri":"enr:-L24QNjE7hGVZQ8-brs34zimzQmQ3N1Re0sVqJSXXnF28cADOC1dQlbYAJFKMZNprI6bWTkqnhhXKGUkxZQso_SrL18CgmlkgnY0gmlwhKwShn2KbXVsdGlhZGRyc5YACASsEoZ9BresAAoErBKGfQa3rd0DgnJzhQADAQAAiXNlY3AyNTZrMaECFSGGCi4pa8rFHUr_lKoRAjArzy4c4qOdUh_bjS8hLB2DdGNwgresg3VkcIK3roV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:47019/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.142.181/tcp/29456/p2p/16Uiu2HAkxW5uCLPPWzw512HjcMZaiNpPVdQNryTCvT8J9VNrAdpo"]'
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:29455/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:47019/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "9a8c4470-59a1-4f4d-9650-36ae8033026d", "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":"9a8c4470-59a1-4f4d-9650-36ae8033026d","statusDesc":"OK"}'
DEBUG  tests.filter.test_subscribe_update:test_subscribe_update.py:87 Running test with contetn topic Empty string
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:47019/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:47019/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_update:test_subscribe_update.py:87 Running test with contetn topic A dictionary
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:47019/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:47019/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_update:test_subscribe_update.py:87 Running test with contetn topic An integer
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:47019/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:47019/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_update:test_subscribe_update.py:87 Running test with contetn topic A list
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:47019/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:47019/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_update:test_subscribe_update.py:87 Running test with contetn topic A bool
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:47019/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:47019/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:234 Stopping container with id 896f447ffc28
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 4e5e1c86f12e
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.