91 lines
17 KiB
Plaintext

2025-12-08 12:12:07.083 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:12:07.083 DEBUG [tests.conftest] Running test: test_filter_get_message_after_node2_restarts with id: 2025-12-08_12-12-07__c7e925a6-ab33-48c4-9372-6853d220d742
2025-12-08 12:12:07.083 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:12:07.084 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-08 12:12:07.084 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-08 12:12:07.090 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:07.090 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-12-07__c7e925a6-ab33-48c4-9372-6853d220d742__wakuorg_nwaku:latest.log
2025-12-08 12:12:07.090 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:07.090 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:07.092 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:07.092 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.199.129
2025-12-08 12:12:07.092 DEBUG [src.node.docker_mananger] Generated ports ['12326', '12327', '12328', '12329', '12330']
2025-12-08 12:12:07.092 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:07.092 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:07.092 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:07.093 DEBUG [src.node.docker_mananger] docker run -i -t -p 12326:12326 -p 12327:12327 -p 12328:12328 -p 12329:12329 -p 12330:12330 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=12328 --rest-port=12326 --tcp-port=12327 --discv5-udp-port=12329 --rest-address=0.0.0.0 --nat=extip:172.18.199.129 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1da0bfbbb1a39b2826ccfdb77e6eccbfcac16de12f7617e1237db90be04b8165 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=12330 --metrics-logging=true --relay=true --filter=true
2025-12-08 12:12:07.278 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.199.129 waku c20ffdb517f93261678e6d0ad4571ec5b8a0dde967bc549160e60ab5bae170e8
2025-12-08 12:12:07.284 ERROR [src.node.docker_mananger] Max retries reached for container b204eaa8f9a7. Exiting log stream.
2025-12-08 12:12:07.307 DEBUG [src.node.docker_mananger] Container started with ID c20ffdb517f9. Setting up logs at ./log/docker/node1_2025-12-08_12-12-07__c7e925a6-ab33-48c4-9372-6853d220d742__wakuorg_nwaku:latest.log
2025-12-08 12:12:07.307 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 12326
2025-12-08 12:12:07.307 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:08.308 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12326/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:08.312 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:12:08.312 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:08.312 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:12326/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:08.314 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.199.129/tcp/12327/p2p/16Uiu2HAm9KQqomRkLH54K3niH1nxdNay23FVR2A2d4VidWC7XvUy","/ip4/172.18.199.129/tcp/12328/ws/p2p/16Uiu2HAm9KQqomRkLH54K3niH1nxdNay23FVR2A2d4VidWC7XvUy"],"enrUri":"enr:-L24QFK5RzuAGP1qOJAA74owcupS_JXB58MApIuY7wYPjxCSUUxqGa88ZYhV7I3_0xGjz_U7_Zac20V-IJqAIkGr8_ICgmlkgnY0gmlwhKwSx4GKbXVsdGlhZGRyc5YACASsEseBBjAnAAoErBLHgQYwKN0DgnJzhQADAQAAiXNlY3AyNTZrMaECzmkED9V66ajhF1_VvdXe7CjT0-zTmtjXjFkRK-PvV_qDdGNwgjAng3VkcIIwKYV3YWt1MgU"}'
2025-12-08 12:12:08.315 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:08.315 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-08 12:12:08.322 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:12:08.322 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-12-07__c7e925a6-ab33-48c4-9372-6853d220d742__wakuorg_nwaku:latest.log
2025-12-08 12:12:08.322 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:12:08.322 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:12:08.323 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:12:08.323 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.123.196
2025-12-08 12:12:08.324 DEBUG [src.node.docker_mananger] Generated ports ['20731', '20732', '20733', '20734', '20735']
2025-12-08 12:12:08.324 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:12:08.324 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:12:08.324 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:12:08.324 DEBUG [src.node.docker_mananger] docker run -i -t -p 20731:20731 -p 20732:20732 -p 20733:20733 -p 20734:20734 -p 20735:20735 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=20733 --rest-port=20731 --tcp-port=20732 --discv5-udp-port=20734 --rest-address=0.0.0.0 --nat=extip:172.18.123.196 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e774e09fd4fc6f371abeddaa8f0e8e6dcfa410391afc2cbc78d6943f3c040a3f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=20735 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QFK5RzuAGP1qOJAA74owcupS_JXB58MApIuY7wYPjxCSUUxqGa88ZYhV7I3_0xGjz_U7_Zac20V-IJqAIkGr8_ICgmlkgnY0gmlwhKwSx4GKbXVsdGlhZGRyc5YACASsEseBBjAnAAoErBLHgQYwKN0DgnJzhQADAQAAiXNlY3AyNTZrMaECzmkED9V66ajhF1_VvdXe7CjT0-zTmtjXjFkRK-PvV_qDdGNwgjAng3VkcIIwKYV3YWt1MgU --filternode=/ip4/172.18.199.129/tcp/12327/p2p/16Uiu2HAm9KQqomRkLH54K3niH1nxdNay23FVR2A2d4VidWC7XvUy
2025-12-08 12:12:08.497 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.123.196 waku 8a769111201dae9e87f1c5bc0e0231596165629071ecd1601651e91f1abc38f1
2025-12-08 12:12:08.524 DEBUG [src.node.docker_mananger] Container started with ID 8a769111201d. Setting up logs at ./log/docker/node2_2025-12-08_12-12-07__c7e925a6-ab33-48c4-9372-6853d220d742__wakuorg_nwaku:latest.log
2025-12-08 12:12:08.524 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 20731
2025-12-08 12:12:08.524 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:12:09.525 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:09.529 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:12:09.529 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:09.529 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:09.531 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.123.196/tcp/20732/p2p/16Uiu2HAmQkSRuU1prqfQ4szpqAwWMh5HdYGJuB7oucmxgyXP4kQX","/ip4/172.18.123.196/tcp/20733/ws/p2p/16Uiu2HAmQkSRuU1prqfQ4szpqAwWMh5HdYGJuB7oucmxgyXP4kQX"],"enrUri":"enr:-L24QEIVBRT5_DBwBigh6SMvzzOtGo2vDKTEJrvQs1op2WkRK5I6TkB9WQPRCWthyZNRqDUfylYXdZrb5rz0uCZLxVACgmlkgnY0gmlwhKwSe8SKbXVsdGlhZGRyc5YACASsEnvEBlD8AAoErBJ7xAZQ_d0DgnJzhQADAQAAiXNlY3AyNTZrMaEDs7Giq9Sp3ZvHA_gimPvi8wrqIZb6QRa93tuvmTRX43iDdGNwglD8g3VkcIJQ_oV3YWt1MgA"}'
2025-12-08 12:12:09.532 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:09.532 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20731/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.199.129/tcp/12327/p2p/16Uiu2HAm9KQqomRkLH54K3niH1nxdNay23FVR2A2d4VidWC7XvUy"]'
2025-12-08 12:12:09.564 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:09.564 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-08 12:12:09.565 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12326/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:12:09.577 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:09.577 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20731/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "d47b6f6f-ee33-4407-82b9-80ffe7a094a4", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-08 12:12:09.590 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"d47b6f6f-ee33-4407-82b9-80ffe7a094a4","statusDesc":"OK"}'
2025-12-08 12:12:09.592 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12326/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:12:09.599 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:09.599 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:12:09.699 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:12:09.700 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:09.703 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":1765195929592185278,"ephemeral":false}]'
2025-12-08 12:12:09.704 DEBUG [src.node.waku_node] Restarting container with id 8a769111201d
2025-12-08 12:12:10.377 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:10.481 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:10.484 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:12:10.484 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:12:10.485 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:10.487 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.123.196/tcp/20732/p2p/16Uiu2HAmQkSRuU1prqfQ4szpqAwWMh5HdYGJuB7oucmxgyXP4kQX","/ip4/172.18.123.196/tcp/20733/ws/p2p/16Uiu2HAmQkSRuU1prqfQ4szpqAwWMh5HdYGJuB7oucmxgyXP4kQX"],"enrUri":"enr:-L24QEIVBRT5_DBwBigh6SMvzzOtGo2vDKTEJrvQs1op2WkRK5I6TkB9WQPRCWthyZNRqDUfylYXdZrb5rz0uCZLxVACgmlkgnY0gmlwhKwSe8SKbXVsdGlhZGRyc5YACASsEnvEBlD8AAoErBJ7xAZQ_d0DgnJzhQADAQAAiXNlY3AyNTZrMaEDs7Giq9Sp3ZvHA_gimPvi8wrqIZb6QRa93tuvmTRX43iDdGNwglD8g3VkcIJQ_oV3YWt1MgA"}'
2025-12-08 12:12:10.487 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:12:10.487 DEBUG [src.libs.common] Sleeping for 2 seconds
2025-12-08 12:12:12.488 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12326/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:12:12.491 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:12.491 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:20731/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "c558e5ff-daf7-4867-88a6-9fe2b7288fad", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-08 12:12:12.500 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"c558e5ff-daf7-4867-88a6-9fe2b7288fad","statusDesc":"OK"}'
2025-12-08 12:12:12.501 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:12326/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:12:12.508 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:12:12.508 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:12:12.608 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:12:12.609 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:20731/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:12:12.611 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":1765195932501031258,"ephemeral":false}]'
2025-12-08 12:12:12.614 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:12:12.615 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:12:12.615 DEBUG [src.node.waku_node] Stopping container with id c20ffdb517f9
2025-12-08 12:12:13.183 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:13.184 DEBUG [src.node.waku_node] Stopping container with id 8a769111201d
2025-12-08 12:12:13.665 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:12:13.667 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:12:13.676 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:12:13.693 DEBUG [src.node.docker_mananger] No errors found in the waku logs.