76 lines
13 KiB
Plaintext

2025-12-26 04:19:39.712 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-26 04:19:39.712 DEBUG [tests.conftest] Running test: test_main_node_relay_and_store__peer_relay_and_store with id: 2025-12-26_04-19-39__bc437c1e-e178-4d64-bd69-68a6c00962a4
2025-12-26 04:19:39.712 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-26 04:19:39.713 DEBUG [src.steps.store] Running fixture setup: store_setup
2025-12-26 04:19:39.720 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:19:39.720 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2025-12-26_04-19-39__bc437c1e-e178-4d64-bd69-68a6c00962a4__wakuorg_nwaku:latest.log
2025-12-26 04:19:39.720 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:19:39.720 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:19:39.722 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:19:39.722 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.59.5
2025-12-26 04:19:39.722 DEBUG [src.node.docker_mananger] Generated ports ['36665', '36666', '36667', '36668', '36669']
2025-12-26 04:19:39.722 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:19:39.722 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:19:39.722 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:19:39.723 DEBUG [src.node.docker_mananger] docker run -i -t -p 36665:36665 -p 36666:36666 -p 36667:36667 -p 36668:36668 -p 36669:36669 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=36667 --rest-port=36665 --tcp-port=36666 --discv5-udp-port=36668 --rest-address=0.0.0.0 --nat=extip:172.18.59.5 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d1b99bce1ffef7bc2fefa89915f5cecafdd86ab3b1f9cd95e2aade9fb45ba03f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=36669 --metrics-logging=true --store=true --relay=true
2025-12-26 04:19:39.902 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.59.5 waku 448dc84642c51674626a0677aad35f0cebdaf92ddaa23dbfdfe5968dfb999381
2025-12-26 04:19:39.934 DEBUG [src.node.docker_mananger] Container started with ID 448dc84642c5. Setting up logs at ./log/docker/publishing_node1_2025-12-26_04-19-39__bc437c1e-e178-4d64-bd69-68a6c00962a4__wakuorg_nwaku:latest.log
2025-12-26 04:19:39.936 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 36665
2025-12-26 04:19:39.936 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:19:39.974 ERROR [src.node.docker_mananger] Max retries reached for container ae9452e6def6. Exiting log stream.
2025-12-26 04:19:40.514 ERROR [src.node.docker_mananger] Max retries reached for container 6b2f32c6739b. Exiting log stream.
2025-12-26 04:19:40.936 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36665/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:40.940 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-26 04:19:40.940 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:19:40.940 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36665/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:40.942 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.59.5/tcp/36666/p2p/16Uiu2HAm3fLkqhyVvMvcPHjs2D6faKPWi19zNojiEnNcUBPbSwuz","/ip4/172.18.59.5/tcp/36667/ws/p2p/16Uiu2HAm3fLkqhyVvMvcPHjs2D6faKPWi19zNojiEnNcUBPbSwuz"],"enrUri":"enr:-L24QGiirKwBVo65_rQAH-4Ur9Lc_tEwBlDVDvLAT4PgkMTMPUIgWK-hc87mdBndOVGMwf35kowEMI47ylDyrco6O-wCgmlkgnY0gmlwhKwSOwWKbXVsdGlhZGRyc5YACASsEjsFBo86AAoErBI7BQaPO90DgnJzhQADAQAAiXNlY3AyNTZrMaECel3kDvcnoc50t3tIOjiG-31GDEjkLL6-wlQjhGi4AmGDdGNwgo86g3VkcIKPPIV3YWt1MgM"}'
2025-12-26 04:19:40.943 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:19:40.950 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-26 04:19:40.950 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2025-12-26_04-19-39__bc437c1e-e178-4d64-bd69-68a6c00962a4__wakuorg_nwaku:latest.log
2025-12-26 04:19:40.951 DEBUG [src.node.waku_node] Starting Node...
2025-12-26 04:19:40.951 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-26 04:19:40.952 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-26 04:19:40.952 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.113.151
2025-12-26 04:19:40.953 DEBUG [src.node.docker_mananger] Generated ports ['31405', '31406', '31407', '31408', '31409']
2025-12-26 04:19:40.953 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-26 04:19:40.953 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-26 04:19:40.953 DEBUG [src.node.waku_node] Using volumes []
2025-12-26 04:19:40.953 DEBUG [src.node.docker_mananger] docker run -i -t -p 31405:31405 -p 31406:31406 -p 31407:31407 -p 31408:31408 -p 31409:31409 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=31407 --rest-port=31405 --tcp-port=31406 --discv5-udp-port=31408 --rest-address=0.0.0.0 --nat=extip:172.18.113.151 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f17cefcebdcfddaf789fdfd44aef7dfb1d94f4f0abe2c75bff8c7cc71b0ffaed --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31409 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QGiirKwBVo65_rQAH-4Ur9Lc_tEwBlDVDvLAT4PgkMTMPUIgWK-hc87mdBndOVGMwf35kowEMI47ylDyrco6O-wCgmlkgnY0gmlwhKwSOwWKbXVsdGlhZGRyc5YACASsEjsFBo86AAoErBI7BQaPO90DgnJzhQADAQAAiXNlY3AyNTZrMaECel3kDvcnoc50t3tIOjiG-31GDEjkLL6-wlQjhGi4AmGDdGNwgo86g3VkcIKPPIV3YWt1MgM --storenode=/ip4/172.18.59.5/tcp/36666/p2p/16Uiu2HAm3fLkqhyVvMvcPHjs2D6faKPWi19zNojiEnNcUBPbSwuz --store=true --relay=true
2025-12-26 04:19:41.147 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.113.151 waku 7c1ca7293c2b9f6d4212019a899ee6d88b44bc2623c0459a3fa4b8f1c9a4612a
2025-12-26 04:19:41.182 DEBUG [src.node.docker_mananger] Container started with ID 7c1ca7293c2b. Setting up logs at ./log/docker/store_node1_2025-12-26_04-19-39__bc437c1e-e178-4d64-bd69-68a6c00962a4__wakuorg_nwaku:latest.log
2025-12-26 04:19:41.182 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31405
2025-12-26 04:19:41.183 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-26 04:19:42.184 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31405/health" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:42.188 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"READY"},{"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":"READY"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"}]}'
2025-12-26 04:19:42.189 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-26 04:19:42.189 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31405/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:42.191 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.113.151/tcp/31406/p2p/16Uiu2HAmNB3Asjyyth9bqE7B4DZjVwP8B94B71fxgfKt3ufpCw8R","/ip4/172.18.113.151/tcp/31407/ws/p2p/16Uiu2HAmNB3Asjyyth9bqE7B4DZjVwP8B94B71fxgfKt3ufpCw8R"],"enrUri":"enr:-L24QKXOHAAYxkMjBf1q3Kc-RjFdOX-e5PAD6sA-yuzJ0MjqbDQinMj8apX9eeyrCfd6T82nqcupWiFXJ7_Ijt7RB9cCgmlkgnY0gmlwhKwScZeKbXVsdGlhZGRyc5YACASsEnGXBnquAAoErBJxlwZ6r90DgnJzhQADAQAAiXNlY3AyNTZrMaEDjWvLssCUCXP3Mv10zgExnJ9P_TKzYwdwuiONu8Ozo66DdGNwgnqug3VkcIJ6sIV3YWt1MgM"}'
2025-12-26 04:19:42.192 INFO [src.node.waku_node] REST service is ready !!
2025-12-26 04:19:42.192 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31405/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.59.5/tcp/36666/p2p/16Uiu2HAm3fLkqhyVvMvcPHjs2D6faKPWi19zNojiEnNcUBPbSwuz"]'
2025-12-26 04:19:42.194 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:19:42.195 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36665/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-26 04:19:42.197 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:19:42.197 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31405/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2025-12-26 04:19:42.199 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:19:42.200 DEBUG [src.steps.store] Relaying message
2025-12-26 04:19:42.200 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:36665/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-26 04:19:42.205 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-26 04:19:42.205 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2025-12-26 04:19:42.406 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-26 04:19:42.406 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:36665/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:42.409 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x8b6633920f9958c0a237f7dfee3b24018e08ad8314e0cb726b4e709715591411"}]}'
2025-12-26 04:19:42.410 DEBUG [src.steps.store] messages length is 1
2025-12-26 04:19:42.410 DEBUG [src.steps.store] Checking that peer wakuorg/nwaku:latest can find the stored messages
2025-12-26 04:19:42.410 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31405/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2025-12-26 04:19:42.413 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0x8b6633920f9958c0a237f7dfee3b24018e08ad8314e0cb726b4e709715591411"}]}'
2025-12-26 04:19:42.413 DEBUG [src.steps.store] messages length is 1
2025-12-26 04:19:42.415 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-26 04:19:42.416 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-26 04:19:42.416 DEBUG [src.node.waku_node] Stopping container with id 448dc84642c5
2025-12-26 04:19:42.952 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:19:42.954 DEBUG [src.node.waku_node] Stopping container with id 7c1ca7293c2b
2025-12-26 04:19:43.500 DEBUG [src.node.waku_node] Container stopped.
2025-12-26 04:19:43.501 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-26 04:19:43.511 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-26 04:19:43.517 DEBUG [src.node.docker_mananger] No errors found in the waku logs.