82 lines
16 KiB
Plaintext

2026-03-13 04:37:23.343 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-13 04:37:23.343 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2026-03-13_04-37-23__f237b0e5-a674-4820-a1c8-4da3bf2dbc76
2026-03-13 04:37:23.344 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-13 04:37:23.344 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-13 04:37:23.344 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-13 04:37:23.351 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-13 04:37:23.351 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-13_04-37-23__f237b0e5-a674-4820-a1c8-4da3bf2dbc76__wakuorg_nwaku:latest.log
2026-03-13 04:37:23.351 DEBUG [src.node.waku_node] Starting Node...
2026-03-13 04:37:23.351 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-13 04:37:23.352 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-13 04:37:23.353 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.185.46
2026-03-13 04:37:23.353 DEBUG [src.node.docker_mananger] Generated ports ['52151', '52152', '52153', '52154', '52155']
2026-03-13 04:37:23.353 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-13 04:37:23.353 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-13 04:37:23.353 DEBUG [src.node.waku_node] Using volumes []
2026-03-13 04:37:23.353 DEBUG [src.node.docker_mananger] docker run -i -t -p 52151:52151 -p 52152:52152 -p 52153:52153 -p 52154:52154 -p 52155:52155 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=52153 --rest-port=52151 --tcp-port=52152 --discv5-udp-port=52154 --rest-address=0.0.0.0 --nat=extip:172.18.185.46 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9dba9cf2b2fe754f2e7e6ecac0ef32ce6f028abba82b657eaffbe761ae7c3319 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52155 --metrics-logging=true --relay=true --filter=true
2026-03-13 04:37:23.557 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.185.46 waku 4c36a8bf957c4285214644ceb70f2cb9831ee1cf6db4bafdd054f90dcf9543bc
2026-03-13 04:37:23.577 ERROR [src.node.docker_mananger] Max retries reached for container 8c1806a3d97e. Exiting log stream.
2026-03-13 04:37:23.592 DEBUG [src.node.docker_mananger] Container started with ID 4c36a8bf957c. Setting up logs at ./log/docker/node1_2026-03-13_04-37-23__f237b0e5-a674-4820-a1c8-4da3bf2dbc76__wakuorg_nwaku:latest.log
2026-03-13 04:37:23.592 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 52151
2026-03-13 04:37:23.592 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-13 04:37:24.150 ERROR [src.node.docker_mananger] Max retries reached for container ae0f1f111b69. Exiting log stream.
2026-03-13 04:37:24.594 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52151/health" -H "Content-Type: application/json" -d 'None'
2026-03-13 04:37:24.597 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-13 04:37:24.597 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-13 04:37:24.597 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52151/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-13 04:37:24.599 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.185.46/tcp/52152/p2p/16Uiu2HAmNXp9cK7B3ANVTD8X7XQcgdo66DkzdGh6SFsizj2cCZyC","/ip4/172.18.185.46/tcp/52153/ws/p2p/16Uiu2HAmNXp9cK7B3ANVTD8X7XQcgdo66DkzdGh6SFsizj2cCZyC"],"enrUri":"enr:-L24QEvs-yNRPuKfVdnsKpfmBSuMU6Pz60mp19P7hP-MWuVJcW6mp6rks_3XVJRUKNZaxqGBNtQEDCp-P0eJCFFn6ogCgmlkgnY0gmlwhKwSuS6KbXVsdGlhZGRyc5YACASsErkuBsu4AAoErBK5LgbLud0DgnJzhQADAQAAiXNlY3AyNTZrMaEDkr5E0_R181o4L6RQu-TbM20WutJyppJyvNjwiTDuGcODdGNwgsu4g3VkcILLuoV3YWt1MgU"}'
2026-03-13 04:37:24.600 INFO [src.node.waku_node] REST service is ready !!
2026-03-13 04:37:24.600 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-13 04:37:24.607 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-13 04:37:24.607 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-13_04-37-23__f237b0e5-a674-4820-a1c8-4da3bf2dbc76__wakuorg_nwaku:latest.log
2026-03-13 04:37:24.607 DEBUG [src.node.waku_node] Starting Node...
2026-03-13 04:37:24.607 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-13 04:37:24.608 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-13 04:37:24.608 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.162.178
2026-03-13 04:37:24.609 DEBUG [src.node.docker_mananger] Generated ports ['40649', '40650', '40651', '40652', '40653']
2026-03-13 04:37:24.609 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-13 04:37:24.609 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-13 04:37:24.609 DEBUG [src.node.waku_node] Using volumes []
2026-03-13 04:37:24.609 DEBUG [src.node.docker_mananger] docker run -i -t -p 40649:40649 -p 40650:40650 -p 40651:40651 -p 40652:40652 -p 40653:40653 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=40651 --rest-port=40649 --tcp-port=40650 --discv5-udp-port=40652 --rest-address=0.0.0.0 --nat=extip:172.18.162.178 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ecdbb4ffe9de52ebeeec8e7d58bfcb07d8b92caeafcd5eec2bcc15530ecab174 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40653 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QEvs-yNRPuKfVdnsKpfmBSuMU6Pz60mp19P7hP-MWuVJcW6mp6rks_3XVJRUKNZaxqGBNtQEDCp-P0eJCFFn6ogCgmlkgnY0gmlwhKwSuS6KbXVsdGlhZGRyc5YACASsErkuBsu4AAoErBK5LgbLud0DgnJzhQADAQAAiXNlY3AyNTZrMaEDkr5E0_R181o4L6RQu-TbM20WutJyppJyvNjwiTDuGcODdGNwgsu4g3VkcILLuoV3YWt1MgU --filternode=/ip4/172.18.185.46/tcp/52152/p2p/16Uiu2HAmNXp9cK7B3ANVTD8X7XQcgdo66DkzdGh6SFsizj2cCZyC
2026-03-13 04:37:24.812 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.162.178 waku 51847c3efcad09ab2f0f054a9a940806e2bcbde312bdd93d52c26c4fdea7777f
2026-03-13 04:37:24.845 DEBUG [src.node.docker_mananger] Container started with ID 51847c3efcad. Setting up logs at ./log/docker/node2_2026-03-13_04-37-23__f237b0e5-a674-4820-a1c8-4da3bf2dbc76__wakuorg_nwaku:latest.log
2026-03-13 04:37:24.846 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 40649
2026-03-13 04:37:24.847 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-13 04:37:25.847 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40649/health" -H "Content-Type: application/json" -d 'None'
2026-03-13 04:37:25.850 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-13 04:37:25.851 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-13 04:37:25.851 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40649/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-13 04:37:25.853 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.162.178/tcp/40650/p2p/16Uiu2HAm7PnwuNGaGrXH3ZFN1u14s8bsYPdnrCDgkqyfHbyDzQ4s","/ip4/172.18.162.178/tcp/40651/ws/p2p/16Uiu2HAm7PnwuNGaGrXH3ZFN1u14s8bsYPdnrCDgkqyfHbyDzQ4s"],"enrUri":"enr:-L24QHTjTsZSj3d59J39sSR79TguKZ9lZoBuJ2tx4o-diVXnSbtTmgS6OI8r7ksLSP7aHZ3OEA75X-v4V-Z7Gm30JqICgmlkgnY0gmlwhKwSorKKbXVsdGlhZGRyc5YACASsEqKyBp7KAAoErBKisgaey90DgnJzhQADAQAAiXNlY3AyNTZrMaECsdD1px-dANFlc3tDaPyO9ZmWqPWXFSgQZHsN2eRytESDdGNwgp7Kg3VkcIKezIV3YWt1MgA"}'
2026-03-13 04:37:25.853 INFO [src.node.waku_node] REST service is ready !!
2026-03-13 04:37:25.853 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40649/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.185.46/tcp/52152/p2p/16Uiu2HAmNXp9cK7B3ANVTD8X7XQcgdo66DkzdGh6SFsizj2cCZyC"]'
2026-03-13 04:37:25.889 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-13 04:37:25.890 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-13 04:37:25.891 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52151/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-13 04:37:25.908 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-13 04:37:25.911 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40649/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "6e87e7a4-a332-4787-acd8-866de3286f8a", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-13 04:37:25.924 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"6e87e7a4-a332-4787-acd8-866de3286f8a","statusDesc":"OK"}'
2026-03-13 04:37:25.927 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2026-03-13 04:37:25.927 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:40649/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-13 04:37:25.930 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:40649/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-13 04:37:25.931 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2026-03-13 04:37:25.931 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:40649/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-13 04:37:25.934 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:40649/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-13 04:37:25.934 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2026-03-13 04:37:25.934 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:40649/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-13 04:37:25.937 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:40649/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-13 04:37:25.937 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2026-03-13 04:37:25.938 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:40649/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-13 04:37:25.940 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:40649/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-13 04:37:25.941 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2026-03-13 04:37:25.941 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:40649/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-13 04:37:25.944 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:40649/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-13 04:37:25.946 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-13 04:37:25.947 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-13 04:37:25.947 DEBUG [src.node.waku_node] Stopping container with id 4c36a8bf957c
2026-03-13 04:37:26.501 DEBUG [src.node.waku_node] Container stopped.
2026-03-13 04:37:26.502 DEBUG [src.node.waku_node] Stopping container with id 51847c3efcad
2026-03-13 04:37:27.052 DEBUG [src.node.waku_node] Container stopped.
2026-03-13 04:37:27.055 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-13 04:37:27.059 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-13 04:37:27.064 DEBUG [src.node.docker_mananger] No errors found in the waku logs.