91 lines
16 KiB
Plaintext

2025-12-24 04:14:08.136 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-24 04:14:08.136 DEBUG [tests.conftest] Running test: test_filter_resubscribe_to_unsubscribed_topics with id: 2025-12-24_04-14-08__6a177ae5-59b7-47f6-88cd-4382ad40d8aa
2025-12-24 04:14:08.136 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-24 04:14:08.136 DEBUG [src.steps.filter] Running fixture setup: filter_setup
2025-12-24 04:14:08.137 DEBUG [src.steps.filter] Running fixture setup: setup_main_relay_node
2025-12-24 04:14:08.143 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-24 04:14:08.143 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-24_04-14-08__6a177ae5-59b7-47f6-88cd-4382ad40d8aa__wakuorg_nwaku:latest.log
2025-12-24 04:14:08.143 DEBUG [src.node.waku_node] Starting Node...
2025-12-24 04:14:08.143 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-24 04:14:08.145 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-24 04:14:08.145 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.81.172
2025-12-24 04:14:08.145 DEBUG [src.node.docker_mananger] Generated ports ['36694', '36695', '36696', '36697', '36698']
2025-12-24 04:14:08.145 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-24 04:14:08.145 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-24 04:14:08.146 DEBUG [src.node.waku_node] Using volumes []
2025-12-24 04:14:08.146 DEBUG [src.node.docker_mananger] docker run -i -t -p 36694:36694 -p 36695:36695 -p 36696:36696 -p 36697:36697 -p 36698:36698 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=36696 --rest-port=36694 --tcp-port=36695 --discv5-udp-port=36697 --rest-address=0.0.0.0 --nat=extip:172.18.81.172 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ca8f89b200374c1ed28ca0fdbd9cb2d5cc56130b409098b01e67afaaeea68f0f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36698 --metrics-logging=true --relay=true --filter=true
2025-12-24 04:14:08.322 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.81.172 waku 431719771e9aa43b83a11e249f5c7f8e40808c5f22e5b0a6b7c9bb7d6cbeb1bc
2025-12-24 04:14:08.351 DEBUG [src.node.docker_mananger] Container started with ID 431719771e9a. Setting up logs at ./log/docker/node1_2025-12-24_04-14-08__6a177ae5-59b7-47f6-88cd-4382ad40d8aa__wakuorg_nwaku:latest.log
2025-12-24 04:14:08.351 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 36694
2025-12-24 04:14:08.353 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-24 04:14:08.424 ERROR [src.node.docker_mananger] Max retries reached for container e3170c8d0a4b. Exiting log stream.
2025-12-24 04:14:08.934 ERROR [src.node.docker_mananger] Max retries reached for container 26a5e5c6c63e. Exiting log stream.
2025-12-24 04:14:09.353 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36694/health" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:09.356 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-24 04:14:09.357 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-24 04:14:09.357 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36694/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:09.359 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.81.172/tcp/36695/p2p/16Uiu2HAmSTfeivQbNoKxD5kdXFW1Zx9X9NdEFFZCHLRPe6XyinjU","/ip4/172.18.81.172/tcp/36696/ws/p2p/16Uiu2HAmSTfeivQbNoKxD5kdXFW1Zx9X9NdEFFZCHLRPe6XyinjU"],"enrUri":"enr:-L24QBRvcFTTiPjDswpMGf44JFUJK_Oy1NqQ2OuWlIK8ooNzElqOuzzS0ItyaX5DHM2Hfv2NZctQ4a345Xm5CSoorIwCgmlkgnY0gmlwhKwSUayKbXVsdGlhZGRyc5YACASsElGsBo9XAAoErBJRrAaPWN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDzR0Vpk8sSJ-Hn8_dbZdKc-sN5sXdZywXxgHg4fQME1uDdGNwgo9Xg3VkcIKPWYV3YWt1MgU"}'
2025-12-24 04:14:09.359 INFO [src.node.waku_node] REST service is ready !!
2025-12-24 04:14:09.360 DEBUG [src.steps.filter] Running fixture setup: setup_main_filter_node
2025-12-24 04:14:09.366 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-24 04:14:09.366 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-24_04-14-08__6a177ae5-59b7-47f6-88cd-4382ad40d8aa__wakuorg_nwaku:latest.log
2025-12-24 04:14:09.367 DEBUG [src.node.waku_node] Starting Node...
2025-12-24 04:14:09.367 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-24 04:14:09.368 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-24 04:14:09.368 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.232.90
2025-12-24 04:14:09.368 DEBUG [src.node.docker_mananger] Generated ports ['6313', '6314', '6315', '6316', '6317']
2025-12-24 04:14:09.369 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-24 04:14:09.369 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-24 04:14:09.369 DEBUG [src.node.waku_node] Using volumes []
2025-12-24 04:14:09.369 DEBUG [src.node.docker_mananger] docker run -i -t -p 6313:6313 -p 6314:6314 -p 6315:6315 -p 6316:6316 -p 6317:6317 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=6315 --rest-port=6313 --tcp-port=6314 --discv5-udp-port=6316 --rest-address=0.0.0.0 --nat=extip:172.18.232.90 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=dbd0c4cd2cfe8dbadc0eca0c6abee31ae690bcbefffdf21334c40fd6bc03c4df --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=6317 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QBRvcFTTiPjDswpMGf44JFUJK_Oy1NqQ2OuWlIK8ooNzElqOuzzS0ItyaX5DHM2Hfv2NZctQ4a345Xm5CSoorIwCgmlkgnY0gmlwhKwSUayKbXVsdGlhZGRyc5YACASsElGsBo9XAAoErBJRrAaPWN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDzR0Vpk8sSJ-Hn8_dbZdKc-sN5sXdZywXxgHg4fQME1uDdGNwgo9Xg3VkcIKPWYV3YWt1MgU --filternode=/ip4/172.18.81.172/tcp/36695/p2p/16Uiu2HAmSTfeivQbNoKxD5kdXFW1Zx9X9NdEFFZCHLRPe6XyinjU
2025-12-24 04:14:09.546 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.232.90 waku 13a350666f9689f64b6a449ef9ee7f165adf323da8c7969107c0e0c4d8b4f290
2025-12-24 04:14:09.575 DEBUG [src.node.docker_mananger] Container started with ID 13a350666f96. Setting up logs at ./log/docker/node2_2025-12-24_04-14-08__6a177ae5-59b7-47f6-88cd-4382ad40d8aa__wakuorg_nwaku:latest.log
2025-12-24 04:14:09.576 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 6313
2025-12-24 04:14:09.577 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-24 04:14:10.577 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:6313/health" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:10.581 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-24 04:14:10.581 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-24 04:14:10.582 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:6313/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:10.584 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.232.90/tcp/6314/p2p/16Uiu2HAmJ2RdCRD2uyeLnGck26mcKg5UkcGGoSaG3g21v5oVHcDE","/ip4/172.18.232.90/tcp/6315/ws/p2p/16Uiu2HAmJ2RdCRD2uyeLnGck26mcKg5UkcGGoSaG3g21v5oVHcDE"],"enrUri":"enr:-L24QNrw10dTylHAMlBWFt4irDsIRHiFwHG7el9cAaj7h35GTGfa31JTQBnDcOf8tDWjd6isPIATHIGkHZ4FIEJENfkCgmlkgnY0gmlwhKwS6FqKbXVsdGlhZGRyc5YACASsEuhaBhiqAAoErBLoWgYYq90DgnJzhQADAQAAiXNlY3AyNTZrMaEDT8g1ltqdh1jpz-IpBT03Yf7aj0ZARyfqVr1CQ9oMfTGDdGNwghiqg3VkcIIYrIV3YWt1MgA"}'
2025-12-24 04:14:10.584 INFO [src.node.waku_node] REST service is ready !!
2025-12-24 04:14:10.584 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:6313/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.81.172/tcp/36695/p2p/16Uiu2HAmSTfeivQbNoKxD5kdXFW1Zx9X9NdEFFZCHLRPe6XyinjU"]'
2025-12-24 04:14:10.614 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.614 DEBUG [src.steps.filter] Running fixture setup: subscribe_main_nodes
2025-12-24 04:14:10.615 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36694/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-24 04:14:10.628 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.630 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:6313/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "4f42ec06-9fa8-49a9-a64a-a746ef70e820", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:14:10.642 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"4f42ec06-9fa8-49a9-a64a-a746ef70e820","statusDesc":"OK"}'
2025-12-24 04:14:10.643 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36694/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-24 04:14:10.650 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.650 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-24 04:14:10.751 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-24 04:14:10.751 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:6313/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:10.754 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":1766549650643461352,"ephemeral":false}]'
2025-12-24 04:14:10.756 INFO [src.node.api_clients.base_client] curl -v -X DELETE "http://127.0.0.1:6313/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "1", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:14:10.764 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"1","statusDesc":"OK"}'
2025-12-24 04:14:10.764 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36694/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-24 04:14:10.767 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.767 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-24 04:14:10.868 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-24 04:14:10.868 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:6313/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:10.871 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:6313/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto. Response content: b'Not subscribed to topic: /test/1/waku-filter/proto'
2025-12-24 04:14:10.873 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36694/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-24 04:14:10.876 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.876 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:6313/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "08ce08ba-e92d-47a7-a879-09b1d9f61370", "contentFilters": ["/test/1/waku-filter/proto"], "pubsubTopic": "/waku/2/rs/3/1"}'
2025-12-24 04:14:10.884 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"08ce08ba-e92d-47a7-a879-09b1d9f61370","statusDesc":"OK"}'
2025-12-24 04:14:10.885 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36694/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-24 04:14:10.889 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-24 04:14:10.889 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-24 04:14:10.989 DEBUG [src.steps.filter] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-24 04:14:10.990 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:6313/filter/v2/messages/%2Ftest%2F1%2Fwaku-filter%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-24 04:14:10.993 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":1766549650885300697,"ephemeral":false}]'
2025-12-24 04:14:10.996 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-24 04:14:10.997 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-24 04:14:10.997 DEBUG [src.node.waku_node] Stopping container with id 431719771e9a
2025-12-24 04:14:11.534 DEBUG [src.node.waku_node] Container stopped.
2025-12-24 04:14:11.534 DEBUG [src.node.waku_node] Stopping container with id 13a350666f96
2025-12-24 04:14:12.030 DEBUG [src.node.waku_node] Container stopped.
2025-12-24 04:14:12.033 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-24 04:14:12.045 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-24 04:14:12.051 DEBUG [src.node.docker_mananger] No errors found in the waku logs.