2026-02-25 07:41:35 +00:00

91 lines
16 KiB
Plaintext

2026-02-25 07:23:04.644 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 07:23:04.644 DEBUG [tests.conftest] Running test: test_filter_resubscribe_to_unsubscribed_topics with id: 2026-02-25_07-23-04__730e7919-bb8a-4e1b-8f29-37e0562a7613
2026-02-25 07:23:04.645 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 07:23:04.645 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2026-02-25 07:23:04.645 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2026-02-25 07:23:04.651 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 07:23:04.651 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_07-23-04__730e7919-bb8a-4e1b-8f29-37e0562a7613__wakuorg_nwaku:latest.log
2026-02-25 07:23:04.652 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 07:23:04.652 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 07:23:04.653 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 07:23:04.653 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.24.90
2026-02-25 07:23:04.653 DEBUG [src.node.docker_mananger] Generated ports ['57981', '57982', '57983', '57984', '57985']
2026-02-25 07:23:04.653 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 07:23:04.654 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 07:23:04.654 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 07:23:04.654 DEBUG [src.node.docker_mananger] docker run -i -t -p 57981:57981 -p 57982:57982 -p 57983:57983 -p 57984:57984 -p 57985:57985 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=57983 --rest-port=57981 --tcp-port=57982 --discv5-udp-port=57984 --rest-address=0.0.0.0 --nat=extip:172.18.24.90 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fe0a6b9b36218a42aaa3d1d2c3cc6b49bbb2a98df7efff0973bf4d4c06fd8a36 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=57985 --metrics-logging=true --relay=true --filter=true
2026-02-25 07:23:04.829 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.24.90 waku b5e0dcfb101250b642a4110df2594edb4591b594ea675da8efba4211e5cdcdd4
2026-02-25 07:23:04.862 DEBUG [src.node.docker_mananger] Container started with ID b5e0dcfb1012. Setting up logs at ./log/docker/node1_2026-02-25_07-23-04__730e7919-bb8a-4e1b-8f29-37e0562a7613__wakuorg_nwaku:latest.log
2026-02-25 07:23:04.862 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 57981
2026-02-25 07:23:04.862 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 07:23:04.917 ERROR [src.node.docker_mananger] Max retries reached for container 9a21e9e434e3. Exiting log stream.
2026-02-25 07:23:05.441 ERROR [src.node.docker_mananger] Max retries reached for container 2fe725fa9267. Exiting log stream.
2026-02-25 07:23:05.863 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57981/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:05.865 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-25 07:23:05.866 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 07:23:05.866 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57981/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:05.868 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.24.90/tcp/57982/p2p/16Uiu2HAmBFWGn8k74meM5thktU4aPB3xVwFAdMbd71QEc58c4FHP","/ip4/172.18.24.90/tcp/57983/ws/p2p/16Uiu2HAmBFWGn8k74meM5thktU4aPB3xVwFAdMbd71QEc58c4FHP"],"enrUri":"enr:-L24QGwjvrlcmXbXmQGZmnBhtqD0xiMnWOHu97C3RHx60l0fEe3jXiTdKrZdkeX7Fx7r6uqrfkFeOFVdvYN0UGYn6qwCgmlkgnY0gmlwhKwSGFqKbXVsdGlhZGRyc5YACASsEhhaBuJ-AAoErBIYWgbif90DgnJzhQADAQAAiXNlY3AyNTZrMaEC6yA08nSIGq2lrmUT0Om6rQmEf5_9YMlPFnDyzYTpRjaDdGNwguJ-g3VkcILigIV3YWt1MgU"}'
2026-02-25 07:23:05.868 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 07:23:05.869 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2026-02-25 07:23:05.875 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 07:23:05.875 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_07-23-04__730e7919-bb8a-4e1b-8f29-37e0562a7613__wakuorg_nwaku:latest.log
2026-02-25 07:23:05.875 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 07:23:05.876 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 07:23:05.877 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 07:23:05.877 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.105.77
2026-02-25 07:23:05.877 DEBUG [src.node.docker_mananger] Generated ports ['36103', '36104', '36105', '36106', '36107']
2026-02-25 07:23:05.877 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 07:23:05.878 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 07:23:05.878 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 07:23:05.878 DEBUG [src.node.docker_mananger] docker run -i -t -p 36103:36103 -p 36104:36104 -p 36105:36105 -p 36106:36106 -p 36107:36107 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=36105 --rest-port=36103 --tcp-port=36104 --discv5-udp-port=36106 --rest-address=0.0.0.0 --nat=extip:172.18.105.77 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=be018f9ed6e8d1cc1fccb0fc1f7623d8039e5fdac0ea664899cb7fa8de28fea8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36107 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QGwjvrlcmXbXmQGZmnBhtqD0xiMnWOHu97C3RHx60l0fEe3jXiTdKrZdkeX7Fx7r6uqrfkFeOFVdvYN0UGYn6qwCgmlkgnY0gmlwhKwSGFqKbXVsdGlhZGRyc5YACASsEhhaBuJ-AAoErBIYWgbif90DgnJzhQADAQAAiXNlY3AyNTZrMaEC6yA08nSIGq2lrmUT0Om6rQmEf5_9YMlPFnDyzYTpRjaDdGNwguJ-g3VkcILigIV3YWt1MgU --filternode=/ip4/172.18.24.90/tcp/57982/p2p/16Uiu2HAmBFWGn8k74meM5thktU4aPB3xVwFAdMbd71QEc58c4FHP
2026-02-25 07:23:06.054 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.105.77 waku 515f3d0f9d78edbeaeae49afffa1c0300dc7a49d5fee0b8b7aa02a0c34c6c621
2026-02-25 07:23:06.085 DEBUG [src.node.docker_mananger] Container started with ID 515f3d0f9d78. Setting up logs at ./log/docker/node2_2026-02-25_07-23-04__730e7919-bb8a-4e1b-8f29-37e0562a7613__wakuorg_nwaku:latest.log
2026-02-25 07:23:06.086 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 36103
2026-02-25 07:23:06.086 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 07:23:07.087 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36103/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:07.090 INFO [src.node.api_clients.base_client] 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"}]}'
2026-02-25 07:23:07.090 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 07:23:07.090 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36103/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:07.092 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.105.77/tcp/36104/p2p/16Uiu2HAkvnHuskyay4TQFaubmYHQpTaFu8YVeuXw4NugY8Usfkeh","/ip4/172.18.105.77/tcp/36105/ws/p2p/16Uiu2HAkvnHuskyay4TQFaubmYHQpTaFu8YVeuXw4NugY8Usfkeh"],"enrUri":"enr:-L24QHyKGwlYCfADTKq3zDa0OYX8xxM2gkF2sN_I3DnfsLYmYe6DJuuzDm0BN4u4JPnx98TvrTjXNnhgWybaFMr_bScCgmlkgnY0gmlwhKwSaU2KbXVsdGlhZGRyc5YACASsEmlNBo0IAAoErBJpTQaNCd0DgnJzhQADAQAAiXNlY3AyNTZrMaECFCPum9PUs9O8IAXi1n5hruOu3YeaRVY20WCkvYu2YMaDdGNwgo0Ig3VkcIKNCoV3YWt1MgA"}'
2026-02-25 07:23:07.092 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 07:23:07.093 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36103/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.24.90/tcp/57982/p2p/16Uiu2HAmBFWGn8k74meM5thktU4aPB3xVwFAdMbd71QEc58c4FHP"]'
2026-02-25 07:23:07.125 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.126 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2026-02-25 07:23:07.127 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57981/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 07:23:07.142 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.144 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36103/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "b40003ce-229a-4534-b9f8-008f5aa126b5", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 07:23:07.156 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"b40003ce-229a-4534-b9f8-008f5aa126b5","statusDesc":"OK"}'
2026-02-25 07:23:07.158 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57981/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)'}'
2026-02-25 07:23:07.165 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.165 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 07:23:07.265 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 07:23:07.266 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36103/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:07.268 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":1772004187158617373,"ephemeral":false}]'
2026-02-25 07:23:07.270 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:36103/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 07:23:07.278 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
2026-02-25 07:23:07.278 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57981/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)'}'
2026-02-25 07:23:07.282 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.282 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 07:23:07.382 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 07:23:07.382 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36103/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:07.385 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:36103/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto. Response content: b'Not subscribed to topic: /test/1/waku-filter/proto'
2026-02-25 07:23:07.387 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57981/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 07:23:07.389 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.389 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36103/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "9cb71433-de97-481a-a83c-76852b1122ae", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2026-02-25 07:23:07.398 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"9cb71433-de97-481a-a83c-76852b1122ae","statusDesc":"OK"}'
2026-02-25 07:23:07.398 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57981/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)'}'
2026-02-25 07:23:07.402 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 07:23:07.402 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 07:23:07.502 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 07:23:07.503 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36103/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-02-25 07:23:07.505 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":1772004187398574597,"ephemeral":false}]'
2026-02-25 07:23:07.508 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 07:23:07.509 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 07:23:07.509 DEBUG [src.node.waku_node] Stopping container with id b5e0dcfb1012
2026-02-25 07:23:08.071 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 07:23:08.071 DEBUG [src.node.waku_node] Stopping container with id 515f3d0f9d78
2026-02-25 07:23:08.593 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 07:23:08.594 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 07:23:08.600 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 07:23:08.605 DEBUG [src.node.docker_mananger] No errors found in the waku logs.