73 lines
14 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_update_subscription_refresh_existing with id: 2025-12-08_12-12-24__8136c72c-161a-4ac1-aefb-91fcd46e0eec
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_2025-12-08_12-12-24__8136c72c-161a-4ac1-aefb-91fcd46e0eec__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.232.108
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['38960', '38961', '38962', '38963', '38964']
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 38960:38960 -p 38961:38961 -p 38962:38962 -p 38963:38963 -p 38964:38964 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=38962 --rest-port=38960 --tcp-port=38961 --discv5-udp-port=38963 --rest-address=0.0.0.0 --nat=extip:172.18.232.108 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b34e26c1d429cbc4ba1ee1182d2a9bb253c3aaf5eda39dc26fedaf20b3eef8cc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=38964 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.232.108 waku aa25c7a8cc433237b4a6e962fc9fe76bdfd2cc58d85945995f0eb693c734d656
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID aa25c7a8cc43. Setting up logs at ./log/docker/node1_2025-12-08_12-12-24__8136c72c-161a-4ac1-aefb-91fcd46e0eec__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 38960
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 872b8cf501de. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 8a28b4338753. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:38960/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","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"}]}'
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:38960/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.232.108/tcp/38961/p2p/16Uiu2HAmNi71SLham2UYbXDT8D4U9Y76QAmjPQ6AeU32LmDywjHA","/ip4/172.18.232.108/tcp/38962/ws/p2p/16Uiu2HAmNi71SLham2UYbXDT8D4U9Y76QAmjPQ6AeU32LmDywjHA"],"enrUri":"enr:-L24QFs9DyM3zfyITAvw3DYS8sVu69RC5aMGcZtHq6KiidJ3NdRIvA3b_7Ua2ZcCkDmNYI75tv25o0kYO-idSFIfPWMCgmlkgnY0gmlwhKwS6GyKbXVsdGlhZGRyc5YACASsEuhsBpgxAAoErBLobAaYMt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDlWEjvNWZpZBkGi7FsqHUVgQVbkeuzwyAyJ-Z4_vpooGDdGNwgpgxg3VkcIKYM4V3YWt1MgU"}'
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_2025-12-08_12-12-24__8136c72c-161a-4ac1-aefb-91fcd46e0eec__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.144.170
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['31174', '31175', '31176', '31177', '31178']
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 31174:31174 -p 31175:31175 -p 31176:31176 -p 31177:31177 -p 31178:31178 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=31176 --rest-port=31174 --tcp-port=31175 --discv5-udp-port=31177 --rest-address=0.0.0.0 --nat=extip:172.18.144.170 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7c907bfc2c6defb3a4bd3dc056db39d3f0c26fc4e4dfd997ace7d39fabfd9e1b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31178 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QFs9DyM3zfyITAvw3DYS8sVu69RC5aMGcZtHq6KiidJ3NdRIvA3b_7Ua2ZcCkDmNYI75tv25o0kYO-idSFIfPWMCgmlkgnY0gmlwhKwS6GyKbXVsdGlhZGRyc5YACASsEuhsBpgxAAoErBLobAaYMt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDlWEjvNWZpZBkGi7FsqHUVgQVbkeuzwyAyJ-Z4_vpooGDdGNwgpgxg3VkcIKYM4V3YWt1MgU --filternode=/ip4/172.18.232.108/tcp/38961/p2p/16Uiu2HAmNi71SLham2UYbXDT8D4U9Y76QAmjPQ6AeU32LmDywjHA
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.144.170 waku c0972da48f047da4a306d0f38ea1b022718e112aa0829758c8ce34a31588038c
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID c0972da48f04. Setting up logs at ./log/docker/node2_2025-12-08_12-12-24__8136c72c-161a-4ac1-aefb-91fcd46e0eec__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 31174
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:31174/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","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"}]}'
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:31174/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.144.170/tcp/31175/p2p/16Uiu2HAmSkUfR6iredTHQKpZP3Rp2Nnbh4KbVaYPNXKrGknpxmH3","/ip4/172.18.144.170/tcp/31176/ws/p2p/16Uiu2HAmSkUfR6iredTHQKpZP3Rp2Nnbh4KbVaYPNXKrGknpxmH3"],"enrUri":"enr:-L24QHwyQy6FekXP9gVI4x09cw1VkTccS2G4cRbUdozrXU48fwBFchScVTgdVR-8Uyt70sPEOWN3vCy6sa4rmulE-rMCgmlkgnY0gmlwhKwSkKqKbXVsdGlhZGRyc5YACASsEpCqBnnHAAoErBKQqgZ5yN0DgnJzhQADAQAAiXNlY3AyNTZrMaED0WuIuf8SdgSdhAw4DZuNjV_PntcrhFNxrBt0qlWJhrqDdGNwgnnHg3VkcIJ5yYV3YWt1MgA"}'
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:31174/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.232.108/tcp/38961/p2p/16Uiu2HAmNi71SLham2UYbXDT8D4U9Y76QAmjPQ6AeU32LmDywjHA"]'
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:38960/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:31174/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "6587c2b6-3877-4b2f-9e1e-d5c5a42bb026", "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":"6587c2b6-3877-4b2f-9e1e-d5c5a42bb026","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X PUT "http://127.0.0.1:31174/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:38960/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:31174/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":1765195947389946852,"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 aa25c7a8cc43
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id c0972da48f04
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.