82 lines
16 KiB
Plaintext

2026-02-26 04:38:46.640 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-26 04:38:46.640 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-02-26_04-38-46__992cdf32-37d0-47f7-9045-47e0561730d5
2026-02-26 04:38:46.640 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-26 04:38:46.641 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-26 04:38:46.641 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-26 04:38:46.647 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-26 04:38:46.647 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-26_04-38-46__992cdf32-37d0-47f7-9045-47e0561730d5__wakuorg_nwaku:latest.log
2026-02-26 04:38:46.648 DEBUG [src.node.waku_node] Starting Node...
2026-02-26 04:38:46.648 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-26 04:38:46.649 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-26 04:38:46.649 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.30.88
2026-02-26 04:38:46.650 DEBUG [src.node.docker_mananger] Generated ports ['40591', '40592', '40593', '40594', '40595']
2026-02-26 04:38:46.650 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-26 04:38:46.650 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-26 04:38:46.650 DEBUG [src.node.waku_node] Using volumes []
2026-02-26 04:38:46.650 DEBUG [src.node.docker_mananger] docker run -i -t -p 40591:40591 -p 40592:40592 -p 40593:40593 -p 40594:40594 -p 40595:40595 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=40593 --rest-port=40591 --tcp-port=40592 --discv5-udp-port=40594 --rest-address=0.0.0.0 --nat=extip:172.18.30.88 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=38baa6fa6dde1be3c6b38d5ceabcaa58e1a14b62e89af7c5f9aaa3e7bfe214bf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40595 --metrics-logging=true --relay=true --filter=true
2026-02-26 04:38:46.840 ERROR [src.node.docker_mananger] Max retries reached for container af922f6b82d8. Exiting log stream.
2026-02-26 04:38:46.841 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.30.88 waku e3f12071d495e8ace2d78ba3bcf4179e7edd8453db86abaf9e0892f31c9c9274
2026-02-26 04:38:46.875 DEBUG [src.node.docker_mananger] Container started with ID e3f12071d495. Setting up logs at ./log/docker/node1_2026-02-26_04-38-46__992cdf32-37d0-47f7-9045-47e0561730d5__wakuorg_nwaku:latest.log
2026-02-26 04:38:46.875 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 40591
2026-02-26 04:38:46.876 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-26 04:38:47.420 ERROR [src.node.docker_mananger] Max retries reached for container 7b2d73825a4a. Exiting log stream.
2026-02-26 04:38:47.877 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40591/health" -H "Content-Type: application/json" -d 'None'
2026-02-26 04:38:47.880 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-26 04:38:47.880 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-26 04:38:47.880 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40591/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-26 04:38:47.883 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.30.88/tcp/40592/p2p/16Uiu2HAkucWa8L5Q9AWj4o3iQYujwvysJrwVUYWduu99zrECHZBa","/ip4/172.18.30.88/tcp/40593/ws/p2p/16Uiu2HAkucWa8L5Q9AWj4o3iQYujwvysJrwVUYWduu99zrECHZBa"],"enrUri":"enr:-L24QL1Yx61yiABbgN8ZMjP-vNteyoZfkrm8VBC6z5HCnenza0zk4TwyWIjK6xJZpghbwBS_mUmEWdGU66kkasI4OC8CgmlkgnY0gmlwhKwSHliKbXVsdGlhZGRyc5YACASsEh5YBp6QAAoErBIeWAaekd0DgnJzhQADAQAAiXNlY3AyNTZrMaECAsbATkuDGuGeru2w7VYrtQMx3g4Nz8PO7J5c4Xl2ovWDdGNwgp6Qg3VkcIKekoV3YWt1MgU"}'
2026-02-26 04:38:47.883 INFO [src.node.waku_node] REST service is ready !!
2026-02-26 04:38:47.883 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-26 04:38:47.890 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-26 04:38:47.890 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-26_04-38-46__992cdf32-37d0-47f7-9045-47e0561730d5__wakuorg_nwaku:latest.log
2026-02-26 04:38:47.890 DEBUG [src.node.waku_node] Starting Node...
2026-02-26 04:38:47.890 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-26 04:38:47.891 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-26 04:38:47.892 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.129.140
2026-02-26 04:38:47.892 DEBUG [src.node.docker_mananger] Generated ports ['58462', '58463', '58464', '58465', '58466']
2026-02-26 04:38:47.892 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-26 04:38:47.892 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-26 04:38:47.892 DEBUG [src.node.waku_node] Using volumes []
2026-02-26 04:38:47.892 DEBUG [src.node.docker_mananger] docker run -i -t -p 58462:58462 -p 58463:58463 -p 58464:58464 -p 58465:58465 -p 58466:58466 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=58464 --rest-port=58462 --tcp-port=58463 --discv5-udp-port=58465 --rest-address=0.0.0.0 --nat=extip:172.18.129.140 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=13a9dc32dddf6cedbc2f3423dadeedbcb53167b1aa3c2c7ff3ed67615da8cd7c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=58466 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QL1Yx61yiABbgN8ZMjP-vNteyoZfkrm8VBC6z5HCnenza0zk4TwyWIjK6xJZpghbwBS_mUmEWdGU66kkasI4OC8CgmlkgnY0gmlwhKwSHliKbXVsdGlhZGRyc5YACASsEh5YBp6QAAoErBIeWAaekd0DgnJzhQADAQAAiXNlY3AyNTZrMaECAsbATkuDGuGeru2w7VYrtQMx3g4Nz8PO7J5c4Xl2ovWDdGNwgp6Qg3VkcIKekoV3YWt1MgU --filternode=/ip4/172.18.30.88/tcp/40592/p2p/16Uiu2HAkucWa8L5Q9AWj4o3iQYujwvysJrwVUYWduu99zrECHZBa
2026-02-26 04:38:48.087 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.129.140 waku 109ab075747511216cef4ec3fee159978362d0d7bad843ad3f92f04a1d57b280
2026-02-26 04:38:48.120 DEBUG [src.node.docker_mananger] Container started with ID 109ab0757475. Setting up logs at ./log/docker/node2_2026-02-26_04-38-46__992cdf32-37d0-47f7-9045-47e0561730d5__wakuorg_nwaku:latest.log
2026-02-26 04:38:48.120 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 58462
2026-02-26 04:38:48.120 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-26 04:38:49.121 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58462/health" -H "Content-Type: application/json" -d 'None'
2026-02-26 04:38:49.124 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-26 04:38:49.125 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-26 04:38:49.125 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58462/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-26 04:38:49.127 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.129.140/tcp/58463/p2p/16Uiu2HAm81AVQ86S1W5TKdtyhN8tDLmZTcqkg6y3DmkrXapi3ZR1","/ip4/172.18.129.140/tcp/58464/ws/p2p/16Uiu2HAm81AVQ86S1W5TKdtyhN8tDLmZTcqkg6y3DmkrXapi3ZR1"],"enrUri":"enr:-L24QL_KUE-duYIvnK41owWS2GSn3AHmbBFr46xa7b71BQK7P8AgbKOOa_fISuvMBztf_H-XJWcXzN3_YV5se0NQh4oCgmlkgnY0gmlwhKwSgYyKbXVsdGlhZGRyc5YACASsEoGMBuRfAAoErBKBjAbkYN0DgnJzhQADAQAAiXNlY3AyNTZrMaECuuCljOw0CTqBM-3OM968kEpBRDnYFfKDW88i7TolVnCDdGNwguRfg3VkcILkYYV3YWt1MgA"}'
2026-02-26 04:38:49.127 INFO [src.node.waku_node] REST service is ready !!
2026-02-26 04:38:49.128 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.30.88/tcp/40592/p2p/16Uiu2HAkucWa8L5Q9AWj4o3iQYujwvysJrwVUYWduu99zrECHZBa"]'
2026-02-26 04:38:49.168 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-26 04:38:49.168 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-26 04:38:49.169 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40591/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-26 04:38:49.186 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-26 04:38:49.187 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "77cf6908-a891-4591-9488-a0689014539f", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.200 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"77cf6908-a891-4591-9488-a0689014539f","statusDesc":"OK"}'
2026-02-26 04:38:49.202 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-02-26 04:38:49.203 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.208 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:58462/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\\"))"}'
2026-02-26 04:38:49.210 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-02-26 04:38:49.210 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A dictionary", "value": {"key": "YWFh"}}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.212 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:58462/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\\"))"}'
2026-02-26 04:38:49.213 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-02-26 04:38:49.213 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.216 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:58462/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\\"))"}'
2026-02-26 04:38:49.216 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-02-26 04:38:49.217 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.219 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:58462/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\\"))"}'
2026-02-26 04:38:49.220 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-02-26 04:38:49.220 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58462/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-26 04:38:49.222 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:58462/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\\"))"}'
2026-02-26 04:38:49.225 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-26 04:38:49.226 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-26 04:38:49.226 DEBUG [src.node.waku_node] Stopping container with id e3f12071d495
2026-02-26 04:38:49.838 DEBUG [src.node.waku_node] Container stopped.
2026-02-26 04:38:49.839 DEBUG [src.node.waku_node] Stopping container with id 109ab0757475
2026-02-26 04:38:50.425 DEBUG [src.node.waku_node] Container stopped.
2026-02-26 04:38:50.429 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-26 04:38:50.434 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-26 04:38:50.439 DEBUG [src.node.docker_mananger] No errors found in the waku logs.