2026-03-30 10:30:01 +00:00

89 lines
16 KiB
Plaintext

2026-03-30 10:09:02.203 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-30 10:09:02.203 DEBUG [tests.conftest] Running test: test_node_uses_both_auto_and_regular_apis with id: 2026-03-30_10-09-02__3048f375-ead5-4ab7-90d5-b31d49442039
2026-03-30 10:09:02.203 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-30 10:09:02.203 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-30 10:09:02.204 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-03-30 10:09:02.210 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-30 10:09:02.210 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-30_10-09-02__3048f375-ead5-4ab7-90d5-b31d49442039__wakuorg_nwaku:latest.log
2026-03-30 10:09:02.210 DEBUG [src.node.waku_node] Starting Node...
2026-03-30 10:09:02.210 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-30 10:09:02.211 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-30 10:09:02.212 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.12.100
2026-03-30 10:09:02.212 DEBUG [src.node.docker_mananger] Generated ports ['10054', '10055', '10056', '10057', '10058']
2026-03-30 10:09:02.212 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-30 10:09:02.212 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-30 10:09:02.212 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-30 10:09:02.212 DEBUG [src.node.waku_node] Using volumes []
2026-03-30 10:09:02.212 DEBUG [src.node.docker_mananger] docker run -i -t -p 10054:10054 -p 10055:10055 -p 10056:10056 -p 10057:10057 -p 10058:10058 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=10056 --rest-port=10054 --tcp-port=10055 --discv5-udp-port=10057 --rest-address=0.0.0.0 --nat=extip:172.18.12.100 --peer-exchange=true --discv5-discovery=true --cluster-id=199 --nodekey=f470eef467681bcd1b0dd37b6e3bafed5bde1bf5aaffd09faabfa0fdba4899ca --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10058 --metrics-logging=true --relay=true --filter=true
2026-03-30 10:09:02.363 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.12.100 waku 2fbdbff20d9f1f5d10b762aabec46578af6733eda1f34f541975ec13c7274ec3
2026-03-30 10:09:02.394 DEBUG [src.node.docker_mananger] Container started with ID 2fbdbff20d9f. Setting up logs at ./log/docker/node1_2026-03-30_10-09-02__3048f375-ead5-4ab7-90d5-b31d49442039__wakuorg_nwaku:latest.log
2026-03-30 10:09:02.395 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 10054
2026-03-30 10:09:02.396 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-30 10:09:02.604 ERROR [src.node.docker_mananger] Max retries reached for container 0387905970ab. Exiting log stream.
2026-03-30 10:09:02.955 ERROR [src.node.docker_mananger] Max retries reached for container c21221593408. Exiting log stream.
2026-03-30 10:09:03.396 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10054/health" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:03.399 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-03-30 10:09:03.399 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-30 10:09:03.399 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10054/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:03.401 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.12.100/tcp/10055/p2p/16Uiu2HAmR1aoAJC8T95EDPrc88bHnoxJCFcDaek8tAkpwoz4xjo6","/ip4/172.18.12.100/tcp/10056/ws/p2p/16Uiu2HAmR1aoAJC8T95EDPrc88bHnoxJCFcDaek8tAkpwoz4xjo6"],"enrUri":"enr:-L24QLsu6JaIstQ6_rIdx1uyu4XBv9bA1LceJaiCgIrXD9iMcqdddGBzzttXfkwCPYOxxo29dMY3OKS8wgB8xrLzJ_wCgmlkgnY0gmlwhKwSDGSKbXVsdGlhZGRyc5YACASsEgxkBidHAAoErBIMZAYnSN0DgnJzhQDHAQAAiXNlY3AyNTZrMaEDt5LOvVyzJ74wFZ1K1oBg1D2Cbyo2yV1kkv72xWFumEGDdGNwgidHg3VkcIInSYV3YWt1MgU"}'
2026-03-30 10:09:03.402 INFO [src.node.waku_node] REST service is ready !!
2026-03-30 10:09:03.408 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-30 10:09:03.408 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-30_10-09-02__3048f375-ead5-4ab7-90d5-b31d49442039__wakuorg_nwaku:latest.log
2026-03-30 10:09:03.408 DEBUG [src.node.waku_node] Starting Node...
2026-03-30 10:09:03.408 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-30 10:09:03.409 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-30 10:09:03.410 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.102.198
2026-03-30 10:09:03.410 DEBUG [src.node.docker_mananger] Generated ports ['49102', '49103', '49104', '49105', '49106']
2026-03-30 10:09:03.410 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-30 10:09:03.410 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-30 10:09:03.410 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-30 10:09:03.410 DEBUG [src.node.waku_node] Using volumes []
2026-03-30 10:09:03.410 DEBUG [src.node.docker_mananger] docker run -i -t -p 49102:49102 -p 49103:49103 -p 49104:49104 -p 49105:49105 -p 49106:49106 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=49104 --rest-port=49102 --tcp-port=49103 --discv5-udp-port=49105 --rest-address=0.0.0.0 --nat=extip:172.18.102.198 --peer-exchange=true --discv5-discovery=true --cluster-id=199 --nodekey=ef8ca18af4f12afd27dd33f6bdaab29b98e771a2ecde43b7f70f77cc9aeaab0e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=49106 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLsu6JaIstQ6_rIdx1uyu4XBv9bA1LceJaiCgIrXD9iMcqdddGBzzttXfkwCPYOxxo29dMY3OKS8wgB8xrLzJ_wCgmlkgnY0gmlwhKwSDGSKbXVsdGlhZGRyc5YACASsEgxkBidHAAoErBIMZAYnSN0DgnJzhQDHAQAAiXNlY3AyNTZrMaEDt5LOvVyzJ74wFZ1K1oBg1D2Cbyo2yV1kkv72xWFumEGDdGNwgidHg3VkcIInSYV3YWt1MgU
2026-03-30 10:09:03.560 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.102.198 waku 6eac919db1827f81c0b7ceff813008b117ebef3f728be230347ce2ffb9547b30
2026-03-30 10:09:03.588 DEBUG [src.node.docker_mananger] Container started with ID 6eac919db182. Setting up logs at ./log/docker/node2_2026-03-30_10-09-02__3048f375-ead5-4ab7-90d5-b31d49442039__wakuorg_nwaku:latest.log
2026-03-30 10:09:03.588 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 49102
2026-03-30 10:09:03.588 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-30 10:09:04.589 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49102/health" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.617 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-03-30 10:09:04.618 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-30 10:09:04.618 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49102/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.625 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.102.198/tcp/49103/p2p/16Uiu2HAmLQ9njnBWHefDQ7HgHCWRiZQThAvYrfwgrBRoNStXJnqA","/ip4/172.18.102.198/tcp/49104/ws/p2p/16Uiu2HAmLQ9njnBWHefDQ7HgHCWRiZQThAvYrfwgrBRoNStXJnqA"],"enrUri":"enr:-L24QPUTmSnBYkJHIjZ_yW7ayO3e2UUvxqbhDHCHrFJxz-HaNf89VRWeswKXq5LVxak2C7Ckusf79BVjI_c-c-o2ddcCgmlkgnY0gmlwhKwSZsaKbXVsdGlhZGRyc5YACASsEmbGBr_PAAoErBJmxga_0N0DgnJzhQDHAQAAiXNlY3AyNTZrMaEDcxB0qkNyFEE7DNKRJCDGRy6hH08YW4j3_jUzSo_ERGWDdGNwgr_Pg3VkcIK_0YV3YWt1MgE"}'
2026-03-30 10:09:04.625 INFO [src.node.waku_node] REST service is ready !!
2026-03-30 10:09:04.625 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49102/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.12.100/tcp/10055/p2p/16Uiu2HAmR1aoAJC8T95EDPrc88bHnoxJCFcDaek8tAkpwoz4xjo6"]'
2026-03-30 10:09:04.627 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.628 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10054/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-30 10:09:04.630 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.630 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49102/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-30 10:09:04.632 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.633 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10054/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2026-03-30 10:09:04.637 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.637 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-30 10:09:04.738 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-30 10:09:04.738 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10054/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.741 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1774865344633073634,"ephemeral":false,"proof":""}]'
2026-03-30 10:09:04.743 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-30 10:09:04.743 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49102/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.745 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1774865344633073634,"ephemeral":false,"proof":""}]'
2026-03-30 10:09:04.747 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10054/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/199/0"]'
2026-03-30 10:09:04.749 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.749 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:49102/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/199/0"]'
2026-03-30 10:09:04.751 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.752 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10054/relay/v1/messages/%2Fwaku%2F2%2Frs%2F199%2F0" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
2026-03-30 10:09:04.755 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-30 10:09:04.756 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-30 10:09:04.856 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-30 10:09:04.857 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10054/relay/v1/messages/%2Fwaku%2F2%2Frs%2F199%2F0" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.859 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1774865344752203692,"ephemeral":false,"proof":""}]'
2026-03-30 10:09:04.861 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-30 10:09:04.861 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:49102/relay/v1/messages/%2Fwaku%2F2%2Frs%2F199%2F0" -H "Content-Type: application/json" -d 'None'
2026-03-30 10:09:04.863 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1774865344752203692,"ephemeral":false,"proof":""}]'
2026-03-30 10:09:04.866 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-30 10:09:04.867 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-30 10:09:04.867 DEBUG [src.node.waku_node] Stopping container with id 2fbdbff20d9f
2026-03-30 10:09:05.274 DEBUG [src.node.waku_node] Container stopped.
2026-03-30 10:09:05.276 DEBUG [src.node.waku_node] Stopping container with id 6eac919db182
2026-03-30 10:09:05.676 DEBUG [src.node.waku_node] Container stopped.
2026-03-30 10:09:05.678 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-30 10:09:05.685 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-30 10:09:05.694 DEBUG [src.node.docker_mananger] No errors found in the waku logs.