82 lines
16 KiB
Plaintext

2026-03-04 04:34:55.363 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-04 04:34:55.363 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-04_04-34-55__a356f387-aae3-4a09-aa36-2c447b95e029
2026-03-04 04:34:55.363 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-04 04:34:55.364 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-04 04:34:55.364 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-04 04:34:55.371 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-04 04:34:55.372 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-04_04-34-55__a356f387-aae3-4a09-aa36-2c447b95e029__wakuorg_nwaku:latest.log
2026-03-04 04:34:55.372 DEBUG [src.node.waku_node] Starting Node...
2026-03-04 04:34:55.372 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-04 04:34:55.375 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-04 04:34:55.375 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.201.54
2026-03-04 04:34:55.376 DEBUG [src.node.docker_mananger] Generated ports ['29287', '29288', '29289', '29290', '29291']
2026-03-04 04:34:55.376 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-04 04:34:55.376 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-04 04:34:55.376 DEBUG [src.node.waku_node] Using volumes []
2026-03-04 04:34:55.376 DEBUG [src.node.docker_mananger] docker run -i -t -p 29287:29287 -p 29288:29288 -p 29289:29289 -p 29290:29290 -p 29291:29291 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=29289 --rest-port=29287 --tcp-port=29288 --discv5-udp-port=29290 --rest-address=0.0.0.0 --nat=extip:172.18.201.54 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0eeaaf6f6d5f77fbf23ee55cf1dd3baffda7fbc955b83a65f9ebe7e4cc87ead0 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29291 --metrics-logging=true --relay=true --filter=true
2026-03-04 04:34:55.570 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.201.54 waku 61824d6374051e2211d3f4dfac52845f2b79fbb41d101d1d34019735663fca53
2026-03-04 04:34:55.579 ERROR [src.node.docker_mananger] Max retries reached for container 1954bd364a4b. Exiting log stream.
2026-03-04 04:34:55.609 DEBUG [src.node.docker_mananger] Container started with ID 61824d637405. Setting up logs at ./log/docker/node1_2026-03-04_04-34-55__a356f387-aae3-4a09-aa36-2c447b95e029__wakuorg_nwaku:latest.log
2026-03-04 04:34:55.611 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 29287
2026-03-04 04:34:55.612 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-04 04:34:56.134 ERROR [src.node.docker_mananger] Max retries reached for container 79df4ac5513e. Exiting log stream.
2026-03-04 04:34:56.612 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29287/health" -H "Content-Type: application/json" -d 'None'
2026-03-04 04:34:56.615 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-03-04 04:34:56.615 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-04 04:34:56.616 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29287/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-04 04:34:56.618 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.201.54/tcp/29288/p2p/16Uiu2HAmG2JCp2NVgjGYmkmjdUALHKcQwYPzw38tRmbB2nJ4SjG4","/ip4/172.18.201.54/tcp/29289/ws/p2p/16Uiu2HAmG2JCp2NVgjGYmkmjdUALHKcQwYPzw38tRmbB2nJ4SjG4"],"enrUri":"enr:-L24QM-W8gwnrjESjdEpkPWu8l4FGSwniGtBa9D7eCciiRHEYiD0qSJzYY9CAypZBKLN5kpaTuQSO1yVScM7WvFCdRsCgmlkgnY0gmlwhKwSyTaKbXVsdGlhZGRyc5YACASsEsk2BnJoAAoErBLJNgZyad0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMghx9Wf5wfSf5MDd7xrz6g07QhvvHosawRvaG17xEcmDdGNwgnJog3VkcIJyaoV3YWt1MgU"}'
2026-03-04 04:34:56.618 INFO [src.node.waku_node] REST service is ready !!
2026-03-04 04:34:56.619 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-04 04:34:56.625 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-04 04:34:56.626 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-04_04-34-55__a356f387-aae3-4a09-aa36-2c447b95e029__wakuorg_nwaku:latest.log
2026-03-04 04:34:56.626 DEBUG [src.node.waku_node] Starting Node...
2026-03-04 04:34:56.626 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-04 04:34:56.627 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-04 04:34:56.627 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.127.191
2026-03-04 04:34:56.627 DEBUG [src.node.docker_mananger] Generated ports ['1034', '1035', '1036', '1037', '1038']
2026-03-04 04:34:56.628 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-04 04:34:56.628 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-04 04:34:56.628 DEBUG [src.node.waku_node] Using volumes []
2026-03-04 04:34:56.628 DEBUG [src.node.docker_mananger] docker run -i -t -p 1034:1034 -p 1035:1035 -p 1036:1036 -p 1037:1037 -p 1038:1038 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=1036 --rest-port=1034 --tcp-port=1035 --discv5-udp-port=1037 --rest-address=0.0.0.0 --nat=extip:172.18.127.191 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bbed5f9ff1cf88069751efae96f1bd7ee1bfdb4edfdfcacf81b4699388b7d552 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1038 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QM-W8gwnrjESjdEpkPWu8l4FGSwniGtBa9D7eCciiRHEYiD0qSJzYY9CAypZBKLN5kpaTuQSO1yVScM7WvFCdRsCgmlkgnY0gmlwhKwSyTaKbXVsdGlhZGRyc5YACASsEsk2BnJoAAoErBLJNgZyad0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMghx9Wf5wfSf5MDd7xrz6g07QhvvHosawRvaG17xEcmDdGNwgnJog3VkcIJyaoV3YWt1MgU --filternode=/ip4/172.18.201.54/tcp/29288/p2p/16Uiu2HAmG2JCp2NVgjGYmkmjdUALHKcQwYPzw38tRmbB2nJ4SjG4
2026-03-04 04:34:56.844 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.127.191 waku 2adb08e28b7431751de140260ef957ee5b381eef3d1536f165ec650a36c9f827
2026-03-04 04:34:56.877 DEBUG [src.node.docker_mananger] Container started with ID 2adb08e28b74. Setting up logs at ./log/docker/node2_2026-03-04_04-34-55__a356f387-aae3-4a09-aa36-2c447b95e029__wakuorg_nwaku:latest.log
2026-03-04 04:34:56.877 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 1034
2026-03-04 04:34:56.878 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-04 04:34:57.878 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1034/health" -H "Content-Type: application/json" -d 'None'
2026-03-04 04:34:57.881 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-03-04 04:34:57.882 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-04 04:34:57.882 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1034/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-04 04:34:57.884 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.127.191/tcp/1035/p2p/16Uiu2HAmSFvBPBSkG2261UsRoEhdqmaPHscjRHs6vMCxV6aUehTD","/ip4/172.18.127.191/tcp/1036/ws/p2p/16Uiu2HAmSFvBPBSkG2261UsRoEhdqmaPHscjRHs6vMCxV6aUehTD"],"enrUri":"enr:-L24QDtd1HlwW6dUBtz0kEQNqWqm4N4Y2X0qZ25ZVunR6nttMQYRe9NYHK49o0Or0rKghfG7KWJp9Izf-b9xjUMoLfgCgmlkgnY0gmlwhKwSf7-KbXVsdGlhZGRyc5YACASsEn-_BgQLAAoErBJ_vwYEDN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDyhqK29SHFiaB4uMhzZufxED2YzkVNXOroGc09AeYR-iDdGNwggQLg3VkcIIEDYV3YWt1MgA"}'
2026-03-04 04:34:57.884 INFO [src.node.waku_node] REST service is ready !!
2026-03-04 04:34:57.885 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.201.54/tcp/29288/p2p/16Uiu2HAmG2JCp2NVgjGYmkmjdUALHKcQwYPzw38tRmbB2nJ4SjG4"]'
2026-03-04 04:34:57.921 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-04 04:34:57.922 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-04 04:34:57.923 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29287/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-04 04:34:57.941 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-04 04:34:57.942 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "abed5b18-bf56-453c-a807-fc7d3715ab44", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-04 04:34:57.956 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"abed5b18-bf56-453c-a807-fc7d3715ab44","statusDesc":"OK"}'
2026-03-04 04:34:57.958 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-04 04:34:57.958 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-04 04:34:57.961 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:1034/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-03-04 04:34:57.962 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-04 04:34:57.962 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/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-03-04 04:34:57.965 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:1034/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-03-04 04:34:57.965 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-04 04:34:57.966 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-04 04:34:57.968 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:1034/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-03-04 04:34:57.969 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-04 04:34:57.969 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-04 04:34:57.972 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:1034/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-03-04 04:34:57.972 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-04 04:34:57.973 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1034/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-04 04:34:57.975 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:1034/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-03-04 04:34:57.978 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-04 04:34:57.979 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-04 04:34:57.979 DEBUG [src.node.waku_node] Stopping container with id 61824d637405
2026-03-04 04:34:58.547 DEBUG [src.node.waku_node] Container stopped.
2026-03-04 04:34:58.547 DEBUG [src.node.waku_node] Stopping container with id 2adb08e28b74
2026-03-04 04:34:59.127 DEBUG [src.node.waku_node] Container stopped.
2026-03-04 04:34:59.128 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-04 04:34:59.135 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-04 04:34:59.140 DEBUG [src.node.docker_mananger] No errors found in the waku logs.