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-10_04-33-15__e3da5d4c-d41d-478e-aaa3-00ffe22cc897
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-10_04-33-15__e3da5d4c-d41d-478e-aaa3-00ffe22cc897__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.143.48
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['15608', '15609', '15610', '15611', '15612']
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 15608:15608 -p 15609:15609 -p 15610:15610 -p 15611:15611 -p 15612:15612 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=15610 --rest-port=15608 --tcp-port=15609 --discv5-udp-port=15611 --rest-address=0.0.0.0 --nat=extip:172.18.143.48 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ec4cbb9be849743dda1afa090adfb5b4ddcebd94cace9edf3aeb6e352dfb3d98 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=15612 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.143.48 waku e88a20eebd94765c812f29e592f70bd25d9713f784c9f7fc025db15697960b64
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container bc2a87c85e71. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID e88a20eebd94. Setting up logs at ./log/docker/node1_2026-03-10_04-33-15__e3da5d4c-d41d-478e-aaa3-00ffe22cc897__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 15608
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 2a4b3f56cd09. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:15608/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:15608/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.143.48/tcp/15609/p2p/16Uiu2HAmTvU2QLz9rP84esPKhU5WZKwcGnF7hopeMcnneaTjXMoF","/ip4/172.18.143.48/tcp/15610/ws/p2p/16Uiu2HAmTvU2QLz9rP84esPKhU5WZKwcGnF7hopeMcnneaTjXMoF"],"enrUri":"enr:-L24QNmg7fGu9jeIpNiO7QiDDWjCmlw1w12xIDTVnLRJpxLKELUqmxJgcmDo5leVByD4pzYDalyNj5XnxvRuDL31RZQCgmlkgnY0gmlwhKwSjzCKbXVsdGlhZGRyc5YACASsEo8wBjz5AAoErBKPMAY8-t0DgnJzhQADAQAAiXNlY3AyNTZrMaED4tZOuv5-CxyuAMHALW6Dt-3HP4wGV1VM_sWxy5OPRpqDdGNwgjz5g3VkcII8-4V3YWt1MgU"}'
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-10_04-33-15__e3da5d4c-d41d-478e-aaa3-00ffe22cc897__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.136.70
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['9526', '9527', '9528', '9529', '9530']
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 9526:9526 -p 9527:9527 -p 9528:9528 -p 9529:9529 -p 9530:9530 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=9528 --rest-port=9526 --tcp-port=9527 --discv5-udp-port=9529 --rest-address=0.0.0.0 --nat=extip:172.18.136.70 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ace0cc5cd1fcff9b4acd66e7fea80bec6aa23d4e49b4a55c120d2fc5fd72abd1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9530 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QNmg7fGu9jeIpNiO7QiDDWjCmlw1w12xIDTVnLRJpxLKELUqmxJgcmDo5leVByD4pzYDalyNj5XnxvRuDL31RZQCgmlkgnY0gmlwhKwSjzCKbXVsdGlhZGRyc5YACASsEo8wBjz5AAoErBKPMAY8-t0DgnJzhQADAQAAiXNlY3AyNTZrMaED4tZOuv5-CxyuAMHALW6Dt-3HP4wGV1VM_sWxy5OPRpqDdGNwgjz5g3VkcII8-4V3YWt1MgU --filternode=/ip4/172.18.143.48/tcp/15609/p2p/16Uiu2HAmTvU2QLz9rP84esPKhU5WZKwcGnF7hopeMcnneaTjXMoF
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.136.70 waku b22e26c750be8c7f0f12666ec6d8430b31a3acc779e958bca9a1b9b533101685
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID b22e26c750be. Setting up logs at ./log/docker/node2_2026-03-10_04-33-15__e3da5d4c-d41d-478e-aaa3-00ffe22cc897__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 9526
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:9526/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:9526/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.136.70/tcp/9527/p2p/16Uiu2HAmEAvWVJqXMiaXVmr1TnnG2KtRSoPPuodpcX1MhsCnJXzV","/ip4/172.18.136.70/tcp/9528/ws/p2p/16Uiu2HAmEAvWVJqXMiaXVmr1TnnG2KtRSoPPuodpcX1MhsCnJXzV"],"enrUri":"enr:-L24QIzkegdloaDNaablyR37-OcaAKcoBkc-A3bDsuRevj-jF-qAxT0pot6o21RxTjwc0Q6SK9j2rU05dWe1PfFJxFgCgmlkgnY0gmlwhKwSiEaKbXVsdGlhZGRyc5YACASsEohGBiU3AAoErBKIRgYlON0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFobEiSWnEE9GshmWQIQFtZcBbMpNJZoe5PNoIUA2PhaDdGNwgiU3g3VkcIIlOYV3YWt1MgA"}'
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:9526/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.143.48/tcp/15609/p2p/16Uiu2HAmTvU2QLz9rP84esPKhU5WZKwcGnF7hopeMcnneaTjXMoF"]'
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:15608/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:9526/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "362e2b25-a973-44d1-a6ac-380af55f17ce", "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":"362e2b25-a973-44d1-a6ac-380af55f17ce","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:15608/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:9526/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":1773117198374222265,"ephemeral":false}]'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X DELETE "http://127.0.0.1:9526/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:15608/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:9526/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:9526/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:15608/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:9526/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "4c184c08-fbd7-4535-8721-c43afa578ecb", "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":"4c184c08-fbd7-4535-8721-c43afa578ecb","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:15608/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:9526/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":1773117198616743520,"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 e88a20eebd94
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id b22e26c750be
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.