74 lines
13 KiB
Plaintext

2025-12-08 12:15:27.054 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:15:27.056 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_neither_relay_nor_store with id: 2025-12-08_12-15-27__bd09dd0e-4d3e-434c-9a95-0f86e3b1671e
2025-12-08 12:15:27.056 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:15:27.057 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-08 12:15:27.068 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:15:27.069 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-08_12-15-27__bd09dd0e-4d3e-434c-9a95-0f86e3b1671e__wakuorg_nwaku:latest.log
2025-12-08 12:15:27.069 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:15:27.069 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:15:27.073 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:15:27.073 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.109.234
2025-12-08 12:15:27.073 DEBUG [src.node.docker_mananger] Generated ports ['64590', '64591', '64592', '64593', '64594']
2025-12-08 12:15:27.074 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:15:27.075 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:15:27.075 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:15:27.075 DEBUG [src.node.docker_mananger] docker run -i -t -p 64590:64590 -p 64591:64591 -p 64592:64592 -p 64593:64593 -p 64594:64594 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=64592 --rest-port=64590 --tcp-port=64591 --discv5-udp-port=64593 --rest-address=0.0.0.0 --nat=extip:172.18.109.234 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b8fbe3f7010ba7bfb36ab49e23edd0f3adbeab0d0bbf211d9cdb16b6d7b8e40d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=64594 --metrics-logging=true --store=true --relay=true
2025-12-08 12:15:27.238 ERROR [src.node.docker_mananger] Max retries reached for container 29855f75847b. Exiting log stream.
2025-12-08 12:15:27.291 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.109.234 waku 3e3dd6925219fbe027d76abcfe0a3419ed8907a6ab36c33bceadaebcee3ebfcb
2025-12-08 12:15:27.322 DEBUG [src.node.docker_mananger] Container started with ID 3e3dd6925219. Setting up logs at ./log/docker/publishing_node1_2025-12-08_12-15-27__bd09dd0e-4d3e-434c-9a95-0f86e3b1671e__wakuorg_nwaku:latest.log
2025-12-08 12:15:27.323 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 64590
2025-12-08 12:15:27.323 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:15:28.024 ERROR [src.node.docker_mananger] Max retries reached for container 04a09e7d708b. Exiting log stream.
2025-12-08 12:15:28.323 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64590/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:28.327 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-08 12:15:28.327 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:15:28.327 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64590/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:28.329 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.109.234/tcp/64591/p2p/16Uiu2HAm8mCPy3gyenu3dL4auBpGNgXx5kdMYygqmGhgxd69snXg","/ip4/172.18.109.234/tcp/64592/ws/p2p/16Uiu2HAm8mCPy3gyenu3dL4auBpGNgXx5kdMYygqmGhgxd69snXg"],"enrUri":"enr:-L24QGpJmXJcv9TUlbk0Gok4hW_GqAxEnZyp1XVNHiOu8WUlLe_88OzHpFP91QdCYLjsGj82o-t-x7vCbzAJBct2RLQCgmlkgnY0gmlwhKwSbeqKbXVsdGlhZGRyc5YACASsEm3qBvxPAAoErBJt6gb8UN0DgnJzhQADAQAAiXNlY3AyNTZrMaECxihbl85gGNLSYkSUsCfU_JbW4n0mAyhYMwr7RvXbnDeDdGNwgvxPg3VkcIL8UYV3YWt1MgM"}'
2025-12-08 12:15:28.329 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:15:28.336 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:15:28.337 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-08_12-15-27__bd09dd0e-4d3e-434c-9a95-0f86e3b1671e__wakuorg_nwaku:latest.log
2025-12-08 12:15:28.337 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:15:28.337 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:15:28.338 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:15:28.338 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.132.234
2025-12-08 12:15:28.338 DEBUG [src.node.docker_mananger] Generated ports ['59135', '59136', '59137', '59138', '59139']
2025-12-08 12:15:28.339 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:15:28.339 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:15:28.339 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:15:28.339 DEBUG [src.node.docker_mananger] docker run -i -t -p 59135:59135 -p 59136:59136 -p 59137:59137 -p 59138:59138 -p 59139:59139 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=59137 --rest-port=59135 --tcp-port=59136 --discv5-udp-port=59138 --rest-address=0.0.0.0 --nat=extip:172.18.132.234 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e5aedfcda374dbdf923a7e7c3b0fa3bebbbcebe6cba74bbd54bfeaeb815c2b6f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=59139 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QGpJmXJcv9TUlbk0Gok4hW_GqAxEnZyp1XVNHiOu8WUlLe_88OzHpFP91QdCYLjsGj82o-t-x7vCbzAJBct2RLQCgmlkgnY0gmlwhKwSbeqKbXVsdGlhZGRyc5YACASsEm3qBvxPAAoErBJt6gb8UN0DgnJzhQADAQAAiXNlY3AyNTZrMaECxihbl85gGNLSYkSUsCfU_JbW4n0mAyhYMwr7RvXbnDeDdGNwgvxPg3VkcIL8UYV3YWt1MgM --storenode=/ip4/172.18.109.234/tcp/64591/p2p/16Uiu2HAm8mCPy3gyenu3dL4auBpGNgXx5kdMYygqmGhgxd69snXg --store=false --relay=false
2025-12-08 12:15:28.538 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.132.234 waku 2fd1d221a7b53e63eda0d38458b56caa2c89d8f4e59b07101e45da34dd7961ec
2025-12-08 12:15:28.576 DEBUG [src.node.docker_mananger] Container started with ID 2fd1d221a7b5. Setting up logs at ./log/docker/store_node1_2025-12-08_12-15-27__bd09dd0e-4d3e-434c-9a95-0f86e3b1671e__wakuorg_nwaku:latest.log
2025-12-08 12:15:28.576 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 59135
2025-12-08 12:15:28.577 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:15:29.577 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59135/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:29.581 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_MOUNTED"},{"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-08 12:15:29.581 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:15:29.581 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59135/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:29.583 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.132.234/tcp/59136/p2p/16Uiu2HAkvrabrQ2gfJdUpWU61TMAb6abomHTM92xq3MFKH1ffSZ2","/ip4/172.18.132.234/tcp/59137/ws/p2p/16Uiu2HAkvrabrQ2gfJdUpWU61TMAb6abomHTM92xq3MFKH1ffSZ2"],"enrUri":"enr:-L24QMxV5ZhFbpUofYnGpMUsPXxyhrHgFnOSVMFwfBJU9X08JdaH59rfD3CYE7o1zFpBUhMACDlcOZVhEOlCsiOrTM8CgmlkgnY0gmlwhKwShOqKbXVsdGlhZGRyc5YACASsEoTqBucAAAoErBKE6gbnAd0DgnJzhQADAQAAiXNlY3AyNTZrMaECFT0gOs4jKqNtOglmAFZsXVcEnuhbRI-4kS9VtybrsRWDdGNwgucAg3VkcILnAoV3YWt1MgA"}'
2025-12-08 12:15:29.584 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:15:29.584 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:59135/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.109.234/tcp/64591/p2p/16Uiu2HAm8mCPy3gyenu3dL4auBpGNgXx5kdMYygqmGhgxd69snXg"]'
2025-12-08 12:15:29.612 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:29.612 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64590/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-08 12:15:29.626 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:29.627 DEBUG [src.steps.store] Relaying message
2025-12-08 12:15:29.627 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64590/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-08 12:15:29.634 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:15:29.635 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-08 12:15:29.835 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:15:29.836 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64590/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:29.839 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xb5b3410af695486417f5206b2243d444b493f235ca6f0010c35740eb072687e2"}]}'
2025-12-08 12:15:29.839 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:15:29.839 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-08 12:15:29.840 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:59135/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:15:29.847 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"199201c4730f7e9f2b04","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xb5b3410af695486417f5206b2243d444b493f235ca6f0010c35740eb072687e2"}]}'
2025-12-08 12:15:29.847 DEBUG [src.steps.store] messages length is 1
2025-12-08 12:15:29.849 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:15:29.850 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:15:29.850 DEBUG [src.node.waku_node] Stopping container with id 3e3dd6925219
2025-12-08 12:15:30.420 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:15:30.420 DEBUG [src.node.waku_node] Stopping container with id 2fd1d221a7b5
2025-12-08 12:15:30.957 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:15:30.961 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:15:30.967 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:15:30.972 DEBUG [src.node.docker_mananger] No errors found in the waku logs.