70 lines
12 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 with id: 2026-03-06_04-31-43__b786b730-7858-40fb-a2f9-731dbfd5f5dc
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.filter:filter.py:28 Running fixture setup: filter_setup
DEBUG  src.steps.light_push:light_push.py:28 Running fixture setup: light_push_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.store:store.py:31 Running fixture setup: store_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/node1_2026-03-06_04-31-43__b786b730-7858-40fb-a2f9-731dbfd5f5dc__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:33 Network waku created
DEBUG  src.node.docker_mananger:docker_mananger.py:108 Generated random external IP 172.18.99.178
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['2707', '2708', '2709', '2710', '2711']
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 2707:2707 -p 2708:2708 -p 2709:2709 -p 2710:2710 -p 2711:2711 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=2709 --rest-port=2707 --tcp-port=2708 --discv5-udp-port=2710 --rest-address=0.0.0.0 --nat=extip:172.18.99.178 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bae2c5bcbffabce638b5d1b598173a031dc77cbaab2def73edb687cf089a489e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2711 --metrics-logging=true --relay=true --store=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.99.178 waku bb3b81f5dc17461cbacb2edb15d9af23a2dbba91950f1e6ba6e980157dba238b
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID bb3b81f5dc17. Setting up logs at ./log/docker/node1_2026-03-06_04-31-43__b786b730-7858-40fb-a2f9-731dbfd5f5dc__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 2707
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:2707/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"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
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:2707/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.99.178/tcp/2708/p2p/16Uiu2HAm7xTUvMmCsnnZW188eq6TuZR1xbLFwo6kUBgUpmPbmR5L","/ip4/172.18.99.178/tcp/2709/ws/p2p/16Uiu2HAm7xTUvMmCsnnZW188eq6TuZR1xbLFwo6kUBgUpmPbmR5L"],"enrUri":"enr:-L24QFIrgwUEKPvjhDd3LTtqbpAICbFi8XImS39Xfx1ZppT_JTZTetD3l5GYRhmuPLYK7AcOuzgd0IpuruDHklOPqpoCgmlkgnY0gmlwhKwSY7KKbXVsdGlhZGRyc5YACASsEmOyBgqUAAoErBJjsgYKld0DgnJzhQADAQAAiXNlY3AyNTZrMaECui8d7BO4_dyi_0CLMPbEP8PpNG8193Fn9tbUWKutNJuDdGNwggqUg3VkcIIKloV3YWt1MgM"}'
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/node1_2026-03-06_04-31-43__b786b730-7858-40fb-a2f9-731dbfd5f5dc__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.181.182
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['62146', '62147', '62148', '62149', '62150']
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 62146:62146 -p 62147:62147 -p 62148:62148 -p 62149:62149 -p 62150:62150 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=62148 --rest-port=62146 --tcp-port=62147 --discv5-udp-port=62149 --rest-address=0.0.0.0 --nat=extip:172.18.181.182 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bce5afbfca9e4acec8bd2a7cffda0c3e0ebe52daab57d2e352d6ea8685e6ba8b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=62150 --metrics-logging=true --relay=true --store=true --discv5-bootstrap-node=enr:-L24QFIrgwUEKPvjhDd3LTtqbpAICbFi8XImS39Xfx1ZppT_JTZTetD3l5GYRhmuPLYK7AcOuzgd0IpuruDHklOPqpoCgmlkgnY0gmlwhKwSY7KKbXVsdGlhZGRyc5YACASsEmOyBgqUAAoErBJjsgYKld0DgnJzhQADAQAAiXNlY3AyNTZrMaECui8d7BO4_dyi_0CLMPbEP8PpNG8193Fn9tbUWKutNJuDdGNwggqUg3VkcIIKloV3YWt1MgM --storenode=/ip4/172.18.99.178/tcp/2708/p2p/16Uiu2HAm7xTUvMmCsnnZW188eq6TuZR1xbLFwo6kUBgUpmPbmR5L
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.181.182 waku 9b0845a8eddac1780017457f10b3f008d34c0a4a9034b97f2bc95587f2adf483
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 9b0845a8edda. Setting up logs at ./log/docker/node1_2026-03-06_04-31-43__b786b730-7858-40fb-a2f9-731dbfd5f5dc__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image wakuorg/nwaku:latest. REST: 62146
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:62146/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"},{"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"},{"Rln Relay":"NOT_MOUNTED"}]}'
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:62146/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.181.182/tcp/62147/p2p/16Uiu2HAmG8mVVgFDnDtA5xKpjNjMvg8gqfeDsLcxffGSWPd9vr3Y","/ip4/172.18.181.182/tcp/62148/ws/p2p/16Uiu2HAmG8mVVgFDnDtA5xKpjNjMvg8gqfeDsLcxffGSWPd9vr3Y"],"enrUri":"enr:-L24QG-zRblky93MPlm0dhktHAZjoG7_NL1TOpJtPVO-l9rNUbEESQnVOVZIoDqFBF9jj_yAsX8ExkWN0R9FLqtaFfYCgmlkgnY0gmlwhKwStbaKbXVsdGlhZGRyc5YACASsErW2BvLDAAoErBK1tgbyxN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDM7DIxIqlBqLqOK1YG3BgHCC1IV11EhIooNRoHauGEr-DdGNwgvLDg3VkcILyxYV3YWt1MgM"}'
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:2707/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
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:62146/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
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:2707/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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:62146/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F1&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":"0x8e0c8dc998ee12d19ddbbed84346b5ea83455d1a41a16f85f836b31e0c98022d"}]}'
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 bb3b81f5dc17
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id 9b0845a8edda
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.