75 lines
14 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.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

INFO  tests.conftest:conftest.py:106 Fleet bootstrap inactive pass --fleet (or set FLEET_BOOTSTRAP=true) to connect local nodes to the waku.test fleet
DEBUG  tests.conftest:conftest.py:201 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:207 Running test: test_filter_unsubscribe_from_non_existing_content_topic with id: 2026-04-22_23-54-59__0d9c2316-43cf-40a2-b868-f269208be344
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:108 WakuNode instance initialized with log path ./log/docker/node1_2026-04-22_23-54-59__0d9c2316-43cf-40a2-b868-f269208be344__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.160.17
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['41959', '41960', '41961', '41962', '41963']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 41959:41959 -p 41960:41960 -p 41961:41961 -p 41962:41962 -p 41963:41963 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=41961 --rest-port=41959 --tcp-port=41960 --discv5-udp-port=41962 --rest-address=0.0.0.0 --nat=extip:172.18.160.17 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=f027c847bfd2edfdb0e53aeedba4dcae1d5c6adecfbcab6ae15d6adfada5bf1e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41963 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.160.17 waku 1d6b534ba2773305458d4ad76eac00c8e91e56cca7ec590bc46c8d3794182654
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 1d6b534ba277. Setting up logs at ./log/docker/node1_2026-04-22_23-54-59__0d9c2316-43cf-40a2-b868-f269208be344__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 41959
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 3d3feab49a45. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container c0fef63a3063. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:41959/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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:41959/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.160.17/tcp/41960/p2p/16Uiu2HAmHwSwfkQE7E5HrowYTd1pNJgRCeRRhawjgjFviJMT6TTi","/ip4/172.18.160.17/tcp/41961/ws/p2p/16Uiu2HAmHwSwfkQE7E5HrowYTd1pNJgRCeRRhawjgjFviJMT6TTi"],"enrUri":"enr:-L24QK0Px5DCbhmPc0ZdHa-cYm9uHx6-555hfSfeMZAivgOsYX-I_egTWkrJGY3i_VTpKciptFwDLGaqeBsk4Q00nrcCgmlkgnY0gmlwhKwSoBGKbXVsdGlhZGRyc5YACASsEqARBqPoAAoErBKgEQaj6d0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDToHLzEcJ0y3Ee8AjqhzPWPTUgFrFF7KNafhNDXi2fF2DdGNwgqPog3VkcIKj6oV3YWt1MgU"}'
INFO  src.node.waku_node:waku_node.py:417 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:108 WakuNode instance initialized with log path ./log/docker/node2_2026-04-22_23-54-59__0d9c2316-43cf-40a2-b868-f269208be344__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:116 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.102.121
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['39832', '39833', '39834', '39835', '39836']
DEBUG  src.node.waku_node:waku_node.py:606 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:211 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:217 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 39832:39832 -p 39833:39833 -p 39834:39834 -p 39835:39835 -p 39836:39836 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=39834 --rest-port=39832 --tcp-port=39833 --discv5-udp-port=39835 --rest-address=0.0.0.0 --nat=extip:172.18.102.121 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=eb0f6e4606c85fb7dada4ff2f8aeadc0128dd1a7d71b818b5d8bbcbc7bf2c888 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39836 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QK0Px5DCbhmPc0ZdHa-cYm9uHx6-555hfSfeMZAivgOsYX-I_egTWkrJGY3i_VTpKciptFwDLGaqeBsk4Q00nrcCgmlkgnY0gmlwhKwSoBGKbXVsdGlhZGRyc5YACASsEqARBqPoAAoErBKgEQaj6d0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDToHLzEcJ0y3Ee8AjqhzPWPTUgFrFF7KNafhNDXi2fF2DdGNwgqPog3VkcIKj6oV3YWt1MgU --filternode=/ip4/172.18.160.17/tcp/41960/p2p/16Uiu2HAmHwSwfkQE7E5HrowYTd1pNJgRCeRRhawjgjFviJMT6TTi
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.102.121 waku 8c8d85fcaa78cb4766aa7a9c7be357a48450bb983c787e2985824c04f80e1be8
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 8c8d85fcaa78. Setting up logs at ./log/docker/node2_2026-04-22_23-54-59__0d9c2316-43cf-40a2-b868-f269208be344__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:228 Started container from image wakuorg/nwaku:latest. REST: 39832
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:39832/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"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:412 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:39832/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.102.121/tcp/39833/p2p/16Uiu2HAmMriqQyog5TMx8N8eZjFuidizF2ASTtde3cduYvS1pbRC","/ip4/172.18.102.121/tcp/39834/ws/p2p/16Uiu2HAmMriqQyog5TMx8N8eZjFuidizF2ASTtde3cduYvS1pbRC"],"enrUri":"enr:-L24QG83xqfM4psuaISn0MOxRMGLRP_U0So8Zz1PcKodHVo6Rtl334TtNoxZqlQwYiksS8Ab5K74KdpJtb_QaOh20ZoCgmlkgnY0gmlwhKwSZnmKbXVsdGlhZGRyc5YACASsEmZ5BpuZAAoErBJmeQabmt0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDiLqb7AO8YN49fAA78hBwNK_a7OGaCQsMn8AnqiSKpvuDdGNwgpuZg3VkcIKbm4V3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:417 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:39832/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.160.17/tcp/41960/p2p/16Uiu2HAmHwSwfkQE7E5HrowYTd1pNJgRCeRRhawjgjFviJMT6TTi"]'
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:41959/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:39832/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "5d5c86c3-5600-4e34-b639-28ef6faf365f", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/198/1"}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"5d5c86c3-5600-4e34-b639-28ef6faf365f","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:39832/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["/test/2/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/198/1"}'
ERROR  src.node.api_clients.base_client:base_client.py:16 HTTP error occurred: 404 Client Error: Not Found for url: http://127.0.0.1:39832/filter/v2/subscriptions. Response content: b'{"requestId":"1","statusDesc":"NOT_FOUND: peer has no subscriptions"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:41959/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "/test/1/waku-filter/proto", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.1 seconds
DEBUG  src.steps.filter:filter.py:96 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:39832/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -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'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1776902102453691867,"ephemeral":false}]'
DEBUG  tests.conftest:conftest.py:209 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:233 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 1d6b534ba277
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:343 Stopping container with id 8c8d85fcaa78
DEBUG  src.node.waku_node:waku_node.py:355 Container stopped.
DEBUG  tests.conftest:conftest.py:248 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.