76 lines
13 KiB
Plaintext

2025-12-18 04:33:44.138 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-18 04:33:44.139 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_only_relay with id: 2025-12-18_04-33-44__55f28229-b8f1-41c3-b143-7ac4118c22a5
2025-12-18 04:33:44.139 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-18 04:33:44.139 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-18 04:33:44.147 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:33:44.148 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-18_04-33-44__55f28229-b8f1-41c3-b143-7ac4118c22a5__wakuorg_nwaku:latest.log
2025-12-18 04:33:44.148 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:33:44.148 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:33:44.149 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:33:44.150 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.70.172
2025-12-18 04:33:44.150 DEBUG [src.node.docker_mananger] Generated ports ['4200', '4201', '4202', '4203', '4204']
2025-12-18 04:33:44.150 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:33:44.150 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:33:44.150 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:33:44.150 DEBUG [src.node.docker_mananger] docker run -i -t -p 4200:4200 -p 4201:4201 -p 4202:4202 -p 4203:4203 -p 4204:4204 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=4202 --rest-port=4200 --tcp-port=4201 --discv5-udp-port=4203 --rest-address=0.0.0.0 --nat=extip:172.18.70.172 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ef6dbede04e2ecdced4cf8da8d0fd6cda9c8afef2b8bea3df47769f53cbcfce8 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=4204 --metrics-logging=true --store=true --relay=true
2025-12-18 04:33:44.345 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.70.172 waku 338aa28282e6428bfa11f788e3eccb0943b6deb460034853591f5c0f5613c43f
2025-12-18 04:33:44.368 ERROR [src.node.docker_mananger] Max retries reached for container abc1751f4448. Exiting log stream.
2025-12-18 04:33:44.382 DEBUG [src.node.docker_mananger] Container started with ID 338aa28282e6. Setting up logs at ./log/docker/publishing_node1_2025-12-18_04-33-44__55f28229-b8f1-41c3-b143-7ac4118c22a5__wakuorg_nwaku:latest.log
2025-12-18 04:33:44.382 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 4200
2025-12-18 04:33:44.382 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:33:44.946 ERROR [src.node.docker_mananger] Max retries reached for container 03badcdf85b1. Exiting log stream.
2025-12-18 04:33:45.384 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:4200/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:45.387 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-18 04:33:45.387 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:33:45.388 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:4200/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:45.390 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.70.172/tcp/4201/p2p/16Uiu2HAkvdWqYbS1Yjtzkh59M3w97feD1yadVjg7YjdqY5zp3UpN","/ip4/172.18.70.172/tcp/4202/ws/p2p/16Uiu2HAkvdWqYbS1Yjtzkh59M3w97feD1yadVjg7YjdqY5zp3UpN"],"enrUri":"enr:-L24QM9bqF5kquJ20BcZPZzg_8CIOAU7PUIhV_0mZHMc9IfJD_UWJjh_JtlVdyQkiExympp2lm10bjhhkVtdNUvUlkECgmlkgnY0gmlwhKwSRqyKbXVsdGlhZGRyc5YACASsEkasBhBpAAoErBJGrAYQat0DgnJzhQADAQAAiXNlY3AyNTZrMaECEeRRy1x_J77Hqs6VyCKddP5mL1zu-VLq6SuibTCVrueDdGNwghBpg3VkcIIQa4V3YWt1MgM"}'
2025-12-18 04:33:45.390 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:33:45.397 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-18 04:33:45.397 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-18_04-33-44__55f28229-b8f1-41c3-b143-7ac4118c22a5__wakuorg_nwaku:latest.log
2025-12-18 04:33:45.397 DEBUG [src.node.waku_node] Starting Node...
2025-12-18 04:33:45.398 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-18 04:33:45.399 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-18 04:33:45.399 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.206.52
2025-12-18 04:33:45.399 DEBUG [src.node.docker_mananger] Generated ports ['43086', '43087', '43088', '43089', '43090']
2025-12-18 04:33:45.399 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-18 04:33:45.400 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-18 04:33:45.400 DEBUG [src.node.waku_node] Using volumes []
2025-12-18 04:33:45.400 DEBUG [src.node.docker_mananger] docker run -i -t -p 43086:43086 -p 43087:43087 -p 43088:43088 -p 43089:43089 -p 43090:43090 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=43088 --rest-port=43086 --tcp-port=43087 --discv5-udp-port=43089 --rest-address=0.0.0.0 --nat=extip:172.18.206.52 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4f51ccfacbe44bfc4b3fb86b2dc4532758fbe9e8835eefa5f6b36b57cdbe54cc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=43090 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QM9bqF5kquJ20BcZPZzg_8CIOAU7PUIhV_0mZHMc9IfJD_UWJjh_JtlVdyQkiExympp2lm10bjhhkVtdNUvUlkECgmlkgnY0gmlwhKwSRqyKbXVsdGlhZGRyc5YACASsEkasBhBpAAoErBJGrAYQat0DgnJzhQADAQAAiXNlY3AyNTZrMaECEeRRy1x_J77Hqs6VyCKddP5mL1zu-VLq6SuibTCVrueDdGNwghBpg3VkcIIQa4V3YWt1MgM --storenode=/ip4/172.18.70.172/tcp/4201/p2p/16Uiu2HAkvdWqYbS1Yjtzkh59M3w97feD1yadVjg7YjdqY5zp3UpN --store=false --relay=true
2025-12-18 04:33:45.592 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.206.52 waku aa3e58e6decfe029e5f7a5cbe10d4c4206c77f7efdb2a4906f8647e9cbde4ba9
2025-12-18 04:33:45.629 DEBUG [src.node.docker_mananger] Container started with ID aa3e58e6decf. Setting up logs at ./log/docker/store_node1_2025-12-18_04-33-44__55f28229-b8f1-41c3-b143-7ac4118c22a5__wakuorg_nwaku:latest.log
2025-12-18 04:33:45.630 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 43086
2025-12-18 04:33:45.630 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-18 04:33:46.631 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43086/health" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:46.644 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":"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-18 04:33:46.645 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-18 04:33:46.645 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43086/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:46.651 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.206.52/tcp/43087/p2p/16Uiu2HAm7pYwDKy9e9rSJdttDMRk2r5cLCjESP7JVum6Cxrh6C7k","/ip4/172.18.206.52/tcp/43088/ws/p2p/16Uiu2HAm7pYwDKy9e9rSJdttDMRk2r5cLCjESP7JVum6Cxrh6C7k"],"enrUri":"enr:-L24QM2fB3TAxy8pvY_es6cEi5tRV_EVzd4py0EvVZgmVf6DIYZv7f8_5vQ2kmsAktOyWQbQ03YHvzGqsYs_Rv91kOwCgmlkgnY0gmlwhKwSzjSKbXVsdGlhZGRyc5YACASsEs40BqhPAAoErBLONAaoUN0DgnJzhQADAQAAiXNlY3AyNTZrMaECuCii8aSYkRepOuuNq12p5xzwL1dC9uK0WQuLCQYf6zuDdGNwgqhPg3VkcIKoUYV3YWt1MgE"}'
2025-12-18 04:33:46.652 INFO [src.node.waku_node] REST service is ready !!
2025-12-18 04:33:46.652 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43086/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.70.172/tcp/4201/p2p/16Uiu2HAkvdWqYbS1Yjtzkh59M3w97feD1yadVjg7YjdqY5zp3UpN"]'
2025-12-18 04:33:46.656 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:33:46.657 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:4200/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-18 04:33:46.659 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:33:46.659 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43086/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-18 04:33:46.661 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:33:46.662 DEBUG [src.steps.store] Relaying message
2025-12-18 04:33:46.662 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:4200/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-18 04:33:46.667 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-18 04:33:46.668 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-18 04:33:46.868 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-18 04:33:46.869 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:4200/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:46.872 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x3d637e59d73c8a62cc239f291934b3a1d11f50d243d7d922666323f648dbb5dc"}]}'
2025-12-18 04:33:46.872 DEBUG [src.steps.store] messages length is 1
2025-12-18 04:33:46.872 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-18 04:33:46.872 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43086/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-18 04:33:46.880 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"4b0464de98eed1d83c97","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x3d637e59d73c8a62cc239f291934b3a1d11f50d243d7d922666323f648dbb5dc"}]}'
2025-12-18 04:33:46.881 DEBUG [src.steps.store] messages length is 1
2025-12-18 04:33:46.882 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-18 04:33:46.884 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-18 04:33:46.884 DEBUG [src.node.waku_node] Stopping container with id 338aa28282e6
2025-12-18 04:33:47.408 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:33:47.408 DEBUG [src.node.waku_node] Stopping container with id aa3e58e6decf
2025-12-18 04:33:47.956 DEBUG [src.node.waku_node] Container stopped.
2025-12-18 04:33:47.959 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-18 04:33:47.965 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-18 04:33:47.970 DEBUG [src.node.docker_mananger] No errors found in the waku logs.