2026-02-25 20:22:16 +00:00

82 lines
16 KiB
Plaintext

2026-02-25 20:07:07.805 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 20:07:07.805 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5
2026-02-25 20:07:07.805 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 20:07:07.805 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-25 20:07:07.806 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-25 20:07:07.811 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:07:07.811 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
2026-02-25 20:07:07.811 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:07:07.811 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:07:07.812 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:07:07.812 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.162.192
2026-02-25 20:07:07.812 DEBUG [src.node.docker_mananger] Generated ports ['10643', '10644', '10645', '10646', '10647']
2026-02-25 20:07:07.812 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:07:07.812 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:07:07.813 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:07:07.813 DEBUG [src.node.docker_mananger] docker run -i -t -p 10643:10643 -p 10644:10644 -p 10645:10645 -p 10646:10646 -p 10647:10647 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=10645 --rest-port=10643 --tcp-port=10644 --discv5-udp-port=10646 --rest-address=0.0.0.0 --nat=extip:172.18.162.192 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0654faf819fedfc1adc7dd41dcbf51dff1eadcf28cb284bf6fcecff8a6eddc3f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10647 --metrics-logging=true --relay=true --filter=true
2026-02-25 20:07:07.953 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.162.192 waku 3e0a916e54692369234fe20d716fc2216f323b50d29a25061abf09ba5490b9fa
2026-02-25 20:07:07.978 DEBUG [src.node.docker_mananger] Container started with ID 3e0a916e5469. Setting up logs at ./log/docker/node1_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
2026-02-25 20:07:07.979 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 10643
2026-02-25 20:07:07.980 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:07:08.141 ERROR [src.node.docker_mananger] Max retries reached for container f152d17269a9. Exiting log stream.
2026-02-25 20:07:08.603 ERROR [src.node.docker_mananger] Max retries reached for container 19ea7c5bef1a. Exiting log stream.
2026-02-25 20:07:08.980 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10643/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:07:08.982 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 20:07:08.983 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:07:08.983 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10643/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:07:08.985 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5","/ip4/172.18.162.192/tcp/10645/ws/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5"],"enrUri":"enr:-L24QLCI14IYI9Emn3uWwOu3yPx0vRZMDN8qTTNXl_PwEHglYw2K19i1LDqCdfZBtfe6byXzXZwo-hREzJRJwBx54b0CgmlkgnY0gmlwhKwSosCKbXVsdGlhZGRyc5YACASsEqLABimUAAoErBKiwAYpld0DgnJzhQADAQAAiXNlY3AyNTZrMaECUFlsNgOxOWFklx3RyMHaOvy2KOsDj9uF6GdL1fdbdOqDdGNwgimUg3VkcIIploV3YWt1MgU"}'
2026-02-25 20:07:08.985 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:07:08.985 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-25 20:07:08.991 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:07:08.991 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
2026-02-25 20:07:08.991 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:07:08.991 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:07:08.992 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:07:08.992 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.69.235
2026-02-25 20:07:08.993 DEBUG [src.node.docker_mananger] Generated ports ['25948', '25949', '25950', '25951', '25952']
2026-02-25 20:07:08.993 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:07:08.993 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:07:08.993 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:07:08.993 DEBUG [src.node.docker_mananger] docker run -i -t -p 25948:25948 -p 25949:25949 -p 25950:25950 -p 25951:25951 -p 25952:25952 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=25950 --rest-port=25948 --tcp-port=25949 --discv5-udp-port=25951 --rest-address=0.0.0.0 --nat=extip:172.18.69.235 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a579e63c444ad8cd0279d5cbd4cd2ef47fb33e81ecfef3ac7fefdd7e0e0edecc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25952 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLCI14IYI9Emn3uWwOu3yPx0vRZMDN8qTTNXl_PwEHglYw2K19i1LDqCdfZBtfe6byXzXZwo-hREzJRJwBx54b0CgmlkgnY0gmlwhKwSosCKbXVsdGlhZGRyc5YACASsEqLABimUAAoErBKiwAYpld0DgnJzhQADAQAAiXNlY3AyNTZrMaECUFlsNgOxOWFklx3RyMHaOvy2KOsDj9uF6GdL1fdbdOqDdGNwgimUg3VkcIIploV3YWt1MgU --filternode=/ip4/172.18.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5
2026-02-25 20:07:09.148 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.69.235 waku fbeb3a08261312f461cecc23156f9a05626a91526e6e895c6ef5984be126cc0d
2026-02-25 20:07:09.171 DEBUG [src.node.docker_mananger] Container started with ID fbeb3a082613. Setting up logs at ./log/docker/node2_2026-02-25_20-07-07__6eb52845-2683-4531-a122-ef59d5d565f5__wakuorg_nwaku:latest.log
2026-02-25 20:07:09.171 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 25948
2026-02-25 20:07:09.171 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:07:10.172 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25948/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:07:10.175 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 20:07:10.175 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:07:10.175 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25948/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:07:10.177 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.69.235/tcp/25949/p2p/16Uiu2HAm6w9xqzN4FdUqAcQcqirTuvndo2Jgfp8cmhnEJpsP2e46","/ip4/172.18.69.235/tcp/25950/ws/p2p/16Uiu2HAm6w9xqzN4FdUqAcQcqirTuvndo2Jgfp8cmhnEJpsP2e46"],"enrUri":"enr:-L24QLmKPUFqgL-4hBEvi3E0LmdNb4bvsH9iZ2aAraYIpvCZDONVgwp27cP8VAoTpInSAJ4f__7VqJHT8qFMhQl6Sw8CgmlkgnY0gmlwhKwSReuKbXVsdGlhZGRyc5YACASsEkXrBmVdAAoErBJF6wZlXt0DgnJzhQADAQAAiXNlY3AyNTZrMaECqv4Kdo_iwVHu4vrOVboqH3kiu3aLemPJHKCweIbdAO-DdGNwgmVdg3VkcIJlX4V3YWt1MgA"}'
2026-02-25 20:07:10.177 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:07:10.178 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25948/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.162.192/tcp/10644/p2p/16Uiu2HAkzqKgVXZrg71p78Z8VwFfhL8wgrTt5cChUrkeqfaDKEe5"]'
2026-02-25 20:07:10.210 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:07:10.211 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-25 20:07:10.212 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10643/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:07:10.226 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:07:10.227 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25948/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "421896b1-de61-431f-b8fb-5c7be23f1aaa", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 20:07:10.239 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"421896b1-de61-431f-b8fb-5c7be23f1aaa","statusDesc":"OK"}'
2026-02-25 20:07:10.240 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2026-02-25 20:07:10.241 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:25948/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 20:07:10.243 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25948/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 20:07:10.244 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2026-02-25 20:07:10.244 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:25948/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 20:07:10.247 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25948/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 20:07:10.247 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2026-02-25 20:07:10.248 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:25948/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 20:07:10.250 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25948/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 20:07:10.250 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2026-02-25 20:07:10.250 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:25948/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 20:07:10.253 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25948/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 20:07:10.253 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2026-02-25 20:07:10.254 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:25948/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 20:07:10.256 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25948/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 20:07:10.258 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 20:07:10.259 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 20:07:10.259 DEBUG [src.node.waku_node] Stopping container with id 3e0a916e5469
2026-02-25 20:07:10.736 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:07:10.737 DEBUG [src.node.waku_node] Stopping container with id fbeb3a082613
2026-02-25 20:07:11.200 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:07:11.203 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 20:07:11.207 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 20:07:11.211 DEBUG [src.node.docker_mananger] No errors found in the waku logs.