81 lines
16 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: 2025-12-08_12-10-23__16f67687-ee20-455b-b8dd-01c95c10679b
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_2025-12-08_12-10-23__16f67687-ee20-455b-b8dd-01c95c10679b__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.24.141
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['39961', '39962', '39963', '39964', '39965']
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 39961:39961 -p 39962:39962 -p 39963:39963 -p 39964:39964 -p 39965:39965 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=39963 --rest-port=39961 --tcp-port=39962 --discv5-udp-port=39964 --rest-address=0.0.0.0 --nat=extip:172.18.24.141 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ccbdb6ed1e79beeb8e36627f8970afaea946ee2a3358f15fb97bda50a8e5fdbd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39965 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.24.141 waku 93b4b53d6ce8893d0111e7c8fb8a954c4b0b371b5cb7b915a9b33393cb06eefc
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 93b4b53d6ce8. Setting up logs at ./log/docker/node1_2025-12-08_12-10-23__16f67687-ee20-455b-b8dd-01c95c10679b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 39961
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 d11d8f81ca48. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container b62cbb4f0d6b. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:39961/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":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
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:39961/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.24.141/tcp/39962/p2p/16Uiu2HAm7jCT9cESpLUD6KVaQxGnF9SwRUdk5ir1SQzYupJkzZr5","/ip4/172.18.24.141/tcp/39963/ws/p2p/16Uiu2HAm7jCT9cESpLUD6KVaQxGnF9SwRUdk5ir1SQzYupJkzZr5"],"enrUri":"enr:-L24QF2IPNrinLsqCPFGTJOTvyghsnJfGGdro1fpvwGw2dMvQOFqim2fjeXs-hZpAIgHjIqAFuqqaiy2M3Djr9YXGNUCgmlkgnY0gmlwhKwSGI2KbXVsdGlhZGRyc5YACASsEhiNBpwaAAoErBIYjQacG90DgnJzhQADAQAAiXNlY3AyNTZrMaECtsmSPxVGR8wy4Ri1Spy_-WLMwDjq4Zkc32pv1J8K2JaDdGNwgpwag3VkcIKcHIV3YWt1MgU"}'
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_2025-12-08_12-10-23__16f67687-ee20-455b-b8dd-01c95c10679b__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.151.180
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['6501', '6502', '6503', '6504', '6505']
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 6501:6501 -p 6502:6502 -p 6503:6503 -p 6504:6504 -p 6505:6505 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=6503 --rest-port=6501 --tcp-port=6502 --discv5-udp-port=6504 --rest-address=0.0.0.0 --nat=extip:172.18.151.180 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0d10eee6f23cf8bf1d758cc997dee4f2561fcdba6d34a66c1cf2b7dccc7ed606 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=6505 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QF2IPNrinLsqCPFGTJOTvyghsnJfGGdro1fpvwGw2dMvQOFqim2fjeXs-hZpAIgHjIqAFuqqaiy2M3Djr9YXGNUCgmlkgnY0gmlwhKwSGI2KbXVsdGlhZGRyc5YACASsEhiNBpwaAAoErBIYjQacG90DgnJzhQADAQAAiXNlY3AyNTZrMaECtsmSPxVGR8wy4Ri1Spy_-WLMwDjq4Zkc32pv1J8K2JaDdGNwgpwag3VkcIKcHIV3YWt1MgU --filternode=/ip4/172.18.24.141/tcp/39962/p2p/16Uiu2HAm7jCT9cESpLUD6KVaQxGnF9SwRUdk5ir1SQzYupJkzZr5
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.151.180 waku 7c608aec089b607513caec6bac104e8723aafe6596bd6a09a9c03b1e90d1fe33
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7c608aec089b. Setting up logs at ./log/docker/node2_2025-12-08_12-10-23__16f67687-ee20-455b-b8dd-01c95c10679b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 6501
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:6501/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":[{"Relay":"NOT_MOUNTED"},{"Rln 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":"READY"}]}'
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:6501/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.151.180/tcp/6502/p2p/16Uiu2HAm9tyZ2G2LY8ZiVBrokn4DMWhS2LZJyQrvmfC2ajoqrwaD","/ip4/172.18.151.180/tcp/6503/ws/p2p/16Uiu2HAm9tyZ2G2LY8ZiVBrokn4DMWhS2LZJyQrvmfC2ajoqrwaD"],"enrUri":"enr:-L24QHdE4dPYoXR7joUCvIRXgyDZiqU6uiXOgDmE-FjbOpqJZKRYRteCNVCU9a1j_G2QKLI_onM_KyN4ruW7nRr0_cACgmlkgnY0gmlwhKwSl7SKbXVsdGlhZGRyc5YACASsEpe0BhlmAAoErBKXtAYZZ90DgnJzhQADAQAAiXNlY3AyNTZrMaEC1wIrJ3kS7i-NNfCBso9BuVjt608M7H5PO2yXJZwszIaDdGNwghlmg3VkcIIZaIV3YWt1MgA"}'
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:6501/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.24.141/tcp/39962/p2p/16Uiu2HAm7jCT9cESpLUD6KVaQxGnF9SwRUdk5ir1SQzYupJkzZr5"]'
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:39961/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:6501/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "85ded069-d5a8-451d-9151-c8469fad0cf1", "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":"85ded069-d5a8-451d-9151-c8469fad0cf1","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:6501/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:6501/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:6501/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:6501/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:6501/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:6501/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:6501/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:6501/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:6501/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:6501/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 93b4b53d6ce8
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 7c608aec089b
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.