82 lines
16 KiB
Plaintext

2026-03-01 04:43:06.738 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-01 04:43:06.739 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-01_04-43-06__26eb4f17-3611-48a8-88a9-2cd49cdd1667
2026-03-01 04:43:06.739 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-01 04:43:06.739 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-01 04:43:06.739 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-01 04:43:06.746 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:43:06.746 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-01_04-43-06__26eb4f17-3611-48a8-88a9-2cd49cdd1667__wakuorg_nwaku:latest.log
2026-03-01 04:43:06.746 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:43:06.746 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:43:06.748 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:43:06.748 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.254.155
2026-03-01 04:43:06.748 DEBUG [src.node.docker_mananger] Generated ports ['36166', '36167', '36168', '36169', '36170']
2026-03-01 04:43:06.748 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:43:06.748 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:43:06.749 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:43:06.749 DEBUG [src.node.docker_mananger] docker run -i -t -p 36166:36166 -p 36167:36167 -p 36168:36168 -p 36169:36169 -p 36170:36170 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=36168 --rest-port=36166 --tcp-port=36167 --discv5-udp-port=36169 --rest-address=0.0.0.0 --nat=extip:172.18.254.155 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=eee3ca9157bcdd6eddca0f29da257d53c718e51dd69b8ef0eaa6cfefec27aee3 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36170 --metrics-logging=true --relay=true --filter=true
2026-03-01 04:43:06.945 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.254.155 waku 4150aaceb8951010f5833c8096ec8a3c6a21fd54f2c90ad2e15890e79ce97c7d
2026-03-01 04:43:06.977 DEBUG [src.node.docker_mananger] Container started with ID 4150aaceb895. Setting up logs at ./log/docker/node1_2026-03-01_04-43-06__26eb4f17-3611-48a8-88a9-2cd49cdd1667__wakuorg_nwaku:latest.log
2026-03-01 04:43:06.977 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 36166
2026-03-01 04:43:06.978 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:43:07.001 ERROR [src.node.docker_mananger] Max retries reached for container ad514b021afe. Exiting log stream.
2026-03-01 04:43:07.537 ERROR [src.node.docker_mananger] Max retries reached for container e276101860ac. Exiting log stream.
2026-03-01 04:43:07.978 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36166/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:43:07.981 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-01 04:43:07.981 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:43:07.981 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36166/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:43:07.984 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.254.155/tcp/36167/p2p/16Uiu2HAkyPe1UBq412acCG4t1oW7KiAyrdwcym5zCKEZmWeFr2Ua","/ip4/172.18.254.155/tcp/36168/ws/p2p/16Uiu2HAkyPe1UBq412acCG4t1oW7KiAyrdwcym5zCKEZmWeFr2Ua"],"enrUri":"enr:-L24QIssRkWKxSqjB-q7etwMi1uwaLGUZxGbfnOZj66wt42jWySTfvVt395e0NvIf9dxtr3YD05fvt_KqKpujH1e0AUCgmlkgnY0gmlwhKwS_puKbXVsdGlhZGRyc5YACASsEv6bBo1HAAoErBL-mwaNSN0DgnJzhQADAQAAiXNlY3AyNTZrMaECOulbe5A7ySCsDLoUNIfbksauU9JqqmFArjHeDeQ_cUuDdGNwgo1Hg3VkcIKNSYV3YWt1MgU"}'
2026-03-01 04:43:07.984 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:43:07.984 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-01 04:43:07.991 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:43:07.991 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-01_04-43-06__26eb4f17-3611-48a8-88a9-2cd49cdd1667__wakuorg_nwaku:latest.log
2026-03-01 04:43:07.991 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:43:07.991 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:43:07.993 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:43:07.993 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.50.108
2026-03-01 04:43:07.993 DEBUG [src.node.docker_mananger] Generated ports ['26521', '26522', '26523', '26524', '26525']
2026-03-01 04:43:07.993 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:43:07.993 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:43:07.993 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:43:07.994 DEBUG [src.node.docker_mananger] docker run -i -t -p 26521:26521 -p 26522:26522 -p 26523:26523 -p 26524:26524 -p 26525:26525 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=26523 --rest-port=26521 --tcp-port=26522 --discv5-udp-port=26524 --rest-address=0.0.0.0 --nat=extip:172.18.50.108 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5ace2b5e84fa9aa21aacd5ae82eba32a91ffd43b49ee90e91ec99b4a12ca1bcd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=26525 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QIssRkWKxSqjB-q7etwMi1uwaLGUZxGbfnOZj66wt42jWySTfvVt395e0NvIf9dxtr3YD05fvt_KqKpujH1e0AUCgmlkgnY0gmlwhKwS_puKbXVsdGlhZGRyc5YACASsEv6bBo1HAAoErBL-mwaNSN0DgnJzhQADAQAAiXNlY3AyNTZrMaECOulbe5A7ySCsDLoUNIfbksauU9JqqmFArjHeDeQ_cUuDdGNwgo1Hg3VkcIKNSYV3YWt1MgU --filternode=/ip4/172.18.254.155/tcp/36167/p2p/16Uiu2HAkyPe1UBq412acCG4t1oW7KiAyrdwcym5zCKEZmWeFr2Ua
2026-03-01 04:43:08.184 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.50.108 waku 8a0931c84d24dd1bad8f4b2d2870799ed1b6b75d3640151b68c8539631378935
2026-03-01 04:43:08.218 DEBUG [src.node.docker_mananger] Container started with ID 8a0931c84d24. Setting up logs at ./log/docker/node2_2026-03-01_04-43-06__26eb4f17-3611-48a8-88a9-2cd49cdd1667__wakuorg_nwaku:latest.log
2026-03-01 04:43:08.219 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 26521
2026-03-01 04:43:08.219 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:43:09.219 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26521/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:43:09.222 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-01 04:43:09.222 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:43:09.223 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:26521/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:43:09.225 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.50.108/tcp/26522/p2p/16Uiu2HAm3kUcDHaFfav668KUqPRxJwVGkrgTpUffmKM9F9N4QPT3","/ip4/172.18.50.108/tcp/26523/ws/p2p/16Uiu2HAm3kUcDHaFfav668KUqPRxJwVGkrgTpUffmKM9F9N4QPT3"],"enrUri":"enr:-L24QD-Q0mseR4I4xmrXVZH1zvypyCx7cPIszRjmn9C4tlt1B644-hSdTDe9F83Z9VV-f3YttTO2rygFCevD_8G7MGMCgmlkgnY0gmlwhKwSMmyKbXVsdGlhZGRyc5YACASsEjJsBmeaAAoErBIybAZnm90DgnJzhQADAQAAiXNlY3AyNTZrMaECe66sHZtlYwG4_4qV0ybVo6RCm1UaEaaxot5SXyLs6uaDdGNwgmeag3VkcIJnnIV3YWt1MgA"}'
2026-03-01 04:43:09.225 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:43:09.225 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.254.155/tcp/36167/p2p/16Uiu2HAkyPe1UBq412acCG4t1oW7KiAyrdwcym5zCKEZmWeFr2Ua"]'
2026-03-01 04:43:09.259 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:43:09.261 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-01 04:43:09.261 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36166/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-01 04:43:09.281 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:43:09.283 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "3d319637-0732-4969-82f7-99f1bdbe8931", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-01 04:43:09.296 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"3d319637-0732-4969-82f7-99f1bdbe8931","statusDesc":"OK"}'
2026-03-01 04:43:09.300 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-01 04:43:09.301 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-01 04:43:09.303 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:26521/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-01 04:43:09.304 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-01 04:43:09.304 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/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-01 04:43:09.307 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:26521/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-01 04:43:09.308 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-01 04:43:09.308 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/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-01 04:43:09.311 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:26521/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-01 04:43:09.312 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-01 04:43:09.312 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/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-01 04:43:09.314 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:26521/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-01 04:43:09.315 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-01 04:43:09.316 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:26521/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-01 04:43:09.318 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:26521/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-01 04:43:09.321 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-01 04:43:09.322 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-01 04:43:09.322 DEBUG [src.node.waku_node] Stopping container with id 4150aaceb895
2026-03-01 04:43:09.910 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:43:09.911 DEBUG [src.node.waku_node] Stopping container with id 8a0931c84d24
2026-03-01 04:43:10.480 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:43:10.482 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-01 04:43:10.490 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-01 04:43:10.495 DEBUG [src.node.docker_mananger] No errors found in the waku logs.