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_subscribe_with_invalid_content_topic_format with id: 2026-03-25_04-42-16__58bbe5cf-6dd1-4d51-a186-800012bdaf3b
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-25_04-42-16__58bbe5cf-6dd1-4d51-a186-800012bdaf3b__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.199.51
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['24933', '24934', '24935', '24936', '24937']
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 24933:24933 -p 24934:24934 -p 24935:24935 -p 24936:24936 -p 24937:24937 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=24935 --rest-port=24933 --tcp-port=24934 --discv5-udp-port=24936 --rest-address=0.0.0.0 --nat=extip:172.18.199.51 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8cdfef73ad7c47e5b6029edf6a6fb0c7cdbe1b7dc96b3cc3d8aeb5ace8e9de55 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=24937 --metrics-logging=true --relay=true --filter=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 0b0ed9f7b267. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.199.51 waku 42c9f3a8da1eb797c3377941c6292e9f4dc407ce64a31b77ee4e1474a1cfcc3c
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 42c9f3a8da1e. Setting up logs at ./log/docker/node1_2026-03-25_04-42-16__58bbe5cf-6dd1-4d51-a186-800012bdaf3b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 24933
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 c13d2ae8d751. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24933/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:24933/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.199.51/tcp/24934/p2p/16Uiu2HAmQThjeBkL6n3PNTpvSN6ryurVUDrZqpzxnTKzoFYEVhtE","/ip4/172.18.199.51/tcp/24935/ws/p2p/16Uiu2HAmQThjeBkL6n3PNTpvSN6ryurVUDrZqpzxnTKzoFYEVhtE"],"enrUri":"enr:-L24QCMpzAb393DX2_8vvo-vR5XUWwH2YnposhN3N8JbrrU9V0dBEp6K82s1aQq1htUKJdVOBGjTB3jeHVejwO9H-rYCgmlkgnY0gmlwhKwSxzOKbXVsdGlhZGRyc5YACASsEsczBmFmAAoErBLHMwZhZ90DgnJzhQADAQAAiXNlY3AyNTZrMaEDr2gRaNp8UhW1OBJhki9jk6oOyIQ7i3bLYv_10vQ-ZUuDdGNwgmFmg3VkcIJhaIV3YWt1MgU"}'
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-25_04-42-16__58bbe5cf-6dd1-4d51-a186-800012bdaf3b__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.117.5
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['16506', '16507', '16508', '16509', '16510']
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 16506:16506 -p 16507:16507 -p 16508:16508 -p 16509:16509 -p 16510:16510 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=16508 --rest-port=16506 --tcp-port=16507 --discv5-udp-port=16509 --rest-address=0.0.0.0 --nat=extip:172.18.117.5 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=208aa0cdb6e8c5b416e7ae3b6dc8dc6ad7b4d77defbd0d6f709eabd9dbbc53ef --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16510 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QCMpzAb393DX2_8vvo-vR5XUWwH2YnposhN3N8JbrrU9V0dBEp6K82s1aQq1htUKJdVOBGjTB3jeHVejwO9H-rYCgmlkgnY0gmlwhKwSxzOKbXVsdGlhZGRyc5YACASsEsczBmFmAAoErBLHMwZhZ90DgnJzhQADAQAAiXNlY3AyNTZrMaEDr2gRaNp8UhW1OBJhki9jk6oOyIQ7i3bLYv_10vQ-ZUuDdGNwgmFmg3VkcIJhaIV3YWt1MgU --filternode=/ip4/172.18.199.51/tcp/24934/p2p/16Uiu2HAmQThjeBkL6n3PNTpvSN6ryurVUDrZqpzxnTKzoFYEVhtE
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.117.5 waku fcdf82399ecfc1016a4aa6b1113ecab4c960fb898c34a99b411dbdb17707f077
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID fcdf82399ecf. Setting up logs at ./log/docker/node2_2026-03-25_04-42-16__58bbe5cf-6dd1-4d51-a186-800012bdaf3b__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 16506
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:16506/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:16506/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.117.5/tcp/16507/p2p/16Uiu2HAkxrE6mrc8YDx8ZmQqZPdwNzyUiNCsiomGDhNxdcpMp4rt","/ip4/172.18.117.5/tcp/16508/ws/p2p/16Uiu2HAkxrE6mrc8YDx8ZmQqZPdwNzyUiNCsiomGDhNxdcpMp4rt"],"enrUri":"enr:-L24QOlxM5vPApT511fejSU6m_C4g5uBgWQcs96x4n-F3nK3DX4BxGspH2Va4GW_gr-I2pMpuylBJLg7ibhkreyx03cCgmlkgnY0gmlwhKwSdQWKbXVsdGlhZGRyc5YACASsEnUFBkB7AAoErBJ1BQZAfN0DgnJzhQADAQAAiXNlY3AyNTZrMaECMt1RnNiBlMNhjz_JQJl2wd3E5PAXNhzhuE_giNJ5O3GDdGNwgkB7g3VkcIJAfYV3YWt1MgA"}'
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:16506/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.199.51/tcp/24934/p2p/16Uiu2HAmQThjeBkL6n3PNTpvSN6ryurVUDrZqpzxnTKzoFYEVhtE"]'
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:24933/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:16506/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "aba6d813-57c2-4f21-a391-9af2f5e4aab5", "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":"aba6d813-57c2-4f21-a391-9af2f5e4aab5","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:16506/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:16506/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:16506/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:16506/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:16506/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:16506/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:16506/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:16506/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:16506/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:16506/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 42c9f3a8da1e
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id fcdf82399ecf
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.