101 lines
18 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_store_node_paused_and_unpaused with id: 2025-12-10_04-14-32__fcb6e028-d878-41b4-a2ff-1f3272d941fb
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-10_04-14-32__fcb6e028-d878-41b4-a2ff-1f3272d941fb__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.84.44
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['1087', '1088', '1089', '1090', '1091']
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 1087:1087 -p 1088:1088 -p 1089:1089 -p 1090:1090 -p 1091:1091 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=1089 --rest-port=1087 --tcp-port=1088 --discv5-udp-port=1090 --rest-address=0.0.0.0 --nat=extip:172.18.84.44 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=4e8fdcb9b07e3608d4138e0ebb0a8b0fdde58ad4ee26a3ddd1e920a47eba6cc1 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=1091 --metrics-logging=true --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.84.44 waku 2e2e98c2008bdd9d4913180965162e44bde09ff280298c41e13dd2dcd00acacb
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 2e2e98c2008b. Setting up logs at ./log/docker/publishing_node1_2025-12-10_04-14-32__fcb6e028-d878-41b4-a2ff-1f3272d941fb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 1087
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 2b63ac6dfa31. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container b9002918666c. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1087/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:1087/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.84.44/tcp/1088/p2p/16Uiu2HAm2iCA2Q4uK3rM5HCmv4sY8S3Qxd2rRSzWUj1BD9kHwSmv","/ip4/172.18.84.44/tcp/1089/ws/p2p/16Uiu2HAm2iCA2Q4uK3rM5HCmv4sY8S3Qxd2rRSzWUj1BD9kHwSmv"],"enrUri":"enr:-L24QEesGkyNFNP_kJi14neyjgGvBy63nt2IH-lZyHDOsVTZH_rDeP7W8kNigkgd_Oos02icVQ9WkQ1CNuCqS1eFu9UCgmlkgnY0gmlwhKwSVCyKbXVsdGlhZGRyc5YACASsElQsBgRAAAoErBJULAYEQd0DgnJzhQADAQAAiXNlY3AyNTZrMaECbD041Ni_d60iYBMY8HJMPSZumNMKiRqAkwRzagCZNAGDdGNwggRAg3VkcIIEQoV3YWt1MgM"}'
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-10_04-14-32__fcb6e028-d878-41b4-a2ff-1f3272d941fb__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.214.248
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['33705', '33706', '33707', '33708', '33709']
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 33705:33705 -p 33706:33706 -p 33707:33707 -p 33708:33708 -p 33709:33709 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=33707 --rest-port=33705 --tcp-port=33706 --discv5-udp-port=33708 --rest-address=0.0.0.0 --nat=extip:172.18.214.248 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=98beffdeede2f2f663158f6a6fd2add8b9329ab9f56ff6fee09ddb9dfb9a5264 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=33709 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QEesGkyNFNP_kJi14neyjgGvBy63nt2IH-lZyHDOsVTZH_rDeP7W8kNigkgd_Oos02icVQ9WkQ1CNuCqS1eFu9UCgmlkgnY0gmlwhKwSVCyKbXVsdGlhZGRyc5YACASsElQsBgRAAAoErBJULAYEQd0DgnJzhQADAQAAiXNlY3AyNTZrMaECbD041Ni_d60iYBMY8HJMPSZumNMKiRqAkwRzagCZNAGDdGNwggRAg3VkcIIEQoV3YWt1MgM --storenode=/ip4/172.18.84.44/tcp/1088/p2p/16Uiu2HAm2iCA2Q4uK3rM5HCmv4sY8S3Qxd2rRSzWUj1BD9kHwSmv --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.214.248 waku 76aa6af1a03bb8f840d53e0f513ac91a7bdc07e35e107c812d54e7ea62e26b91
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 76aa6af1a03b. Setting up logs at ./log/docker/store_node1_2025-12-10_04-14-32__fcb6e028-d878-41b4-a2ff-1f3272d941fb__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 33705
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:33705/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:33705/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.214.248/tcp/33706/p2p/16Uiu2HAmNPJL9VJ8hPAM1GCiJBWPqDtkYhBcLLb5QZ8c8baJqSeN","/ip4/172.18.214.248/tcp/33707/ws/p2p/16Uiu2HAmNPJL9VJ8hPAM1GCiJBWPqDtkYhBcLLb5QZ8c8baJqSeN"],"enrUri":"enr:-L24QE3M9Vnfy1gHaZIQIQ5FZ5eJdR_lENuEJvw_sWegIAHLbotzSiQMxk-UZ4rDRZsQIXHwKXyi6AgYef32QEAcLLsCgmlkgnY0gmlwhKwS1viKbXVsdGlhZGRyc5YACASsEtb4BoOqAAoErBLW-AaDq90DgnJzhQADAQAAiXNlY3AyNTZrMaEDkI_oHeNnrGUojRE0Jb60bGVpie--MbGuoQJTbEU4jyuDdGNwgoOqg3VkcIKDrIV3YWt1MgM"}'
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:33705/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.84.44/tcp/1088/p2p/16Uiu2HAm2iCA2Q4uK3rM5HCmv4sY8S3Qxd2rRSzWUj1BD9kHwSmv"]'
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:1087/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:33705/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:1087/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)'}'
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:1087/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"}]}'
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:33705/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.node.waku_node:waku_node.py:262 Pausing container with id 76aa6af1a03b
DEBUG  src.libs.common:common.py:47 Sleeping for 1 seconds
DEBUG  src.node.waku_node:waku_node.py:267 Unpause container with id 76aa6af1a03b
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:33705/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:33705/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.214.248/tcp/33706/p2p/16Uiu2HAmNPJL9VJ8hPAM1GCiJBWPqDtkYhBcLLb5QZ8c8baJqSeN","/ip4/172.18.214.248/tcp/33707/ws/p2p/16Uiu2HAmNPJL9VJ8hPAM1GCiJBWPqDtkYhBcLLb5QZ8c8baJqSeN"],"enrUri":"enr:-L24QE3M9Vnfy1gHaZIQIQ5FZ5eJdR_lENuEJvw_sWegIAHLbotzSiQMxk-UZ4rDRZsQIXHwKXyi6AgYef32QEAcLLsCgmlkgnY0gmlwhKwS1viKbXVsdGlhZGRyc5YACASsEtb4BoOqAAoErBLW-AaDq90DgnJzhQADAQAAiXNlY3AyNTZrMaEDkI_oHeNnrGUojRE0Jb60bGVpie--MbGuoQJTbEU4jyuDdGNwgoOqg3VkcIKDrIV3YWt1MgM"}'
INFO  src.node.waku_node:waku_node.py:292 REST service is ready !!
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:1087/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)'}'
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:1087/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"},{"messageHash":"0x72cb839a088c65e9d14a895bd6591aa34fd9e39dbbd7ba957bf8cae57801ae9c"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
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:33705/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5" -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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"},{"messageHash":"0x72cb839a088c65e9d14a895bd6591aa34fd9e39dbbd7ba957bf8cae57801ae9c"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:1087/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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"},{"messageHash":"0x72cb839a088c65e9d14a895bd6591aa34fd9e39dbbd7ba957bf8cae57801ae9c"}]}'
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:33705/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":"0xd36ecb039defe718f9f606259a0212a7b0185967387c17248e0e8a23bab238a1"},{"messageHash":"0x72cb839a088c65e9d14a895bd6591aa34fd9e39dbbd7ba957bf8cae57801ae9c"}]}'
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 2e2e98c2008b
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 76aa6af1a03b
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.