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_get_message_after_node2_restarts with id: 2025-12-14_04-16-35__ac88a57d-9004-4f97-a0a2-4c5a702abec0
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-14_04-16-35__ac88a57d-9004-4f97-a0a2-4c5a702abec0__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.41.104
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['46516', '46517', '46518', '46519', '46520']
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 46516:46516 -p 46517:46517 -p 46518:46518 -p 46519:46519 -p 46520:46520 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=46518 --rest-port=46516 --tcp-port=46517 --discv5-udp-port=46519 --rest-address=0.0.0.0 --nat=extip:172.18.41.104 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=95e889463f27afad03cfd69d67eb710bfdd79760e4767ff19ddceaca026f9abb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46520 --metrics-logging=true --relay=true --filter=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.41.104 waku 0a8d7b83e68a694725915ca67a5193cdf67d64d527648bc3cdce9e0a43d1e778
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 0a8d7b83e68a. Setting up logs at ./log/docker/node1_2025-12-14_04-16-35__ac88a57d-9004-4f97-a0a2-4c5a702abec0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 46516
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 86c7194e81f1. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:46516/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:46516/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.41.104/tcp/46517/p2p/16Uiu2HAmCZL9p8foTLVZhkjTwz9KVQZ1wtdmNjmQjAxaErdy8uNV","/ip4/172.18.41.104/tcp/46518/ws/p2p/16Uiu2HAmCZL9p8foTLVZhkjTwz9KVQZ1wtdmNjmQjAxaErdy8uNV"],"enrUri":"enr:-L24QHBRrkxvIHxos5ZWel2X8_VPbfQlGtpfiYix8lzAgQXmJamwGjYKQwBZLZT2bU-btS3s-v6U0woJ2iHF6IBnEvsCgmlkgnY0gmlwhKwSKWiKbXVsdGlhZGRyc5YACASsEiloBrW1AAoErBIpaAa1tt0DgnJzhQADAQAAiXNlY3AyNTZrMaEC_oznzer731MtrYioh3rP3DLjDBNnTJEDNRoCZWb2IwaDdGNwgrW1g3VkcIK1t4V3YWt1MgU"}'
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-14_04-16-35__ac88a57d-9004-4f97-a0a2-4c5a702abec0__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.250.113
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['32683', '32684', '32685', '32686', '32687']
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 32683:32683 -p 32684:32684 -p 32685:32685 -p 32686:32686 -p 32687:32687 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=32685 --rest-port=32683 --tcp-port=32684 --discv5-udp-port=32686 --rest-address=0.0.0.0 --nat=extip:172.18.250.113 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=2cbcfc9f0bff8421eeefdef11ee1d134bcb4e9cb3c64f2ab203bd2c3e547c7d7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=32687 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QHBRrkxvIHxos5ZWel2X8_VPbfQlGtpfiYix8lzAgQXmJamwGjYKQwBZLZT2bU-btS3s-v6U0woJ2iHF6IBnEvsCgmlkgnY0gmlwhKwSKWiKbXVsdGlhZGRyc5YACASsEiloBrW1AAoErBIpaAa1tt0DgnJzhQADAQAAiXNlY3AyNTZrMaEC_oznzer731MtrYioh3rP3DLjDBNnTJEDNRoCZWb2IwaDdGNwgrW1g3VkcIK1t4V3YWt1MgU --filternode=/ip4/172.18.41.104/tcp/46517/p2p/16Uiu2HAmCZL9p8foTLVZhkjTwz9KVQZ1wtdmNjmQjAxaErdy8uNV
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.250.113 waku 91879f9d6a9d885affb5a3f920275aef92efe6665739bf242deda395d0cde513
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 91879f9d6a9d. Setting up logs at ./log/docker/node2_2025-12-14_04-16-35__ac88a57d-9004-4f97-a0a2-4c5a702abec0__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 32683
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:32683/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:32683/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.250.113/tcp/32684/p2p/16Uiu2HAmNjtFrFMKymwdHafDDjpDJL7VhkZvyMcBNgrwPzo8N1aA","/ip4/172.18.250.113/tcp/32685/ws/p2p/16Uiu2HAmNjtFrFMKymwdHafDDjpDJL7VhkZvyMcBNgrwPzo8N1aA"],"enrUri":"enr:-L24QFd7RdN2QMUz6PUp70WmxBGUDv_obzYlSmIhOHWVqTiTcM-2A5PtjlS8YMDPePbS98nOEm31tnX1gFFrIYqohUQCgmlkgnY0gmlwhKwS-nGKbXVsdGlhZGRyc5YACASsEvpxBn-sAAoErBL6cQZ_rd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDldXiDqEttQ83FQi1mb4JWfvoNdGLujZaT2W-HYybKjuDdGNwgn-sg3VkcIJ_roV3YWt1MgA"}'
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:32683/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.41.104/tcp/46517/p2p/16Uiu2HAmCZL9p8foTLVZhkjTwz9KVQZ1wtdmNjmQjAxaErdy8uNV"]'
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:46516/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:32683/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "daf3b01a-ec47-4013-8c35-3cb524532bf8", "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":"daf3b01a-ec47-4013-8c35-3cb524532bf8","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:46516/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:32683/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":1765685797886486387,"ephemeral":false}]'
DEBUG  src.node.waku_node:waku_node.py:257 Restarting container with id 91879f9d6a9d
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:32683/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:32683/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:32683/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.250.113/tcp/32684/p2p/16Uiu2HAmNjtFrFMKymwdHafDDjpDJL7VhkZvyMcBNgrwPzo8N1aA","/ip4/172.18.250.113/tcp/32685/ws/p2p/16Uiu2HAmNjtFrFMKymwdHafDDjpDJL7VhkZvyMcBNgrwPzo8N1aA"],"enrUri":"enr:-L24QFd7RdN2QMUz6PUp70WmxBGUDv_obzYlSmIhOHWVqTiTcM-2A5PtjlS8YMDPePbS98nOEm31tnX1gFFrIYqohUQCgmlkgnY0gmlwhKwS-nGKbXVsdGlhZGRyc5YACASsEvpxBn-sAAoErBL6cQZ_rd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDldXiDqEttQ83FQi1mb4JWfvoNdGLujZaT2W-HYybKjuDdGNwgn-sg3VkcIJ_roV3YWt1MgA"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
DEBUG  src.libs.common:common.py:47 Sleeping for 2 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:46516/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:32683/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "a69c28c5-c6f4-460a-baaf-0daa5fdeba3c", "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":"a69c28c5-c6f4-460a-baaf-0daa5fdeba3c","statusDesc":"OK"}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:46516/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:32683/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":1765685800831831193,"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 0a8d7b83e68a
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 91879f9d6a9d
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.