76 lines
13 KiB
Plaintext

2025-12-11 04:19:41.780 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-11 04:19:41.781 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_only_relay with id: 2025-12-11_04-19-41__55a773c3-2b59-4c04-8971-1193ae862ad1
2025-12-11 04:19:41.781 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-11 04:19:41.781 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-11 04:19:41.791 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-11 04:19:41.792 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-11_04-19-41__55a773c3-2b59-4c04-8971-1193ae862ad1__wakuorg_nwaku:latest.log
2025-12-11 04:19:41.792 DEBUG [src.node.waku_node] Starting Node...
2025-12-11 04:19:41.792 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-11 04:19:41.794 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-11 04:19:41.795 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.198.232
2025-12-11 04:19:41.795 DEBUG [src.node.docker_mananger] Generated ports ['48390', '48391', '48392', '48393', '48394']
2025-12-11 04:19:41.796 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-11 04:19:41.796 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-11 04:19:41.796 DEBUG [src.node.waku_node] Using volumes []
2025-12-11 04:19:41.797 DEBUG [src.node.docker_mananger] docker run -i -t -p 48390:48390 -p 48391:48391 -p 48392:48392 -p 48393:48393 -p 48394:48394 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=48392 --rest-port=48390 --tcp-port=48391 --discv5-udp-port=48393 --rest-address=0.0.0.0 --nat=extip:172.18.198.232 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=71fa895f5f3ccdaef188bce65fab7de8aa3fd7e5e0d426a1ac0f7b4fc4cb7cef --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=48394 --metrics-logging=true --store=true --relay=true
2025-12-11 04:19:41.989 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.198.232 waku 898844b5b7e8082448ea561af7fb9b0e158164d5a25653c15d7045fb6d1fc836
2025-12-11 04:19:42.019 DEBUG [src.node.docker_mananger] Container started with ID 898844b5b7e8. Setting up logs at ./log/docker/publishing_node1_2025-12-11_04-19-41__55a773c3-2b59-4c04-8971-1193ae862ad1__wakuorg_nwaku:latest.log
2025-12-11 04:19:42.020 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 48390
2025-12-11 04:19:42.020 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-11 04:19:42.029 ERROR [src.node.docker_mananger] Max retries reached for container 240330d35ba9. Exiting log stream.
2025-12-11 04:19:42.634 ERROR [src.node.docker_mananger] Max retries reached for container 80b2e3ce906c. Exiting log stream.
2025-12-11 04:19:43.024 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:48390/health" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:43.027 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_MOUNTED"},{"Store":"READY"},{"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":"READY"},{"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-11 04:19:43.027 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-11 04:19:43.027 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:48390/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:43.030 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.198.232/tcp/48391/p2p/16Uiu2HAkuwJHFoH5HAgtikcEXkPFuoHetqAEVF7Y9YpusoWfjUiv","/ip4/172.18.198.232/tcp/48392/ws/p2p/16Uiu2HAkuwJHFoH5HAgtikcEXkPFuoHetqAEVF7Y9YpusoWfjUiv"],"enrUri":"enr:-L24QC3wiZpWqicm36pXNJplSmRp-kyc3ab1LjWVIxVenB5dOOqR4yiGoO9CQv-3AQpMNQU9BHMuWV3_VbjD8XcjfbICgmlkgnY0gmlwhKwSxuiKbXVsdGlhZGRyc5YACASsEsboBr0HAAoErBLG6Aa9CN0DgnJzhQADAQAAiXNlY3AyNTZrMaECB5bjpAAXgvp29bDgWF5uKszXR1vde5v6oNOqDwzHzNuDdGNwgr0Hg3VkcIK9CYV3YWt1MgM"}'
2025-12-11 04:19:43.030 INFO [src.node.waku_node] REST service is ready !!
2025-12-11 04:19:43.037 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-11 04:19:43.037 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-11_04-19-41__55a773c3-2b59-4c04-8971-1193ae862ad1__wakuorg_nwaku:latest.log
2025-12-11 04:19:43.037 DEBUG [src.node.waku_node] Starting Node...
2025-12-11 04:19:43.037 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-11 04:19:43.038 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-11 04:19:43.038 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.90.21
2025-12-11 04:19:43.039 DEBUG [src.node.docker_mananger] Generated ports ['23926', '23927', '23928', '23929', '23930']
2025-12-11 04:19:43.039 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-11 04:19:43.039 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-11 04:19:43.039 DEBUG [src.node.waku_node] Using volumes []
2025-12-11 04:19:43.039 DEBUG [src.node.docker_mananger] docker run -i -t -p 23926:23926 -p 23927:23927 -p 23928:23928 -p 23929:23929 -p 23930:23930 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=23928 --rest-port=23926 --tcp-port=23927 --discv5-udp-port=23929 --rest-address=0.0.0.0 --nat=extip:172.18.90.21 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=50c6f52c09ed401e1b53dd2c9e018cb28e1dedbf94a2dc35dddcc4bdba95aec8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=23930 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QC3wiZpWqicm36pXNJplSmRp-kyc3ab1LjWVIxVenB5dOOqR4yiGoO9CQv-3AQpMNQU9BHMuWV3_VbjD8XcjfbICgmlkgnY0gmlwhKwSxuiKbXVsdGlhZGRyc5YACASsEsboBr0HAAoErBLG6Aa9CN0DgnJzhQADAQAAiXNlY3AyNTZrMaECB5bjpAAXgvp29bDgWF5uKszXR1vde5v6oNOqDwzHzNuDdGNwgr0Hg3VkcIK9CYV3YWt1MgM --storenode=/ip4/172.18.198.232/tcp/48391/p2p/16Uiu2HAkuwJHFoH5HAgtikcEXkPFuoHetqAEVF7Y9YpusoWfjUiv --store=false --relay=true
2025-12-11 04:19:43.220 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.90.21 waku d0f4ea808f89673dbd8f26ab26b4242d5525b63705fe138ca712a2823a53c941
2025-12-11 04:19:43.256 DEBUG [src.node.docker_mananger] Container started with ID d0f4ea808f89. Setting up logs at ./log/docker/store_node1_2025-12-11_04-19-41__55a773c3-2b59-4c04-8971-1193ae862ad1__wakuorg_nwaku:latest.log
2025-12-11 04:19:43.257 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 23926
2025-12-11 04:19:43.257 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-11 04:19:44.259 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23926/health" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:44.277 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_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":"READY"},{"Legacy Store Client":"READY"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2025-12-11 04:19:44.278 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-11 04:19:44.279 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23926/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:44.282 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.90.21/tcp/23927/p2p/16Uiu2HAmDtHA3mb86BdHeUtJVEBwTQRJ5jUAi9pzcZPRUsX8CStE","/ip4/172.18.90.21/tcp/23928/ws/p2p/16Uiu2HAmDtHA3mb86BdHeUtJVEBwTQRJ5jUAi9pzcZPRUsX8CStE"],"enrUri":"enr:-L24QHScEKu28s7Hxt5FTVQrTjFYaPYKjjgNEvaLwhl-vwH0O23aogju9tsjRaSlZ5kH3buTUnWDwcJBzy_FYPuMBhwCgmlkgnY0gmlwhKwSWhWKbXVsdGlhZGRyc5YACASsEloVBl13AAoErBJaFQZdeN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDEkM9gYAZ0bvq-GmLwwZqHqwiXKppcZJDwk2KW6YniAeDdGNwgl13g3VkcIJdeYV3YWt1MgE"}'
2025-12-11 04:19:44.284 INFO [src.node.waku_node] REST service is ready !!
2025-12-11 04:19:44.285 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:23926/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.198.232/tcp/48391/p2p/16Uiu2HAkuwJHFoH5HAgtikcEXkPFuoHetqAEVF7Y9YpusoWfjUiv"]'
2025-12-11 04:19:44.288 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:19:44.289 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:48390/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-11 04:19:44.291 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:19:44.291 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:23926/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-11 04:19:44.293 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:19:44.294 DEBUG [src.steps.store] Relaying message
2025-12-11 04:19:44.294 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:48390/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2025-12-11 04:19:44.299 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-11 04:19:44.299 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-11 04:19:44.500 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-11 04:19:44.501 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:48390/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:44.503 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xf174ff5363893b6b2870bf58fbe346640eff207355e1dafe0feb7cc6b0fca02d"}]}'
2025-12-11 04:19:44.504 DEBUG [src.steps.store] messages length is 1
2025-12-11 04:19:44.504 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-11 04:19:44.504 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23926/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-11 04:19:44.513 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"4c878b10094686d48340","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xf174ff5363893b6b2870bf58fbe346640eff207355e1dafe0feb7cc6b0fca02d"}]}'
2025-12-11 04:19:44.513 DEBUG [src.steps.store] messages length is 1
2025-12-11 04:19:44.514 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-11 04:19:44.515 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-11 04:19:44.515 DEBUG [src.node.waku_node] Stopping container with id 898844b5b7e8
2025-12-11 04:19:45.058 DEBUG [src.node.waku_node] Container stopped.
2025-12-11 04:19:45.058 DEBUG [src.node.waku_node] Stopping container with id d0f4ea808f89
2025-12-11 04:19:45.548 DEBUG [src.node.waku_node] Container stopped.
2025-12-11 04:19:45.550 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-11 04:19:45.557 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-11 04:19:45.561 DEBUG [src.node.docker_mananger] No errors found in the waku logs.