73 lines
13 KiB
Plaintext

2025-12-08 12:11:17.454 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:11:17.455 DEBUG [tests.conftest] Running test: test_filter_works_with_auto_sharding with id: 2025-12-08_12-11-17__e9b3148b-480f-4302-802e-a06ed8d0d677
2025-12-08 12:11:17.455 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:11:17.455 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-08 12:11:17.455 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2025-12-08 12:11:17.462 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:17.462 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-11-17__e9b3148b-480f-4302-802e-a06ed8d0d677__wakuorg_nwaku:latest.log
2025-12-08 12:11:17.463 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:17.463 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:17.464 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:17.464 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.62.81
2025-12-08 12:11:17.464 DEBUG [src.node.docker_mananger] Generated ports ['5567', '5568', '5569', '5570', '5571']
2025-12-08 12:11:17.465 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-08 12:11:17.465 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:17.465 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:17.465 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:17.465 DEBUG [src.node.docker_mananger] docker run -i -t -p 5567:5567 -p 5568:5568 -p 5569:5569 -p 5570:5570 -p 5571:5571 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=5569 --rest-port=5567 --tcp-port=5568 --discv5-udp-port=5570 --rest-address=0.0.0.0 --nat=extip:172.18.62.81 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=7b8ce0abe6fbc135234ec5abcf8c4b7278edaffa8cb9d77d5bf7bdac81e90c4a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5571 --metrics-logging=true --relay=true --filter=true --content-topic=/myapp/1/latest/proto --num-shards-in-network=1
2025-12-08 12:11:17.666 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.62.81 waku 6275f6ce7daa4cd2982979b3907e3c3d499c152bda1dac3eca5eed9747fdb757
2025-12-08 12:11:17.697 DEBUG [src.node.docker_mananger] Container started with ID 6275f6ce7daa. Setting up logs at ./log/docker/node1_2025-12-08_12-11-17__e9b3148b-480f-4302-802e-a06ed8d0d677__wakuorg_nwaku:latest.log
2025-12-08 12:11:17.698 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 5567
2025-12-08 12:11:17.699 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:17.716 ERROR [src.node.docker_mananger] Max retries reached for container ee387bcd8a6b. Exiting log stream.
2025-12-08 12:11:18.255 ERROR [src.node.docker_mananger] Max retries reached for container 50cedf25488c. Exiting log stream.
2025-12-08 12:11:18.699 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5567/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:18.702 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:11:18.703 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:18.703 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5567/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:18.705 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.62.81/tcp/5568/p2p/16Uiu2HAm5ea3utxLEM894sVpQCw36DmC1k6zUT3xF9HXW7J6T275","/ip4/172.18.62.81/tcp/5569/ws/p2p/16Uiu2HAm5ea3utxLEM894sVpQCw36DmC1k6zUT3xF9HXW7J6T275"],"enrUri":"enr:-L24QIVuA_6DB-emys-puzy5v8zG-Iezqm-k5kG_lasJ_njhCoiz0mwOo0o0ubWoegwBwKMVjWFMvxk5GRaMO9dhgNMCgmlkgnY0gmlwhKwSPlGKbXVsdGlhZGRyc5YACASsEj5RBhXAAAoErBI-UQYVwd0DgnJzhQACAQAAiXNlY3AyNTZrMaECl-K3Qu8E29QDfB3xXGUWND9sBiMU8IXagowiBikQG4SDdGNwghXAg3VkcIIVwoV3YWt1MgU"}'
2025-12-08 12:11:18.705 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:18.711 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:18.711 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-11-17__e9b3148b-480f-4302-802e-a06ed8d0d677__wakuorg_nwaku:latest.log
2025-12-08 12:11:18.712 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:18.712 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:18.713 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:18.713 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.104.23
2025-12-08 12:11:18.713 DEBUG [src.node.docker_mananger] Generated ports ['46961', '46962', '46963', '46964', '46965']
2025-12-08 12:11:18.713 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2025-12-08 12:11:18.713 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:18.714 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:18.714 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:18.714 DEBUG [src.node.docker_mananger] docker run -i -t -p 46961:46961 -p 46962:46962 -p 46963:46963 -p 46964:46964 -p 46965:46965 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=46963 --rest-port=46961 --tcp-port=46962 --discv5-udp-port=46964 --rest-address=0.0.0.0 --nat=extip:172.18.104.23 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=a4ca610e5b91fc79e439bc48760e1ae0b157d1aebc5a23c2e32b33de855e3ced --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46965 --metrics-logging=true --relay=false --discv5-bootstrap-node=enr:-L24QIVuA_6DB-emys-puzy5v8zG-Iezqm-k5kG_lasJ_njhCoiz0mwOo0o0ubWoegwBwKMVjWFMvxk5GRaMO9dhgNMCgmlkgnY0gmlwhKwSPlGKbXVsdGlhZGRyc5YACASsEj5RBhXAAAoErBI-UQYVwd0DgnJzhQACAQAAiXNlY3AyNTZrMaECl-K3Qu8E29QDfB3xXGUWND9sBiMU8IXagowiBikQG4SDdGNwghXAg3VkcIIVwoV3YWt1MgU --filternode=/ip4/172.18.62.81/tcp/5568/p2p/16Uiu2HAm5ea3utxLEM894sVpQCw36DmC1k6zUT3xF9HXW7J6T275 --content-topic=/myapp/1/latest/proto
2025-12-08 12:11:18.892 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.104.23 waku 55c4d7441ef3a9c001618b874a98b3e65a20db33593dc7862a5c2ae13349605d
2025-12-08 12:11:18.926 DEBUG [src.node.docker_mananger] Container started with ID 55c4d7441ef3. Setting up logs at ./log/docker/node2_2025-12-08_12-11-17__e9b3148b-480f-4302-802e-a06ed8d0d677__wakuorg_nwaku:latest.log
2025-12-08 12:11:18.926 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 46961
2025-12-08 12:11:18.927 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:19.927 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46961/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:19.931 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:11:19.931 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:19.931 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46961/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:19.933 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.104.23/tcp/46962/p2p/16Uiu2HAmJRQTXyVUJjFm54iN5PHN8LdivzPCaCBu7QoR4bAyf2e9","/ip4/172.18.104.23/tcp/46963/ws/p2p/16Uiu2HAmJRQTXyVUJjFm54iN5PHN8LdivzPCaCBu7QoR4bAyf2e9"],"enrUri":"enr:-L24QF2iBvYwpREPZRLStxxVV7nKHZ2L1kbWfSrVdG3PYkH8OSqY28dqBvjksNk3wBxPRyFLEBZIRmfmCxM-SVS5HlwCgmlkgnY0gmlwhKwSaBeKbXVsdGlhZGRyc5YACASsEmgXBrdyAAoErBJoFwa3c90DgnJzhQACAQAAiXNlY3AyNTZrMaEDVas_tXa3my-1JCIzJ4YJ9vwDjHLmTvW3bseyHwxMeZ6DdGNwgrdyg3VkcIK3dIV3YWt1MgA"}'
2025-12-08 12:11:19.934 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:19.934 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46961/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.62.81/tcp/5568/p2p/16Uiu2HAm5ea3utxLEM894sVpQCw36DmC1k6zUT3xF9HXW7J6T275"]'
2025-12-08 12:11:19.962 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:19.963 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5567/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/myapp/1/latest/proto"]'
2025-12-08 12:11:19.978 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:19.979 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46961/filter/v2/subscriptions" -H "Content-Type: application/json" -d '{"requestId": "0b6b52be-d687-47db-94a8-d25464887cde", "contentFilters": ["/myapp/1/latest/proto"], "pubsubTopic": "/waku/2/rs/2/0"}'
2025-12-08 12:11:19.989 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"0b6b52be-d687-47db-94a8-d25464887cde","statusDesc":"OK"}'
2025-12-08 12:11:19.990 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5567/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-08 12:11:19.998 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:19.998 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:20.099 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:20.099 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46961/filter/v2/messages/%2Fmyapp%2F1%2Flatest%2Fproto" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:20.101 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1765195879990293947,"ephemeral":false}]'
2025-12-08 12:11:20.105 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:11:20.106 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:11:20.106 DEBUG [src.node.waku_node] Stopping container with id 6275f6ce7daa
2025-12-08 12:11:20.625 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:20.627 DEBUG [src.node.waku_node] Stopping container with id 55c4d7441ef3
2025-12-08 12:11:21.149 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:21.150 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:11:21.161 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:11:21.165 DEBUG [src.node.docker_mananger] No errors found in the waku logs.