2026-02-28 20:41:24 +00:00

91 lines
16 KiB
Plaintext

2026-02-28 20:22:38.020 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-28 20:22:38.021 DEBUG [tests.conftest] Running test: test_filter_unsubscribe_from_some_of_the_subscribed_content_topics with id: 2026-02-28_20-22-38__453abe7e-6b68-4bcd-9955-460d9f09bdc2
2026-02-28 20:22:38.021 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-28 20:22:38.021 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-28 20:22:38.022 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-28 20:22:38.028 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:38.028 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-28_20-22-38__453abe7e-6b68-4bcd-9955-460d9f09bdc2__wakuorg_nwaku:latest.log
2026-02-28 20:22:38.028 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:38.028 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:38.030 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:38.030 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.205.5
2026-02-28 20:22:38.030 DEBUG [src.node.docker_mananger] Generated ports ['31733', '31734', '31735', '31736', '31737']
2026-02-28 20:22:38.030 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:38.030 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:38.030 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:38.030 DEBUG [src.node.docker_mananger] docker run -i -t -p 31733:31733 -p 31734:31734 -p 31735:31735 -p 31736:31736 -p 31737:31737 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=31735 --rest-port=31733 --tcp-port=31734 --discv5-udp-port=31736 --rest-address=0.0.0.0 --nat=extip:172.18.205.5 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=2f049c592b32cf20c30ae22dfad798b5e21dfb9819d88b8ecfa6dd8bae5dcbca --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31737 --metrics-logging=true --relay=true --filter=true
2026-02-28 20:22:38.223 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.205.5 waku 512e9e86d5730fea9568553fcdcf84733dc101a7a8d30f922be0177976077b4e
2026-02-28 20:22:38.259 DEBUG [src.node.docker_mananger] Container started with ID 512e9e86d573. Setting up logs at ./log/docker/node1_2026-02-28_20-22-38__453abe7e-6b68-4bcd-9955-460d9f09bdc2__wakuorg_nwaku:latest.log
2026-02-28 20:22:38.260 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31733
2026-02-28 20:22:38.261 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:38.276 ERROR [src.node.docker_mananger] Max retries reached for container b5a78c90cba6. Exiting log stream.
2026-02-28 20:22:38.818 ERROR [src.node.docker_mananger] Max retries reached for container f4c65bdb7ff0. Exiting log stream.
2026-02-28 20:22:39.262 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31733/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:39.265 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-02-28 20:22:39.266 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:39.266 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31733/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:39.268 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.205.5/tcp/31734/p2p/16Uiu2HAm3ih2A528H1W6AVj6XyXGGDZiSfqhTixyc3npunUSAsyS","/ip4/172.18.205.5/tcp/31735/ws/p2p/16Uiu2HAm3ih2A528H1W6AVj6XyXGGDZiSfqhTixyc3npunUSAsyS"],"enrUri":"enr:-L24QEUCX3tTvqYD3hdWJ7uenpFJ-Jsm03NWWg7DNpaWfXj_MVgwo7htV82mb8wPW7i89TwwpSZprRZGL4wxE5z0RVICgmlkgnY0gmlwhKwSzQWKbXVsdGlhZGRyc5YACASsEs0FBnv2AAoErBLNBQZ7990DgnJzhQADAQAAiXNlY3AyNTZrMaECezmLw0GGemoydl-nrIUeyJfDV0QuOLa6YHewCVExM-mDdGNwgnv2g3VkcIJ7-IV3YWt1MgU"}'
2026-02-28 20:22:39.268 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:39.269 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-28 20:22:39.276 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:39.276 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-28_20-22-38__453abe7e-6b68-4bcd-9955-460d9f09bdc2__wakuorg_nwaku:latest.log
2026-02-28 20:22:39.276 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:39.276 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:39.277 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:39.278 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.141.18
2026-02-28 20:22:39.278 DEBUG [src.node.docker_mananger] Generated ports ['61547', '61548', '61549', '61550', '61551']
2026-02-28 20:22:39.278 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:39.278 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:39.278 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:39.278 DEBUG [src.node.docker_mananger] docker run -i -t -p 61547:61547 -p 61548:61548 -p 61549:61549 -p 61550:61550 -p 61551:61551 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=61549 --rest-port=61547 --tcp-port=61548 --discv5-udp-port=61550 --rest-address=0.0.0.0 --nat=extip:172.18.141.18 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ebeab1c9c0603fb971af3ee211c9839d872a7088ed612c2891a365f56cab0a25 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61551 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QEUCX3tTvqYD3hdWJ7uenpFJ-Jsm03NWWg7DNpaWfXj_MVgwo7htV82mb8wPW7i89TwwpSZprRZGL4wxE5z0RVICgmlkgnY0gmlwhKwSzQWKbXVsdGlhZGRyc5YACASsEs0FBnv2AAoErBLNBQZ7990DgnJzhQADAQAAiXNlY3AyNTZrMaECezmLw0GGemoydl-nrIUeyJfDV0QuOLa6YHewCVExM-mDdGNwgnv2g3VkcIJ7-IV3YWt1MgU --filternode=/ip4/172.18.205.5/tcp/31734/p2p/16Uiu2HAm3ih2A528H1W6AVj6XyXGGDZiSfqhTixyc3npunUSAsyS
2026-02-28 20:22:39.465 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.141.18 waku 635104ab71b8127b3fda38289382078b5935e581a28a79d7f7db94bbf3da38d0
2026-02-28 20:22:39.501 DEBUG [src.node.docker_mananger] Container started with ID 635104ab71b8. Setting up logs at ./log/docker/node2_2026-02-28_20-22-38__453abe7e-6b68-4bcd-9955-460d9f09bdc2__wakuorg_nwaku:latest.log
2026-02-28 20:22:39.501 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 61547
2026-02-28 20:22:39.501 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:40.502 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61547/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:40.505 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-02-28 20:22:40.505 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:40.505 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61547/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:40.507 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.141.18/tcp/61548/p2p/16Uiu2HAm9gkSk6cHkH49R4bB68T93aknwZSzytbwWYzkK1ieZkyu","/ip4/172.18.141.18/tcp/61549/ws/p2p/16Uiu2HAm9gkSk6cHkH49R4bB68T93aknwZSzytbwWYzkK1ieZkyu"],"enrUri":"enr:-L24QC0Gwsh6wsYhpW5kpn7t3gCDYzBLUQ8gPy9_VCYCr6gXaId-5AT25Rz0DCooE_nlIVVESDtEl6GstEUy_7dHku8CgmlkgnY0gmlwhKwSjRKKbXVsdGlhZGRyc5YACASsEo0SBvBsAAoErBKNEgbwbd0DgnJzhQADAQAAiXNlY3AyNTZrMaEC0-Bgl54SjE3IAQDysaC-FSSW79tbIBX086RhNCEpFuCDdGNwgvBsg3VkcILwboV3YWt1MgA"}'
2026-02-28 20:22:40.507 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:40.508 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61547/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.205.5/tcp/31734/p2p/16Uiu2HAm3ih2A528H1W6AVj6XyXGGDZiSfqhTixyc3npunUSAsyS"]'
2026-02-28 20:22:40.545 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.546 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-28 20:22:40.548 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31733/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 20:22:40.563 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.565 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61547/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "fe1a47f7-a8d9-45db-bf68-8c2ed7f33297", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-28 20:22:40.579 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"fe1a47f7-a8d9-45db-bf68-8c2ed7f33297","statusDesc":"OK"}'
2026-02-28 20:22:40.580 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31733/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 20:22:40.582 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.583 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61547/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "604a11cb-1862-4078-bed8-262c3b678ba7", "contentFilters": ["Hello World!", "1234567890"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-28 20:22:40.592 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"604a11cb-1862-4078-bed8-262c3b678ba7","statusDesc":"OK"}'
2026-02-28 20:22:40.592 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31733/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2026-02-28 20:22:40.601 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.601 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-28 20:22:40.701 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-28 20:22:40.702 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61547/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:40.704 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1772310160592747453,"ephemeral":false}]'
2026-02-28 20:22:40.706 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:61547/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["Hello World!"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-28 20:22:40.715 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
2026-02-28 20:22:40.715 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31733/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2026-02-28 20:22:40.720 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.720 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-28 20:22:40.820 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-28 20:22:40.821 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61547/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:40.823 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1772310160715584520,"ephemeral":false}]'
2026-02-28 20:22:40.825 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31733/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "Hello World!", "timestamp": '$(date +%s%N)'}'
2026-02-28 20:22:40.828 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:40.829 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-28 20:22:40.929 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-28 20:22:40.929 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61547/filter/v2/messages/Hello%20World%21" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:40.931 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:61547/filter/v2/messages/Hello%20World%21. Response content: b'Not subscribed to topic: Hello World!'
2026-02-28 20:22:40.935 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-28 20:22:40.936 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-28 20:22:40.936 DEBUG [src.node.waku_node] Stopping container with id 512e9e86d573
2026-02-28 20:22:41.495 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:41.499 DEBUG [src.node.waku_node] Stopping container with id 635104ab71b8
2026-02-28 20:22:42.034 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:42.036 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-28 20:22:42.043 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 20:22:42.048 DEBUG [src.node.docker_mananger] No errors found in the waku logs.