2026-02-25 15:39:14 +00:00

91 lines
16 KiB
Plaintext

2026-02-25 15:21:41.787 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 15:21:41.787 DEBUG [tests.conftest] Running test: test_filter_unsubscribe_from_some_of_the_subscribed_content_topics with id: 2026-02-25_15-21-41__3a606eee-fa54-491b-8ac6-e1408e5cc51c
2026-02-25 15:21:41.788 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 15:21:41.788 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-25 15:21:41.788 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-25 15:21:41.794 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:21:41.794 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_15-21-41__3a606eee-fa54-491b-8ac6-e1408e5cc51c__wakuorg_nwaku:latest.log
2026-02-25 15:21:41.794 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:21:41.794 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:21:41.796 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:21:41.796 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.44.241
2026-02-25 15:21:41.796 DEBUG [src.node.docker_mananger] Generated ports ['61530', '61531', '61532', '61533', '61534']
2026-02-25 15:21:41.796 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:21:41.796 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:21:41.796 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:21:41.797 DEBUG [src.node.docker_mananger] docker run -i -t -p 61530:61530 -p 61531:61531 -p 61532:61532 -p 61533:61533 -p 61534:61534 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=61532 --rest-port=61530 --tcp-port=61531 --discv5-udp-port=61533 --rest-address=0.0.0.0 --nat=extip:172.18.44.241 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4ca64d36c70b570cf5c063cc75510cdd1ddbec6733aa2e3c2abe9ca12dfdd9ff --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61534 --metrics-logging=true --relay=true --filter=true
2026-02-25 15:21:41.980 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.44.241 waku 38ffd60f2e3eb14ee8692ef3e4cac07196f3c7f6b4b970d650e8b61184ea6071
2026-02-25 15:21:42.017 DEBUG [src.node.docker_mananger] Container started with ID 38ffd60f2e3e. Setting up logs at ./log/docker/node1_2026-02-25_15-21-41__3a606eee-fa54-491b-8ac6-e1408e5cc51c__wakuorg_nwaku:latest.log
2026-02-25 15:21:42.017 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 61530
2026-02-25 15:21:42.018 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:21:42.069 ERROR [src.node.docker_mananger] Max retries reached for container aaf7ef5e0a32. Exiting log stream.
2026-02-25 15:21:42.599 ERROR [src.node.docker_mananger] Max retries reached for container b16c91794672. Exiting log stream.
2026-02-25 15:21:43.018 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61530/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:43.021 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-25 15:21:43.021 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:21:43.021 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61530/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:43.024 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.44.241/tcp/61531/p2p/16Uiu2HAmU2z5TEC1C4SnzNLW6FLuNrpsGMHDeVUsdJQDvGzscUyB","/ip4/172.18.44.241/tcp/61532/ws/p2p/16Uiu2HAmU2z5TEC1C4SnzNLW6FLuNrpsGMHDeVUsdJQDvGzscUyB"],"enrUri":"enr:-L24QIprdOh_pHSzWUktz1pb5vXA68JoOtpqRyirWmUS83asfQWtZ8_D1fFL2HCqU3F23bErg6xP3W8vuZvZoDayO_oCgmlkgnY0gmlwhKwSLPGKbXVsdGlhZGRyc5YACASsEizxBvBbAAoErBIs8QbwXN0DgnJzhQADAQAAiXNlY3AyNTZrMaED5IHF4IM3IChUFKjM-3ynoJ8zv41jySm6cLw6o3W0cP6DdGNwgvBbg3VkcILwXYV3YWt1MgU"}'
2026-02-25 15:21:43.024 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:21:43.024 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-25 15:21:43.030 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:21:43.031 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_15-21-41__3a606eee-fa54-491b-8ac6-e1408e5cc51c__wakuorg_nwaku:latest.log
2026-02-25 15:21:43.031 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:21:43.031 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:21:43.032 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:21:43.032 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.161.71
2026-02-25 15:21:43.032 DEBUG [src.node.docker_mananger] Generated ports ['24722', '24723', '24724', '24725', '24726']
2026-02-25 15:21:43.032 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:21:43.032 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:21:43.033 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:21:43.033 DEBUG [src.node.docker_mananger] docker run -i -t -p 24722:24722 -p 24723:24723 -p 24724:24724 -p 24725:24725 -p 24726:24726 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=24724 --rest-port=24722 --tcp-port=24723 --discv5-udp-port=24725 --rest-address=0.0.0.0 --nat=extip:172.18.161.71 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6e5b1d4aafd348634eaf9e2dbbdcf911cdebde55d510b7cd1bdc6cfba46d9aac --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=24726 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QIprdOh_pHSzWUktz1pb5vXA68JoOtpqRyirWmUS83asfQWtZ8_D1fFL2HCqU3F23bErg6xP3W8vuZvZoDayO_oCgmlkgnY0gmlwhKwSLPGKbXVsdGlhZGRyc5YACASsEizxBvBbAAoErBIs8QbwXN0DgnJzhQADAQAAiXNlY3AyNTZrMaED5IHF4IM3IChUFKjM-3ynoJ8zv41jySm6cLw6o3W0cP6DdGNwgvBbg3VkcILwXYV3YWt1MgU --filternode=/ip4/172.18.44.241/tcp/61531/p2p/16Uiu2HAmU2z5TEC1C4SnzNLW6FLuNrpsGMHDeVUsdJQDvGzscUyB
2026-02-25 15:21:43.212 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.161.71 waku 053b1fd44b62dc7fab7a496de5d5011bf5d3a98d983639b769198bf4ee1fc1b8
2026-02-25 15:21:43.246 DEBUG [src.node.docker_mananger] Container started with ID 053b1fd44b62. Setting up logs at ./log/docker/node2_2026-02-25_15-21-41__3a606eee-fa54-491b-8ac6-e1408e5cc51c__wakuorg_nwaku:latest.log
2026-02-25 15:21:43.247 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 24722
2026-02-25 15:21:43.247 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:21:44.248 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:24722/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:44.251 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-25 15:21:44.251 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:21:44.252 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:24722/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:44.254 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.161.71/tcp/24723/p2p/16Uiu2HAmGagMrCSkgaMqqz4KSCaZ96gCw5JYk5arUdGpWtZNjUZa","/ip4/172.18.161.71/tcp/24724/ws/p2p/16Uiu2HAmGagMrCSkgaMqqz4KSCaZ96gCw5JYk5arUdGpWtZNjUZa"],"enrUri":"enr:-L24QNtlPq_qMMx5TAQJ7nHZZOl37Lf-d_WO8bezT4qwMh8aPLyF6GqaXhJSkkhEWyj9G_fXK0dZ-fq3KSkKha2tPaUCgmlkgnY0gmlwhKwSoUeKbXVsdGlhZGRyc5YACASsEqFHBmCTAAoErBKhRwZglN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDOlQVLCqlWktxsqcNsaa5iaiWdt4PTpDU7_4zEtsId02DdGNwgmCTg3VkcIJglYV3YWt1MgA"}'
2026-02-25 15:21:44.254 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:21:44.254 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:24722/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.44.241/tcp/61531/p2p/16Uiu2HAmU2z5TEC1C4SnzNLW6FLuNrpsGMHDeVUsdJQDvGzscUyB"]'
2026-02-25 15:21:44.289 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.289 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-25 15:21:44.290 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61530/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 15:21:44.307 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.309 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:24722/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "603421ab-55a2-4da2-b597-b6067bd6d067", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 15:21:44.322 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"603421ab-55a2-4da2-b597-b6067bd6d067","statusDesc":"OK"}'
2026-02-25 15:21:44.323 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61530/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 15:21:44.326 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.326 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:24722/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "e0e112b8-4ea7-4a00-af90-b6b78b6337de", "contentFilters": ["Hello World!", "1234567890"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 15:21:44.335 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"e0e112b8-4ea7-4a00-af90-b6b78b6337de","statusDesc":"OK"}'
2026-02-25 15:21:44.336 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61530/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2026-02-25 15:21:44.343 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.344 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 15:21:44.444 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 15:21:44.444 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:24722/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:44.447 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1772032904335986284,"ephemeral":false}]'
2026-02-25 15:21:44.448 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:24722/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["Hello World!"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 15:21:44.455 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
2026-02-25 15:21:44.456 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61530/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2026-02-25 15:21:44.460 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.460 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 15:21:44.561 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 15:21:44.561 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:24722/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:44.564 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1772032904456421592,"ephemeral":false}]'
2026-02-25 15:21:44.565 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61530/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-25 15:21:44.569 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:21:44.569 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 15:21:44.669 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 15:21:44.670 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:24722/filter/v2/messages/Hello%20World%21" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:21:44.672 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:24722/filter/v2/messages/Hello%20World%21. Response content: b'Not subscribed to topic: Hello World!'
2026-02-25 15:21:44.676 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 15:21:44.677 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 15:21:44.677 DEBUG [src.node.waku_node] Stopping container with id 38ffd60f2e3e
2026-02-25 15:21:45.192 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:21:45.193 DEBUG [src.node.waku_node] Stopping container with id 053b1fd44b62
2026-02-25 15:21:45.703 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:21:45.706 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 15:21:45.711 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 15:21:45.717 DEBUG [src.node.docker_mananger] No errors found in the waku logs.