82 lines
16 KiB
Plaintext

2025-12-24 04:13:39.336 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-24 04:13:39.337 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2025-12-24_04-13-39__4f7115db-1697-4410-a3d0-0dafa25ad435
2025-12-24 04:13:39.337 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-24 04:13:39.337 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-24 04:13:39.337 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-24 04:13:39.344 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-24 04:13:39.344 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-24_04-13-39__4f7115db-1697-4410-a3d0-0dafa25ad435__wakuorg_nwaku:latest.log
2025-12-24 04:13:39.344 DEBUG [src.node.waku_node] Starting Node...
2025-12-24 04:13:39.344 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-24 04:13:39.345 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-24 04:13:39.346 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.57.197
2025-12-24 04:13:39.346 DEBUG [src.node.docker_mananger] Generated ports ['37485', '37486', '37487', '37488', '37489']
2025-12-24 04:13:39.346 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-24 04:13:39.346 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-24 04:13:39.346 DEBUG [src.node.waku_node] Using volumes []
2025-12-24 04:13:39.346 DEBUG [src.node.docker_mananger] docker run -i -t -p 37485:37485 -p 37486:37486 -p 37487:37487 -p 37488:37488 -p 37489:37489 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=37487 --rest-port=37485 --tcp-port=37486 --discv5-udp-port=37488 --rest-address=0.0.0.0 --nat=extip:172.18.57.197 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3f95aa003677a0a0b5db1a9adbfff3da555fb715fb9c32bd789bce82e2ec3dff --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=37489 --metrics-logging=true --relay=true --filter=true
2025-12-24 04:13:39.525 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.57.197 waku 5c646b9755d467a72f99fe9886c59ce03a61443a33d7b1f64193f4e59ec2b40d
2025-12-24 04:13:39.557 DEBUG [src.node.docker_mananger] Container started with ID 5c646b9755d4. Setting up logs at ./log/docker/node1_2025-12-24_04-13-39__4f7115db-1697-4410-a3d0-0dafa25ad435__wakuorg_nwaku:latest.log
2025-12-24 04:13:39.558 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 37485
2025-12-24 04:13:39.559 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-24 04:13:39.619 ERROR [src.node.docker_mananger] Max retries reached for container f3fbf0c5f689. Exiting log stream.
2025-12-24 04:13:40.141 ERROR [src.node.docker_mananger] Max retries reached for container 26006b9068f1. Exiting log stream.
2025-12-24 04:13:40.559 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37485/health" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:13:40.562 INFO [src.node.api_clients.base_client] 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"}]}'
2025-12-24 04:13:40.562 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-24 04:13:40.563 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37485/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:13:40.565 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.57.197/tcp/37486/p2p/16Uiu2HAmGDdAUhBh9TgmArTrj9SzJ8wDgyqYB79oMqKWLcrFvwNf","/ip4/172.18.57.197/tcp/37487/ws/p2p/16Uiu2HAmGDdAUhBh9TgmArTrj9SzJ8wDgyqYB79oMqKWLcrFvwNf"],"enrUri":"enr:-L24QCJashqH3czZzoiMLhdTp5f1BkKOX0Ujuyc5yK0y8vhncM5I_g9ebabuI4OfrUWyOs9rPpXP8D94vCZTDQH-xUECgmlkgnY0gmlwhKwSOcWKbXVsdGlhZGRyc5YACASsEjnFBpJuAAoErBI5xQaSb90DgnJzhQADAQAAiXNlY3AyNTZrMaEDNO9FnVTwUtylVaKbwwOgINteet_Vg5S4cVP6g2adQoiDdGNwgpJug3VkcIKScIV3YWt1MgU"}'
2025-12-24 04:13:40.565 INFO [src.node.waku_node] REST service is ready !!
2025-12-24 04:13:40.566 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-24 04:13:40.572 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-24 04:13:40.572 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-24_04-13-39__4f7115db-1697-4410-a3d0-0dafa25ad435__wakuorg_nwaku:latest.log
2025-12-24 04:13:40.572 DEBUG [src.node.waku_node] Starting Node...
2025-12-24 04:13:40.572 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-24 04:13:40.573 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-24 04:13:40.574 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.146.212
2025-12-24 04:13:40.574 DEBUG [src.node.docker_mananger] Generated ports ['20277', '20278', '20279', '20280', '20281']
2025-12-24 04:13:40.574 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-24 04:13:40.574 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-24 04:13:40.574 DEBUG [src.node.waku_node] Using volumes []
2025-12-24 04:13:40.574 DEBUG [src.node.docker_mananger] docker run -i -t -p 20277:20277 -p 20278:20278 -p 20279:20279 -p 20280:20280 -p 20281:20281 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=20279 --rest-port=20277 --tcp-port=20278 --discv5-udp-port=20280 --rest-address=0.0.0.0 --nat=extip:172.18.146.212 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e0dbcd8a4aab2c0aaef13697fab9b2149985d4986d11f1ebeaca3f33c77daeaf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=20281 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QCJashqH3czZzoiMLhdTp5f1BkKOX0Ujuyc5yK0y8vhncM5I_g9ebabuI4OfrUWyOs9rPpXP8D94vCZTDQH-xUECgmlkgnY0gmlwhKwSOcWKbXVsdGlhZGRyc5YACASsEjnFBpJuAAoErBI5xQaSb90DgnJzhQADAQAAiXNlY3AyNTZrMaEDNO9FnVTwUtylVaKbwwOgINteet_Vg5S4cVP6g2adQoiDdGNwgpJug3VkcIKScIV3YWt1MgU --filternode=/ip4/172.18.57.197/tcp/37486/p2p/16Uiu2HAmGDdAUhBh9TgmArTrj9SzJ8wDgyqYB79oMqKWLcrFvwNf
2025-12-24 04:13:40.763 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.146.212 waku b7a297e9bcf085b363bb56ed5ef8eff3708fa9e142975be30d54904a4e6e5099
2025-12-24 04:13:40.795 DEBUG [src.node.docker_mananger] Container started with ID b7a297e9bcf0. Setting up logs at ./log/docker/node2_2025-12-24_04-13-39__4f7115db-1697-4410-a3d0-0dafa25ad435__wakuorg_nwaku:latest.log
2025-12-24 04:13:40.797 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 20277
2025-12-24 04:13:40.797 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-24 04:13:41.797 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20277/health" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:13:41.801 INFO [src.node.api_clients.base_client] 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"}]}'
2025-12-24 04:13:41.802 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-24 04:13:41.802 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20277/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:13:41.804 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.146.212/tcp/20278/p2p/16Uiu2HAmRs93pZePj67iBb4mhij7bP5rAeDrQd7oYnhE6XkQd4iC","/ip4/172.18.146.212/tcp/20279/ws/p2p/16Uiu2HAmRs93pZePj67iBb4mhij7bP5rAeDrQd7oYnhE6XkQd4iC"],"enrUri":"enr:-L24QMlAmlzli0Pg8oItR9ysUKg4DOcXgakZ3JLVFdoS_LLdCDvdeUNABqtlILyzDXokzc6r9lHruQKZUhOUT_qiLsYCgmlkgnY0gmlwhKwSktSKbXVsdGlhZGRyc5YACASsEpLUBk82AAoErBKS1AZPN90DgnJzhQADAQAAiXNlY3AyNTZrMaEDxES8S4eFpOxA_MEkjNvgGNcntG1yqkX5wzBx99BRxbGDdGNwgk82g3VkcIJPOIV3YWt1MgA"}'
2025-12-24 04:13:41.804 INFO [src.node.waku_node] REST service is ready !!
2025-12-24 04:13:41.805 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20277/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.57.197/tcp/37486/p2p/16Uiu2HAmGDdAUhBh9TgmArTrj9SzJ8wDgyqYB79oMqKWLcrFvwNf"]'
2025-12-24 04:13:41.834 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:13:41.834 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-24 04:13:41.835 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37485/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-24 04:13:41.849 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:13:41.850 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "9fd4e494-bbd3-4269-a167-ac983e0f379d", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.863 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"9fd4e494-bbd3-4269-a167-ac983e0f379d","statusDesc":"OK"}'
2025-12-24 04:13:41.864 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2025-12-24 04:13:41.864 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.866 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20277/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\\"))"}'
2025-12-24 04:13:41.867 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2025-12-24 04:13:41.867 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A dictionary", "value": {"key": "YWFh"}}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.870 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20277/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\\"))"}'
2025-12-24 04:13:41.870 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2025-12-24 04:13:41.871 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.873 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20277/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\\"))"}'
2025-12-24 04:13:41.874 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2025-12-24 04:13:41.874 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.876 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20277/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\\"))"}'
2025-12-24 04:13:41.877 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2025-12-24 04:13:41.877 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:20277/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:13:41.879 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:20277/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\\"))"}'
2025-12-24 04:13:41.882 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-24 04:13:41.883 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-24 04:13:41.883 DEBUG [src.node.waku_node] Stopping container with id 5c646b9755d4
2025-12-24 04:13:42.442 DEBUG [src.node.waku_node] Container stopped.
2025-12-24 04:13:42.443 DEBUG [src.node.waku_node] Stopping container with id b7a297e9bcf0
2025-12-24 04:13:42.960 DEBUG [src.node.waku_node] Container stopped.
2025-12-24 04:13:42.961 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-24 04:13:42.966 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-24 04:13:42.971 DEBUG [src.node.docker_mananger] No errors found in the waku logs.