82 lines
16 KiB
Plaintext

2025-12-30 04:16:02.947 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-30 04:16:02.948 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2025-12-30_04-16-02__424c4cb2-29b6-402b-bc1d-a9dee52feb4f
2025-12-30 04:16:02.948 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-30 04:16:02.948 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-30 04:16:02.949 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-30 04:16:02.955 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-30 04:16:02.955 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-30_04-16-02__424c4cb2-29b6-402b-bc1d-a9dee52feb4f__wakuorg_nwaku:latest.log
2025-12-30 04:16:02.955 DEBUG [src.node.waku_node] Starting Node...
2025-12-30 04:16:02.955 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-30 04:16:02.956 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-30 04:16:02.957 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.167.33
2025-12-30 04:16:02.957 DEBUG [src.node.docker_mananger] Generated ports ['58699', '58700', '58701', '58702', '58703']
2025-12-30 04:16:02.957 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-30 04:16:02.957 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-30 04:16:02.957 DEBUG [src.node.waku_node] Using volumes []
2025-12-30 04:16:02.957 DEBUG [src.node.docker_mananger] docker run -i -t -p 58699:58699 -p 58700:58700 -p 58701:58701 -p 58702:58702 -p 58703:58703 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=58701 --rest-port=58699 --tcp-port=58700 --discv5-udp-port=58702 --rest-address=0.0.0.0 --nat=extip:172.18.167.33 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1e69afb70bceb0b0f22afedc8fadc858bfa7ce4c81ce7ddc55eda1064cfce4ad --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=58703 --metrics-logging=true --relay=true --filter=true
2025-12-30 04:16:03.139 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.167.33 waku 7b32453bbb04dbe4589174fef453d08a73ad80d9f189bce33e8e5c17cf7f1512
2025-12-30 04:16:03.172 DEBUG [src.node.docker_mananger] Container started with ID 7b32453bbb04. Setting up logs at ./log/docker/node1_2025-12-30_04-16-02__424c4cb2-29b6-402b-bc1d-a9dee52feb4f__wakuorg_nwaku:latest.log
2025-12-30 04:16:03.173 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 58699
2025-12-30 04:16:03.173 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-30 04:16:03.244 ERROR [src.node.docker_mananger] Max retries reached for container 389265d1f5b9. Exiting log stream.
2025-12-30 04:16:03.752 ERROR [src.node.docker_mananger] Max retries reached for container 3046a333c988. Exiting log stream.
2025-12-30 04:16:04.173 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58699/health" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:16:04.176 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-30 04:16:04.177 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-30 04:16:04.177 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58699/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:16:04.179 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.167.33/tcp/58700/p2p/16Uiu2HAmG3RSkpjyRzEssWZocR5ZRYNmz8UfsDb7MGrVQyxk2A73","/ip4/172.18.167.33/tcp/58701/ws/p2p/16Uiu2HAmG3RSkpjyRzEssWZocR5ZRYNmz8UfsDb7MGrVQyxk2A73"],"enrUri":"enr:-L24QOFlPxOsgJZzZHb8wmRgyT6UJV-xmPPxRHiLgPhN7XeRPUdHKkbOJ963hYMqYQFlHUUo-tCYTyqTVkueGnw0XAkCgmlkgnY0gmlwhKwSpyGKbXVsdGlhZGRyc5YACASsEqchBuVMAAoErBKnIQblTd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMlI2df0U5WyJC-TfNw-BQ5ev7BDYPtd7H8Pp6x81ClqDdGNwguVMg3VkcILlToV3YWt1MgU"}'
2025-12-30 04:16:04.179 INFO [src.node.waku_node] REST service is ready !!
2025-12-30 04:16:04.180 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-30 04:16:04.186 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-30 04:16:04.187 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-30_04-16-02__424c4cb2-29b6-402b-bc1d-a9dee52feb4f__wakuorg_nwaku:latest.log
2025-12-30 04:16:04.187 DEBUG [src.node.waku_node] Starting Node...
2025-12-30 04:16:04.187 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-30 04:16:04.188 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-30 04:16:04.188 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.148.137
2025-12-30 04:16:04.189 DEBUG [src.node.docker_mananger] Generated ports ['47206', '47207', '47208', '47209', '47210']
2025-12-30 04:16:04.189 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-30 04:16:04.189 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-30 04:16:04.189 DEBUG [src.node.waku_node] Using volumes []
2025-12-30 04:16:04.189 DEBUG [src.node.docker_mananger] docker run -i -t -p 47206:47206 -p 47207:47207 -p 47208:47208 -p 47209:47209 -p 47210:47210 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=47208 --rest-port=47206 --tcp-port=47207 --discv5-udp-port=47209 --rest-address=0.0.0.0 --nat=extip:172.18.148.137 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=14cfdd43cbab6bebd85d94f97a3fdcaf922734b75e9f974c9be2b72f9ed87168 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47210 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QOFlPxOsgJZzZHb8wmRgyT6UJV-xmPPxRHiLgPhN7XeRPUdHKkbOJ963hYMqYQFlHUUo-tCYTyqTVkueGnw0XAkCgmlkgnY0gmlwhKwSpyGKbXVsdGlhZGRyc5YACASsEqchBuVMAAoErBKnIQblTd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDMlI2df0U5WyJC-TfNw-BQ5ev7BDYPtd7H8Pp6x81ClqDdGNwguVMg3VkcILlToV3YWt1MgU --filternode=/ip4/172.18.167.33/tcp/58700/p2p/16Uiu2HAmG3RSkpjyRzEssWZocR5ZRYNmz8UfsDb7MGrVQyxk2A73
2025-12-30 04:16:04.378 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.148.137 waku 2772880156adb209018fec4742922ef779493d5e6881acec64ca26836eea93cf
2025-12-30 04:16:04.409 DEBUG [src.node.docker_mananger] Container started with ID 2772880156ad. Setting up logs at ./log/docker/node2_2025-12-30_04-16-02__424c4cb2-29b6-402b-bc1d-a9dee52feb4f__wakuorg_nwaku:latest.log
2025-12-30 04:16:04.409 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 47206
2025-12-30 04:16:04.409 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-30 04:16:05.410 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47206/health" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:16:05.414 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-30 04:16:05.414 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-30 04:16:05.414 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47206/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-30 04:16:05.416 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.148.137/tcp/47207/p2p/16Uiu2HAm2aLK9MN1UUSrhMVvxcAkvRsQXhcCAQrczG3Z1rSwBxsP","/ip4/172.18.148.137/tcp/47208/ws/p2p/16Uiu2HAm2aLK9MN1UUSrhMVvxcAkvRsQXhcCAQrczG3Z1rSwBxsP"],"enrUri":"enr:-L24QBJm-P2bNPhAQmsVgqSkNWf4cotwZfr9l32vZrtKZLHKTSktP9i_HwTW63gVHqXkz7ew4ME7tKRHiTVFv8OrSmcCgmlkgnY0gmlwhKwSlImKbXVsdGlhZGRyc5YACASsEpSJBrhnAAoErBKUiQa4aN0DgnJzhQADAQAAiXNlY3AyNTZrMaECajnMh6voInpJW4Vla1qPxNeTOcdNl-aet_xsohmYW_aDdGNwgrhng3VkcIK4aYV3YWt1MgA"}'
2025-12-30 04:16:05.417 INFO [src.node.waku_node] REST service is ready !!
2025-12-30 04:16:05.417 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47206/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.167.33/tcp/58700/p2p/16Uiu2HAmG3RSkpjyRzEssWZocR5ZRYNmz8UfsDb7MGrVQyxk2A73"]'
2025-12-30 04:16:05.448 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:16:05.451 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-30 04:16:05.451 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58699/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-30 04:16:05.459 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-30 04:16:05.462 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47206/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "2e14c043-6239-4f89-a637-671dcf17587f", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-30 04:16:05.473 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"2e14c043-6239-4f89-a637-671dcf17587f","statusDesc":"OK"}'
2025-12-30 04:16:05.474 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2025-12-30 04:16:05.474 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:47206/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-30 04:16:05.477 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47206/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-30 04:16:05.477 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2025-12-30 04:16:05.477 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:47206/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-30 04:16:05.480 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47206/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-30 04:16:05.481 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2025-12-30 04:16:05.481 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:47206/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-30 04:16:05.483 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47206/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-30 04:16:05.484 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2025-12-30 04:16:05.484 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:47206/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-30 04:16:05.487 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47206/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-30 04:16:05.487 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2025-12-30 04:16:05.488 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:47206/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-30 04:16:05.490 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:47206/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-30 04:16:05.493 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-30 04:16:05.493 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-30 04:16:05.494 DEBUG [src.node.waku_node] Stopping container with id 7b32453bbb04
2025-12-30 04:16:06.043 DEBUG [src.node.waku_node] Container stopped.
2025-12-30 04:16:06.044 DEBUG [src.node.waku_node] Stopping container with id 2772880156ad
2025-12-30 04:16:06.599 DEBUG [src.node.waku_node] Container stopped.
2025-12-30 04:16:06.601 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-30 04:16:06.606 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-30 04:16:06.610 DEBUG [src.node.docker_mananger] No errors found in the waku logs.