82 lines
16 KiB
Plaintext

2026-03-05 04:37:06.569 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-05 04:37:06.569 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-05_04-37-06__0a19d308-1038-4998-9752-d76fb26aaee6
2026-03-05 04:37:06.569 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-05 04:37:06.570 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-05 04:37:06.570 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-05 04:37:06.576 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-05 04:37:06.576 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-05_04-37-06__0a19d308-1038-4998-9752-d76fb26aaee6__wakuorg_nwaku:latest.log
2026-03-05 04:37:06.576 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 04:37:06.577 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 04:37:06.579 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 04:37:06.579 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.139.222
2026-03-05 04:37:06.580 DEBUG [src.node.docker_mananger] Generated ports ['1404', '1405', '1406', '1407', '1408']
2026-03-05 04:37:06.580 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 04:37:06.580 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 04:37:06.580 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 04:37:06.581 DEBUG [src.node.docker_mananger] docker run -i -t -p 1404:1404 -p 1405:1405 -p 1406:1406 -p 1407:1407 -p 1408:1408 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=1406 --rest-port=1404 --tcp-port=1405 --discv5-udp-port=1407 --rest-address=0.0.0.0 --nat=extip:172.18.139.222 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5e2d70c5574ecf30dddcc4d7419ea9dac1e6c0bcd2cdc57cedf2eb00fec2bdcf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1408 --metrics-logging=true --relay=true --filter=true
2026-03-05 04:37:06.770 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.139.222 waku e9f54d4608e5655918e239eff5ccab8d788d3bbe9ecc898908f23e3b5b6a1703
2026-03-05 04:37:06.784 ERROR [src.node.docker_mananger] Max retries reached for container d3e4cb7f023f. Exiting log stream.
2026-03-05 04:37:06.807 DEBUG [src.node.docker_mananger] Container started with ID e9f54d4608e5. Setting up logs at ./log/docker/node1_2026-03-05_04-37-06__0a19d308-1038-4998-9752-d76fb26aaee6__wakuorg_nwaku:latest.log
2026-03-05 04:37:06.807 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 1404
2026-03-05 04:37:06.808 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 04:37:07.370 ERROR [src.node.docker_mananger] Max retries reached for container 5ea7ebcaddb3. Exiting log stream.
2026-03-05 04:37:07.809 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1404/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:37:07.812 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-05 04:37:07.812 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 04:37:07.812 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:1404/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:37:07.814 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.139.222/tcp/1405/p2p/16Uiu2HAm3rLsBJR6ntc37CQnuDB3SAqjJcxeoPZTs4UN7N8xnDgK","/ip4/172.18.139.222/tcp/1406/ws/p2p/16Uiu2HAm3rLsBJR6ntc37CQnuDB3SAqjJcxeoPZTs4UN7N8xnDgK"],"enrUri":"enr:-L24QDkU8Ib22JQlX3YvYUGYzKQV_fQ19rSTKXsttG6zUODJCftgjYC2Uq5Tgqe_kLA789pMV_e4Wz6WLky5bRZpZiwCgmlkgnY0gmlwhKwSi96KbXVsdGlhZGRyc5YACASsEoveBgV9AAoErBKL3gYFft0DgnJzhQADAQAAiXNlY3AyNTZrMaECfS9nPzedY2j3nc3EuIp-2rvB1CzvcYGUR8axZIoLVrCDdGNwggV9g3VkcIIFf4V3YWt1MgU"}'
2026-03-05 04:37:07.815 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 04:37:07.815 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-05 04:37:07.822 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-05 04:37:07.822 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-05_04-37-06__0a19d308-1038-4998-9752-d76fb26aaee6__wakuorg_nwaku:latest.log
2026-03-05 04:37:07.822 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 04:37:07.822 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 04:37:07.823 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 04:37:07.824 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.6.24
2026-03-05 04:37:07.824 DEBUG [src.node.docker_mananger] Generated ports ['28643', '28644', '28645', '28646', '28647']
2026-03-05 04:37:07.824 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 04:37:07.824 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 04:37:07.824 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 04:37:07.824 DEBUG [src.node.docker_mananger] docker run -i -t -p 28643:28643 -p 28644:28644 -p 28645:28645 -p 28646:28646 -p 28647:28647 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=28645 --rest-port=28643 --tcp-port=28644 --discv5-udp-port=28646 --rest-address=0.0.0.0 --nat=extip:172.18.6.24 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8aacdcc997ec0d06aee3840412f45afee1a7bbdabceecd80a31690bd110ea6cd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28647 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QDkU8Ib22JQlX3YvYUGYzKQV_fQ19rSTKXsttG6zUODJCftgjYC2Uq5Tgqe_kLA789pMV_e4Wz6WLky5bRZpZiwCgmlkgnY0gmlwhKwSi96KbXVsdGlhZGRyc5YACASsEoveBgV9AAoErBKL3gYFft0DgnJzhQADAQAAiXNlY3AyNTZrMaECfS9nPzedY2j3nc3EuIp-2rvB1CzvcYGUR8axZIoLVrCDdGNwggV9g3VkcIIFf4V3YWt1MgU --filternode=/ip4/172.18.139.222/tcp/1405/p2p/16Uiu2HAm3rLsBJR6ntc37CQnuDB3SAqjJcxeoPZTs4UN7N8xnDgK
2026-03-05 04:37:08.020 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.6.24 waku 4e10f39eef766968bf974c5322a517e096bbcc7e81a1bd9728c4dfd7c1f3784a
2026-03-05 04:37:08.056 DEBUG [src.node.docker_mananger] Container started with ID 4e10f39eef76. Setting up logs at ./log/docker/node2_2026-03-05_04-37-06__0a19d308-1038-4998-9752-d76fb26aaee6__wakuorg_nwaku:latest.log
2026-03-05 04:37:08.056 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 28643
2026-03-05 04:37:08.056 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 04:37:09.057 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28643/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:37:09.060 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-05 04:37:09.061 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 04:37:09.061 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28643/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:37:09.063 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.6.24/tcp/28644/p2p/16Uiu2HAmBYHBaFjuHesyVeLD1Rj782WyVxsTmBH72tKrwaqEX5uc","/ip4/172.18.6.24/tcp/28645/ws/p2p/16Uiu2HAmBYHBaFjuHesyVeLD1Rj782WyVxsTmBH72tKrwaqEX5uc"],"enrUri":"enr:-L24QCEf6nQSGZcM1g5qt4zYxEsjBN7NF8pErekYMQuMPInoPD95U9JeGtz4IipEz__iEdqzS75zda7d1r-9U1voyVoCgmlkgnY0gmlwhKwSBhiKbXVsdGlhZGRyc5YACASsEgYYBm_kAAoErBIGGAZv5d0DgnJzhQADAQAAiXNlY3AyNTZrMaEC72xHq8OMGHJu1JSTcx0k8Ip9K-dVEHAVbfa_GIYQZzuDdGNwgm_kg3VkcIJv5oV3YWt1MgA"}'
2026-03-05 04:37:09.063 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 04:37:09.064 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.139.222/tcp/1405/p2p/16Uiu2HAm3rLsBJR6ntc37CQnuDB3SAqjJcxeoPZTs4UN7N8xnDgK"]'
2026-03-05 04:37:09.099 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:37:09.101 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-05 04:37:09.102 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:1404/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-05 04:37:09.117 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:37:09.118 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "4f5b4bec-49ae-417c-a536-09f5c2f63cb9", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-05 04:37:09.131 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"4f5b4bec-49ae-417c-a536-09f5c2f63cb9","statusDesc":"OK"}'
2026-03-05 04:37:09.133 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-05 04:37:09.133 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-05 04:37:09.136 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:28643/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-05 04:37:09.138 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-05 04:37:09.138 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/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-05 04:37:09.140 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:28643/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-05 04:37:09.141 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-05 04:37:09.141 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/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-05 04:37:09.144 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:28643/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-05 04:37:09.144 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-05 04:37:09.145 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/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-05 04:37:09.147 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:28643/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-05 04:37:09.148 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-05 04:37:09.148 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/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-05 04:37:09.151 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:28643/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-05 04:37:09.153 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-05 04:37:09.154 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-05 04:37:09.154 DEBUG [src.node.waku_node] Stopping container with id e9f54d4608e5
2026-03-05 04:37:09.705 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 04:37:09.705 DEBUG [src.node.waku_node] Stopping container with id 4e10f39eef76
2026-03-05 04:37:10.284 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 04:37:10.285 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-05 04:37:10.290 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-05 04:37:10.299 DEBUG [src.node.docker_mananger] No errors found in the waku logs.