90 lines
17 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_resubscribe_to_unsubscribed_topics with id: 2026-03-01_04-38-47__40b9cf2b-a758-4ac3-bd58-7bdf4dd24372
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-01_04-38-47__40b9cf2b-a758-4ac3-bd58-7bdf4dd24372__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.140.218
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['45536', '45537', '45538', '45539', '45540']
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 45536:45536 -p 45537:45537 -p 45538:45538 -p 45539:45539 -p 45540:45540 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=45538 --rest-port=45536 --tcp-port=45537 --discv5-udp-port=45539 --rest-address=0.0.0.0 --nat=extip:172.18.140.218 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fc410b069e9a02b2cb91f5bb9728cad9d93b22cdd1a4a97221fb3dbdaa13eeb5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=45540 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.140.218 waku 43a821a771e9cc3f2eb5727744eff8e9aba81dfa755b798c357ecd6dd1026ff8
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container ca0134c1ce1a. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 43a821a771e9. Setting up logs at ./log/docker/node1_2026-03-01_04-38-47__40b9cf2b-a758-4ac3-bd58-7bdf4dd24372__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 45536
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 e30eee41faf0. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:45536/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:45536/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.140.218/tcp/45537/p2p/16Uiu2HAmHuqRRv1UGMNyMpFMzt2QXhk9wJGmH6dFL3ueQWs9PUcU","/ip4/172.18.140.218/tcp/45538/ws/p2p/16Uiu2HAmHuqRRv1UGMNyMpFMzt2QXhk9wJGmH6dFL3ueQWs9PUcU"],"enrUri":"enr:-L24QH9NB67mV99jKU3ZhiFRe0DBsPfYCUuTWvHQQG3Dk5ARablalp3DvdNDLrqmvyoxFRmrtp1I8jp-FYY9LSmHrUcCgmlkgnY0gmlwhKwSjNqKbXVsdGlhZGRyc5YACASsEozaBrHhAAoErBKM2gax4t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDThgNGGtW1DdIvG5KezezHICdCdge4Ht0yL_wZ1yOX8WDdGNwgrHhg3VkcIKx44V3YWt1MgU"}'
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-01_04-38-47__40b9cf2b-a758-4ac3-bd58-7bdf4dd24372__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.45.93
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['52172', '52173', '52174', '52175', '52176']
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 52172:52172 -p 52173:52173 -p 52174:52174 -p 52175:52175 -p 52176:52176 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=52174 --rest-port=52172 --tcp-port=52173 --discv5-udp-port=52175 --rest-address=0.0.0.0 --nat=extip:172.18.45.93 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8a907c3e43c1f7b5c084ea7a042f9fdadcdfb0d480db976cd5f77f3c5e51b876 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52176 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QH9NB67mV99jKU3ZhiFRe0DBsPfYCUuTWvHQQG3Dk5ARablalp3DvdNDLrqmvyoxFRmrtp1I8jp-FYY9LSmHrUcCgmlkgnY0gmlwhKwSjNqKbXVsdGlhZGRyc5YACASsEozaBrHhAAoErBKM2gax4t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDThgNGGtW1DdIvG5KezezHICdCdge4Ht0yL_wZ1yOX8WDdGNwgrHhg3VkcIKx44V3YWt1MgU --filternode=/ip4/172.18.140.218/tcp/45537/p2p/16Uiu2HAmHuqRRv1UGMNyMpFMzt2QXhk9wJGmH6dFL3ueQWs9PUcU
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.45.93 waku 8b3e843a7d8c79fc8bbf5a3211cc4b6e66b04ccaaf448db8d0e41ad6eb957c40
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 8b3e843a7d8c. Setting up logs at ./log/docker/node2_2026-03-01_04-38-47__40b9cf2b-a758-4ac3-bd58-7bdf4dd24372__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 52172
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:52172/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:52172/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.45.93/tcp/52173/p2p/16Uiu2HAmJD8Z56jbpG2pvsY6x8CtxCYqoQNixsfdQ29e4iT3LMg3","/ip4/172.18.45.93/tcp/52174/ws/p2p/16Uiu2HAmJD8Z56jbpG2pvsY6x8CtxCYqoQNixsfdQ29e4iT3LMg3"],"enrUri":"enr:-L24QG6uBWM-yHrAYnv5_9jV6P1Kf_9BEu-ZVb5ukBUOy1bMRF-jYkUXsVKeyZa_VgjGuFUNUups2V0ERR46qTbOM-MCgmlkgnY0gmlwhKwSLV2KbXVsdGlhZGRyc5YACASsEi1dBsvNAAoErBItXQbLzt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDUoZLu6i1_vAJD58ri1Dxi5j40O6YdHpxT4w-UoHu3cCDdGNwgsvNg3VkcILLz4V3YWt1MgA"}'
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:52172/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.140.218/tcp/45537/p2p/16Uiu2HAmHuqRRv1UGMNyMpFMzt2QXhk9wJGmH6dFL3ueQWs9PUcU"]'
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:45536/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:52172/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "2c4d2b08-e66b-4548-a4bf-5e6236d30513", "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":"2c4d2b08-e66b-4548-a4bf-5e6236d30513","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45536/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%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:52172/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":1772339930288361669,"ephemeral":false}]'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:52172/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "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":"1","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45536/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%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:52172/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
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:52172/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto. Response content: b'Not subscribed to topic: /test/1/waku-filter/proto'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45536/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:52172/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "d18e6d69-7f30-4b0d-89aa-7264739bad28", "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":"d18e6d69-7f30-4b0d-89aa-7264739bad28","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:45536/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%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:52172/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":1772339930535574221,"ephemeral":false}]'
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 43a821a771e9
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 8b3e843a7d8c
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.