91 lines
16 KiB
Plaintext

2025-12-22 04:18:43.913 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-22 04:18:43.914 DEBUG [tests.conftest] Running test: test_filter_unsubscribe_from_some_of_the_subscribed_content_topics with id: 2025-12-22_04-18-43__23ea80b3-a4cf-4109-ad3f-b54b95c4368d
2025-12-22 04:18:43.915 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-22 04:18:43.915 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-22 04:18:43.916 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-22 04:18:43.925 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-22 04:18:43.926 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-22_04-18-43__23ea80b3-a4cf-4109-ad3f-b54b95c4368d__wakuorg_nwaku:latest.log
2025-12-22 04:18:43.926 DEBUG [src.node.waku_node] Starting Node...
2025-12-22 04:18:43.927 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-22 04:18:43.929 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-22 04:18:43.929 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.58.53
2025-12-22 04:18:43.929 DEBUG [src.node.docker_mananger] Generated ports ['21530', '21531', '21532', '21533', '21534']
2025-12-22 04:18:43.930 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-22 04:18:43.930 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-22 04:18:43.930 DEBUG [src.node.waku_node] Using volumes []
2025-12-22 04:18:43.930 DEBUG [src.node.docker_mananger] docker run -i -t -p 21530:21530 -p 21531:21531 -p 21532:21532 -p 21533:21533 -p 21534:21534 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=21532 --rest-port=21530 --tcp-port=21531 --discv5-udp-port=21533 --rest-address=0.0.0.0 --nat=extip:172.18.58.53 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bb0eec48cb520c30162ee8c6e77303dba9d917cce5bda22525b3c5ec6f0f7aac --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=21534 --metrics-logging=true --relay=true --filter=true
2025-12-22 04:18:44.115 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.58.53 waku b4281dd1ee582466b5a2d2da94816de755e2a5098deb18a4b471ecd60cd466c2
2025-12-22 04:18:44.150 DEBUG [src.node.docker_mananger] Container started with ID b4281dd1ee58. Setting up logs at ./log/docker/node1_2025-12-22_04-18-43__23ea80b3-a4cf-4109-ad3f-b54b95c4368d__wakuorg_nwaku:latest.log
2025-12-22 04:18:44.150 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 21530
2025-12-22 04:18:44.151 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-22 04:18:44.182 ERROR [src.node.docker_mananger] Max retries reached for container 038c1d734298. Exiting log stream.
2025-12-22 04:18:44.741 ERROR [src.node.docker_mananger] Max retries reached for container 2cfe9b07bb27. Exiting log stream.
2025-12-22 04:18:45.151 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21530/health" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:45.155 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2025-12-22 04:18:45.155 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-22 04:18:45.155 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:21530/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:45.158 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.58.53/tcp/21531/p2p/16Uiu2HAmSFm41pwx8udaD3WBC5jxhtpTmnwFToE1SKYuEvm5qGrE","/ip4/172.18.58.53/tcp/21532/ws/p2p/16Uiu2HAmSFm41pwx8udaD3WBC5jxhtpTmnwFToE1SKYuEvm5qGrE"],"enrUri":"enr:-L24QNO9xM4RbnT8mR0UFuboQXHrggbUiEx096TbZJs0x9sHe1mze9ONWjnTN2OKAdTmPXxzkj0aIeP7YyOC6mGZfAoCgmlkgnY0gmlwhKwSOjWKbXVsdGlhZGRyc5YACASsEjo1BlQbAAoErBI6NQZUHN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDyhA48gSHaPkS6PStR7ldwgIZye4Q4p0Iu77IV1lZwUODdGNwglQbg3VkcIJUHYV3YWt1MgU"}'
2025-12-22 04:18:45.158 INFO [src.node.waku_node] REST service is ready !!
2025-12-22 04:18:45.158 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-22 04:18:45.166 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-22 04:18:45.166 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-22_04-18-43__23ea80b3-a4cf-4109-ad3f-b54b95c4368d__wakuorg_nwaku:latest.log
2025-12-22 04:18:45.167 DEBUG [src.node.waku_node] Starting Node...
2025-12-22 04:18:45.167 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-22 04:18:45.168 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-22 04:18:45.168 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.188.242
2025-12-22 04:18:45.169 DEBUG [src.node.docker_mananger] Generated ports ['7728', '7729', '7730', '7731', '7732']
2025-12-22 04:18:45.169 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-22 04:18:45.169 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-22 04:18:45.169 DEBUG [src.node.waku_node] Using volumes []
2025-12-22 04:18:45.169 DEBUG [src.node.docker_mananger] docker run -i -t -p 7728:7728 -p 7729:7729 -p 7730:7730 -p 7731:7731 -p 7732:7732 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=7730 --rest-port=7728 --tcp-port=7729 --discv5-udp-port=7731 --rest-address=0.0.0.0 --nat=extip:172.18.188.242 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=de1c7bfbb8dc55538de38baff17dfbd5aaeda1e7e4aab18cf5ef0aa206c976c9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=7732 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QNO9xM4RbnT8mR0UFuboQXHrggbUiEx096TbZJs0x9sHe1mze9ONWjnTN2OKAdTmPXxzkj0aIeP7YyOC6mGZfAoCgmlkgnY0gmlwhKwSOjWKbXVsdGlhZGRyc5YACASsEjo1BlQbAAoErBI6NQZUHN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDyhA48gSHaPkS6PStR7ldwgIZye4Q4p0Iu77IV1lZwUODdGNwglQbg3VkcIJUHYV3YWt1MgU --filternode=/ip4/172.18.58.53/tcp/21531/p2p/16Uiu2HAmSFm41pwx8udaD3WBC5jxhtpTmnwFToE1SKYuEvm5qGrE
2025-12-22 04:18:45.376 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.188.242 waku 964ead58ad8d2c3f7935d324f23486957ab0404b4f32e9066774f85ca0b9b1ab
2025-12-22 04:18:45.409 DEBUG [src.node.docker_mananger] Container started with ID 964ead58ad8d. Setting up logs at ./log/docker/node2_2025-12-22_04-18-43__23ea80b3-a4cf-4109-ad3f-b54b95c4368d__wakuorg_nwaku:latest.log
2025-12-22 04:18:45.409 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 7728
2025-12-22 04:18:45.409 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-22 04:18:46.410 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7728/health" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:46.414 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"Rln 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":"READY"}]}'
2025-12-22 04:18:46.414 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-22 04:18:46.415 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7728/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:46.417 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.188.242/tcp/7729/p2p/16Uiu2HAmNK8FAJgWLkhTP6aL1F257ydezTpoi4mGPhVLNdDufXGk","/ip4/172.18.188.242/tcp/7730/ws/p2p/16Uiu2HAmNK8FAJgWLkhTP6aL1F257ydezTpoi4mGPhVLNdDufXGk"],"enrUri":"enr:-L24QNYM-r5yEVZlhWJrq_rmuHYvQeyIYxL4DTWSmMv256Hrc3Am9ml6NYSOlf3riVtngRCQxbjAXCrI7sem6ZEc8oECgmlkgnY0gmlwhKwSvPKKbXVsdGlhZGRyc5YACASsErzyBh4xAAoErBK88gYeMt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDj34t4kVcdQVcSM2lekhvhrL7iI6ncPEIPaATbSsMwvmDdGNwgh4xg3VkcIIeM4V3YWt1MgA"}'
2025-12-22 04:18:46.417 INFO [src.node.waku_node] REST service is ready !!
2025-12-22 04:18:46.417 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7728/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.58.53/tcp/21531/p2p/16Uiu2HAmSFm41pwx8udaD3WBC5jxhtpTmnwFToE1SKYuEvm5qGrE"]'
2025-12-22 04:18:46.449 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.451 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-22 04:18:46.452 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21530/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-22 04:18:46.462 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.465 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7728/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "9ee20cda-56ba-4998-9a54-fbbf4f51eab4", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-22 04:18:46.476 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"9ee20cda-56ba-4998-9a54-fbbf4f51eab4","statusDesc":"OK"}'
2025-12-22 04:18:46.477 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21530/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-22 04:18:46.480 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.480 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7728/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "2b68344f-fd96-4e0c-ade8-28de6130945c", "contentFilters": ["Hello World!", "1234567890"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-22 04:18:46.490 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"2b68344f-fd96-4e0c-ade8-28de6130945c","statusDesc":"OK"}'
2025-12-22 04:18:46.490 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21530/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2025-12-22 04:18:46.498 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.499 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-22 04:18:46.599 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-22 04:18:46.599 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7728/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:46.603 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1766377126490676250,"ephemeral":false}]'
2025-12-22 04:18:46.604 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:7728/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["Hello World!"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-22 04:18:46.613 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
2025-12-22 04:18:46.613 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21530/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "1234567890", "timestamp": '$(date +%s%N)'}'
2025-12-22 04:18:46.618 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.618 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-22 04:18:46.719 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-22 04:18:46.719 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7728/filter/v2/messages/1234567890" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:46.722 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"1234567890","version":0,"timestamp":1766377126613699051,"ephemeral":false}]'
2025-12-22 04:18:46.724 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:21530/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "RmlsdGVyIHdvcmtzISE=", "contentTopic": "Hello World!", "timestamp": '$(date +%s%N)'}'
2025-12-22 04:18:46.728 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-22 04:18:46.728 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-22 04:18:46.828 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-22 04:18:46.829 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7728/filter/v2/messages/Hello%20World%21" -H "Content-Type: application/json" -d 'None'
2025-12-22 04:18:46.831 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7728/filter/v2/messages/Hello%20World%21. Response content: b'Not subscribed to topic: Hello World!'
2025-12-22 04:18:46.835 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-22 04:18:46.836 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-22 04:18:46.836 DEBUG [src.node.waku_node] Stopping container with id b4281dd1ee58
2025-12-22 04:18:47.443 DEBUG [src.node.waku_node] Container stopped.
2025-12-22 04:18:47.443 DEBUG [src.node.waku_node] Stopping container with id 964ead58ad8d
2025-12-22 04:18:47.957 DEBUG [src.node.waku_node] Container stopped.
2025-12-22 04:18:47.961 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-22 04:18:47.966 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-22 04:18:47.972 DEBUG [src.node.docker_mananger] No errors found in the waku logs.