82 lines
14 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG  tests.conftest:conftest.py:51 Running fixture setup: test_id
DEBUG  tests.conftest:conftest.py:57 Running test: test_messages_with_timestamps_far_from_now with id: 2026-04-23_22-01-35__8a699200-6574-44bd-8d51-2e9b42dc8b48
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.store:store.py:31 Running fixture setup: store_setup
DEBUG  src.steps.store:store.py:39 Running fixture setup: node_setup
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-04-23_22-01-35__8a699200-6574-44bd-8d51-2e9b42dc8b48__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.154.8
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['24125', '24126', '24127', '24128', '24129']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 24125:24125 -p 24126:24126 -p 24127:24127 -p 24128:24128 -p 24129:24129 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=24127 --rest-port=24125 --tcp-port=24126 --discv5-udp-port=24128 --rest-address=0.0.0.0 --nat=extip:172.18.154.8 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=ae5dec4adee13bababae873614ada86f3bb94d6214adebffa8fd9defb4fcf2e5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=24129 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.154.8 waku d4ae017b4dc2baac6484d951aaef54c41c3fc11a32bb83835e74bd64f04acdc3
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID d4ae017b4dc2. Setting up logs at ./log/docker/publishing_node1_2026-04-23_22-01-35__8a699200-6574-44bd-8d51-2e9b42dc8b48__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 24125
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container a7d0501a1a12. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 9cbe0ff23f51. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24125/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"Disconnected","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Lightpush":"NOT_MOUNTED"},{"Legacy Lightpush":"NOT_MOUNTED"},{"Filter":"NOT_MOUNTED"},{"Store":"READY"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24125/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.154.8/tcp/24126/p2p/16Uiu2HAmQiT1xTWU6p7D4MW7E9TuoxU4Zr2rLDoPrGZHBVx71zdx","/ip4/172.18.154.8/tcp/24127/ws/p2p/16Uiu2HAmQiT1xTWU6p7D4MW7E9TuoxU4Zr2rLDoPrGZHBVx71zdx"],"enrUri":"enr:-L24QO9Jkx09AliiAWDikrykWxOTajiCuGy2X5vHUslFOpw-OWs0vzk9NMOOQzNwsNAQa_i9xEpilbhqU5ATP9M1IcsCgmlkgnY0gmlwhKwSmgiKbXVsdGlhZGRyc5YACASsEpoIBl4-AAoErBKaCAZeP90DgnJzhQDGAQAAiXNlY3AyNTZrMaEDsy8jPOVvEEs8Flmpv3cWYwwa5P-bAiYyG03USlKolSODdGNwgl4-g3VkcIJeQIV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:299 REST service is ready !!
DEBUG  src.node.docker_mananger:docker_mananger.py:19 Docker client initialized with image wakuorg/nwaku:latest
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/store_node1_2026-04-23_22-01-35__8a699200-6574-44bd-8d51-2e9b42dc8b48__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:90 Starting Node...
DEBUG  src.node.docker_mananger:docker_mananger.py:22 Attempting to create or retrieve network waku
DEBUG  src.node.docker_mananger:docker_mananger.py:25 Network waku already exists
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.211.241
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['28918', '28919', '28920', '28921', '28922']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 28918:28918 -p 28919:28919 -p 28920:28920 -p 28921:28921 -p 28922:28922 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=28920 --rest-port=28918 --tcp-port=28919 --discv5-udp-port=28921 --rest-address=0.0.0.0 --nat=extip:172.18.211.241 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=09e7757fdae9ebbd7ac369af55be6fe31b101f4fbabcbd4df2cd3590bb3e5b9f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28922 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QO9Jkx09AliiAWDikrykWxOTajiCuGy2X5vHUslFOpw-OWs0vzk9NMOOQzNwsNAQa_i9xEpilbhqU5ATP9M1IcsCgmlkgnY0gmlwhKwSmgiKbXVsdGlhZGRyc5YACASsEpoIBl4-AAoErBKaCAZeP90DgnJzhQDGAQAAiXNlY3AyNTZrMaEDsy8jPOVvEEs8Flmpv3cWYwwa5P-bAiYyG03USlKolSODdGNwgl4-g3VkcIJeQIV3YWt1MgM --storenode=/ip4/172.18.154.8/tcp/24126/p2p/16Uiu2HAmQiT1xTWU6p7D4MW7E9TuoxU4Zr2rLDoPrGZHBVx71zdx --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.211.241 waku d2f74adbe1a9edfa33bc6dcca8e66f28c4d6ae597363908b7337c0f57c82897e
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID d2f74adbe1a9. Setting up logs at ./log/docker/store_node1_2026-04-23_22-01-35__8a699200-6574-44bd-8d51-2e9b42dc8b48__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 28918
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:28918/health" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 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":"READY"},{"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:28918/debug/v1/info" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.211.241/tcp/28919/p2p/16Uiu2HAmSJgYtczruc6Rcf6LanpS9u655jaJP6Ya4nsF6EJasXiD","/ip4/172.18.211.241/tcp/28920/ws/p2p/16Uiu2HAmSJgYtczruc6Rcf6LanpS9u655jaJP6Ya4nsF6EJasXiD"],"enrUri":"enr:-L24QNCSefik_PcBV2obU0n5g3-6X8HStVH9VxMythQNLnRqOL-6zSVx91PhYUtd313ZjS0xKrD0ltAyosF5SvwEbpQCgmlkgnY0gmlwhKwS0_GKbXVsdGlhZGRyc5YACASsEtPxBnD3AAoErBLT8QZw-N0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDys_f0O7oKcSkPp3CIAd8xgm-AhSCQjL2FcpkAgplMc6DdGNwgnD3g3VkcIJw-YV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:299 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:28918/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.154.8/tcp/24126/p2p/16Uiu2HAmQiT1xTWU6p7D4MW7E9TuoxU4Zr2rLDoPrGZHBVx71zdx"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24125/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:28918/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  tests.store.test_time_filter:test_time_filter.py:31 Running test with payload 20 sec Past
DEBUG  src.steps.store:store.py:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24125/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.2 seconds
DEBUG  src.steps.store:store.py:211 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24125/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0&pageSize=5&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[]}'
DEBUG  src.steps.store:store.py:228 messages length is 0
DEBUG  tests.store.test_time_filter:test_time_filter.py:31 Running test with payload 40 sec Future
DEBUG  src.steps.store:store.py:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:24125/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d '{"payload": "U3RvcmUgd29ya3MhIQ==", "contentTopic": "/myapp/1/latest/proto", "timestamp": '$(date +%s%N)'}'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.libs.common:common.py:47 Sleeping for 0.2 seconds
DEBUG  src.steps.store:store.py:211 Checking that peer wakuorg/nwaku:latest can find the stored messages
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:24125/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0&pageSize=5&ascending=true&pubsubTopic=%2Fwaku%2F2%2Frs%2F198%2F0" -H "Content-Type: application/json" -d 'None'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[]}'
DEBUG  src.steps.store:store.py:228 messages length is 0
DEBUG  tests.conftest:conftest.py:59 Running fixture teardown: test_setup
DEBUG  tests.conftest:conftest.py:83 Running fixture teardown: close_open_nodes
DEBUG  src.node.waku_node:waku_node.py:241 Stopping container with id d4ae017b4dc2
DEBUG  src.node.waku_node:waku_node.py:248 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:241 Stopping container with id d2f74adbe1a9
DEBUG  src.node.waku_node:waku_node.py:248 Container stopped.
DEBUG  tests.conftest:conftest.py:98 Running fixture teardown: check_waku_log_errors
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.
DEBUG  src.node.docker_mananger:docker_mananger.py:144 No errors found in the waku logs.