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: 2025-12-18_04-11-33__fd10f38f-0a6d-4efb-86f9-d9ec348a951e
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-18_04-11-33__fd10f38f-0a6d-4efb-86f9-d9ec348a951e__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.179.141
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['16367', '16368', '16369', '16370', '16371']
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 16367:16367 -p 16368:16368 -p 16369:16369 -p 16370:16370 -p 16371:16371 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=16369 --rest-port=16367 --tcp-port=16368 --discv5-udp-port=16370 --rest-address=0.0.0.0 --nat=extip:172.18.179.141 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ec1e9d71eb3f5bc84da51ed43af7f90e42cf7d170a4b71b6fc3caec4d03b5cc5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16371 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.179.141 waku f8d6c228df1bf362169cd2fe500b0e191c6ceb00a7b9f2d694c9840fe3f9372d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID f8d6c228df1b. Setting up logs at ./log/docker/node1_2025-12-18_04-11-33__fd10f38f-0a6d-4efb-86f9-d9ec348a951e__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 16367
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 8317e8f561a1. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 0da8982d085a. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:16367/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:16367/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.179.141/tcp/16368/p2p/16Uiu2HAkyRX5sNKYeouu3fQtihMKxDQd6xGwamAPgsG5ftBoeKeK","/ip4/172.18.179.141/tcp/16369/ws/p2p/16Uiu2HAkyRX5sNKYeouu3fQtihMKxDQd6xGwamAPgsG5ftBoeKeK"],"enrUri":"enr:-L24QHAPclkARfLAAd6mDsUdzauKBkhG8F-LV41oq0WCAa6_TcVb3GSkxGR89QTsgvQYD8t7Mq6c_k_l_S7h44zQ49kCgmlkgnY0gmlwhKwSs42KbXVsdGlhZGRyc5YACASsErONBj_wAAoErBKzjQY_8d0DgnJzhQADAQAAiXNlY3AyNTZrMaECO2Swl-yu0b52jrFv_eiUZRE9bbVSFz_ysA53RPi_haSDdGNwgj_wg3VkcII_8oV3YWt1MgU"}'
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-18_04-11-33__fd10f38f-0a6d-4efb-86f9-d9ec348a951e__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.95.36
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['5397', '5398', '5399', '5400', '5401']
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 5397:5397 -p 5398:5398 -p 5399:5399 -p 5400:5400 -p 5401:5401 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=5399 --rest-port=5397 --tcp-port=5398 --discv5-udp-port=5400 --rest-address=0.0.0.0 --nat=extip:172.18.95.36 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4343cf3f65f0feeaecf2a88ee3deca00c8a0c7c2ed2d4640d52caa3a43a6cc25 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5401 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QHAPclkARfLAAd6mDsUdzauKBkhG8F-LV41oq0WCAa6_TcVb3GSkxGR89QTsgvQYD8t7Mq6c_k_l_S7h44zQ49kCgmlkgnY0gmlwhKwSs42KbXVsdGlhZGRyc5YACASsErONBj_wAAoErBKzjQY_8d0DgnJzhQADAQAAiXNlY3AyNTZrMaECO2Swl-yu0b52jrFv_eiUZRE9bbVSFz_ysA53RPi_haSDdGNwgj_wg3VkcII_8oV3YWt1MgU --filternode=/ip4/172.18.179.141/tcp/16368/p2p/16Uiu2HAkyRX5sNKYeouu3fQtihMKxDQd6xGwamAPgsG5ftBoeKeK
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.95.36 waku fa342e387ec45ae7d2a9979242c92bc816bb8d9d916e24bd0d6c515596af05d6
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID fa342e387ec4. Setting up logs at ./log/docker/node2_2025-12-18_04-11-33__fd10f38f-0a6d-4efb-86f9-d9ec348a951e__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 5397
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:5397/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:5397/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.95.36/tcp/5398/p2p/16Uiu2HAmTgZ1T9qm2Kz49iC5QYTBbK4y4wJtmWHYbAjkiGNCAya1","/ip4/172.18.95.36/tcp/5399/ws/p2p/16Uiu2HAmTgZ1T9qm2Kz49iC5QYTBbK4y4wJtmWHYbAjkiGNCAya1"],"enrUri":"enr:-L24QI5KAdQigqZb4O8jjhiMivHqxXTKFP5X-lzHSJN6GgisR5_FrHXTzslzbQa8Od-S8wYvpEuPJjQ98ZpaQcBRFIsCgmlkgnY0gmlwhKwSXySKbXVsdGlhZGRyc5YACASsEl8kBhUWAAoErBJfJAYVF90DgnJzhQADAQAAiXNlY3AyNTZrMaED30XPqYkd1HLzkZUeBr4chK03DziLsEE0YDlbHjVqZ9KDdGNwghUWg3VkcIIVGIV3YWt1MgA"}'
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:5397/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.179.141/tcp/16368/p2p/16Uiu2HAkyRX5sNKYeouu3fQtihMKxDQd6xGwamAPgsG5ftBoeKeK"]'
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:16367/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:5397/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "22597115-1639-40fd-b344-cb51a1f30d7b", "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":"22597115-1639-40fd-b344-cb51a1f30d7b","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:5397/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:5397/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:5397/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:5397/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:5397/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:5397/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:5397/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:5397/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:5397/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:5397/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 f8d6c228df1b
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id fa342e387ec4
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.