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_subscribe_with_invalid_content_topic_format with id: 2026-02-02_04-44-26__3475e875-2bdb-45c4-a730-bf0a98c5fdaa
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-02_04-44-26__3475e875-2bdb-45c4-a730-bf0a98c5fdaa__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.39.231
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['63394', '63395', '63396', '63397', '63398']
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 63394:63394 -p 63395:63395 -p 63396:63396 -p 63397:63397 -p 63398:63398 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=63396 --rest-port=63394 --tcp-port=63395 --discv5-udp-port=63397 --rest-address=0.0.0.0 --nat=extip:172.18.39.231 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6ad3ef54fabfeacdafd789c18cdd9c8ecec9af7afb2a0cfac067edeaacaa8d74 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63398 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.39.231 waku bb56f9e650ebea835518536bfa455aaa8471c36600bd45fa08e44d26febd0a8a
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID bb56f9e650eb. Setting up logs at ./log/docker/node1_2026-02-02_04-44-26__3475e875-2bdb-45c4-a730-bf0a98c5fdaa__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 63394
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 7bf3a61bc36a. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 9debef323aaa. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:63394/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:63394/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.39.231/tcp/63395/p2p/16Uiu2HAkys2E1mTuabo1WCgSmCiSwNKfehD3jsc1yd8k3nicQGCc","/ip4/172.18.39.231/tcp/63396/ws/p2p/16Uiu2HAkys2E1mTuabo1WCgSmCiSwNKfehD3jsc1yd8k3nicQGCc"],"enrUri":"enr:-L24QDUWpar-viOrUJsVR85l1yyTxhz5d4qrboLK4JYk5pmXGeD5QTYLvGI9pX9kzU2zA_x-Qn7vFTN0plNLtsYxoyYCgmlkgnY0gmlwhKwSJ-eKbXVsdGlhZGRyc5YACASsEifnBvejAAoErBIn5wb3pN0DgnJzhQADAQAAiXNlY3AyNTZrMaECQe0ow2ojPW4XU15F0q8i7zKVpx4KzJVRUncDNxj7IGWDdGNwgvejg3VkcIL3pYV3YWt1MgU"}'
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-02_04-44-26__3475e875-2bdb-45c4-a730-bf0a98c5fdaa__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.98.104
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['34504', '34505', '34506', '34507', '34508']
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 34504:34504 -p 34505:34505 -p 34506:34506 -p 34507:34507 -p 34508:34508 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=34506 --rest-port=34504 --tcp-port=34505 --discv5-udp-port=34507 --rest-address=0.0.0.0 --nat=extip:172.18.98.104 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=900aaec34dc5693deb867eeba0e8aa4ce31bc2fa082efd760fedfc0611cfd77d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=34508 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QDUWpar-viOrUJsVR85l1yyTxhz5d4qrboLK4JYk5pmXGeD5QTYLvGI9pX9kzU2zA_x-Qn7vFTN0plNLtsYxoyYCgmlkgnY0gmlwhKwSJ-eKbXVsdGlhZGRyc5YACASsEifnBvejAAoErBIn5wb3pN0DgnJzhQADAQAAiXNlY3AyNTZrMaECQe0ow2ojPW4XU15F0q8i7zKVpx4KzJVRUncDNxj7IGWDdGNwgvejg3VkcIL3pYV3YWt1MgU --filternode=/ip4/172.18.39.231/tcp/63395/p2p/16Uiu2HAkys2E1mTuabo1WCgSmCiSwNKfehD3jsc1yd8k3nicQGCc
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.98.104 waku 0c1552056d334a9f3a1aea7971dfef2551c6158fe49717a9ae3b9103960a02bd
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 0c1552056d33. Setting up logs at ./log/docker/node2_2026-02-02_04-44-26__3475e875-2bdb-45c4-a730-bf0a98c5fdaa__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 34504
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:34504/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:34504/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.98.104/tcp/34505/p2p/16Uiu2HAmCe3ipMFEXMGAyW5tkVebLdMkEy2ono13YYtCD7kcj1ZN","/ip4/172.18.98.104/tcp/34506/ws/p2p/16Uiu2HAmCe3ipMFEXMGAyW5tkVebLdMkEy2ono13YYtCD7kcj1ZN"],"enrUri":"enr:-L24QIk_gm0E4K9hKo74bnTjiJkX2RWcdqoUlLWz_vc5zE03bsxWc0O6s87HX1T8NVOoEzBb_hCPElDp-_ZsI11rYXQCgmlkgnY0gmlwhKwSYmiKbXVsdGlhZGRyc5YACASsEmJoBobJAAoErBJiaAaGyt0DgnJzhQADAQAAiXNlY3AyNTZrMaEC_8I7IR8jeaXpVDcPZEMAbqg3c09l9Btwqr617EXVrXWDdGNwgobJg3VkcIKGy4V3YWt1MgA"}'
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:34504/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.39.231/tcp/63395/p2p/16Uiu2HAkys2E1mTuabo1WCgSmCiSwNKfehD3jsc1yd8k3nicQGCc"]'
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:63394/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:34504/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "44621af8-6ccb-44ee-9b17-6e76e85bc5da", "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":"44621af8-6ccb-44ee-9b17-6e76e85bc5da","statusDesc":"OK"}'
DEBUG  tests.filter.test_subscribe_create:test_subscribe_create.py:129 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:34504/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:34504/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:129 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:34504/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:34504/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:129 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:34504/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:34504/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:129 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:34504/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:34504/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:129 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:34504/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:34504/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 bb56f9e650eb
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 0c1552056d33
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.