97 lines
16 KiB
Plaintext

2026-03-14 04:36:13.753 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-14 04:36:13.754 DEBUG [tests.conftest] Running test: test_node_uses_both_auto_and_regular_apis with id: 2026-03-14_04-36-13__156ff71a-2ece-4842-b2af-1672f5619d09
2026-03-14 04:36:13.755 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-14 04:36:13.755 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-14 04:36:13.756 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-03-14 04:36:13.770 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:36:13.772 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-14_04-36-13__156ff71a-2ece-4842-b2af-1672f5619d09__wakuorg_nwaku:latest.log
2026-03-14 04:36:13.772 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:36:13.772 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:36:13.775 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:36:13.775 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.222.241
2026-03-14 04:36:13.775 DEBUG [src.node.docker_mananger] Generated ports ['9240', '9241', '9242', '9243', '9244']
2026-03-14 04:36:13.775 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-14 04:36:13.776 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:36:13.777 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:36:13.778 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:36:13.778 DEBUG [src.node.docker_mananger] docker run -i -t -p 9240:9240 -p 9241:9241 -p 9242:9242 -p 9243:9243 -p 9244:9244 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=9242 --rest-port=9240 --tcp-port=9241 --discv5-udp-port=9243 --rest-address=0.0.0.0 --nat=extip:172.18.222.241 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=051535cef0caeef2d90e73cf3acebf398b503ba3eceeaf2c1cbdeeb0ddbafcbd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9244 --metrics-logging=true --relay=true --filter=true
2026-03-14 04:36:13.955 ERROR [src.node.docker_mananger] Max retries reached for container 4e221324ff75. Exiting log stream.
2026-03-14 04:36:13.990 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.222.241 waku ea0a5a5a4ef3cd9fe05bd17961eed3239a72f15eb40e384d5f7e5ef553a5a01a
2026-03-14 04:36:14.024 DEBUG [src.node.docker_mananger] Container started with ID ea0a5a5a4ef3. Setting up logs at ./log/docker/node1_2026-03-14_04-36-13__156ff71a-2ece-4842-b2af-1672f5619d09__wakuorg_nwaku:latest.log
2026-03-14 04:36:14.025 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 9240
2026-03-14 04:36:14.025 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:36:14.675 ERROR [src.node.docker_mananger] Max retries reached for container 4a3a508d5a16. Exiting log stream.
2026-03-14 04:36:15.025 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9240/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:15.029 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-14 04:36:15.129 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9240/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:15.132 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"PartiallyConnected","protocolsHealth":[{"Relay":"READY"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"READY"},{"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":"READY"},{"Legacy Lightpush Client":"READY"},{"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":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-14 04:36:15.132 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:36:15.133 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9240/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:15.135 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.222.241/tcp/9241/p2p/16Uiu2HAmJ1FpfwUVszqmfGQVuqJKZMboRbFeGK5xYwbijAvbvzKj","/ip4/172.18.222.241/tcp/9242/ws/p2p/16Uiu2HAmJ1FpfwUVszqmfGQVuqJKZMboRbFeGK5xYwbijAvbvzKj"],"enrUri":"enr:-L24QHMD26ABcc_WQHAjuGFZZ_8bhw_jb18Ob2XUSDVgA1LHYneawI71x07IRt6G28oOHH9a1KOpbsvCqBPmjXQBRy4CgmlkgnY0gmlwhKwS3vGKbXVsdGlhZGRyc5YACASsEt7xBiQZAAoErBLe8QYkGt0DgnJzhQACAQAAiXNlY3AyNTZrMaEDT3uLkRJjyXVOmhHyl31fARX2xTNsYjOtyj1CKKBtgAqDdGNwgiQZg3VkcIIkG4V3YWt1MgU"}'
2026-03-14 04:36:15.136 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:36:15.143 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:36:15.143 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-14_04-36-13__156ff71a-2ece-4842-b2af-1672f5619d09__wakuorg_nwaku:latest.log
2026-03-14 04:36:15.143 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:36:15.143 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:36:15.145 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:36:15.145 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.24.182
2026-03-14 04:36:15.145 DEBUG [src.node.docker_mananger] Generated ports ['42925', '42926', '42927', '42928', '42929']
2026-03-14 04:36:15.145 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-14 04:36:15.145 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:36:15.145 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:36:15.145 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:36:15.146 DEBUG [src.node.docker_mananger] docker run -i -t -p 42925:42925 -p 42926:42926 -p 42927:42927 -p 42928:42928 -p 42929:42929 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=42927 --rest-port=42925 --tcp-port=42926 --discv5-udp-port=42928 --rest-address=0.0.0.0 --nat=extip:172.18.24.182 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=8eae2ddd9a63220ad7e71ffbfad42e9f12faff1ccfe7cb9833cea9a0bef268c4 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42929 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QHMD26ABcc_WQHAjuGFZZ_8bhw_jb18Ob2XUSDVgA1LHYneawI71x07IRt6G28oOHH9a1KOpbsvCqBPmjXQBRy4CgmlkgnY0gmlwhKwS3vGKbXVsdGlhZGRyc5YACASsEt7xBiQZAAoErBLe8QYkGt0DgnJzhQACAQAAiXNlY3AyNTZrMaEDT3uLkRJjyXVOmhHyl31fARX2xTNsYjOtyj1CKKBtgAqDdGNwgiQZg3VkcIIkG4V3YWt1MgU
2026-03-14 04:36:15.372 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.24.182 waku 7b7b605a5e43c44ed9dc450f50e31fccc8aa7045ed370fb58aeff14b541940a3
2026-03-14 04:36:15.407 DEBUG [src.node.docker_mananger] Container started with ID 7b7b605a5e43. Setting up logs at ./log/docker/node2_2026-03-14_04-36-13__156ff71a-2ece-4842-b2af-1672f5619d09__wakuorg_nwaku:latest.log
2026-03-14 04:36:15.408 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 42925
2026-03-14 04:36:15.408 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:36:16.408 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.412 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-14 04:36:16.512 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.515 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-14 04:36:16.616 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.619 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-14 04:36:16.720 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.723 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Connected","protocolsHealth":[{"Relay":"READY"},{"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":"READY"},{"Legacy Lightpush Client":"READY"},{"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":"READY"},{"Rln Relay":"NOT_MOUNTED"}]}'
2026-03-14 04:36:16.723 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:36:16.724 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.728 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.24.182/tcp/42926/p2p/16Uiu2HAm4p1qUBktu8HRxXAWeWjenRL4Y33nbgHiysBpzRLASWHQ","/ip4/172.18.24.182/tcp/42927/ws/p2p/16Uiu2HAm4p1qUBktu8HRxXAWeWjenRL4Y33nbgHiysBpzRLASWHQ"],"enrUri":"enr:-L24QHot9C53U3tE75RZ90_AmYS55AfvNhmpGpaqHmq_K-T2Ps7asq_il5zfdWV4g472-hGa-K63jPt5xXxs5_NeqdICgmlkgnY0gmlwhKwSGLaKbXVsdGlhZGRyc5YACASsEhi2BqeuAAoErBIYtganr90DgnJzhQACAQAAiXNlY3AyNTZrMaECi3JpdH01SFlBoaqfXEzSTtewxPL1geDgQ39ZBm-s9qODdGNwgqeug3VkcIKnsIV3YWt1MgE"}'
2026-03-14 04:36:16.728 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:36:16.728 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42925/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.222.241/tcp/9241/p2p/16Uiu2HAmJ1FpfwUVszqmfGQVuqJKZMboRbFeGK5xYwbijAvbvzKj"]'
2026-03-14 04:36:16.758 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.760 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9240/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-14 04:36:16.769 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.770 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42925/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-14 04:36:16.773 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.773 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9240/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2026-03-14 04:36:16.784 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.785 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-14 04:36:16.885 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-14 04:36:16.886 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9240/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.888 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1773462976773794724,"ephemeral":false,"proof":""}]'
2026-03-14 04:36:16.890 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-14 04:36:16.890 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:16.893 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1773462976773794724,"ephemeral":false,"proof":""}]'
2026-03-14 04:36:16.895 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9240/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-03-14 04:36:16.897 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.897 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42925/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-03-14 04:36:16.900 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.900 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:9240/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-03-14 04:36:16.910 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:36:16.911 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-14 04:36:17.011 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-14 04:36:17.011 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:9240/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:17.014 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1773462976900647459,"ephemeral":false,"proof":""}]'
2026-03-14 04:36:17.015 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-14 04:36:17.016 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42925/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:36:17.018 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1773462976900647459,"ephemeral":false,"proof":""}]'
2026-03-14 04:36:17.020 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-14 04:36:17.021 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-14 04:36:17.022 DEBUG [src.node.waku_node] Stopping container with id ea0a5a5a4ef3
2026-03-14 04:36:17.603 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:36:17.603 DEBUG [src.node.waku_node] Stopping container with id 7b7b605a5e43
2026-03-14 04:36:18.188 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:36:18.191 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-14 04:36:18.249 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-14 04:36:18.275 DEBUG [src.node.docker_mananger] No errors found in the waku logs.