76 lines
13 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_get_store_message_with_version with id: 2025-12-18_04-19-18__58a46071-dd1c-4d10-93ea-80de0188f5fb
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_2025-12-18_04-19-18__58a46071-dd1c-4d10-93ea-80de0188f5fb__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.102.183
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['9011', '9012', '9013', '9014', '9015']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 9011:9011 -p 9012:9012 -p 9013:9013 -p 9014:9014 -p 9015:9015 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=9013 --rest-port=9011 --tcp-port=9012 --discv5-udp-port=9014 --rest-address=0.0.0.0 --nat=extip:172.18.102.183 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=96ca55facd3dab6c40fa40db4ddf73cfac3fef76cb194fb640defcc2b51c611f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9015 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.102.183 waku 725b5216781990ff740c56cf14ff3bd3df8f4cad18b466b3f123551a9615856d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 725b52167819. Setting up logs at ./log/docker/publishing_node1_2025-12-18_04-19-18__58a46071-dd1c-4d10-93ea-80de0188f5fb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 9011
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 cd0d7361e016. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container 0ac9cc349ee2. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9011/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","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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9011/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.102.183/tcp/9012/p2p/16Uiu2HAmCaGiSgLDnCj1jXxhW4ttSXt6mz8ZkyvX73SPCFjjPm2g","/ip4/172.18.102.183/tcp/9013/ws/p2p/16Uiu2HAmCaGiSgLDnCj1jXxhW4ttSXt6mz8ZkyvX73SPCFjjPm2g"],"enrUri":"enr:-L24QNSu8uGWxY_I5t88-VKnT6xNRFPPQgZGubNwj05023J0Ul7mNUMTQDhNHQtzm6MiC4mgTG-VTkmPtqh5gzdDrrICgmlkgnY0gmlwhKwSZreKbXVsdGlhZGRyc5YACASsEma3BiM0AAoErBJmtwYjNd0DgnJzhQADAQAAiXNlY3AyNTZrMaEC_sqZf252sS4SmIzTlZCN7Phvmvr5jo3JcTHqSvf11eGDdGNwgiM0g3VkcIIjNoV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 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_2025-12-18_04-19-18__58a46071-dd1c-4d10-93ea-80de0188f5fb__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.160.113
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['9367', '9368', '9369', '9370', '9371']
DEBUG  src.node.waku_node:waku_node.py:439 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:176 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:178 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 9367:9367 -p 9368:9368 -p 9369:9369 -p 9370:9370 -p 9371:9371 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=9369 --rest-port=9367 --tcp-port=9368 --discv5-udp-port=9370 --rest-address=0.0.0.0 --nat=extip:172.18.160.113 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3e40c67aa0f4911e89ccedb4e9f3cecefd2c84aebd9c39956fde41d4a2d8cabe --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=9371 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QNSu8uGWxY_I5t88-VKnT6xNRFPPQgZGubNwj05023J0Ul7mNUMTQDhNHQtzm6MiC4mgTG-VTkmPtqh5gzdDrrICgmlkgnY0gmlwhKwSZreKbXVsdGlhZGRyc5YACASsEma3BiM0AAoErBJmtwYjNd0DgnJzhQADAQAAiXNlY3AyNTZrMaEC_sqZf252sS4SmIzTlZCN7Phvmvr5jo3JcTHqSvf11eGDdGNwgiM0g3VkcIIjNoV3YWt1MgM --storenode=/ip4/172.18.102.183/tcp/9012/p2p/16Uiu2HAmCaGiSgLDnCj1jXxhW4ttSXt6mz8ZkyvX73SPCFjjPm2g --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.160.113 waku a852b36bc09d480f98587642ba6702510b16bda51a9d9b7d820c2d8b20445a02
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID a852b36bc09d. Setting up logs at ./log/docker/store_node1_2025-12-18_04-19-18__58a46071-dd1c-4d10-93ea-80de0188f5fb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 9367
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:9367/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","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"}]}'
INFO  src.node.waku_node:waku_node.py:287 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:9367/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.160.113/tcp/9368/p2p/16Uiu2HAmJvow6wxUAGMsfx1rsofZmsyw8C46Wgf4PtvAQZbUXsS5","/ip4/172.18.160.113/tcp/9369/ws/p2p/16Uiu2HAmJvow6wxUAGMsfx1rsofZmsyw8C46Wgf4PtvAQZbUXsS5"],"enrUri":"enr:-L24QKzpwwy_ujD7mGegzW9uwUWkGuBckaM5sQvUlHMxjdMOZsNfaO1i6JVfUhNgVFiD3K6S545KALHWN0GYYsMVWJkCgmlkgnY0gmlwhKwSoHGKbXVsdGlhZGRyc5YACASsEqBxBiSYAAoErBKgcQYkmd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDXTOizd5OkVGE6Gv5LRyTLssceulRcWj-3DpSa8lpl9aDdGNwgiSYg3VkcIIkmoV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:9367/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.102.183/tcp/9012/p2p/16Uiu2HAmCaGiSgLDnCj1jXxhW4ttSXt6mz8ZkyvX73SPCFjjPm2g"]'
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:9011/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/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:9367/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
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:9011/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)', "version": 10}'
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:9011/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -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":[{"messageHash":"0x5f935337c9f76198dd59124e88771f2cf3cac67f7fb697067b598f4f2948d5a8"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
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:9367/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -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":[{"messageHash":"0x5f935337c9f76198dd59124e88771f2cf3cac67f7fb697067b598f4f2948d5a8"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
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:234 Stopping container with id 725b52167819
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id a852b36bc09d
DEBUG  src.node.waku_node:waku_node.py:241 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.