2026-02-04 17:29:28 +00:00

82 lines
16 KiB
Plaintext

2026-02-04 17:14:57.805 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-04 17:14:57.806 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-02-04_17-14-57__ef47dbda-b7a7-492d-9b06-a2d7ed5a8845
2026-02-04 17:14:57.806 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-04 17:14:57.806 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-04 17:14:57.806 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-04 17:14:57.812 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-04 17:14:57.812 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-04_17-14-57__ef47dbda-b7a7-492d-9b06-a2d7ed5a8845__wakuorg_nwaku:latest.log
2026-02-04 17:14:57.813 DEBUG [src.node.waku_node] Starting Node...
2026-02-04 17:14:57.813 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-04 17:14:57.814 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-04 17:14:57.814 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.204.96
2026-02-04 17:14:57.814 DEBUG [src.node.docker_mananger] Generated ports ['44278', '44279', '44280', '44281', '44282']
2026-02-04 17:14:57.814 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-04 17:14:57.814 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-04 17:14:57.815 DEBUG [src.node.waku_node] Using volumes []
2026-02-04 17:14:57.815 DEBUG [src.node.docker_mananger] docker run -i -t -p 44278:44278 -p 44279:44279 -p 44280:44280 -p 44281:44281 -p 44282:44282 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=44280 --rest-port=44278 --tcp-port=44279 --discv5-udp-port=44281 --rest-address=0.0.0.0 --nat=extip:172.18.204.96 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=cc6ff76befe8b70b2d09e4153b328405cdd7ad866b7cd097bb26e57e9ddc1bf8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=44282 --metrics-logging=true --relay=true --filter=true
2026-02-04 17:14:57.965 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.204.96 waku e2fbc55c7fffe74e78cec9c7393190a406b5082f8eaba9adbd88dc4c47fb13b2
2026-02-04 17:14:57.990 DEBUG [src.node.docker_mananger] Container started with ID e2fbc55c7fff. Setting up logs at ./log/docker/node1_2026-02-04_17-14-57__ef47dbda-b7a7-492d-9b06-a2d7ed5a8845__wakuorg_nwaku:latest.log
2026-02-04 17:14:57.991 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 44278
2026-02-04 17:14:57.991 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-04 17:14:58.135 ERROR [src.node.docker_mananger] Max retries reached for container a8b5fe870205. Exiting log stream.
2026-02-04 17:14:58.591 ERROR [src.node.docker_mananger] Max retries reached for container fdf98cdb6d10. Exiting log stream.
2026-02-04 17:14:58.991 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:44278/health" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:14:58.995 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"}]}'
2026-02-04 17:14:58.995 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-04 17:14:58.995 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:44278/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:14:58.998 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.204.96/tcp/44279/p2p/16Uiu2HAm5Mv91UVXnsa8CGP41sV9D1yXZKvCNUBpDSxbUpnRQu1b","/ip4/172.18.204.96/tcp/44280/ws/p2p/16Uiu2HAm5Mv91UVXnsa8CGP41sV9D1yXZKvCNUBpDSxbUpnRQu1b"],"enrUri":"enr:-L24QBP7cEd4dDm6dsbxBPQINKqr37fP_BzfxJ5JsNS6xh3EG32Gkqef6h_qsJo1ZegiqPQsOValmQ6BiNn-hlWf62YCgmlkgnY0gmlwhKwSzGCKbXVsdGlhZGRyc5YACASsEsxgBqz3AAoErBLMYAas-N0DgnJzhQADAQAAiXNlY3AyNTZrMaECk56ON11SZ9xo56fj7tWWVIEiH4de0J4oZ1GWAbqhuOqDdGNwgqz3g3VkcIKs-YV3YWt1MgU"}'
2026-02-04 17:14:58.999 INFO [src.node.waku_node] REST service is ready !!
2026-02-04 17:14:58.999 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-04 17:14:59.005 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-04 17:14:59.005 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-04_17-14-57__ef47dbda-b7a7-492d-9b06-a2d7ed5a8845__wakuorg_nwaku:latest.log
2026-02-04 17:14:59.005 DEBUG [src.node.waku_node] Starting Node...
2026-02-04 17:14:59.005 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-04 17:14:59.007 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-04 17:14:59.007 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.58.236
2026-02-04 17:14:59.007 DEBUG [src.node.docker_mananger] Generated ports ['42988', '42989', '42990', '42991', '42992']
2026-02-04 17:14:59.007 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-04 17:14:59.007 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-04 17:14:59.007 DEBUG [src.node.waku_node] Using volumes []
2026-02-04 17:14:59.008 DEBUG [src.node.docker_mananger] docker run -i -t -p 42988:42988 -p 42989:42989 -p 42990:42990 -p 42991:42991 -p 42992:42992 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=42990 --rest-port=42988 --tcp-port=42989 --discv5-udp-port=42991 --rest-address=0.0.0.0 --nat=extip:172.18.58.236 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4bdcaa734cb3ddda1d963cffc6f66c8b1fc8b7a0c6d60c8371bc3c4fce14db54 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42992 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QBP7cEd4dDm6dsbxBPQINKqr37fP_BzfxJ5JsNS6xh3EG32Gkqef6h_qsJo1ZegiqPQsOValmQ6BiNn-hlWf62YCgmlkgnY0gmlwhKwSzGCKbXVsdGlhZGRyc5YACASsEsxgBqz3AAoErBLMYAas-N0DgnJzhQADAQAAiXNlY3AyNTZrMaECk56ON11SZ9xo56fj7tWWVIEiH4de0J4oZ1GWAbqhuOqDdGNwgqz3g3VkcIKs-YV3YWt1MgU --filternode=/ip4/172.18.204.96/tcp/44279/p2p/16Uiu2HAm5Mv91UVXnsa8CGP41sV9D1yXZKvCNUBpDSxbUpnRQu1b
2026-02-04 17:14:59.167 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.58.236 waku d39d035de9c7b348475831080cfc4f71066b285cda220bd7a6a98d79d1d7e543
2026-02-04 17:14:59.191 DEBUG [src.node.docker_mananger] Container started with ID d39d035de9c7. Setting up logs at ./log/docker/node2_2026-02-04_17-14-57__ef47dbda-b7a7-492d-9b06-a2d7ed5a8845__wakuorg_nwaku:latest.log
2026-02-04 17:14:59.192 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 42988
2026-02-04 17:14:59.193 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-04 17:15:00.193 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42988/health" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:00.198 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"}]}'
2026-02-04 17:15:00.198 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-04 17:15:00.198 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42988/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:00.201 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.58.236/tcp/42989/p2p/16Uiu2HAmFe93PNzUagaU9StGaLi57f2wxkLjdhsGX7QCDakXNHb9","/ip4/172.18.58.236/tcp/42990/ws/p2p/16Uiu2HAmFe93PNzUagaU9StGaLi57f2wxkLjdhsGX7QCDakXNHb9"],"enrUri":"enr:-L24QB-HS9JNbmFMTNKNN9dIpCt_WYOqgRSEOPAz5PsKaToPByoQHHFBDDqY_xCgkQpU375x3rOztK5Ue8kuVzGP-vsCgmlkgnY0gmlwhKwSOuyKbXVsdGlhZGRyc5YACASsEjrsBqftAAoErBI67Aan7t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDLFtOqfxfb1yVVNTRJ3ZZbl3P5MMx9rZvuhOTBFKELkSDdGNwgqftg3VkcIKn74V3YWt1MgA"}'
2026-02-04 17:15:00.201 INFO [src.node.waku_node] REST service is ready !!
2026-02-04 17:15:00.202 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.204.96/tcp/44279/p2p/16Uiu2HAm5Mv91UVXnsa8CGP41sV9D1yXZKvCNUBpDSxbUpnRQu1b"]'
2026-02-04 17:15:00.227 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-04 17:15:00.228 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-04 17:15:00.228 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:44278/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-04 17:15:00.241 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-04 17:15:00.242 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b215b918-8cfe-4ae2-abbf-3a031f293be3", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-04 17:15:00.253 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"b215b918-8cfe-4ae2-abbf-3a031f293be3","statusDesc":"OK"}'
2026-02-04 17:15:00.254 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-02-04 17:15:00.254 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-04 17:15:00.257 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:42988/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-04 17:15:00.258 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-02-04 17:15:00.258 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/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-04 17:15:00.260 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:42988/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-04 17:15:00.261 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-02-04 17:15:00.261 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/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-04 17:15:00.264 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:42988/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-04 17:15:00.264 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-02-04 17:15:00.264 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/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-04 17:15:00.266 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:42988/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-04 17:15:00.267 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-02-04 17:15:00.267 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42988/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-04 17:15:00.269 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:42988/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-04 17:15:00.272 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-04 17:15:00.272 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-04 17:15:00.272 DEBUG [src.node.waku_node] Stopping container with id e2fbc55c7fff
2026-02-04 17:15:00.791 DEBUG [src.node.waku_node] Container stopped.
2026-02-04 17:15:00.791 DEBUG [src.node.waku_node] Stopping container with id d39d035de9c7
2026-02-04 17:15:01.267 DEBUG [src.node.waku_node] Container stopped.
2026-02-04 17:15:01.268 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-04 17:15:01.274 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-04 17:15:01.278 DEBUG [src.node.docker_mananger] No errors found in the waku logs.