2026-02-25 07:41:35 +00:00

82 lines
16 KiB
Plaintext

2026-02-25 07:27:14.530 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 07:27:14.530 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-02-25_07-27-14__d83bdbb6-8fcf-417a-a256-bf0a94e82fe8
2026-02-25 07:27:14.531 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 07:27:14.531 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-25 07:27:14.531 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-25 07:27:14.538 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 07:27:14.538 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_07-27-14__d83bdbb6-8fcf-417a-a256-bf0a94e82fe8__wakuorg_nwaku:latest.log
2026-02-25 07:27:14.538 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 07:27:14.538 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 07:27:14.540 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 07:27:14.540 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.177.203
2026-02-25 07:27:14.540 DEBUG [src.node.docker_mananger] Generated ports ['13458', '13459', '13460', '13461', '13462']
2026-02-25 07:27:14.540 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 07:27:14.540 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 07:27:14.541 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 07:27:14.541 DEBUG [src.node.docker_mananger] docker run -i -t -p 13458:13458 -p 13459:13459 -p 13460:13460 -p 13461:13461 -p 13462:13462 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=13460 --rest-port=13458 --tcp-port=13459 --discv5-udp-port=13461 --rest-address=0.0.0.0 --nat=extip:172.18.177.203 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7bae0c3fc2ee4cf44b170b4a134df85be5e1d8a5a00ce78b4e8a7c459c52c230 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=13462 --metrics-logging=true --relay=true --filter=true
2026-02-25 07:27:14.725 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.177.203 waku 1b810f5f47a551f1b1b80c45bcc7ae8e2edf3c8323d543a2ca1c25fd6a4fb4bf
2026-02-25 07:27:14.758 DEBUG [src.node.docker_mananger] Container started with ID 1b810f5f47a5. Setting up logs at ./log/docker/node1_2026-02-25_07-27-14__d83bdbb6-8fcf-417a-a256-bf0a94e82fe8__wakuorg_nwaku:latest.log
2026-02-25 07:27:14.759 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 13458
2026-02-25 07:27:14.760 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 07:27:14.787 ERROR [src.node.docker_mananger] Max retries reached for container d7f099e0e023. Exiting log stream.
2026-02-25 07:27:15.340 ERROR [src.node.docker_mananger] Max retries reached for container ef2c330f42fb. Exiting log stream.
2026-02-25 07:27:15.760 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:13458/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:27:15.763 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-25 07:27:15.763 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 07:27:15.763 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:13458/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:27:15.765 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.177.203/tcp/13459/p2p/16Uiu2HAkzsScRXC262PgAD6GG2vWYxgLMEqaLUC7LpX4frbF99GV","/ip4/172.18.177.203/tcp/13460/ws/p2p/16Uiu2HAkzsScRXC262PgAD6GG2vWYxgLMEqaLUC7LpX4frbF99GV"],"enrUri":"enr:-L24QIZkr4_ITk7Sv1eUP_KeQfYgPKnEYztLM4l7mbYgf1VfcxBsIXQ2mYsW2CB7JkoDqYpGlxgDmH06bq5okI4RJ5QCgmlkgnY0gmlwhKwSscuKbXVsdGlhZGRyc5YACASsErHLBjSTAAoErBKxywY0lN0DgnJzhQADAQAAiXNlY3AyNTZrMaECUORrf6OBesosTIW3mDEaYQtrmDMyASqii3XFAkTkOEKDdGNwgjSTg3VkcII0lYV3YWt1MgU"}'
2026-02-25 07:27:15.766 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 07:27:15.766 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-25 07:27:15.772 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 07:27:15.772 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_07-27-14__d83bdbb6-8fcf-417a-a256-bf0a94e82fe8__wakuorg_nwaku:latest.log
2026-02-25 07:27:15.773 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 07:27:15.773 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 07:27:15.774 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 07:27:15.774 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.213.3
2026-02-25 07:27:15.774 DEBUG [src.node.docker_mananger] Generated ports ['31597', '31598', '31599', '31600', '31601']
2026-02-25 07:27:15.774 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 07:27:15.774 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 07:27:15.775 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 07:27:15.775 DEBUG [src.node.docker_mananger] docker run -i -t -p 31597:31597 -p 31598:31598 -p 31599:31599 -p 31600:31600 -p 31601:31601 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=31599 --rest-port=31597 --tcp-port=31598 --discv5-udp-port=31600 --rest-address=0.0.0.0 --nat=extip:172.18.213.3 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7ecf5f2532c0a9aeea0e1c51a29e0dd09d89b8da8c18e95470e18f8ebf0eacaf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31601 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QIZkr4_ITk7Sv1eUP_KeQfYgPKnEYztLM4l7mbYgf1VfcxBsIXQ2mYsW2CB7JkoDqYpGlxgDmH06bq5okI4RJ5QCgmlkgnY0gmlwhKwSscuKbXVsdGlhZGRyc5YACASsErHLBjSTAAoErBKxywY0lN0DgnJzhQADAQAAiXNlY3AyNTZrMaECUORrf6OBesosTIW3mDEaYQtrmDMyASqii3XFAkTkOEKDdGNwgjSTg3VkcII0lYV3YWt1MgU --filternode=/ip4/172.18.177.203/tcp/13459/p2p/16Uiu2HAkzsScRXC262PgAD6GG2vWYxgLMEqaLUC7LpX4frbF99GV
2026-02-25 07:27:15.966 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.213.3 waku fe80b612be584504ead04bbd2ce178414c890d5d76920704b0f13b079c171956
2026-02-25 07:27:16.002 DEBUG [src.node.docker_mananger] Container started with ID fe80b612be58. Setting up logs at ./log/docker/node2_2026-02-25_07-27-14__d83bdbb6-8fcf-417a-a256-bf0a94e82fe8__wakuorg_nwaku:latest.log
2026-02-25 07:27:16.003 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31597
2026-02-25 07:27:16.003 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 07:27:17.003 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31597/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:27:17.007 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-25 07:27:17.007 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 07:27:17.007 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31597/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:27:17.009 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.213.3/tcp/31598/p2p/16Uiu2HAmDbcW72mCvmFq3Ciws9H7ijEAJEQo67btX1pGzJeDQdc4","/ip4/172.18.213.3/tcp/31599/ws/p2p/16Uiu2HAmDbcW72mCvmFq3Ciws9H7ijEAJEQo67btX1pGzJeDQdc4"],"enrUri":"enr:-L24QFWjTwJ9K_yTTwDFFj34xt7b7nHglsKLX0X391e7B2__MZQeac0LY4WhYPSGsNIB2bSlEbg0WGXcY21473ZuoooCgmlkgnY0gmlwhKwS1QOKbXVsdGlhZGRyc5YACASsEtUDBntuAAoErBLVAwZ7b90DgnJzhQADAQAAiXNlY3AyNTZrMaEDDf49qV2vntU2ot1MKI1J7EVwZx7a09C8FuI5_JpRrTmDdGNwgntug3VkcIJ7cIV3YWt1MgA"}'
2026-02-25 07:27:17.009 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 07:27:17.010 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.177.203/tcp/13459/p2p/16Uiu2HAkzsScRXC262PgAD6GG2vWYxgLMEqaLUC7LpX4frbF99GV"]'
2026-02-25 07:27:17.044 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:27:17.045 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-25 07:27:17.047 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:13458/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 07:27:17.061 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:27:17.062 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "eb302ec4-8b65-468f-a08f-3dcf7e919800", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 07:27:17.073 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"eb302ec4-8b65-468f-a08f-3dcf7e919800","statusDesc":"OK"}'
2026-02-25 07:27:17.077 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-02-25 07:27:17.078 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 07:27:17.080 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:31597/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-25 07:27:17.082 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-02-25 07:27:17.082 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/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-25 07:27:17.084 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:31597/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-25 07:27:17.085 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-02-25 07:27:17.085 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/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-25 07:27:17.088 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:31597/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-25 07:27:17.089 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-02-25 07:27:17.089 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/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-25 07:27:17.092 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:31597/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-25 07:27:17.092 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-02-25 07:27:17.093 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31597/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-25 07:27:17.095 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:31597/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-25 07:27:17.097 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 07:27:17.098 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 07:27:17.098 DEBUG [src.node.waku_node] Stopping container with id 1b810f5f47a5
2026-02-25 07:27:17.625 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 07:27:17.627 DEBUG [src.node.waku_node] Stopping container with id fe80b612be58
2026-02-25 07:27:18.153 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 07:27:18.154 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 07:27:18.163 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 07:27:18.168 DEBUG [src.node.docker_mananger] No errors found in the waku logs.