82 lines
16 KiB
Plaintext

2026-03-11 04:38:35.269 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-11 04:38:35.270 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2026-03-11_04-38-35__735587cd-46c3-4f3a-9a3f-43d5cb9bb1d5
2026-03-11 04:38:35.270 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-11 04:38:35.270 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-11 04:38:35.270 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-11 04:38:35.276 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-11 04:38:35.277 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-11_04-38-35__735587cd-46c3-4f3a-9a3f-43d5cb9bb1d5__wakuorg_nwaku:latest.log
2026-03-11 04:38:35.277 DEBUG [src.node.waku_node] Starting Node...
2026-03-11 04:38:35.277 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-11 04:38:35.279 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-11 04:38:35.279 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.41.8
2026-03-11 04:38:35.279 DEBUG [src.node.docker_mananger] Generated ports ['15860', '15861', '15862', '15863', '15864']
2026-03-11 04:38:35.279 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-11 04:38:35.279 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-11 04:38:35.279 DEBUG [src.node.waku_node] Using volumes []
2026-03-11 04:38:35.279 DEBUG [src.node.docker_mananger] docker run -i -t -p 15860:15860 -p 15861:15861 -p 15862:15862 -p 15863:15863 -p 15864:15864 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=15862 --rest-port=15860 --tcp-port=15861 --discv5-udp-port=15863 --rest-address=0.0.0.0 --nat=extip:172.18.41.8 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3d2cf273dea832e165fdcc2be4cf4f468ee0ae0bbd6f9dfebdbaf301f1b0c922 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=15864 --metrics-logging=true --relay=true --filter=true
2026-03-11 04:38:35.462 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.41.8 waku f2ec9791a9030f9ec497e217fd5fa3984a19c9e6d9a30f1a1644f45381d39f50
2026-03-11 04:38:35.498 DEBUG [src.node.docker_mananger] Container started with ID f2ec9791a903. Setting up logs at ./log/docker/node1_2026-03-11_04-38-35__735587cd-46c3-4f3a-9a3f-43d5cb9bb1d5__wakuorg_nwaku:latest.log
2026-03-11 04:38:35.499 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 15860
2026-03-11 04:38:35.499 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-11 04:38:35.511 ERROR [src.node.docker_mananger] Max retries reached for container 389292c2d55d. Exiting log stream.
2026-03-11 04:38:36.072 ERROR [src.node.docker_mananger] Max retries reached for container f8b71303d723. Exiting log stream.
2026-03-11 04:38:36.499 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15860/health" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:36.502 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-11 04:38:36.502 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-11 04:38:36.503 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15860/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:36.505 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.41.8/tcp/15861/p2p/16Uiu2HAm2NWXhY8yxfP7jJJmznaU1LjJFhYZGvZDavir7WtoAGta","/ip4/172.18.41.8/tcp/15862/ws/p2p/16Uiu2HAm2NWXhY8yxfP7jJJmznaU1LjJFhYZGvZDavir7WtoAGta"],"enrUri":"enr:-L24QE2valWHZmzEUS2bmX9sVNrwzegQTjmxd3vJBKFtVpppQZKW61tzjtCEmQ_Xlo_r0MRWMGXkEkbCRb0K0qzZEOQCgmlkgnY0gmlwhKwSKQiKbXVsdGlhZGRyc5YACASsEikIBj31AAoErBIpCAY99t0DgnJzhQADAQAAiXNlY3AyNTZrMaECZzJhiyIU9c4B7p4RKieieYLg4O4hIogj_i6EaSNFrzODdGNwgj31g3VkcII994V3YWt1MgU"}'
2026-03-11 04:38:36.505 INFO [src.node.waku_node] REST service is ready !!
2026-03-11 04:38:36.506 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-11 04:38:36.512 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-11 04:38:36.512 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-11_04-38-35__735587cd-46c3-4f3a-9a3f-43d5cb9bb1d5__wakuorg_nwaku:latest.log
2026-03-11 04:38:36.513 DEBUG [src.node.waku_node] Starting Node...
2026-03-11 04:38:36.513 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-11 04:38:36.514 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-11 04:38:36.514 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.246.197
2026-03-11 04:38:36.514 DEBUG [src.node.docker_mananger] Generated ports ['29727', '29728', '29729', '29730', '29731']
2026-03-11 04:38:36.515 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-11 04:38:36.515 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-11 04:38:36.515 DEBUG [src.node.waku_node] Using volumes []
2026-03-11 04:38:36.515 DEBUG [src.node.docker_mananger] docker run -i -t -p 29727:29727 -p 29728:29728 -p 29729:29729 -p 29730:29730 -p 29731:29731 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=29729 --rest-port=29727 --tcp-port=29728 --discv5-udp-port=29730 --rest-address=0.0.0.0 --nat=extip:172.18.246.197 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fcfe2cc70a4a23e63d5ccab2a79c6c8b1edb199d41af68371e2be4eedb6eb099 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=29731 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QE2valWHZmzEUS2bmX9sVNrwzegQTjmxd3vJBKFtVpppQZKW61tzjtCEmQ_Xlo_r0MRWMGXkEkbCRb0K0qzZEOQCgmlkgnY0gmlwhKwSKQiKbXVsdGlhZGRyc5YACASsEikIBj31AAoErBIpCAY99t0DgnJzhQADAQAAiXNlY3AyNTZrMaECZzJhiyIU9c4B7p4RKieieYLg4O4hIogj_i6EaSNFrzODdGNwgj31g3VkcII994V3YWt1MgU --filternode=/ip4/172.18.41.8/tcp/15861/p2p/16Uiu2HAm2NWXhY8yxfP7jJJmznaU1LjJFhYZGvZDavir7WtoAGta
2026-03-11 04:38:36.708 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.246.197 waku 51571ff32d8d2b0abffa47f0d7653362d7f2175c0b535ead05426121a6c2ecfe
2026-03-11 04:38:36.742 DEBUG [src.node.docker_mananger] Container started with ID 51571ff32d8d. Setting up logs at ./log/docker/node2_2026-03-11_04-38-35__735587cd-46c3-4f3a-9a3f-43d5cb9bb1d5__wakuorg_nwaku:latest.log
2026-03-11 04:38:36.742 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 29727
2026-03-11 04:38:36.743 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-11 04:38:37.743 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29727/health" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:37.746 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-11 04:38:37.746 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-11 04:38:37.747 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:29727/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-11 04:38:37.749 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.246.197/tcp/29728/p2p/16Uiu2HAm2gLcsC7whMvGd3xLgJrUaAxcX3foHzsP3EaxiTPXjEMN","/ip4/172.18.246.197/tcp/29729/ws/p2p/16Uiu2HAm2gLcsC7whMvGd3xLgJrUaAxcX3foHzsP3EaxiTPXjEMN"],"enrUri":"enr:-L24QIZJzHmozw5T8N7M-zdDOkdbX2Ue_kZfkJ1xJyBQCg2YBrrbAEICBz-mRuaRFSP2WP95VQbEx8UM5xolijuHYpYCgmlkgnY0gmlwhKwS9sWKbXVsdGlhZGRyc5YACASsEvbFBnQgAAoErBL2xQZ0Id0DgnJzhQADAQAAiXNlY3AyNTZrMaECa8OhGD5_sw4undIQYTRuNRXqKaXlBlBsTl2GWM_8o6GDdGNwgnQgg3VkcIJ0IoV3YWt1MgA"}'
2026-03-11 04:38:37.749 INFO [src.node.waku_node] REST service is ready !!
2026-03-11 04:38:37.750 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29727/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.41.8/tcp/15861/p2p/16Uiu2HAm2NWXhY8yxfP7jJJmznaU1LjJFhYZGvZDavir7WtoAGta"]'
2026-03-11 04:38:37.785 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:37.786 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-11 04:38:37.787 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15860/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-11 04:38:37.807 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-11 04:38:37.808 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:29727/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "8beb4785-d693-4646-84d3-706dced64bfb", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-11 04:38:37.820 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"8beb4785-d693-4646-84d3-706dced64bfb","statusDesc":"OK"}'
2026-03-11 04:38:37.823 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2026-03-11 04:38:37.824 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:29727/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-11 04:38:37.827 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29727/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-11 04:38:37.827 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2026-03-11 04:38:37.828 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:29727/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-11 04:38:37.830 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29727/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-11 04:38:37.831 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2026-03-11 04:38:37.831 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:29727/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-11 04:38:37.833 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29727/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-11 04:38:37.834 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2026-03-11 04:38:37.834 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:29727/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-11 04:38:37.837 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29727/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-11 04:38:37.837 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2026-03-11 04:38:37.838 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:29727/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-11 04:38:37.840 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:29727/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-11 04:38:37.842 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-11 04:38:37.843 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-11 04:38:37.843 DEBUG [src.node.waku_node] Stopping container with id f2ec9791a903
2026-03-11 04:38:38.405 DEBUG [src.node.waku_node] Container stopped.
2026-03-11 04:38:38.408 DEBUG [src.node.waku_node] Stopping container with id 51571ff32d8d
2026-03-11 04:38:38.977 DEBUG [src.node.waku_node] Container stopped.
2026-03-11 04:38:38.979 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-11 04:38:38.984 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-11 04:38:38.991 DEBUG [src.node.docker_mananger] No errors found in the waku logs.