2026-02-25 15:39:14 +00:00

89 lines
16 KiB
Plaintext

2026-02-25 15:24:21.981 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 15:24:21.981 DEBUG [tests.conftest] Running test: test_node_uses_both_auto_and_regular_apis with id: 2026-02-25_15-24-21__65ef7f35-2ba6-419b-a460-7a9ae2624a3d
2026-02-25 15:24:21.982 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 15:24:21.982 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-25 15:24:21.982 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-02-25 15:24:21.989 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:24:21.989 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_15-24-21__65ef7f35-2ba6-419b-a460-7a9ae2624a3d__wakuorg_nwaku:latest.log
2026-02-25 15:24:21.990 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:24:21.990 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:24:21.991 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:24:21.991 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.177.211
2026-02-25 15:24:21.991 DEBUG [src.node.docker_mananger] Generated ports ['39907', '39908', '39909', '39910', '39911']
2026-02-25 15:24:21.992 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-02-25 15:24:21.992 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:24:21.992 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:24:21.992 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:24:21.992 DEBUG [src.node.docker_mananger] docker run -i -t -p 39907:39907 -p 39908:39908 -p 39909:39909 -p 39910:39910 -p 39911:39911 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=39909 --rest-port=39907 --tcp-port=39908 --discv5-udp-port=39910 --rest-address=0.0.0.0 --nat=extip:172.18.177.211 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=a3d088441a2eef954fa120edea67abeb34ffc6ae639de1c2e8cca3fcdbeae948 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=39911 --metrics-logging=true --relay=true --filter=true
2026-02-25 15:24:22.179 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.177.211 waku 7df5c5c4544d75f51edbdf7f58629cd774487372179cde00aaf5af9977c30d63
2026-02-25 15:24:22.214 DEBUG [src.node.docker_mananger] Container started with ID 7df5c5c4544d. Setting up logs at ./log/docker/node1_2026-02-25_15-24-21__65ef7f35-2ba6-419b-a460-7a9ae2624a3d__wakuorg_nwaku:latest.log
2026-02-25 15:24:22.215 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 39907
2026-02-25 15:24:22.216 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:24:22.222 ERROR [src.node.docker_mananger] Max retries reached for container 8b6f00d8c977. Exiting log stream.
2026-02-25 15:24:22.789 ERROR [src.node.docker_mananger] Max retries reached for container ebd8daa7c71e. Exiting log stream.
2026-02-25 15:24:23.217 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39907/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:23.220 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 15:24:23.220 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:24:23.220 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39907/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:23.223 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.177.211/tcp/39908/p2p/16Uiu2HAm89dcJvQbvm996NQakBu8eGeEfqBGxtAHfnRzwr5W3Jh5","/ip4/172.18.177.211/tcp/39909/ws/p2p/16Uiu2HAm89dcJvQbvm996NQakBu8eGeEfqBGxtAHfnRzwr5W3Jh5"],"enrUri":"enr:-L24QOfv-xCaj9GpbCGuDFZ19Kvs7Pks1Feuzhw69PQQ3x2fYzPsqJR6XPmCH8qbTrVmkK6lH-kv3XsTVI66Wls22ewCgmlkgnY0gmlwhKwSsdOKbXVsdGlhZGRyc5YACASsErHTBpvkAAoErBKx0wab5d0DgnJzhQACAQAAiXNlY3AyNTZrMaECvQv09UL6z6GQvUw3IsSzPjfJkWBjDPsOZL0tyTuchFiDdGNwgpvkg3VkcIKb5oV3YWt1MgU"}'
2026-02-25 15:24:23.223 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:24:23.230 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 15:24:23.230 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_15-24-21__65ef7f35-2ba6-419b-a460-7a9ae2624a3d__wakuorg_nwaku:latest.log
2026-02-25 15:24:23.230 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 15:24:23.230 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 15:24:23.232 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 15:24:23.232 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.127.233
2026-02-25 15:24:23.232 DEBUG [src.node.docker_mananger] Generated ports ['47387', '47388', '47389', '47390', '47391']
2026-02-25 15:24:23.232 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-02-25 15:24:23.232 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 15:24:23.232 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 15:24:23.232 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 15:24:23.233 DEBUG [src.node.docker_mananger] docker run -i -t -p 47387:47387 -p 47388:47388 -p 47389:47389 -p 47390:47390 -p 47391:47391 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=47389 --rest-port=47387 --tcp-port=47388 --discv5-udp-port=47390 --rest-address=0.0.0.0 --nat=extip:172.18.127.233 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=f9d5dceabdb1bccf12ce731d9aa2fc1dc400687d4d1190fc75a10feee6a3cc3f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47391 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QOfv-xCaj9GpbCGuDFZ19Kvs7Pks1Feuzhw69PQQ3x2fYzPsqJR6XPmCH8qbTrVmkK6lH-kv3XsTVI66Wls22ewCgmlkgnY0gmlwhKwSsdOKbXVsdGlhZGRyc5YACASsErHTBpvkAAoErBKx0wab5d0DgnJzhQACAQAAiXNlY3AyNTZrMaECvQv09UL6z6GQvUw3IsSzPjfJkWBjDPsOZL0tyTuchFiDdGNwgpvkg3VkcIKb5oV3YWt1MgU
2026-02-25 15:24:23.420 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.127.233 waku 00ec168252a56d43e45e2cb5e79186baaff12b6534d4ba8052c080ac065a9ba9
2026-02-25 15:24:23.457 DEBUG [src.node.docker_mananger] Container started with ID 00ec168252a5. Setting up logs at ./log/docker/node2_2026-02-25_15-24-21__65ef7f35-2ba6-419b-a460-7a9ae2624a3d__wakuorg_nwaku:latest.log
2026-02-25 15:24:23.458 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 47387
2026-02-25 15:24:23.459 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 15:24:24.459 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47387/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.468 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_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 15:24:24.470 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 15:24:24.471 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47387/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.474 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.127.233/tcp/47388/p2p/16Uiu2HAmG4dH6UagdtGZZNmWfXXf8t6aDVhXAr7cavMSRqL6sw8L","/ip4/172.18.127.233/tcp/47389/ws/p2p/16Uiu2HAmG4dH6UagdtGZZNmWfXXf8t6aDVhXAr7cavMSRqL6sw8L"],"enrUri":"enr:-L24QPazMYyu7AfuPrMVrm4zQgSdOGhFC_tMk7C-mKdPEN9tb5ZnudbEQ9RFU_dkEwiX__M9Xl1-dAikOK4yqSz5mdcCgmlkgnY0gmlwhKwSf-mKbXVsdGlhZGRyc5YACASsEn_pBrkcAAoErBJ_6Qa5Hd0DgnJzhQACAQAAiXNlY3AyNTZrMaEDMqEsdB6UuU51nFOhGWS04cnIU3Hp7-KhNbQjvRYfNEGDdGNwgrkcg3VkcIK5HoV3YWt1MgE"}'
2026-02-25 15:24:24.474 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 15:24:24.476 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47387/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.177.211/tcp/39908/p2p/16Uiu2HAm89dcJvQbvm996NQakBu8eGeEfqBGxtAHfnRzwr5W3Jh5"]'
2026-02-25 15:24:24.481 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.481 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:39907/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-02-25 15:24:24.485 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.485 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47387/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-02-25 15:24:24.487 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.488 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:39907/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2026-02-25 15:24:24.493 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.494 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 15:24:24.594 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-25 15:24:24.595 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39907/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.598 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1772033064488429510,"ephemeral":false,"proof":""}]'
2026-02-25 15:24:24.599 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 15:24:24.599 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47387/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.602 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1772033064488429510,"ephemeral":false,"proof":""}]'
2026-02-25 15:24:24.603 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:39907/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-02-25 15:24:24.606 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.606 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47387/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-02-25 15:24:24.608 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.609 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:39907/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-02-25 15:24:24.613 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 15:24:24.614 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 15:24:24.714 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-25 15:24:24.714 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:39907/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.717 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1772033064609139224,"ephemeral":false,"proof":""}]'
2026-02-25 15:24:24.719 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 15:24:24.719 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47387/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-02-25 15:24:24.721 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1772033064609139224,"ephemeral":false,"proof":""}]'
2026-02-25 15:24:24.724 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 15:24:24.725 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 15:24:24.725 DEBUG [src.node.waku_node] Stopping container with id 7df5c5c4544d
2026-02-25 15:24:25.253 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:24:25.254 DEBUG [src.node.waku_node] Stopping container with id 00ec168252a5
2026-02-25 15:24:25.808 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 15:24:25.809 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 15:24:25.820 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 15:24:25.825 DEBUG [src.node.docker_mananger] No errors found in the waku logs.