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-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c
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-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__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.69
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['10540', '10541', '10542', '10543', '10544']
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 10540:10540 -p 10541:10541 -p 10542:10542 -p 10543:10543 -p 10544:10544 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=10542 --rest-port=10540 --tcp-port=10541 --discv5-udp-port=10543 --rest-address=0.0.0.0 --nat=extip:172.18.98.69 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=eef7cdfeef1b52e2522aef0eb4c1cd265b75f7a7d5dc34afadf3ae8fda57a9cd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10544 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.98.69 waku e72564a502e4efbdcfad3a04926c818ba5b3f0580abe46c799ff3a0ce326262c
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 117dc6afd6ea. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID e72564a502e4. Setting up logs at ./log/docker/node1_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 10540
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 f0575699b22e. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:10540/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:10540/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.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya","/ip4/172.18.98.69/tcp/10542/ws/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya"],"enrUri":"enr:-L24QB-OMDF27zM2ANfv4YJ4bE3c2uR95Vlnp3uLPT2AQWbMIYDGzFlsaN8pqOKwWiYB0zKORkUJxUFOJkP5TNm5TAECgmlkgnY0gmlwhKwSYkWKbXVsdGlhZGRyc5YACASsEmJFBiktAAoErBJiRQYpLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECDNPMLEBdk8wnQDHBu0toCTFl87JqDExfIBYb9CpYZv-DdGNwgiktg3VkcIIpL4V3YWt1MgU"}'
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-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__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.242.231
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['17053', '17054', '17055', '17056', '17057']
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 17053:17053 -p 17054:17054 -p 17055:17055 -p 17056:17056 -p 17057:17057 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=17055 --rest-port=17053 --tcp-port=17054 --discv5-udp-port=17056 --rest-address=0.0.0.0 --nat=extip:172.18.242.231 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bbfb677d337dada088cb54beeeba2bed11e0db1dcd6d31c996c3daaca6eaed1d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17057 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QB-OMDF27zM2ANfv4YJ4bE3c2uR95Vlnp3uLPT2AQWbMIYDGzFlsaN8pqOKwWiYB0zKORkUJxUFOJkP5TNm5TAECgmlkgnY0gmlwhKwSYkWKbXVsdGlhZGRyc5YACASsEmJFBiktAAoErBJiRQYpLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECDNPMLEBdk8wnQDHBu0toCTFl87JqDExfIBYb9CpYZv-DdGNwgiktg3VkcIIpL4V3YWt1MgU --filternode=/ip4/172.18.98.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.242.231 waku 93a9c2d3812df7a2eeb55c1282fd127d1bd22291ea3923c679571562fbe7f5a7
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 93a9c2d3812d. Setting up logs at ./log/docker/node2_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 17053
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:17053/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:17053/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.242.231/tcp/17054/p2p/16Uiu2HAm8RxQGcVnouN1wuC1mSZPZCGF1bBksa2mLgJA5dNFPSgr","/ip4/172.18.242.231/tcp/17055/ws/p2p/16Uiu2HAm8RxQGcVnouN1wuC1mSZPZCGF1bBksa2mLgJA5dNFPSgr"],"enrUri":"enr:-L24QFhBGfDSnwry1C3mIfXeAp7ZEikWLtGvhenrujFyRBdVbRJaBc89zJIJ1M6qynsupZzTWPZicfneqPfMq5slB2kCgmlkgnY0gmlwhKwS8ueKbXVsdGlhZGRyc5YACASsEvLnBkKeAAoErBLy5wZCn90DgnJzhQADAQAAiXNlY3AyNTZrMaECwTp_m34VxRDKb8Cv9pAvr4LPCPwahXwiyLaVwrCsD_uDdGNwgkKeg3VkcIJCoIV3YWt1MgA"}'
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:17053/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.98.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya"]'
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:10540/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:17053/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "508245e9-70af-4fa4-bd8d-f0c34af1a272", "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":"508245e9-70af-4fa4-bd8d-f0c34af1a272","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:17053/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:17053/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:17053/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:17053/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:17053/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:17053/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:17053/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:17053/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:17053/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:17053/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 e72564a502e4
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 93a9c2d3812d
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.