94 lines
16 KiB
Plaintext

2026-03-26 04:49:42.542 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-26 04:49:42.543 DEBUG [tests.conftest] Running test: test_node_uses_both_auto_and_regular_apis with id: 2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da
2026-03-26 04:49:42.543 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-26 04:49:42.543 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-26 04:49:42.543 DEBUG [src.steps.sharding] Running fixture setup: sharding_setup
2026-03-26 04:49:42.550 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:49:42.550 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log
2026-03-26 04:49:42.551 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:49:42.551 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:49:42.552 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:49:42.552 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.180.93
2026-03-26 04:49:42.552 DEBUG [src.node.docker_mananger] Generated ports ['47394', '47395', '47396', '47397', '47398']
2026-03-26 04:49:42.552 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-26 04:49:42.552 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:49:42.553 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:49:42.553 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:49:42.553 DEBUG [src.node.docker_mananger] docker run -i -t -p 47394:47394 -p 47395:47395 -p 47396:47396 -p 47397:47397 -p 47398:47398 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=47396 --rest-port=47394 --tcp-port=47395 --discv5-udp-port=47397 --rest-address=0.0.0.0 --nat=extip:172.18.180.93 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=dcfaef1df79ffceb7cfe1cae74dcb46c51ea5b35d8f4e4e56dd633d51e00cf88 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47398 --metrics-logging=true --relay=true --filter=true
2026-03-26 04:49:42.743 ERROR [src.node.docker_mananger] Max retries reached for container 9ce942eaaf47. Exiting log stream.
2026-03-26 04:49:42.745 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.180.93 waku 3c11fe962a013cab8cf804913fefab9848daba3789d8ee42576cb52f6a96ac38
2026-03-26 04:49:42.788 DEBUG [src.node.docker_mananger] Container started with ID 3c11fe962a01. Setting up logs at ./log/docker/node1_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log
2026-03-26 04:49:42.791 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 47394
2026-03-26 04:49:42.792 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:49:43.346 ERROR [src.node.docker_mananger] Max retries reached for container 5711ebce4fe5. Exiting log stream.
2026-03-26 04:49:43.793 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47394/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:43.799 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-26 04:49:43.900 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47394/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:43.902 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-26 04:49:43.903 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:49:43.903 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47394/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:43.905 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.180.93/tcp/47395/p2p/16Uiu2HAmN5mmfkDiMfmp2Y7x494JzUSc2CtVoXaPsvGTya6Psd5r","/ip4/172.18.180.93/tcp/47396/ws/p2p/16Uiu2HAmN5mmfkDiMfmp2Y7x494JzUSc2CtVoXaPsvGTya6Psd5r"],"enrUri":"enr:-L24QJ9YN1PYdEGJzwqOWHOEs5_zokImAYqifef9JFTI3WqPWT76UsQwbDruKd7Q2gEw-yqTECzdR3tDjeDIgEfuPS4CgmlkgnY0gmlwhKwStF2KbXVsdGlhZGRyc5YACASsErRdBrkjAAoErBK0XQa5JN0DgnJzhQACAQAAiXNlY3AyNTZrMaEDjBJ6iuzVp0fwls-JbVUSkOa5geo28LzODvKZ_ysVn7mDdGNwgrkjg3VkcIK5JYV3YWt1MgU"}'
2026-03-26 04:49:43.906 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:49:43.912 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:49:43.913 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log
2026-03-26 04:49:43.913 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:49:43.913 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:49:43.914 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:49:43.914 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.63.186
2026-03-26 04:49:43.915 DEBUG [src.node.docker_mananger] Generated ports ['5630', '5631', '5632', '5633', '5634']
2026-03-26 04:49:43.915 DEBUG [src.node.waku_node] Removing pubsub-topic from nwaku args
2026-03-26 04:49:43.915 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:49:43.915 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:49:43.915 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:49:43.915 DEBUG [src.node.docker_mananger] docker run -i -t -p 5630:5630 -p 5631:5631 -p 5632:5632 -p 5633:5633 -p 5634:5634 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=5632 --rest-port=5630 --tcp-port=5631 --discv5-udp-port=5633 --rest-address=0.0.0.0 --nat=extip:172.18.63.186 --peer-exchange=true --discv5-discovery=true --cluster-id=2 --nodekey=faa99aac49dc86a965e3ea720fd9b4db9b6eb9e09ea3fdc7b943c2af93ee1261 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5634 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QJ9YN1PYdEGJzwqOWHOEs5_zokImAYqifef9JFTI3WqPWT76UsQwbDruKd7Q2gEw-yqTECzdR3tDjeDIgEfuPS4CgmlkgnY0gmlwhKwStF2KbXVsdGlhZGRyc5YACASsErRdBrkjAAoErBK0XQa5JN0DgnJzhQACAQAAiXNlY3AyNTZrMaEDjBJ6iuzVp0fwls-JbVUSkOa5geo28LzODvKZ_ysVn7mDdGNwgrkjg3VkcIK5JYV3YWt1MgU
2026-03-26 04:49:44.128 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.63.186 waku 325eed49b2d41bbcc707bc726a4448af7778575eb18337a6de71996e415b6ae0
2026-03-26 04:49:44.168 DEBUG [src.node.docker_mananger] Container started with ID 325eed49b2d4. Setting up logs at ./log/docker/node2_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log
2026-03-26 04:49:44.168 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 5630
2026-03-26 04:49:44.169 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:49:45.170 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5630/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.173 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"INITIALIZING","connectionStatus":"Disconnected","protocolsHealth":[]}'
2026-03-26 04:49:45.273 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5630/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.275 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":"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-26 04:49:45.276 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:49:45.276 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5630/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.278 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.63.186/tcp/5631/p2p/16Uiu2HAmPCcPcuJ7Cfpk5zE3sQbZwHSgzUyuLs3rG94avLhz2NHZ","/ip4/172.18.63.186/tcp/5632/ws/p2p/16Uiu2HAmPCcPcuJ7Cfpk5zE3sQbZwHSgzUyuLs3rG94avLhz2NHZ"],"enrUri":"enr:-L24QDwK49UswYOhBhheNhMUHnbozmhqclrnL1skve7u5F9QBq089ZnJRrkzHbgRoYJFa_HoW2NBOe53f7xOOQ11vrACgmlkgnY0gmlwhKwSP7qKbXVsdGlhZGRyc5YACASsEj-6BhX_AAoErBI_ugYWAN0DgnJzhQACAQAAiXNlY3AyNTZrMaEDnK6gBlHP7IT5c7CERrR4zz8fNvTovdErq3DTweLVFayDdGNwghX_g3VkcIIWAYV3YWt1MgE"}'
2026-03-26 04:49:45.278 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:49:45.279 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5630/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.180.93/tcp/47395/p2p/16Uiu2HAmN5mmfkDiMfmp2Y7x494JzUSc2CtVoXaPsvGTya6Psd5r"]'
2026-03-26 04:49:45.308 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.308 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47394/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-26 04:49:45.333 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.333 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5630/relay/v1/auto/subscriptions" -H "Content-Type: application/json" -d '["/toychat/2/huilong/proto"]'
2026-03-26 04:49:45.341 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.342 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47394/relay/v1/auto/messages" -H "Content-Type: application/json" -d '{"payload": "U2hhcmRpbmcgd29ya3MhIQ==", "contentTopic": "/toychat/2/huilong/proto", "timestamp": '$(date +%s%N)'}'
2026-03-26 04:49:45.350 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.351 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-26 04:49:45.451 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-26 04:49:45.452 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47394/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.454 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1774500585342194160,"ephemeral":false,"proof":""}]'
2026-03-26 04:49:45.456 DEBUG [src.steps.sharding] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-26 04:49:45.456 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5630/relay/v1/auto/messages/%2Ftoychat%2F2%2Fhuilong%2Fproto" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.458 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/toychat/2/huilong/proto","version":0,"timestamp":1774500585342194160,"ephemeral":false,"proof":""}]'
2026-03-26 04:49:45.460 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47394/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-03-26 04:49:45.462 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.462 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5630/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/2/0"]'
2026-03-26 04:49:45.465 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.465 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47394/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-26 04:49:45.472 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:49:45.473 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-26 04:49:45.573 DEBUG [src.steps.sharding] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-26 04:49:45.574 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47394/relay/v1/messages/%2Fwaku%2F2%2Frs%2F2%2F0" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:49:45.576 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1774500585065948496,"ephemeral":false,"proof":""},{"payload":"U2hhcmRpbmcgd29ya3MhIQ==","contentTopic":"/myapp/1/latest/proto","version":0,"timestamp":1774500585465607515,"ephemeral":false,"proof":""}]'
2026-03-26 04:49:45.618 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-26 04:49:45.619 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-26 04:49:45.619 DEBUG [src.node.waku_node] Stopping container with id 3c11fe962a01
2026-03-26 04:49:46.174 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:49:46.176 DEBUG [src.node.waku_node] Stopping container with id 325eed49b2d4
2026-03-26 04:49:46.763 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:49:46.767 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-26 04:49:46.792 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-26 04:49:46.816 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-26 04:49:46.817 DEBUG [tests.conftest] Running fixture teardown: attach_logs_on_fail
2026-03-26 04:49:46.817 DEBUG [tests.conftest] Test failed, attempting to attach logs to the allure reports
2026-03-26 04:49:46.818 DEBUG [src.libs.common] Attaching file ./log/docker/node2_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log
2026-03-26 04:49:46.819 DEBUG [src.libs.common] Attaching file ./log/docker/node1_2026-03-26_04-49-42__1f6f4219-1e9a-48d7-a742-b8945d23a5da__wakuorg_nwaku:latest.log