82 lines
16 KiB
Plaintext

2026-02-01 04:46:43.085 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-01 04:46:43.086 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-02-01_04-46-43__0d9e287b-0804-4c10-a8bd-99eafa8f6ba9
2026-02-01 04:46:43.086 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-01 04:46:43.086 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-01 04:46:43.087 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-01 04:46:43.093 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-01 04:46:43.093 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-01_04-46-43__0d9e287b-0804-4c10-a8bd-99eafa8f6ba9__wakuorg_nwaku:latest.log
2026-02-01 04:46:43.093 DEBUG [src.node.waku_node] Starting Node...
2026-02-01 04:46:43.093 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-01 04:46:43.094 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-01 04:46:43.094 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.87.224
2026-02-01 04:46:43.095 DEBUG [src.node.docker_mananger] Generated ports ['30245', '30246', '30247', '30248', '30249']
2026-02-01 04:46:43.095 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-01 04:46:43.095 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-01 04:46:43.095 DEBUG [src.node.waku_node] Using volumes []
2026-02-01 04:46:43.095 DEBUG [src.node.docker_mananger] docker run -i -t -p 30245:30245 -p 30246:30246 -p 30247:30247 -p 30248:30248 -p 30249:30249 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=30247 --rest-port=30245 --tcp-port=30246 --discv5-udp-port=30248 --rest-address=0.0.0.0 --nat=extip:172.18.87.224 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f75ebe8ff3bedc7bbedb7b6368ca3c1e176ea28fdebbfdfeb5d7dc16f14ed50d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=30249 --metrics-logging=true --relay=true --filter=true
2026-02-01 04:46:43.281 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.87.224 waku 799363a8a75a0278ec3cdb11ea76fdd20f9ad09595b4788596db8183a72b4dc8
2026-02-01 04:46:43.311 DEBUG [src.node.docker_mananger] Container started with ID 799363a8a75a. Setting up logs at ./log/docker/node1_2026-02-01_04-46-43__0d9e287b-0804-4c10-a8bd-99eafa8f6ba9__wakuorg_nwaku:latest.log
2026-02-01 04:46:43.312 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 30245
2026-02-01 04:46:43.314 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-01 04:46:43.350 ERROR [src.node.docker_mananger] Max retries reached for container 7dd81dd6b119. Exiting log stream.
2026-02-01 04:46:43.893 ERROR [src.node.docker_mananger] Max retries reached for container 262aa1c48e10. Exiting log stream.
2026-02-01 04:46:44.315 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:30245/health" -H "Content-Type: application/json" -d 'None'
2026-02-01 04:46:44.318 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"}]}'
2026-02-01 04:46:44.318 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-01 04:46:44.318 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:30245/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-01 04:46:44.321 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.87.224/tcp/30246/p2p/16Uiu2HAm6ZDunFyUU7WbnfJBmgkQQFcnA6S6vkMxSGAxB1TtYoR4","/ip4/172.18.87.224/tcp/30247/ws/p2p/16Uiu2HAm6ZDunFyUU7WbnfJBmgkQQFcnA6S6vkMxSGAxB1TtYoR4"],"enrUri":"enr:-L24QF6zTULcRl7yDo2RDzfUE29oML0rTnghsVJse4r9VhiZfQbsxWqM3Uh8AktXDj64UkbtY43LZj6EXClzRpefM0YCgmlkgnY0gmlwhKwSV-CKbXVsdGlhZGRyc5YACASsElfgBnYmAAoErBJX4AZ2J90DgnJzhQADAQAAiXNlY3AyNTZrMaECpV-55NDdBm0XE1CVvK709tjdeXfPBFM8_XWshsqW1zODdGNwgnYmg3VkcIJ2KIV3YWt1MgU"}'
2026-02-01 04:46:44.321 INFO [src.node.waku_node] REST service is ready !!
2026-02-01 04:46:44.321 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-01 04:46:44.327 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-01 04:46:44.328 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-01_04-46-43__0d9e287b-0804-4c10-a8bd-99eafa8f6ba9__wakuorg_nwaku:latest.log
2026-02-01 04:46:44.328 DEBUG [src.node.waku_node] Starting Node...
2026-02-01 04:46:44.328 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-01 04:46:44.329 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-01 04:46:44.329 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.1.2
2026-02-01 04:46:44.329 DEBUG [src.node.docker_mananger] Generated ports ['63736', '63737', '63738', '63739', '63740']
2026-02-01 04:46:44.330 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-01 04:46:44.330 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-01 04:46:44.330 DEBUG [src.node.waku_node] Using volumes []
2026-02-01 04:46:44.330 DEBUG [src.node.docker_mananger] docker run -i -t -p 63736:63736 -p 63737:63737 -p 63738:63738 -p 63739:63739 -p 63740:63740 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=63738 --rest-port=63736 --tcp-port=63737 --discv5-udp-port=63739 --rest-address=0.0.0.0 --nat=extip:172.18.1.2 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8e42e62c8caaa519c360ef599df74605b0ac193439fbc5704bfd2c55c9ae8215 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63740 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QF6zTULcRl7yDo2RDzfUE29oML0rTnghsVJse4r9VhiZfQbsxWqM3Uh8AktXDj64UkbtY43LZj6EXClzRpefM0YCgmlkgnY0gmlwhKwSV-CKbXVsdGlhZGRyc5YACASsElfgBnYmAAoErBJX4AZ2J90DgnJzhQADAQAAiXNlY3AyNTZrMaECpV-55NDdBm0XE1CVvK709tjdeXfPBFM8_XWshsqW1zODdGNwgnYmg3VkcIJ2KIV3YWt1MgU --filternode=/ip4/172.18.87.224/tcp/30246/p2p/16Uiu2HAm6ZDunFyUU7WbnfJBmgkQQFcnA6S6vkMxSGAxB1TtYoR4
2026-02-01 04:46:44.512 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.1.2 waku 29e2af13274cd5d633a343376fe70aeb6daa2b336327f2c63824d61fd7d4aad2
2026-02-01 04:46:44.543 DEBUG [src.node.docker_mananger] Container started with ID 29e2af13274c. Setting up logs at ./log/docker/node2_2026-02-01_04-46-43__0d9e287b-0804-4c10-a8bd-99eafa8f6ba9__wakuorg_nwaku:latest.log
2026-02-01 04:46:44.544 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 63736
2026-02-01 04:46:44.544 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-01 04:46:45.545 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63736/health" -H "Content-Type: application/json" -d 'None'
2026-02-01 04:46:45.549 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"}]}'
2026-02-01 04:46:45.549 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-01 04:46:45.549 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63736/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-01 04:46:45.552 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.1.2/tcp/63737/p2p/16Uiu2HAm4QpFLY6b4J2orSLzoZBRLm4LPcYvXjG99v7p4VD3W9NS","/ip4/172.18.1.2/tcp/63738/ws/p2p/16Uiu2HAm4QpFLY6b4J2orSLzoZBRLm4LPcYvXjG99v7p4VD3W9NS"],"enrUri":"enr:-L24QPavNN29UltQ12aVY0i34DlP7LweG_IDCZ9kE74YhlwxPrYUTyjjctyzYvB0DkH0k_x53EFzq98EFEgn_gVJKi0CgmlkgnY0gmlwhKwSAQKKbXVsdGlhZGRyc5YACASsEgECBvj5AAoErBIBAgb4-t0DgnJzhQADAQAAiXNlY3AyNTZrMaEChYDzP4W2t3SPLDjbpvH4BW2t6AZY4dccQZCeB1b-z6ODdGNwgvj5g3VkcIL4-4V3YWt1MgA"}'
2026-02-01 04:46:45.552 INFO [src.node.waku_node] REST service is ready !!
2026-02-01 04:46:45.552 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.87.224/tcp/30246/p2p/16Uiu2HAm6ZDunFyUU7WbnfJBmgkQQFcnA6S6vkMxSGAxB1TtYoR4"]'
2026-02-01 04:46:45.586 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-01 04:46:45.587 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-01 04:46:45.587 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:30245/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-01 04:46:45.595 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-01 04:46:45.596 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "cfcca972-eb9b-4927-8ea8-71bea277bb30", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-01 04:46:45.606 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"cfcca972-eb9b-4927-8ea8-71bea277bb30","statusDesc":"OK"}'
2026-02-01 04:46:45.609 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-02-01 04:46:45.609 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-01 04:46:45.611 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63736/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-01 04:46:45.613 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-02-01 04:46:45.613 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/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-01 04:46:45.616 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63736/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-01 04:46:45.616 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-02-01 04:46:45.617 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/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-01 04:46:45.619 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63736/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-01 04:46:45.619 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-02-01 04:46:45.620 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/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-01 04:46:45.622 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63736/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-01 04:46:45.623 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-02-01 04:46:45.623 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63736/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-01 04:46:45.625 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63736/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-01 04:46:45.628 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-01 04:46:45.629 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-01 04:46:45.629 DEBUG [src.node.waku_node] Stopping container with id 799363a8a75a
2026-02-01 04:46:46.145 DEBUG [src.node.waku_node] Container stopped.
2026-02-01 04:46:46.146 DEBUG [src.node.waku_node] Stopping container with id 29e2af13274c
2026-02-01 04:46:46.653 DEBUG [src.node.waku_node] Container stopped.
2026-02-01 04:46:46.654 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-01 04:46:46.663 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-01 04:46:46.667 DEBUG [src.node.docker_mananger] No errors found in the waku logs.