82 lines
16 KiB
Plaintext

2026-03-26 04:51:19.314 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-26 04:51:19.314 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-26_04-51-19__8b41cbb1-a10f-4dd1-adc4-35dee789cd0e
2026-03-26 04:51:19.315 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-26 04:51:19.315 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-26 04:51:19.315 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-26 04:51:19.322 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:51:19.322 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-26_04-51-19__8b41cbb1-a10f-4dd1-adc4-35dee789cd0e__wakuorg_nwaku:latest.log
2026-03-26 04:51:19.322 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:51:19.322 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:51:19.324 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:51:19.324 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.52.33
2026-03-26 04:51:19.324 DEBUG [src.node.docker_mananger] Generated ports ['16022', '16023', '16024', '16025', '16026']
2026-03-26 04:51:19.324 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:51:19.324 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:51:19.324 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:51:19.325 DEBUG [src.node.docker_mananger] docker run -i -t -p 16022:16022 -p 16023:16023 -p 16024:16024 -p 16025:16025 -p 16026:16026 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=16024 --rest-port=16022 --tcp-port=16023 --discv5-udp-port=16025 --rest-address=0.0.0.0 --nat=extip:172.18.52.33 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c1965ae2c0bdff697f39f1486bc1aad68f0aa9f7fbbcac28e03d8b2b59ad6a23 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=16026 --metrics-logging=true --relay=true --filter=true
2026-03-26 04:51:19.507 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.52.33 waku 1c6aea15c8af2b2694d812a8ed1abd0d41e1232c63d43e768caa5f5fdd7a7456
2026-03-26 04:51:19.544 DEBUG [src.node.docker_mananger] Container started with ID 1c6aea15c8af. Setting up logs at ./log/docker/node1_2026-03-26_04-51-19__8b41cbb1-a10f-4dd1-adc4-35dee789cd0e__wakuorg_nwaku:latest.log
2026-03-26 04:51:19.544 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 16022
2026-03-26 04:51:19.545 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:51:19.549 ERROR [src.node.docker_mananger] Max retries reached for container 2d27d2067340. Exiting log stream.
2026-03-26 04:51:20.124 ERROR [src.node.docker_mananger] Max retries reached for container f48a73aa43e7. Exiting log stream.
2026-03-26 04:51:20.546 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16022/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:51:20.549 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-26 04:51:20.549 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:51:20.549 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:16022/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:51:20.551 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.52.33/tcp/16023/p2p/16Uiu2HAm8Tf8MoDkmxL7tnwxbC8Cj6rSV1oYFykAJ5P4Ne2uzAF9","/ip4/172.18.52.33/tcp/16024/ws/p2p/16Uiu2HAm8Tf8MoDkmxL7tnwxbC8Cj6rSV1oYFykAJ5P4Ne2uzAF9"],"enrUri":"enr:-L24QFFphMwPMGIgLut3ltiFaTBIY3QwNS90NSo9WVc1U79UcD4COibVrhzQlgSdjGsVXPP14ksdErN0FrzB0SGP_f4CgmlkgnY0gmlwhKwSNCGKbXVsdGlhZGRyc5YACASsEjQhBj6XAAoErBI0IQY-mN0DgnJzhQADAQAAiXNlY3AyNTZrMaECwaogwS8IdsMPG2tdNbnqowhSV2ZTCyOriArbYsrqFACDdGNwgj6Xg3VkcII-mYV3YWt1MgU"}'
2026-03-26 04:51:20.552 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:51:20.552 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-26 04:51:20.558 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:51:20.558 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-26_04-51-19__8b41cbb1-a10f-4dd1-adc4-35dee789cd0e__wakuorg_nwaku:latest.log
2026-03-26 04:51:20.559 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:51:20.559 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:51:20.560 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:51:20.560 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.64.186
2026-03-26 04:51:20.560 DEBUG [src.node.docker_mananger] Generated ports ['34996', '34997', '34998', '34999', '35000']
2026-03-26 04:51:20.561 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:51:20.561 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:51:20.561 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:51:20.561 DEBUG [src.node.docker_mananger] docker run -i -t -p 34996:34996 -p 34997:34997 -p 34998:34998 -p 34999:34999 -p 35000:35000 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=34998 --rest-port=34996 --tcp-port=34997 --discv5-udp-port=34999 --rest-address=0.0.0.0 --nat=extip:172.18.64.186 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bfcf8113a22aed5ad7b775ebd7d321ae53a8ac23799bf99276f9a6edf8993573 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=35000 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QFFphMwPMGIgLut3ltiFaTBIY3QwNS90NSo9WVc1U79UcD4COibVrhzQlgSdjGsVXPP14ksdErN0FrzB0SGP_f4CgmlkgnY0gmlwhKwSNCGKbXVsdGlhZGRyc5YACASsEjQhBj6XAAoErBI0IQY-mN0DgnJzhQADAQAAiXNlY3AyNTZrMaECwaogwS8IdsMPG2tdNbnqowhSV2ZTCyOriArbYsrqFACDdGNwgj6Xg3VkcII-mYV3YWt1MgU --filternode=/ip4/172.18.52.33/tcp/16023/p2p/16Uiu2HAm8Tf8MoDkmxL7tnwxbC8Cj6rSV1oYFykAJ5P4Ne2uzAF9
2026-03-26 04:51:20.750 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.64.186 waku 8ef17e8a05f6c06d8fc1e50cefe469ecde9cf2eca19c1f5595171f2b8bb6f9e9
2026-03-26 04:51:20.784 DEBUG [src.node.docker_mananger] Container started with ID 8ef17e8a05f6. Setting up logs at ./log/docker/node2_2026-03-26_04-51-19__8b41cbb1-a10f-4dd1-adc4-35dee789cd0e__wakuorg_nwaku:latest.log
2026-03-26 04:51:20.784 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 34996
2026-03-26 04:51:20.785 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:51:21.786 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34996/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:51:21.788 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-26 04:51:21.789 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:51:21.789 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:34996/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:51:21.791 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.64.186/tcp/34997/p2p/16Uiu2HAmJ61F2wL1hwZLBHApT5UKRL5dkoRaH3FcbKgU8ZxdC9aE","/ip4/172.18.64.186/tcp/34998/ws/p2p/16Uiu2HAmJ61F2wL1hwZLBHApT5UKRL5dkoRaH3FcbKgU8ZxdC9aE"],"enrUri":"enr:-L24QAm8fnTo2sGZwmgeMc7ynEHLNT1HbXgsjOYmJVc-1F7DXGYeIY2hW8QEUCfVUw9fcNiSEYADHmLTe8FrSCMtaasCgmlkgnY0gmlwhKwSQLqKbXVsdGlhZGRyc5YACASsEkC6Boi1AAoErBJAugaItt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDULL2rw7hNGdnoqnSKCM0QuvO4t0OqgOzwh5iEgd5Vn-DdGNwgoi1g3VkcIKIt4V3YWt1MgA"}'
2026-03-26 04:51:21.791 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:51:21.791 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.52.33/tcp/16023/p2p/16Uiu2HAm8Tf8MoDkmxL7tnwxbC8Cj6rSV1oYFykAJ5P4Ne2uzAF9"]'
2026-03-26 04:51:21.825 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:51:21.826 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-26 04:51:21.829 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:16022/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-26 04:51:21.846 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:51:21.849 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "59d058d6-342f-47e4-87dc-75824b06843b", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-26 04:51:21.861 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"59d058d6-342f-47e4-87dc-75824b06843b","statusDesc":"OK"}'
2026-03-26 04:51:21.863 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-26 04:51:21.863 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-26 04:51:21.865 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:34996/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-26 04:51:21.866 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-26 04:51:21.866 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/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-26 04:51:21.869 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:34996/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-26 04:51:21.870 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-26 04:51:21.870 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/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-26 04:51:21.872 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:34996/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-26 04:51:21.873 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-26 04:51:21.873 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/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-26 04:51:21.876 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:34996/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-26 04:51:21.876 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-26 04:51:21.877 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:34996/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-26 04:51:21.879 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:34996/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-26 04:51:21.881 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-26 04:51:21.882 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-26 04:51:21.882 DEBUG [src.node.waku_node] Stopping container with id 1c6aea15c8af
2026-03-26 04:51:22.447 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:51:22.448 DEBUG [src.node.waku_node] Stopping container with id 8ef17e8a05f6
2026-03-26 04:51:22.971 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:51:22.975 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-26 04:51:22.981 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-26 04:51:22.985 DEBUG [src.node.docker_mananger] No errors found in the waku logs.