2026-03-05 15:25:13 +00:00

82 lines
16 KiB
Plaintext

2026-03-05 15:10:14.435 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-05 15:10:14.437 DEBUG [tests.conftest] Running test: test_filter_subscribe_with_invalid_content_topic_format with id: 2026-03-05_15-10-14__2a9cca79-a6aa-415c-9c3d-71b5c684c256
2026-03-05 15:10:14.437 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-05 15:10:14.437 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-03-05 15:10:14.438 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-03-05 15:10:14.447 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
2026-03-05 15:10:14.447 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-05_15-10-14__2a9cca79-a6aa-415c-9c3d-71b5c684c256__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:10:14.448 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 15:10:14.448 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 15:10:14.452 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 15:10:14.452 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.172.76
2026-03-05 15:10:14.452 DEBUG [src.node.docker_mananger] Generated ports ['5234', '5235', '5236', '5237', '5238']
2026-03-05 15:10:14.453 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 15:10:14.453 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 15:10:14.453 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 15:10:14.454 DEBUG [src.node.docker_mananger] docker run -i -t -p 5234:5234 -p 5235:5235 -p 5236:5236 -p 5237:5237 -p 5238:5238 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=5236 --rest-port=5234 --tcp-port=5235 --discv5-udp-port=5237 --rest-address=0.0.0.0 --nat=extip:172.18.172.76 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=2d8af9cfc2a2bb4f2b4d7b3f4c2ebc546bedaaccf13c4cff018e43ddab05779d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5238 --metrics-logging=true --relay=true --filter=true
2026-03-05 15:10:14.652 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.172.76 waku 5b3afd7292b5e1ccbc36f133f3f7166287cdc852cf70427e6f0c50f856aceed8
2026-03-05 15:10:14.657 ERROR [src.node.docker_mananger] Max retries reached for container bb527b02e972. Exiting log stream.
2026-03-05 15:10:14.689 DEBUG [src.node.docker_mananger] Container started with ID 5b3afd7292b5. Setting up logs at ./log/docker/node1_2026-03-05_15-10-14__2a9cca79-a6aa-415c-9c3d-71b5c684c256__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:10:14.691 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 5234
2026-03-05 15:10:14.691 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 15:10:15.282 ERROR [src.node.docker_mananger] Max retries reached for container 7f7843e23c2c. Exiting log stream.
2026-03-05 15:10:15.691 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5234/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:10:15.695 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-05 15:10:15.695 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 15:10:15.695 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5234/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:10:15.698 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.172.76/tcp/5235/p2p/16Uiu2HAmTC9ndDv2bRycJFSdgoxoXy7sD1726i5LEcLEx9kqNp2W","/ip4/172.18.172.76/tcp/5236/ws/p2p/16Uiu2HAmTC9ndDv2bRycJFSdgoxoXy7sD1726i5LEcLEx9kqNp2W"],"enrUri":"enr:-L24QP4ld9beUSRRU6RTYta5OFj3WmjTwh-BXbRVu1vsLoUSJ8i0M-dGYMWyJZS85fIxvZnJgsgSl00rwP6pd0zZujECgmlkgnY0gmlwhKwSrEyKbXVsdGlhZGRyc5YACASsEqxMBhRzAAoErBKsTAYUdN0DgnJzhQADAQAAiXNlY3AyNTZrMaED1_9K09ZGlE0gW6Nvot2RdV_7aSpo7lNVdyOottt3VpuDdGNwghRzg3VkcIIUdYV3YWt1MgU"}'
2026-03-05 15:10:15.698 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 15:10:15.698 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-03-05 15:10:15.705 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
2026-03-05 15:10:15.705 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-05_15-10-14__2a9cca79-a6aa-415c-9c3d-71b5c684c256__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:10:15.705 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 15:10:15.706 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 15:10:15.707 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 15:10:15.707 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.170.12
2026-03-05 15:10:15.707 DEBUG [src.node.docker_mananger] Generated ports ['52776', '52777', '52778', '52779', '52780']
2026-03-05 15:10:15.707 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 15:10:15.707 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 15:10:15.708 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 15:10:15.708 DEBUG [src.node.docker_mananger] docker run -i -t -p 52776:52776 -p 52777:52777 -p 52778:52778 -p 52779:52779 -p 52780:52780 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=52778 --rest-port=52776 --tcp-port=52777 --discv5-udp-port=52779 --rest-address=0.0.0.0 --nat=extip:172.18.170.12 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a15aeceefe23edcac5edf79f52147edcff7a1b3ba3643325f70bbbc5bba75bf8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52780 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QP4ld9beUSRRU6RTYta5OFj3WmjTwh-BXbRVu1vsLoUSJ8i0M-dGYMWyJZS85fIxvZnJgsgSl00rwP6pd0zZujECgmlkgnY0gmlwhKwSrEyKbXVsdGlhZGRyc5YACASsEqxMBhRzAAoErBKsTAYUdN0DgnJzhQADAQAAiXNlY3AyNTZrMaED1_9K09ZGlE0gW6Nvot2RdV_7aSpo7lNVdyOottt3VpuDdGNwghRzg3VkcIIUdYV3YWt1MgU --filternode=/ip4/172.18.172.76/tcp/5235/p2p/16Uiu2HAmTC9ndDv2bRycJFSdgoxoXy7sD1726i5LEcLEx9kqNp2W
2026-03-05 15:10:15.911 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.170.12 waku c181a65c895f70f2168239c3d1904e6a548c2e780e2a7c49e255103d10927a85
2026-03-05 15:10:15.946 DEBUG [src.node.docker_mananger] Container started with ID c181a65c895f. Setting up logs at ./log/docker/node2_2026-03-05_15-10-14__2a9cca79-a6aa-415c-9c3d-71b5c684c256__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:10:15.946 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 52776
2026-03-05 15:10:15.946 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 15:10:16.947 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52776/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:10:16.950 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-05 15:10:16.950 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 15:10:16.950 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52776/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:10:16.953 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.170.12/tcp/52777/p2p/16Uiu2HAm41jqWXj7NUob9nHt2ogeeo7DdRNRuPpVXKU3YSKEYJfH","/ip4/172.18.170.12/tcp/52778/ws/p2p/16Uiu2HAm41jqWXj7NUob9nHt2ogeeo7DdRNRuPpVXKU3YSKEYJfH"],"enrUri":"enr:-L24QMwCKo8USAqvjW3k2yYycm5GLL8f-bAHHbqBsq39V7eIeM_fytH9SlhA5wNRbLEs6jItyxdnh7tld9jUzZkkqxACgmlkgnY0gmlwhKwSqgyKbXVsdGlhZGRyc5YACASsEqoMBs4pAAoErBKqDAbOKt0DgnJzhQADAQAAiXNlY3AyNTZrMaECf5ear-csEcyElWlScltrFjZS7p4x0D6-kdBR8U6MG7iDdGNwgs4pg3VkcILOK4V3YWt1MgA"}'
2026-03-05 15:10:16.953 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 15:10:16.953 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.172.76/tcp/5235/p2p/16Uiu2HAmTC9ndDv2bRycJFSdgoxoXy7sD1726i5LEcLEx9kqNp2W"]'
2026-03-05 15:10:16.989 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:10:16.990 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-03-05 15:10:16.990 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5234/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-05 15:10:17.007 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:10:17.011 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "36d59e5f-d1af-4a43-ac65-8e44bec90fc1", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-05 15:10:17.025 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"36d59e5f-d1af-4a43-ac65-8e44bec90fc1","statusDesc":"OK"}'
2026-03-05 15:10:17.026 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic Empty string
2026-03-05 15:10:17.027 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": [{"description": "Empty string", "value": ""}], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-03-05 15:10:17.030 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:52776/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-05 15:10:17.031 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A dictionary
2026-03-05 15:10:17.031 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/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-05 15:10:17.034 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:52776/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-05 15:10:17.035 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic An integer
2026-03-05 15:10:17.035 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/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-05 15:10:17.038 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:52776/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-05 15:10:17.038 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A list
2026-03-05 15:10:17.039 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/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-05 15:10:17.041 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:52776/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-05 15:10:17.042 DEBUG [tests.filter.test_subscribe_create] Running test with contetn topic A bool
2026-03-05 15:10:17.043 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52776/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-05 15:10:17.045 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:52776/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-05 15:10:17.048 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-05 15:10:17.049 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-05 15:10:17.049 DEBUG [src.node.waku_node] Stopping container with id 5b3afd7292b5
2026-03-05 15:10:17.636 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 15:10:17.638 DEBUG [src.node.waku_node] Stopping container with id c181a65c895f
2026-03-05 15:10:18.221 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 15:10:18.224 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-05 15:10:18.229 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-05 15:10:18.233 DEBUG [src.node.docker_mananger] No errors found in the waku logs.