82 lines
16 KiB
Plaintext

2025-12-26 04:13:14.011 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-26 04:13:14.012 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2025-12-26_04-13-14__75b143ad-4aa4-4c7c-b87e-4ab3322deb8c
2025-12-26 04:13:14.012 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-26 04:13:14.012 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-26 04:13:14.013 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-26 04:13:14.020 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:13:14.020 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-26_04-13-14__75b143ad-4aa4-4c7c-b87e-4ab3322deb8c__wakuorg_nwaku:latest.log
2025-12-26 04:13:14.020 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:13:14.020 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:13:14.022 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:13:14.022 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.80.121
2025-12-26 04:13:14.022 DEBUG [src.node.docker_mananger] Generated ports ['26535', '26536', '26537', '26538', '26539']
2025-12-26 04:13:14.022 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:13:14.022 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:13:14.023 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:13:14.023 DEBUG [src.node.docker_mananger] docker run -i -t -p 26535:26535 -p 26536:26536 -p 26537:26537 -p 26538:26538 -p 26539:26539 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=26537 --rest-port=26535 --tcp-port=26536 --discv5-udp-port=26538 --rest-address=0.0.0.0 --nat=extip:172.18.80.121 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=08723e97ebda245e88118009ed42e57b8a8e6fc4ecdfeadec0cd4e5faa7b6dcc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26539 --metrics-logging=true --relay=true --filter=true
2025-12-26 04:13:14.209 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.80.121 waku 982fdaef854cab3ec458553c179755f87b90c28a2c683e3b1968a1416b5271ae
2025-12-26 04:13:14.237 ERROR [src.node.docker_mananger] Max retries reached for container 72bcca09f346. Exiting log stream.
2025-12-26 04:13:14.241 DEBUG [src.node.docker_mananger] Container started with ID 982fdaef854c. Setting up logs at ./log/docker/node1_2025-12-26_04-13-14__75b143ad-4aa4-4c7c-b87e-4ab3322deb8c__wakuorg_nwaku:latest.log
2025-12-26 04:13:14.242 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 26535
2025-12-26 04:13:14.242 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:13:14.821 ERROR [src.node.docker_mananger] Max retries reached for container 6cca6d856448. Exiting log stream.
2025-12-26 04:13:15.242 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26535/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:13:15.246 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"}]}'
2025-12-26 04:13:15.246 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:13:15.246 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26535/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:13:15.249 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.80.121/tcp/26536/p2p/16Uiu2HAm8gHzknWnno3dR5B21q7gFwYg33iXp1yGwvHKu8ucsZhe","/ip4/172.18.80.121/tcp/26537/ws/p2p/16Uiu2HAm8gHzknWnno3dR5B21q7gFwYg33iXp1yGwvHKu8ucsZhe"],"enrUri":"enr:-L24QOlTlsKQXHV5oEHj-w2xNXEVQJvxSJQGkFxI1ik7aOoJSwgnDo5V0BqLcY076AlratGWq7Me7tlD2TMRd-yoFK0CgmlkgnY0gmlwhKwSUHmKbXVsdGlhZGRyc5YACASsElB5BmeoAAoErBJQeQZnqd0DgnJzhQADAQAAiXNlY3AyNTZrMaECxObJE77rwbW0veaFnmUqzAEc8tgCXcGJNGajzfzvivWDdGNwgmeog3VkcIJnqoV3YWt1MgU"}'
2025-12-26 04:13:15.249 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:13:15.249 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-26 04:13:15.256 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:13:15.256 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-26_04-13-14__75b143ad-4aa4-4c7c-b87e-4ab3322deb8c__wakuorg_nwaku:latest.log
2025-12-26 04:13:15.256 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:13:15.256 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:13:15.258 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:13:15.258 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.16.178
2025-12-26 04:13:15.258 DEBUG [src.node.docker_mananger] Generated ports ['14837', '14838', '14839', '14840', '14841']
2025-12-26 04:13:15.258 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:13:15.258 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:13:15.258 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:13:15.258 DEBUG [src.node.docker_mananger] docker run -i -t -p 14837:14837 -p 14838:14838 -p 14839:14839 -p 14840:14840 -p 14841:14841 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=14839 --rest-port=14837 --tcp-port=14838 --discv5-udp-port=14840 --rest-address=0.0.0.0 --nat=extip:172.18.16.178 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ecfdebaa9387dfdd0cca8df992dee7c33b1e9d55ccad75fd71ebbbcea71d487d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=14841 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QOlTlsKQXHV5oEHj-w2xNXEVQJvxSJQGkFxI1ik7aOoJSwgnDo5V0BqLcY076AlratGWq7Me7tlD2TMRd-yoFK0CgmlkgnY0gmlwhKwSUHmKbXVsdGlhZGRyc5YACASsElB5BmeoAAoErBJQeQZnqd0DgnJzhQADAQAAiXNlY3AyNTZrMaECxObJE77rwbW0veaFnmUqzAEc8tgCXcGJNGajzfzvivWDdGNwgmeog3VkcIJnqoV3YWt1MgU --filternode=/ip4/172.18.80.121/tcp/26536/p2p/16Uiu2HAm8gHzknWnno3dR5B21q7gFwYg33iXp1yGwvHKu8ucsZhe
2025-12-26 04:13:15.448 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.16.178 waku 12e5c6c98638f8f2c3106bab5ffeadfe754647c7bafc5bf7e24feffa025152e7
2025-12-26 04:13:15.479 DEBUG [src.node.docker_mananger] Container started with ID 12e5c6c98638. Setting up logs at ./log/docker/node2_2025-12-26_04-13-14__75b143ad-4aa4-4c7c-b87e-4ab3322deb8c__wakuorg_nwaku:latest.log
2025-12-26 04:13:15.480 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 14837
2025-12-26 04:13:15.480 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:13:16.480 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:14837/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:13:16.484 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"}]}'
2025-12-26 04:13:16.485 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:13:16.485 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:14837/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:13:16.487 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.16.178/tcp/14838/p2p/16Uiu2HAmPeX2xJZuenYbHosu8rzyHN4qSRwYXk7kkLM2pVmhTbQz","/ip4/172.18.16.178/tcp/14839/ws/p2p/16Uiu2HAmPeX2xJZuenYbHosu8rzyHN4qSRwYXk7kkLM2pVmhTbQz"],"enrUri":"enr:-L24QF5YSJRpPsWSgzAZGem8vHkRfGdp5sroZKa9c3g9uc2iCjaxjh5E4B1go_4RnuoG5f5tG-La1328l64SSQuGUWsCgmlkgnY0gmlwhKwSELKKbXVsdGlhZGRyc5YACASsEhCyBjn2AAoErBIQsgY5990DgnJzhQADAQAAiXNlY3AyNTZrMaEDo1GrdEOOjvzv3dhLpXm5Ke3oQLHSyKz-aKuU16FAJ8eDdGNwgjn2g3VkcII5-IV3YWt1MgA"}'
2025-12-26 04:13:16.487 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:13:16.488 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:14837/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.80.121/tcp/26536/p2p/16Uiu2HAm8gHzknWnno3dR5B21q7gFwYg33iXp1yGwvHKu8ucsZhe"]'
2025-12-26 04:13:16.520 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:13:16.521 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-26 04:13:16.521 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26535/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-26 04:13:16.532 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:13:16.533 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "019756b8-d322-4c6d-8239-a6b66c32723a", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.545 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"019756b8-d322-4c6d-8239-a6b66c32723a","statusDesc":"OK"}'
2025-12-26 04:13:16.546 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2025-12-26 04:13:16.547 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.550 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:14837/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\\"))"}'
2025-12-26 04:13:16.550 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2025-12-26 04:13:16.551 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A dictionary", "value": {"key": "YWFh"}}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.553 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:14837/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\\"))"}'
2025-12-26 04:13:16.554 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2025-12-26 04:13:16.554 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.557 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:14837/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\\"))"}'
2025-12-26 04:13:16.558 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2025-12-26 04:13:16.558 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.561 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:14837/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\\"))"}'
2025-12-26 04:13:16.561 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2025-12-26 04:13:16.562 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:14837/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-26 04:13:16.564 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:14837/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\\"))"}'
2025-12-26 04:13:16.567 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-26 04:13:16.568 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-26 04:13:16.568 DEBUG [src.node.waku_node] Stopping container with id 982fdaef854c
2025-12-26 04:13:17.132 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:13:17.134 DEBUG [src.node.waku_node] Stopping container with id 12e5c6c98638
2025-12-26 04:13:17.668 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:13:17.669 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-26 04:13:17.674 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-26 04:13:17.680 DEBUG [src.node.docker_mananger] No errors found in the waku logs.