92 lines
17 KiB
Plaintext

2025-12-08 12:10:09.492 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:10:09.493 DEBUG [tests.conftest] Running test: test_filter_get_message_after_node1_restarts with id: 2025-12-08_12-10-09__1984effe-9360-4a28-91e9-7cc5f39b205c
2025-12-08 12:10:09.493 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:10:09.493 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-08 12:10:09.493 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-08 12:10:09.500 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:10:09.500 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-10-09__1984effe-9360-4a28-91e9-7cc5f39b205c__wakuorg_nwaku:latest.log
2025-12-08 12:10:09.500 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:10:09.500 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:10:09.501 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:10:09.501 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.130.237
2025-12-08 12:10:09.502 DEBUG [src.node.docker_mananger] Generated ports ['43158', '43159', '43160', '43161', '43162']
2025-12-08 12:10:09.502 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:10:09.502 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:10:09.502 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:10:09.502 DEBUG [src.node.docker_mananger] docker run -i -t -p 43158:43158 -p 43159:43159 -p 43160:43160 -p 43161:43161 -p 43162:43162 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=43160 --rest-port=43158 --tcp-port=43159 --discv5-udp-port=43161 --rest-address=0.0.0.0 --nat=extip:172.18.130.237 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a3acb3c05ca20855473de8bfce99375b81370559cdeecbe59c4f4ebb58efedfd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=43162 --metrics-logging=true --relay=true --filter=true
2025-12-08 12:10:09.686 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.130.237 waku 499f6759981c820f3300e04c7854a77c1891fc2a4a9cb3b621c63babb94a0b04
2025-12-08 12:10:09.716 DEBUG [src.node.docker_mananger] Container started with ID 499f6759981c. Setting up logs at ./log/docker/node1_2025-12-08_12-10-09__1984effe-9360-4a28-91e9-7cc5f39b205c__wakuorg_nwaku:latest.log
2025-12-08 12:10:09.718 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 43158
2025-12-08 12:10:09.718 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:10:09.765 ERROR [src.node.docker_mananger] Max retries reached for container 237dcddb0d45. Exiting log stream.
2025-12-08 12:10:10.297 ERROR [src.node.docker_mananger] Max retries reached for container 0e5e86945342. Exiting log stream.
2025-12-08 12:10:10.718 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43158/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:10.721 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-08 12:10:10.722 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:10:10.722 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43158/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:10.724 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.130.237/tcp/43159/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH","/ip4/172.18.130.237/tcp/43160/ws/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH"],"enrUri":"enr:-L24QDu2uuIKUcBAu1GPnE4uO55oBwFPmunmbbwbVY1OiCdeIPAM9nXYqKpDDq_6h5VjEG4Kxg7hnYRoUZoB1xqoeR8CgmlkgnY0gmlwhKwSgu2KbXVsdGlhZGRyc5YACASsEoLtBqiXAAoErBKC7QaomN0DgnJzhQADAQAAiXNlY3AyNTZrMaED74T2Umm9UR0aeYoJzWY6TxJFv4WcjDGL8i-z2esj1g6DdGNwgqiXg3VkcIKomYV3YWt1MgU"}'
2025-12-08 12:10:10.724 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:10:10.725 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-08 12:10:10.731 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:10:10.732 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-10-09__1984effe-9360-4a28-91e9-7cc5f39b205c__wakuorg_nwaku:latest.log
2025-12-08 12:10:10.732 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:10:10.732 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:10:10.733 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:10:10.734 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.186.215
2025-12-08 12:10:10.734 DEBUG [src.node.docker_mananger] Generated ports ['22556', '22557', '22558', '22559', '22560']
2025-12-08 12:10:10.734 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:10:10.734 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:10:10.734 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:10:10.734 DEBUG [src.node.docker_mananger] docker run -i -t -p 22556:22556 -p 22557:22557 -p 22558:22558 -p 22559:22559 -p 22560:22560 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=22558 --rest-port=22556 --tcp-port=22557 --discv5-udp-port=22559 --rest-address=0.0.0.0 --nat=extip:172.18.186.215 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ef742e3c5f55e58d6bf410bc9c8d77bc017858eea70a2c6bfeccece8edfbf855 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=22560 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QDu2uuIKUcBAu1GPnE4uO55oBwFPmunmbbwbVY1OiCdeIPAM9nXYqKpDDq_6h5VjEG4Kxg7hnYRoUZoB1xqoeR8CgmlkgnY0gmlwhKwSgu2KbXVsdGlhZGRyc5YACASsEoLtBqiXAAoErBKC7QaomN0DgnJzhQADAQAAiXNlY3AyNTZrMaED74T2Umm9UR0aeYoJzWY6TxJFv4WcjDGL8i-z2esj1g6DdGNwgqiXg3VkcIKomYV3YWt1MgU --filternode=/ip4/172.18.130.237/tcp/43159/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH
2025-12-08 12:10:10.910 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.186.215 waku 1b8011f5d2b2d82a0fbc493772ce5493c91cbf1816d94ac2bb2b04358f6209fe
2025-12-08 12:10:10.940 DEBUG [src.node.docker_mananger] Container started with ID 1b8011f5d2b2. Setting up logs at ./log/docker/node2_2025-12-08_12-10-09__1984effe-9360-4a28-91e9-7cc5f39b205c__wakuorg_nwaku:latest.log
2025-12-08 12:10:10.940 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 22556
2025-12-08 12:10:10.941 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:10:11.941 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22556/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:11.945 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-08 12:10:11.945 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:10:11.946 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22556/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:11.948 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.186.215/tcp/22557/p2p/16Uiu2HAm4t3fZM1JdK3J4FHEquJAeSoBkEZLUaWHgYAehK6mJ39A","/ip4/172.18.186.215/tcp/22558/ws/p2p/16Uiu2HAm4t3fZM1JdK3J4FHEquJAeSoBkEZLUaWHgYAehK6mJ39A"],"enrUri":"enr:-L24QJppJiuZJdo5ryPuDD11RGI92SM1FREQRXJGdIOTxs8mS90UK_C_GGFmhJksaHRQehKL7AvckxlZg63L55gpHr0CgmlkgnY0gmlwhKwSuteKbXVsdGlhZGRyc5YACASsErrXBlgdAAoErBK61wZYHt0DgnJzhQADAQAAiXNlY3AyNTZrMaECjHrNqSrF1Jl0TAkoOhFJCiuqcCea_DC47V_RsdksOymDdGNwglgdg3VkcIJYH4V3YWt1MgA"}'
2025-12-08 12:10:11.948 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:10:11.949 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:22556/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.130.237/tcp/43159/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH"]'
2025-12-08 12:10:11.979 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:10:11.980 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-08 12:10:11.982 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43158/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:10:11.993 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:10:11.995 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:22556/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "2b2d4b73-0d8a-4593-82d7-d8d3d6320c9f", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-08 12:10:12.006 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"2b2d4b73-0d8a-4593-82d7-d8d3d6320c9f","statusDesc":"OK"}'
2025-12-08 12:10:12.008 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43158/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)'}'
2025-12-08 12:10:12.014 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:10:12.014 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:10:12.115 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:10:12.115 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22556/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:12.118 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1765195812007990758,"ephemeral":false}]'
2025-12-08 12:10:12.120 DEBUG [src.node.waku_node] Restarting container with id 499f6759981c
2025-12-08 12:10:13.094 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43158/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:13.198 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43158/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:13.202 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-08 12:10:13.202 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:10:13.202 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43158/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:13.205 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.130.237/tcp/43159/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH","/ip4/172.18.130.237/tcp/43160/ws/p2p/16Uiu2HAmUmyPA6qJYqNXaSd8iVEReoB43ym1yxbn6ujs7grCF6AH"],"enrUri":"enr:-L24QDu2uuIKUcBAu1GPnE4uO55oBwFPmunmbbwbVY1OiCdeIPAM9nXYqKpDDq_6h5VjEG4Kxg7hnYRoUZoB1xqoeR8CgmlkgnY0gmlwhKwSgu2KbXVsdGlhZGRyc5YACASsEoLtBqiXAAoErBKC7QaomN0DgnJzhQADAQAAiXNlY3AyNTZrMaED74T2Umm9UR0aeYoJzWY6TxJFv4WcjDGL8i-z2esj1g6DdGNwgqiXg3VkcIKomYV3YWt1MgU"}'
2025-12-08 12:10:13.205 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:10:13.205 DEBUG [src.libs.common] Sleeping for 2 seconds
2025-12-08 12:10:15.206 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43158/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:10:15.218 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:10:15.218 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:22556/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "41c26acf-41fd-4e6a-93be-684af933bc19", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-08 12:10:15.247 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"41c26acf-41fd-4e6a-93be-684af933bc19","statusDesc":"OK"}'
2025-12-08 12:10:15.249 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43158/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)'}'
2025-12-08 12:10:15.258 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:10:15.258 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:10:15.359 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:10:15.359 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:22556/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:10:15.362 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"RmlsdGVyIHdvcmtzISE=","contentTopic":"/test/1/waku-filter/proto","version":0,"timestamp":1765195815249532606,"ephemeral":false}]'
2025-12-08 12:10:15.366 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:10:15.367 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:10:15.367 DEBUG [src.node.waku_node] Stopping container with id 499f6759981c
2025-12-08 12:10:15.882 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:10:15.882 DEBUG [src.node.waku_node] Stopping container with id 1b8011f5d2b2
2025-12-08 12:10:16.398 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:10:16.399 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:10:16.418 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:10:16.427 DEBUG [src.node.docker_mananger] No errors found in the waku logs.