82 lines
16 KiB
Plaintext

2025-12-10 04:10:56.591 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-10 04:10:56.593 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2025-12-10_04-10-56__074ec053-6c47-4198-9270-53e94bf728e1
2025-12-10 04:10:56.593 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-10 04:10:56.593 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-10 04:10:56.594 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-10 04:10:56.602 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:10:56.602 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-10_04-10-56__074ec053-6c47-4198-9270-53e94bf728e1__wakuorg_nwaku:latest.log
2025-12-10 04:10:56.602 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:10:56.602 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:10:56.603 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:10:56.603 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.214.51
2025-12-10 04:10:56.604 DEBUG [src.node.docker_mananger] Generated ports ['52923', '52924', '52925', '52926', '52927']
2025-12-10 04:10:56.604 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:10:56.604 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:10:56.604 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:10:56.604 DEBUG [src.node.docker_mananger] docker run -i -t -p 52923:52923 -p 52924:52924 -p 52925:52925 -p 52926:52926 -p 52927:52927 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=52925 --rest-port=52923 --tcp-port=52924 --discv5-udp-port=52926 --rest-address=0.0.0.0 --nat=extip:172.18.214.51 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c6eccfaa6adaafb4ea98e52adbca54e85eaf9f295af1cd6ebdf2ed576c109e49 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52927 --metrics-logging=true --relay=true --filter=true
2025-12-10 04:10:56.796 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.214.51 waku 429a4475f2c4cfdfbe95aab98d1575dc14b3764fd287597cb842ea8eed7501fc
2025-12-10 04:10:56.827 DEBUG [src.node.docker_mananger] Container started with ID 429a4475f2c4. Setting up logs at ./log/docker/node1_2025-12-10_04-10-56__074ec053-6c47-4198-9270-53e94bf728e1__wakuorg_nwaku:latest.log
2025-12-10 04:10:56.829 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 52923
2025-12-10 04:10:56.829 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:10:56.876 ERROR [src.node.docker_mananger] Max retries reached for container 69e52cebc673. Exiting log stream.
2025-12-10 04:10:57.411 ERROR [src.node.docker_mananger] Max retries reached for container a52628abd86f. Exiting log stream.
2025-12-10 04:10:57.829 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52923/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:10:57.832 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-10 04:10:57.833 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:10:57.833 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52923/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:10:57.835 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.214.51/tcp/52924/p2p/16Uiu2HAm87rvk5h74UiUpWM1mDwXxCFZxo79AJaUWysnKzahJonj","/ip4/172.18.214.51/tcp/52925/ws/p2p/16Uiu2HAm87rvk5h74UiUpWM1mDwXxCFZxo79AJaUWysnKzahJonj"],"enrUri":"enr:-L24QAyMBgg3U3_nuY-9XNp2OykF6M1cmu1mRDoIcAtn6rXpfCoTeWA5G4mjK-pzWr_ktLg43PQLOoPhPEkTE1NV79sCgmlkgnY0gmlwhKwS1jOKbXVsdGlhZGRyc5YACASsEtYzBs68AAoErBLWMwbOvd0DgnJzhQADAQAAiXNlY3AyNTZrMaECvJfakBL82xG4JyuBHCf2esufTddChSSR--2JUmVXEdyDdGNwgs68g3VkcILOvoV3YWt1MgU"}'
2025-12-10 04:10:57.835 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:10:57.836 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-10 04:10:57.842 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:10:57.842 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-10_04-10-56__074ec053-6c47-4198-9270-53e94bf728e1__wakuorg_nwaku:latest.log
2025-12-10 04:10:57.842 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:10:57.842 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:10:57.843 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:10:57.843 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.45.12
2025-12-10 04:10:57.844 DEBUG [src.node.docker_mananger] Generated ports ['18112', '18113', '18114', '18115', '18116']
2025-12-10 04:10:57.844 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:10:57.844 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:10:57.844 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:10:57.844 DEBUG [src.node.docker_mananger] docker run -i -t -p 18112:18112 -p 18113:18113 -p 18114:18114 -p 18115:18115 -p 18116:18116 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=18114 --rest-port=18112 --tcp-port=18113 --discv5-udp-port=18115 --rest-address=0.0.0.0 --nat=extip:172.18.45.12 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3e1ce2c58ee82bcd4c8e4cca7ba71c01dad260d5934cebd279ef37e29bd19c05 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=18116 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QAyMBgg3U3_nuY-9XNp2OykF6M1cmu1mRDoIcAtn6rXpfCoTeWA5G4mjK-pzWr_ktLg43PQLOoPhPEkTE1NV79sCgmlkgnY0gmlwhKwS1jOKbXVsdGlhZGRyc5YACASsEtYzBs68AAoErBLWMwbOvd0DgnJzhQADAQAAiXNlY3AyNTZrMaECvJfakBL82xG4JyuBHCf2esufTddChSSR--2JUmVXEdyDdGNwgs68g3VkcILOvoV3YWt1MgU --filternode=/ip4/172.18.214.51/tcp/52924/p2p/16Uiu2HAm87rvk5h74UiUpWM1mDwXxCFZxo79AJaUWysnKzahJonj
2025-12-10 04:10:58.026 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.45.12 waku 7912226082f84b9521cd9628837aba5c98a4553715ed9cce95f00222565deb00
2025-12-10 04:10:58.054 DEBUG [src.node.docker_mananger] Container started with ID 7912226082f8. Setting up logs at ./log/docker/node2_2025-12-10_04-10-56__074ec053-6c47-4198-9270-53e94bf728e1__wakuorg_nwaku:latest.log
2025-12-10 04:10:58.056 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 18112
2025-12-10 04:10:58.056 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:10:59.058 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:18112/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:10:59.062 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-10 04:10:59.062 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:10:59.063 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:18112/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:10:59.065 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.45.12/tcp/18113/p2p/16Uiu2HAm7NANaguRL63x4GzetLVx4dsb1TC84BBvbj5cjSmSCFNN","/ip4/172.18.45.12/tcp/18114/ws/p2p/16Uiu2HAm7NANaguRL63x4GzetLVx4dsb1TC84BBvbj5cjSmSCFNN"],"enrUri":"enr:-L24QBBvPc2vMrVcTQxJ3xQC8wN-Vc_BjHmBSlJLo-1FEwbKEXqtSpeNn-ptPyyabmuKLS0k-o_Hk7-tz5XTuTdAUKgCgmlkgnY0gmlwhKwSLQyKbXVsdGlhZGRyc5YACASsEi0MBkbBAAoErBItDAZGwt0DgnJzhQADAQAAiXNlY3AyNTZrMaECsWYGGelpy6ab151Nt53XyRco3XYarYDwCOLyfcPNAteDdGNwgkbBg3VkcIJGw4V3YWt1MgA"}'
2025-12-10 04:10:59.065 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:10:59.065 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18112/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.214.51/tcp/52924/p2p/16Uiu2HAm87rvk5h74UiUpWM1mDwXxCFZxo79AJaUWysnKzahJonj"]'
2025-12-10 04:10:59.094 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:10:59.095 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-10 04:10:59.096 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52923/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-10 04:10:59.109 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:10:59.110 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18112/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "91b4caee-38d4-4752-882d-8ec30e506bd3", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-10 04:10:59.123 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"91b4caee-38d4-4752-882d-8ec30e506bd3","statusDesc":"OK"}'
2025-12-10 04:10:59.124 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2025-12-10 04:10:59.125 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:18112/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-10 04:10:59.127 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18112/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-10 04:10:59.128 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2025-12-10 04:10:59.128 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:18112/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-10 04:10:59.130 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18112/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-10 04:10:59.131 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2025-12-10 04:10:59.132 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:18112/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-10 04:10:59.134 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18112/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-10 04:10:59.135 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2025-12-10 04:10:59.135 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:18112/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-10 04:10:59.137 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18112/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-10 04:10:59.138 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2025-12-10 04:10:59.138 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:18112/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-10 04:10:59.140 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18112/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-10 04:10:59.143 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-10 04:10:59.143 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-10 04:10:59.143 DEBUG [src.node.waku_node] Stopping container with id 429a4475f2c4
2025-12-10 04:10:59.637 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:10:59.637 DEBUG [src.node.waku_node] Stopping container with id 7912226082f8
2025-12-10 04:11:00.173 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:11:00.174 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-10 04:11:00.180 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-10 04:11:00.184 DEBUG [src.node.docker_mananger] No errors found in the waku logs.