82 lines
16 KiB
Plaintext

2026-02-27 04:36:58.976 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-27 04:36:58.976 DEBUG [tests.conftest] Running test: test_filter_update_subscription_with_invalid_content_topic_format with id: 2026-02-27_04-36-58__1b362cd8-9ceb-4855-a733-22406f539e5b
2026-02-27 04:36:58.976 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-27 04:36:58.977 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-27 04:36:58.977 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-27 04:36:58.983 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-27 04:36:58.984 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-27_04-36-58__1b362cd8-9ceb-4855-a733-22406f539e5b__wakuorg_nwaku:latest.log
2026-02-27 04:36:58.984 DEBUG [src.node.waku_node] Starting Node...
2026-02-27 04:36:58.984 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-27 04:36:58.985 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-27 04:36:58.986 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.50.190
2026-02-27 04:36:58.986 DEBUG [src.node.docker_mananger] Generated ports ['59929', '59930', '59931', '59932', '59933']
2026-02-27 04:36:58.986 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-27 04:36:58.986 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-27 04:36:58.986 DEBUG [src.node.waku_node] Using volumes []
2026-02-27 04:36:58.986 DEBUG [src.node.docker_mananger] docker run -i -t -p 59929:59929 -p 59930:59930 -p 59931:59931 -p 59932:59932 -p 59933:59933 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=59931 --rest-port=59929 --tcp-port=59930 --discv5-udp-port=59932 --rest-address=0.0.0.0 --nat=extip:172.18.50.190 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ae4de6c49fe19975feee3c3b0dabdbe21c4dbbeac5ae9ce1dd34dad4f2cb3bcc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=59933 --metrics-logging=true --relay=true --filter=true
2026-02-27 04:36:59.177 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.50.190 waku 98308520910e74ce35d093fcffd63944b4f5e44071e84725d3686c211975719f
2026-02-27 04:36:59.208 ERROR [src.node.docker_mananger] Max retries reached for container 9512546851ab. Exiting log stream.
2026-02-27 04:36:59.211 DEBUG [src.node.docker_mananger] Container started with ID 98308520910e. Setting up logs at ./log/docker/node1_2026-02-27_04-36-58__1b362cd8-9ceb-4855-a733-22406f539e5b__wakuorg_nwaku:latest.log
2026-02-27 04:36:59.212 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 59929
2026-02-27 04:36:59.212 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-27 04:36:59.783 ERROR [src.node.docker_mananger] Max retries reached for container bf07f3238726. Exiting log stream.
2026-02-27 04:37:00.213 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59929/health" -H "Content-Type: application/json" -d 'None'
2026-02-27 04:37:00.216 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-02-27 04:37:00.216 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-27 04:37:00.216 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59929/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-27 04:37:00.219 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.50.190/tcp/59930/p2p/16Uiu2HAm1FdgFqzHUXkVQk7iuDp4RbmF6Mj861YWDs9r3KmPFYn3","/ip4/172.18.50.190/tcp/59931/ws/p2p/16Uiu2HAm1FdgFqzHUXkVQk7iuDp4RbmF6Mj861YWDs9r3KmPFYn3"],"enrUri":"enr:-L24QLflqI8hxnoGAdPorgiizs2bkbU8kAQkL80bJDJqLl0vSq8FWTgom89CiWl-AV4ILr0PusepXq4Ljnvv4_g_YmECgmlkgnY0gmlwhKwSMr6KbXVsdGlhZGRyc5YACASsEjK-BuoaAAoErBIyvgbqG90DgnJzhQADAQAAiXNlY3AyNTZrMaECVpO1zo0ceib-noUuBbOTkqIsVzC2RzPJblPEJ0lKpSCDdGNwguoag3VkcILqHIV3YWt1MgU"}'
2026-02-27 04:37:00.219 INFO [src.node.waku_node] REST service is ready !!
2026-02-27 04:37:00.219 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-27 04:37:00.225 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-27 04:37:00.226 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-27_04-36-58__1b362cd8-9ceb-4855-a733-22406f539e5b__wakuorg_nwaku:latest.log
2026-02-27 04:37:00.226 DEBUG [src.node.waku_node] Starting Node...
2026-02-27 04:37:00.226 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-27 04:37:00.227 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-27 04:37:00.227 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.160.135
2026-02-27 04:37:00.228 DEBUG [src.node.docker_mananger] Generated ports ['13606', '13607', '13608', '13609', '13610']
2026-02-27 04:37:00.228 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-27 04:37:00.228 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-27 04:37:00.228 DEBUG [src.node.waku_node] Using volumes []
2026-02-27 04:37:00.228 DEBUG [src.node.docker_mananger] docker run -i -t -p 13606:13606 -p 13607:13607 -p 13608:13608 -p 13609:13609 -p 13610:13610 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=13608 --rest-port=13606 --tcp-port=13607 --discv5-udp-port=13609 --rest-address=0.0.0.0 --nat=extip:172.18.160.135 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f641a9869d1facfc65b9fe8ffddfcc2c7aca2779a31ee875d0abacebc3a4bebd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=13610 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QLflqI8hxnoGAdPorgiizs2bkbU8kAQkL80bJDJqLl0vSq8FWTgom89CiWl-AV4ILr0PusepXq4Ljnvv4_g_YmECgmlkgnY0gmlwhKwSMr6KbXVsdGlhZGRyc5YACASsEjK-BuoaAAoErBIyvgbqG90DgnJzhQADAQAAiXNlY3AyNTZrMaECVpO1zo0ceib-noUuBbOTkqIsVzC2RzPJblPEJ0lKpSCDdGNwguoag3VkcILqHIV3YWt1MgU --filternode=/ip4/172.18.50.190/tcp/59930/p2p/16Uiu2HAm1FdgFqzHUXkVQk7iuDp4RbmF6Mj861YWDs9r3KmPFYn3
2026-02-27 04:37:00.422 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.160.135 waku b7d8ea1afeae35c7db2db7b9ea7eb742733fc27174f2c53817825e60e26542de
2026-02-27 04:37:00.453 DEBUG [src.node.docker_mananger] Container started with ID b7d8ea1afeae. Setting up logs at ./log/docker/node2_2026-02-27_04-36-58__1b362cd8-9ceb-4855-a733-22406f539e5b__wakuorg_nwaku:latest.log
2026-02-27 04:37:00.454 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 13606
2026-02-27 04:37:00.454 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-27 04:37:01.454 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:13606/health" -H "Content-Type: application/json" -d 'None'
2026-02-27 04:37:01.457 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-02-27 04:37:01.458 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-27 04:37:01.458 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:13606/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-27 04:37:01.460 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.160.135/tcp/13607/p2p/16Uiu2HAm1E1gbwvyHhisqbwQyfrK62QucbQWXxoGZDoqPVgrzep6","/ip4/172.18.160.135/tcp/13608/ws/p2p/16Uiu2HAm1E1gbwvyHhisqbwQyfrK62QucbQWXxoGZDoqPVgrzep6"],"enrUri":"enr:-L24QMBuG3BudkPyLKQAoWLxbqPF5BCwu0fS3S-KDV7kiNseVFOo5aI60pN9c8wB4auDn6JtvnLB4cc5L-P3q3MeAT0CgmlkgnY0gmlwhKwSoIeKbXVsdGlhZGRyc5YACASsEqCHBjUnAAoErBKghwY1KN0DgnJzhQADAQAAiXNlY3AyNTZrMaECViluSPhx3y3rppZYFg-NUNTL5gH51fd9Zy5SCS9EATeDdGNwgjUng3VkcII1KYV3YWt1MgA"}'
2026-02-27 04:37:01.460 INFO [src.node.waku_node] REST service is ready !!
2026-02-27 04:37:01.461 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:13606/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.50.190/tcp/59930/p2p/16Uiu2HAm1FdgFqzHUXkVQk7iuDp4RbmF6Mj861YWDs9r3KmPFYn3"]'
2026-02-27 04:37:01.497 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-27 04:37:01.500 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-27 04:37:01.501 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59929/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-27 04:37:01.515 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-27 04:37:01.516 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:13606/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "7fe3a06d-9478-4139-a057-a082f29619cd", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-27 04:37:01.528 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"7fe3a06d-9478-4139-a057-a082f29619cd","statusDesc":"OK"}'
2026-02-27 04:37:01.530 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic Empty string
2026-02-27 04:37:01.532 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:13606/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-27 04:37:01.536 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:13606/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-02-27 04:37:01.537 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A dictionary
2026-02-27 04:37:01.537 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:13606/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-02-27 04:37:01.540 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:13606/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-02-27 04:37:01.541 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic An integer
2026-02-27 04:37:01.541 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:13606/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "An integer", "value": 1234567890}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-27 04:37:01.543 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:13606/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-02-27 04:37:01.544 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A list
2026-02-27 04:37:01.544 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:13606/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A list", "value": ["YWFh"]}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-27 04:37:01.547 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:13606/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-02-27 04:37:01.548 DEBUG [tests.filter.test_subscribe_update] Running test with contetn topic A bool
2026-02-27 04:37:01.548 INFO [src.node.api_clients.base_client] curl -v -X PUT "http://127.0.0.1:13606/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "A bool", "value": true}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-27 04:37:01.551 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:13606/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-02-27 04:37:01.553 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-27 04:37:01.554 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-27 04:37:01.554 DEBUG [src.node.waku_node] Stopping container with id 98308520910e
2026-02-27 04:37:02.111 DEBUG [src.node.waku_node] Container stopped.
2026-02-27 04:37:02.111 DEBUG [src.node.waku_node] Stopping container with id b7d8ea1afeae
2026-02-27 04:37:02.646 DEBUG [src.node.waku_node] Container stopped.
2026-02-27 04:37:02.648 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-27 04:37:02.658 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-27 04:37:02.662 DEBUG [src.node.docker_mananger] No errors found in the waku logs.