2026-02-04 17:29:28 +00:00

74 lines
13 KiB
Plaintext

2026-02-04 17:15:40.742 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-04 17:15:40.743 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_neither_relay_nor_store with id: 2026-02-04_17-15-40__11a537b9-67a5-43ed-a5aa-1af00845f047
2026-02-04 17:15:40.743 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-04 17:15:40.743 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-02-04 17:15:40.751 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-04 17:15:40.751 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-02-04_17-15-40__11a537b9-67a5-43ed-a5aa-1af00845f047__wakuorg_nwaku:latest.log
2026-02-04 17:15:40.751 DEBUG [src.node.waku_node] Starting Node...
2026-02-04 17:15:40.751 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-04 17:15:40.753 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-04 17:15:40.753 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.200.75
2026-02-04 17:15:40.753 DEBUG [src.node.docker_mananger] Generated ports ['17521', '17522', '17523', '17524', '17525']
2026-02-04 17:15:40.753 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-04 17:15:40.753 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-04 17:15:40.753 DEBUG [src.node.waku_node] Using volumes []
2026-02-04 17:15:40.754 DEBUG [src.node.docker_mananger] docker run -i -t -p 17521:17521 -p 17522:17522 -p 17523:17523 -p 17524:17524 -p 17525:17525 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=17523 --rest-port=17521 --tcp-port=17522 --discv5-udp-port=17524 --rest-address=0.0.0.0 --nat=extip:172.18.200.75 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=b7ce18e5d6cff3f9e41aead1ffde9a1d6eaec54fb09dbd0ba8ffa065de5d819c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17525 --metrics-logging=true --store=true --relay=true
2026-02-04 17:15:40.939 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.200.75 waku ea859afd62dfb3b8cbddd5ca899896a47730acbe9c90e8c13818d6080db46a58
2026-02-04 17:15:40.955 ERROR [src.node.docker_mananger] Max retries reached for container 350339e29029. Exiting log stream.
2026-02-04 17:15:40.970 DEBUG [src.node.docker_mananger] Container started with ID ea859afd62df. Setting up logs at ./log/docker/publishing_node1_2026-02-04_17-15-40__11a537b9-67a5-43ed-a5aa-1af00845f047__wakuorg_nwaku:latest.log
2026-02-04 17:15:40.971 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 17521
2026-02-04 17:15:40.972 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-04 17:15:41.527 ERROR [src.node.docker_mananger] Max retries reached for container 5510d8de0ac6. Exiting log stream.
2026-02-04 17:15:41.972 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17521/health" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:41.976 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"}]}'
2026-02-04 17:15:41.976 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-04 17:15:41.976 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17521/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:41.978 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.200.75/tcp/17522/p2p/16Uiu2HAkwHvtFiqBRXeu84R1NuNGgdAH4TvdZku6jqX5Sdcp8fDh","/ip4/172.18.200.75/tcp/17523/ws/p2p/16Uiu2HAkwHvtFiqBRXeu84R1NuNGgdAH4TvdZku6jqX5Sdcp8fDh"],"enrUri":"enr:-L24QOLHPx__9fV3F7UqCaVTP-abBGGsku6FjQ4FN3ZZecJeE0gMoRXd9homxED1Bhngkm7vzOqal1LtRciHPuo_hzwCgmlkgnY0gmlwhKwSyEuKbXVsdGlhZGRyc5YACASsEshLBkRyAAoErBLISwZEc90DgnJzhQADAQAAiXNlY3AyNTZrMaECG7uUd-DHRWo7JvLkDucCJRAGmvDd72ltidyq_RAnn6CDdGNwgkRyg3VkcIJEdIV3YWt1MgM"}'
2026-02-04 17:15:41.978 INFO [src.node.waku_node] REST service is ready !!
2026-02-04 17:15:41.986 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-04 17:15:41.986 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-02-04_17-15-40__11a537b9-67a5-43ed-a5aa-1af00845f047__wakuorg_nwaku:latest.log
2026-02-04 17:15:41.986 DEBUG [src.node.waku_node] Starting Node...
2026-02-04 17:15:41.986 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-04 17:15:41.987 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-04 17:15:41.988 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.63.211
2026-02-04 17:15:41.988 DEBUG [src.node.docker_mananger] Generated ports ['25157', '25158', '25159', '25160', '25161']
2026-02-04 17:15:41.988 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-04 17:15:41.988 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-04 17:15:41.988 DEBUG [src.node.waku_node] Using volumes []
2026-02-04 17:15:41.988 DEBUG [src.node.docker_mananger] docker run -i -t -p 25157:25157 -p 25158:25158 -p 25159:25159 -p 25160:25160 -p 25161:25161 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=25159 --rest-port=25157 --tcp-port=25158 --discv5-udp-port=25160 --rest-address=0.0.0.0 --nat=extip:172.18.63.211 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ed40bb68ffddbbc5ee2a5444cc65dcb7d30ae7a3e598fdfc04d4de535fdba4e9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25161 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QOLHPx__9fV3F7UqCaVTP-abBGGsku6FjQ4FN3ZZecJeE0gMoRXd9homxED1Bhngkm7vzOqal1LtRciHPuo_hzwCgmlkgnY0gmlwhKwSyEuKbXVsdGlhZGRyc5YACASsEshLBkRyAAoErBLISwZEc90DgnJzhQADAQAAiXNlY3AyNTZrMaECG7uUd-DHRWo7JvLkDucCJRAGmvDd72ltidyq_RAnn6CDdGNwgkRyg3VkcIJEdIV3YWt1MgM --storenode=/ip4/172.18.200.75/tcp/17522/p2p/16Uiu2HAkwHvtFiqBRXeu84R1NuNGgdAH4TvdZku6jqX5Sdcp8fDh --store=false --relay=false
2026-02-04 17:15:42.181 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.63.211 waku 2bef560e6cb89d0ad841eabab51626f616bdb3939193b94832a686243473975a
2026-02-04 17:15:42.212 DEBUG [src.node.docker_mananger] Container started with ID 2bef560e6cb8. Setting up logs at ./log/docker/store_node1_2026-02-04_17-15-40__11a537b9-67a5-43ed-a5aa-1af00845f047__wakuorg_nwaku:latest.log
2026-02-04 17:15:42.212 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 25157
2026-02-04 17:15:42.213 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-04 17:15:43.214 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25157/health" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:43.218 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"}]}'
2026-02-04 17:15:43.218 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-04 17:15:43.218 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25157/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:43.220 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.63.211/tcp/25158/p2p/16Uiu2HAmPtSw7hQkNgTeRfbrELTPTFYZxytJg1Y4HZTHHnc2o2CM","/ip4/172.18.63.211/tcp/25159/ws/p2p/16Uiu2HAmPtSw7hQkNgTeRfbrELTPTFYZxytJg1Y4HZTHHnc2o2CM"],"enrUri":"enr:-L24QNeUxK0kUDnNavAYmIpSG5s1oElUXk3jTP8tJsHNcaGdQY8haDAjd4d6xcA9qt6kJNsFbFB4mX3RpHEScPp5eBYCgmlkgnY0gmlwhKwSP9OKbXVsdGlhZGRyc5YACASsEj_TBmJGAAoErBI_0wZiR90DgnJzhQADAQAAiXNlY3AyNTZrMaEDpuMqGPim_aVxNuWlfw0RgKO0RPTv8tD61P5vnCxy6haDdGNwgmJGg3VkcIJiSIV3YWt1MgA"}'
2026-02-04 17:15:43.221 INFO [src.node.waku_node] REST service is ready !!
2026-02-04 17:15:43.221 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25157/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.200.75/tcp/17522/p2p/16Uiu2HAkwHvtFiqBRXeu84R1NuNGgdAH4TvdZku6jqX5Sdcp8fDh"]'
2026-02-04 17:15:43.249 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-04 17:15:43.250 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17521/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-02-04 17:15:43.266 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-04 17:15:43.267 DEBUG [src.steps.store] Relaying message
2026-02-04 17:15:43.267 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17521/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)'}'
2026-02-04 17:15:43.274 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-04 17:15:43.276 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-02-04 17:15:43.476 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-04 17:15:43.477 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17521/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:43.480 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x48791593b52dfe3007b3da50fde1e65bfccf1f1bd8d3b397262703755481dab1"}]}'
2026-02-04 17:15:43.480 DEBUG [src.steps.store] messages length is 1
2026-02-04 17:15:43.481 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2026-02-04 17:15:43.481 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25157/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-02-04 17:15:43.489 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"12858ca40599fe8aeb0b","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x48791593b52dfe3007b3da50fde1e65bfccf1f1bd8d3b397262703755481dab1"}]}'
2026-02-04 17:15:43.489 DEBUG [src.steps.store] messages length is 1
2026-02-04 17:15:43.491 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-04 17:15:43.492 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-04 17:15:43.493 DEBUG [src.node.waku_node] Stopping container with id ea859afd62df
2026-02-04 17:15:44.105 DEBUG [src.node.waku_node] Container stopped.
2026-02-04 17:15:44.106 DEBUG [src.node.waku_node] Stopping container with id 2bef560e6cb8
2026-02-04 17:15:44.657 DEBUG [src.node.waku_node] Container stopped.
2026-02-04 17:15:44.659 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-04 17:15:44.669 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-04 17:15:44.674 DEBUG [src.node.docker_mananger] No errors found in the waku logs.