82 lines
16 KiB
Plaintext

2026-03-03 04:37:00.800 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-03 04:37:00.800 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c
2026-03-03 04:37:00.801 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-03 04:37:00.801 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-03 04:37:00.801 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-03 04:37:00.808 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-03 04:37:00.808 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
2026-03-03 04:37:00.808 DEBUG [src.node.waku_node] Starting Node...
2026-03-03 04:37:00.808 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-03 04:37:00.809 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-03 04:37:00.810 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.98.69
2026-03-03 04:37:00.810 DEBUG [src.node.docker_mananger] Generated ports ['10540', '10541', '10542', '10543', '10544']
2026-03-03 04:37:00.810 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-03 04:37:00.810 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-03 04:37:00.810 DEBUG [src.node.waku_node] Using volumes []
2026-03-03 04:37:00.810 DEBUG [src.node.docker_mananger] docker run -i -t -p 10540:10540 -p 10541:10541 -p 10542:10542 -p 10543:10543 -p 10544:10544 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=10542 --rest-port=10540 --tcp-port=10541 --discv5-udp-port=10543 --rest-address=0.0.0.0 --nat=extip:172.18.98.69 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=eef7cdfeef1b52e2522aef0eb4c1cd265b75f7a7d5dc34afadf3ae8fda57a9cd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10544 --metrics-logging=true --relay=true --filter=true
2026-03-03 04:37:01.007 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.98.69 waku e72564a502e4efbdcfad3a04926c818ba5b3f0580abe46c799ff3a0ce326262c
2026-03-03 04:37:01.024 ERROR [src.node.docker_mananger] Max retries reached for container 117dc6afd6ea. Exiting log stream.
2026-03-03 04:37:01.043 DEBUG [src.node.docker_mananger] Container started with ID e72564a502e4. Setting up logs at ./log/docker/node1_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
2026-03-03 04:37:01.044 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 10540
2026-03-03 04:37:01.044 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-03 04:37:01.599 ERROR [src.node.docker_mananger] Max retries reached for container f0575699b22e. Exiting log stream.
2026-03-03 04:37:02.044 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10540/health" -H "Content-Type: application/json" -d 'None'
2026-03-03 04:37:02.047 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-03 04:37:02.047 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-03 04:37:02.047 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10540/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-03 04:37:02.050 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.98.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya","/ip4/172.18.98.69/tcp/10542/ws/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya"],"enrUri":"enr:-L24QB-OMDF27zM2ANfv4YJ4bE3c2uR95Vlnp3uLPT2AQWbMIYDGzFlsaN8pqOKwWiYB0zKORkUJxUFOJkP5TNm5TAECgmlkgnY0gmlwhKwSYkWKbXVsdGlhZGRyc5YACASsEmJFBiktAAoErBJiRQYpLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECDNPMLEBdk8wnQDHBu0toCTFl87JqDExfIBYb9CpYZv-DdGNwgiktg3VkcIIpL4V3YWt1MgU"}'
2026-03-03 04:37:02.050 INFO [src.node.waku_node] REST service is ready !!
2026-03-03 04:37:02.050 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-03 04:37:02.057 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-03 04:37:02.057 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
2026-03-03 04:37:02.058 DEBUG [src.node.waku_node] Starting Node...
2026-03-03 04:37:02.058 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-03 04:37:02.059 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-03 04:37:02.059 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.242.231
2026-03-03 04:37:02.059 DEBUG [src.node.docker_mananger] Generated ports ['17053', '17054', '17055', '17056', '17057']
2026-03-03 04:37:02.060 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-03 04:37:02.060 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-03 04:37:02.060 DEBUG [src.node.waku_node] Using volumes []
2026-03-03 04:37:02.060 DEBUG [src.node.docker_mananger] docker run -i -t -p 17053:17053 -p 17054:17054 -p 17055:17055 -p 17056:17056 -p 17057:17057 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=17055 --rest-port=17053 --tcp-port=17054 --discv5-udp-port=17056 --rest-address=0.0.0.0 --nat=extip:172.18.242.231 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bbfb677d337dada088cb54beeeba2bed11e0db1dcd6d31c996c3daaca6eaed1d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17057 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QB-OMDF27zM2ANfv4YJ4bE3c2uR95Vlnp3uLPT2AQWbMIYDGzFlsaN8pqOKwWiYB0zKORkUJxUFOJkP5TNm5TAECgmlkgnY0gmlwhKwSYkWKbXVsdGlhZGRyc5YACASsEmJFBiktAAoErBJiRQYpLt0DgnJzhQADAQAAiXNlY3AyNTZrMaECDNPMLEBdk8wnQDHBu0toCTFl87JqDExfIBYb9CpYZv-DdGNwgiktg3VkcIIpL4V3YWt1MgU --filternode=/ip4/172.18.98.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya
2026-03-03 04:37:02.255 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.242.231 waku 93a9c2d3812df7a2eeb55c1282fd127d1bd22291ea3923c679571562fbe7f5a7
2026-03-03 04:37:02.289 DEBUG [src.node.docker_mananger] Container started with ID 93a9c2d3812d. Setting up logs at ./log/docker/node2_2026-03-03_04-37-00__8e8526ba-f20b-4167-a3c1-3672740e396c__wakuorg_nwaku:latest.log
2026-03-03 04:37:02.289 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 17053
2026-03-03 04:37:02.289 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-03 04:37:03.290 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17053/health" -H "Content-Type: application/json" -d 'None'
2026-03-03 04:37:03.293 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-03 04:37:03.293 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-03 04:37:03.293 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17053/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-03 04:37:03.296 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.242.231/tcp/17054/p2p/16Uiu2HAm8RxQGcVnouN1wuC1mSZPZCGF1bBksa2mLgJA5dNFPSgr","/ip4/172.18.242.231/tcp/17055/ws/p2p/16Uiu2HAm8RxQGcVnouN1wuC1mSZPZCGF1bBksa2mLgJA5dNFPSgr"],"enrUri":"enr:-L24QFhBGfDSnwry1C3mIfXeAp7ZEikWLtGvhenrujFyRBdVbRJaBc89zJIJ1M6qynsupZzTWPZicfneqPfMq5slB2kCgmlkgnY0gmlwhKwS8ueKbXVsdGlhZGRyc5YACASsEvLnBkKeAAoErBLy5wZCn90DgnJzhQADAQAAiXNlY3AyNTZrMaECwTp_m34VxRDKb8Cv9pAvr4LPCPwahXwiyLaVwrCsD_uDdGNwgkKeg3VkcIJCoIV3YWt1MgA"}'
2026-03-03 04:37:03.296 INFO [src.node.waku_node] REST service is ready !!
2026-03-03 04:37:03.296 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.98.69/tcp/10541/p2p/16Uiu2HAkvHkBozu2ojQz7YS2GrDHfLue2nVEW4U1fV63hCCep5Ya"]'
2026-03-03 04:37:03.333 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-03 04:37:03.333 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-03 04:37:03.334 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10540/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-03 04:37:03.352 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-03 04:37:03.353 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "508245e9-70af-4fa4-bd8d-f0c34af1a272", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-03 04:37:03.366 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"508245e9-70af-4fa4-bd8d-f0c34af1a272","statusDesc":"OK"}'
2026-03-03 04:37:03.368 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-03 04:37:03.368 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-03 04:37:03.371 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:17053/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-03 04:37:03.372 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-03 04:37:03.372 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/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-03 04:37:03.374 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:17053/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-03 04:37:03.375 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-03 04:37:03.375 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/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-03 04:37:03.378 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:17053/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-03 04:37:03.379 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-03 04:37:03.379 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/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-03 04:37:03.381 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:17053/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-03 04:37:03.382 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-03 04:37:03.382 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17053/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-03 04:37:03.385 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:17053/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-03 04:37:03.387 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-03 04:37:03.388 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-03 04:37:03.388 DEBUG [src.node.waku_node] Stopping container with id e72564a502e4
2026-03-03 04:37:03.956 DEBUG [src.node.waku_node] Container stopped.
2026-03-03 04:37:03.956 DEBUG [src.node.waku_node] Stopping container with id 93a9c2d3812d
2026-03-03 04:37:04.512 DEBUG [src.node.waku_node] Container stopped.
2026-03-03 04:37:04.516 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-03 04:37:04.520 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-03 04:37:04.524 DEBUG [src.node.docker_mananger] No errors found in the waku logs.