2026-02-25 20:22:16 +00:00

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-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5
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-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__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.162.192
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['10643', '10644', '10645', '10646', '10647']
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 10643:10643 -p 10644:10644 -p 10645:10645 -p 10646:10646 -p 10647:10647 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=10645 --rest-port=10643 --tcp-port=10644 --discv5-udp-port=10646 --rest-address=0.0.0.0 --nat=extip:172.18.162.192 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0654faf819fedfc1adc7dd41dcbf51dff1eadcf28cb284bf6fcecff8a6eddc3f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10647 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.162.192 waku 3e0a916e54692369234fe20d716fc2216f323b50d29a25061abf09ba5490b9fa
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 3e0a916e5469. Setting up logs at ./log/docker/node1_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 10643
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 f152d17269a9. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 19ea7c5bef1a. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:10643/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:10643/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.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5","/ip4/172.18.162.192/tcp/10645/ws/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5"],"enrUri":"enr:-L24QLCI14IYI9Emn3uWwOu3yPx0vRZMDN8qTTNXl_PwEHglYw2K19i1LDqCdfZBtfe6byXzXZwo-hREzJRJwBx54b0CgmlkgnY0gmlwhKwSosCKbXVsdGlhZGRyc5YACASsEqLABimUAAoErBKiwAYpld0DgnJzhQADAQAAiXNlY3AyNTZrMaECUFlsNgOxOWFklx3RyMHaOvy2KOsDj9uF6GdL1fdbdOqDdGNwgimUg3VkcIIploV3YWt1MgU"}'
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-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__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.69.235
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['25948', '25949', '25950', '25951', '25952']
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 25948:25948 -p 25949:25949 -p 25950:25950 -p 25951:25951 -p 25952:25952 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=25950 --rest-port=25948 --tcp-port=25949 --discv5-udp-port=25951 --rest-address=0.0.0.0 --nat=extip:172.18.69.235 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a579e63c444ad8cd0279d5cbd4cd2ef47fb33e81ecfef3ac7fefdd7e0e0edecc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25952 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLCI14IYI9Emn3uWwOu3yPx0vRZMDN8qTTNXl_PwEHglYw2K19i1LDqCdfZBtfe6byXzXZwo-hREzJRJwBx54b0CgmlkgnY0gmlwhKwSosCKbXVsdGlhZGRyc5YACASsEqLABimUAAoErBKiwAYpld0DgnJzhQADAQAAiXNlY3AyNTZrMaECUFlsNgOxOWFklx3RyMHaOvy2KOsDj9uF6GdL1fdbdOqDdGNwgimUg3VkcIIploV3YWt1MgU --filternode=/ip4/172.18.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.69.235 waku fbeb3a08261312f461cecc23156f9a05626a91526e6e895c6ef5984be126cc0d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID fbeb3a082613. Setting up logs at ./log/docker/node2_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 25948
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:25948/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:25948/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.69.235/tcp/25949/p2p/16Uiu2HAm6w9xqzN4FdUqAcQcqirTuvndo2Jgfp8cmhnEJpsP2e46","/ip4/172.18.69.235/tcp/25950/ws/p2p/16Uiu2HAm6w9xqzN4FdUqAcQcqirTuvndo2Jgfp8cmhnEJpsP2e46"],"enrUri":"enr:-L24QLmKPUFqgL-4hBEvi3E0LmdNb4bvsH9iZ2aAraYIpvCZDONVgwp27cP8VAoTpInSAJ4f__7VqJHT8qFMhQl6Sw8CgmlkgnY0gmlwhKwSReuKbXVsdGlhZGRyc5YACASsEkXrBmVdAAoErBJF6wZlXt0DgnJzhQADAQAAiXNlY3AyNTZrMaECqv4Kdo_iwVHu4vrOVboqH3kiu3aLemPJHKCweIbdAO-DdGNwgmVdg3VkcIJlX4V3YWt1MgA"}'
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:25948/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5"]'
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:10643/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:25948/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "421896b1-de61-431f-b8fb-5c7be23f1aaa", "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":"421896b1-de61-431f-b8fb-5c7be23f1aaa","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:25948/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:25948/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:25948/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:25948/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:25948/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:25948/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:25948/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:25948/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:25948/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:25948/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 3e0a916e5469
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id fbeb3a082613
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.