68 lines
13 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_filter_unsubscribe_with_content_topic_string_instead_of_list with id: 2026-03-21_04-32-24__1405f31c-48dd-4b94-9dcb-8fb4d6d2c6a2
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.filter:filter.py:34 Running fixture setup: setup_main_relay_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node1_2026-03-21_04-32-24__1405f31c-48dd-4b94-9dcb-8fb4d6d2c6a2__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.161.197
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['11101', '11102', '11103', '11104', '11105']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 11101:11101 -p 11102:11102 -p 11103:11103 -p 11104:11104 -p 11105:11105 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=11103 --rest-port=11101 --tcp-port=11102 --discv5-udp-port=11104 --rest-address=0.0.0.0 --nat=extip:172.18.161.197 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=dbcb8b5c9da8b341da98ce0e3c844ebda84f0decdfdf62bb6cfabbabc1cffcf2 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=11105 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.161.197 waku 7f54883f1690a08406fcffde8c4501fa2c48830acb2cd80bac208cc7c7e2d4fe
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7f54883f1690. Setting up logs at ./log/docker/node1_2026-03-21_04-32-24__1405f31c-48dd-4b94-9dcb-8fb4d6d2c6a2__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 11101
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 5c4dc429cab1. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 6b01513fdd23. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11101/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:11101/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.161.197/tcp/11102/p2p/16Uiu2HAkyutjGpZKyrun4zTc9HwMJwVdudy1qzkor8FZuYJy7WzS","/ip4/172.18.161.197/tcp/11103/ws/p2p/16Uiu2HAkyutjGpZKyrun4zTc9HwMJwVdudy1qzkor8FZuYJy7WzS"],"enrUri":"enr:-L24QH7BVskROQbMrUN7NrChmwdO9WwiCd4_RRKSZcg_VJ76BCxh7C8QwmE4WU9jY-qLwNe6kWRUBcELioUpPOGIb7ACgmlkgnY0gmlwhKwSocWKbXVsdGlhZGRyc5YACASsEqHFBiteAAoErBKhxQYrX90DgnJzhQADAQAAiXNlY3AyNTZrMaECQqltK0hSSNHZveJv1FTFsgFARHVh67BbZDcswuh_BeeDdGNwgiteg3VkcIIrYIV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
DEBUG  src.steps.filter:filter.py:39 Running fixture setup: setup_main_filter_node
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/node2_2026-03-21_04-32-24__1405f31c-48dd-4b94-9dcb-8fb4d6d2c6a2__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.172.111
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['46336', '46337', '46338', '46339', '46340']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 46336:46336 -p 46337:46337 -p 46338:46338 -p 46339:46339 -p 46340:46340 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=46338 --rest-port=46336 --tcp-port=46337 --discv5-udp-port=46339 --rest-address=0.0.0.0 --nat=extip:172.18.172.111 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b5e507b2ac9a1fba6e18db28bddf8fe482cd6b2e094fc2a76e1a139cd4c034f8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46340 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QH7BVskROQbMrUN7NrChmwdO9WwiCd4_RRKSZcg_VJ76BCxh7C8QwmE4WU9jY-qLwNe6kWRUBcELioUpPOGIb7ACgmlkgnY0gmlwhKwSocWKbXVsdGlhZGRyc5YACASsEqHFBiteAAoErBKhxQYrX90DgnJzhQADAQAAiXNlY3AyNTZrMaECQqltK0hSSNHZveJv1FTFsgFARHVh67BbZDcswuh_BeeDdGNwgiteg3VkcIIrYIV3YWt1MgU --filternode=/ip4/172.18.161.197/tcp/11102/p2p/16Uiu2HAkyutjGpZKyrun4zTc9HwMJwVdudy1qzkor8FZuYJy7WzS
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.172.111 waku ea167b688e484233a1af45170f09faddd362fdeadda400a0ca41e4fc5a086d92
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID ea167b688e48. Setting up logs at ./log/docker/node2_2026-03-21_04-32-24__1405f31c-48dd-4b94-9dcb-8fb4d6d2c6a2__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 46336
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:46336/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:46336/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.172.111/tcp/46337/p2p/16Uiu2HAm7xKFhUD43WyfGaQYaTXKf7VHqJs2jwJPJ5w6wZ3RBCkx","/ip4/172.18.172.111/tcp/46338/ws/p2p/16Uiu2HAm7xKFhUD43WyfGaQYaTXKf7VHqJs2jwJPJ5w6wZ3RBCkx"],"enrUri":"enr:-L24QHeQOwkxuPtRwKweJ4li4iPyENzy62POjBUDBlUZNnWjasYXMVSDVCBLVhFY13ByVmrobfwtGQmenmXm8g3anrkCgmlkgnY0gmlwhKwSrG-KbXVsdGlhZGRyc5YACASsEqxvBrUBAAoErBKsbwa1At0DgnJzhQADAQAAiXNlY3AyNTZrMaECuiXQQM8QnnsiJI0xr2n29fL1jT62kA2otCngLOCXXNGDdGNwgrUBg3VkcIK1A4V3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:46336/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.161.197/tcp/11102/p2p/16Uiu2HAkyutjGpZKyrun4zTc9HwMJwVdudy1qzkor8FZuYJy7WzS"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.filter:filter.py:47 Running fixture setup: subscribe_main_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:11101/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:46336/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b017ad32-c6ea-405a-a4dc-c32200ecbbd9", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"b017ad32-c6ea-405a-a4dc-c32200ecbbd9","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:46336/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": "/test/1/waku-filter/proto", "pubsubTopic": "/waku/2/rs/3/1"}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46336/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\\"))"}'
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 7f54883f1690
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id ea167b688e48
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.