82 lines
16 KiB
Plaintext

2026-03-22 04:42:51.680 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-22 04:42:51.681 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-22_04-42-51__c390593f-05b3-4f17-acd5-bf7c13d80c86
2026-03-22 04:42:51.682 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-22 04:42:51.683 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-22 04:42:51.684 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-22 04:42:51.693 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-22 04:42:51.693 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-22_04-42-51__c390593f-05b3-4f17-acd5-bf7c13d80c86__wakuorg_nwaku:latest.log
2026-03-22 04:42:51.694 DEBUG [src.node.waku_node] Starting Node...
2026-03-22 04:42:51.694 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-22 04:42:51.696 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-22 04:42:51.697 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.189.137
2026-03-22 04:42:51.697 DEBUG [src.node.docker_mananger] Generated ports ['4498', '4499', '4500', '4501', '4502']
2026-03-22 04:42:51.698 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-22 04:42:51.698 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-22 04:42:51.698 DEBUG [src.node.waku_node] Using volumes []
2026-03-22 04:42:51.699 DEBUG [src.node.docker_mananger] docker run -i -t -p 4498:4498 -p 4499:4499 -p 4500:4500 -p 4501:4501 -p 4502:4502 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=4500 --rest-port=4498 --tcp-port=4499 --discv5-udp-port=4501 --rest-address=0.0.0.0 --nat=extip:172.18.189.137 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bf074cc4acf6e7cf3cc6aecac8e9deabfdd06aaee8abc828e76ff7cc2f5aaef2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=4502 --metrics-logging=true --relay=true --filter=true
2026-03-22 04:42:51.890 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.189.137 waku 7eae508fa738c18e7c518d1bd8596fa00738fadd44544ba7abc292abcc0afc17
2026-03-22 04:42:51.895 ERROR [src.node.docker_mananger] Max retries reached for container b38b1d07537b. Exiting log stream.
2026-03-22 04:42:51.928 DEBUG [src.node.docker_mananger] Container started with ID 7eae508fa738. Setting up logs at ./log/docker/node1_2026-03-22_04-42-51__c390593f-05b3-4f17-acd5-bf7c13d80c86__wakuorg_nwaku:latest.log
2026-03-22 04:42:51.928 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 4498
2026-03-22 04:42:51.929 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-22 04:42:52.528 ERROR [src.node.docker_mananger] Max retries reached for container b58793278899. Exiting log stream.
2026-03-22 04:42:52.930 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:4498/health" -H "Content-Type: application/json" -d 'None'
2026-03-22 04:42:52.933 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-22 04:42:52.933 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-22 04:42:52.933 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:4498/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-22 04:42:52.935 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.189.137/tcp/4499/p2p/16Uiu2HAmE6GhH9Q3BVnVQijegWWrpM7Hxp3aB1d25pGit4DxRSbM","/ip4/172.18.189.137/tcp/4500/ws/p2p/16Uiu2HAmE6GhH9Q3BVnVQijegWWrpM7Hxp3aB1d25pGit4DxRSbM"],"enrUri":"enr:-L24QCkF9RFtY0VgpOSlbw3qp7-Cl-Izwq0Q4RZV-1U5v1uIfjxJOjExWr-uSH2h_CRT3d9I3uSbv8eVRBivSff_-VsCgmlkgnY0gmlwhKwSvYmKbXVsdGlhZGRyc5YACASsEr2JBhGTAAoErBK9iQYRlN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFVWwJ1OeZVHYS9gxkbWu1avtsVYeQAOsb9r4W0AHGzyDdGNwghGTg3VkcIIRlYV3YWt1MgU"}'
2026-03-22 04:42:52.936 INFO [src.node.waku_node] REST service is ready !!
2026-03-22 04:42:52.936 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-22 04:42:52.943 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-22 04:42:52.943 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-22_04-42-51__c390593f-05b3-4f17-acd5-bf7c13d80c86__wakuorg_nwaku:latest.log
2026-03-22 04:42:52.943 DEBUG [src.node.waku_node] Starting Node...
2026-03-22 04:42:52.943 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-22 04:42:52.945 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-22 04:42:52.945 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.124.236
2026-03-22 04:42:52.945 DEBUG [src.node.docker_mananger] Generated ports ['43059', '43060', '43061', '43062', '43063']
2026-03-22 04:42:52.945 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-22 04:42:52.945 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-22 04:42:52.945 DEBUG [src.node.waku_node] Using volumes []
2026-03-22 04:42:52.946 DEBUG [src.node.docker_mananger] docker run -i -t -p 43059:43059 -p 43060:43060 -p 43061:43061 -p 43062:43062 -p 43063:43063 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=43061 --rest-port=43059 --tcp-port=43060 --discv5-udp-port=43062 --rest-address=0.0.0.0 --nat=extip:172.18.124.236 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=46a4de9a8cc2e04aec44ffca89bada5eff8df00e538ab7d8d6ce08c3bd75b02f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=43063 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QCkF9RFtY0VgpOSlbw3qp7-Cl-Izwq0Q4RZV-1U5v1uIfjxJOjExWr-uSH2h_CRT3d9I3uSbv8eVRBivSff_-VsCgmlkgnY0gmlwhKwSvYmKbXVsdGlhZGRyc5YACASsEr2JBhGTAAoErBK9iQYRlN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFVWwJ1OeZVHYS9gxkbWu1avtsVYeQAOsb9r4W0AHGzyDdGNwghGTg3VkcIIRlYV3YWt1MgU --filternode=/ip4/172.18.189.137/tcp/4499/p2p/16Uiu2HAmE6GhH9Q3BVnVQijegWWrpM7Hxp3aB1d25pGit4DxRSbM
2026-03-22 04:42:53.136 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.124.236 waku a4617bf990a86b9899048d5a40746e3edd46602502cdc0e1e20738a90a19c1cf
2026-03-22 04:42:53.175 DEBUG [src.node.docker_mananger] Container started with ID a4617bf990a8. Setting up logs at ./log/docker/node2_2026-03-22_04-42-51__c390593f-05b3-4f17-acd5-bf7c13d80c86__wakuorg_nwaku:latest.log
2026-03-22 04:42:53.175 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 43059
2026-03-22 04:42:53.175 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-22 04:42:54.177 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43059/health" -H "Content-Type: application/json" -d 'None'
2026-03-22 04:42:54.180 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-22 04:42:54.180 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-22 04:42:54.180 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43059/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-22 04:42:54.182 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.124.236/tcp/43060/p2p/16Uiu2HAmS4qj4X7iJh6SCVmuQFfZEWtX52oJw1tqicdrZLyrvshm","/ip4/172.18.124.236/tcp/43061/ws/p2p/16Uiu2HAmS4qj4X7iJh6SCVmuQFfZEWtX52oJw1tqicdrZLyrvshm"],"enrUri":"enr:-L24QGjwGin0fp9_l-ytFvKPJg5DIhBpmazOxTzbpe5oS8aOVMr1L4HAIw2FIR-3EFYaJtF3VCMA5KBp3hyQ7er2c-kCgmlkgnY0gmlwhKwSfOyKbXVsdGlhZGRyc5YACASsEnzsBqg0AAoErBJ87AaoNd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDx0QeGJ9ab-FXm6vJxdjmXu_K1IsSbSUgphJ5HbJME1yDdGNwgqg0g3VkcIKoNoV3YWt1MgA"}'
2026-03-22 04:42:54.183 INFO [src.node.waku_node] REST service is ready !!
2026-03-22 04:42:54.183 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.189.137/tcp/4499/p2p/16Uiu2HAmE6GhH9Q3BVnVQijegWWrpM7Hxp3aB1d25pGit4DxRSbM"]'
2026-03-22 04:42:54.219 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-22 04:42:54.220 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-22 04:42:54.221 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:4498/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-22 04:42:54.240 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-22 04:42:54.241 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "3f1ad5c8-2aea-458a-9715-8e47ec4c6e7a", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-22 04:42:54.256 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"3f1ad5c8-2aea-458a-9715-8e47ec4c6e7a","statusDesc":"OK"}'
2026-03-22 04:42:54.259 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-22 04:42:54.260 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-22 04:42:54.263 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43059/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-22 04:42:54.264 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-22 04:42:54.264 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/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-22 04:42:54.267 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43059/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-22 04:42:54.268 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-22 04:42:54.268 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/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-22 04:42:54.270 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43059/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-22 04:42:54.271 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-22 04:42:54.271 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/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-22 04:42:54.274 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43059/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-22 04:42:54.274 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-22 04:42:54.275 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43059/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-22 04:42:54.277 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43059/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-22 04:42:54.280 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-22 04:42:54.281 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-22 04:42:54.281 DEBUG [src.node.waku_node] Stopping container with id 7eae508fa738
2026-03-22 04:42:54.847 DEBUG [src.node.waku_node] Container stopped.
2026-03-22 04:42:54.848 DEBUG [src.node.waku_node] Stopping container with id a4617bf990a8
2026-03-22 04:42:55.364 DEBUG [src.node.waku_node] Container stopped.
2026-03-22 04:42:55.367 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-22 04:42:55.372 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-22 04:42:55.376 DEBUG [src.node.docker_mananger] No errors found in the waku logs.