2026-03-05 15:25:13 +00:00

95 lines
16 KiB
Plaintext

2026-03-05 15:07:36.969 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-05 15:07:36.970 DEBUG [tests.conftest] Running test: test_on_empty_postgress_db with id: 2026-03-05_15-07-36__8dcfacdb-664d-45c1-b198-754954f05015
2026-03-05 15:07:36.970 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-05 15:07:36.970 DEBUG [src.steps.store] Running fixture setup: store_setup
2026-03-05 15:07:37.212 ERROR [src.node.docker_mananger] Max retries reached for container 2b205f1526dc. Exiting log stream.
2026-03-05 15:07:37.765 ERROR [src.node.docker_mananger] Max retries reached for container 30f557ab60ab. Exiting log stream.
2026-03-05 15:07:41.289 DEBUG [src.postgres_setup] Postgres container started
2026-03-05 15:07:41.296 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
2026-03-05 15:07:41.296 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-03-05_15-07-36__8dcfacdb-664d-45c1-b198-754954f05015__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:07:41.297 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 15:07:41.297 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 15:07:41.298 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 15:07:41.299 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.235.159
2026-03-05 15:07:41.299 DEBUG [src.node.docker_mananger] Generated ports ['51864', '51865', '51866', '51867', '51868']
2026-03-05 15:07:41.299 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 15:07:41.299 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 15:07:41.299 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 15:07:41.299 DEBUG [src.node.docker_mananger] docker run -i -t -p 51864:51864 -p 51865:51865 -p 51866:51866 -p 51867:51867 -p 51868:51868 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=51866 --rest-port=51864 --tcp-port=51865 --discv5-udp-port=51867 --rest-address=0.0.0.0 --nat=extip:172.18.235.159 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6f934e22acff8b364ae419ecaea6034e5ffdbab5f4f4ecaeca97eb3aeccae069 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=51868 --metrics-logging=true --store=true --relay=true --store-message-db-url=postgres://postgres:test123@postgres:5432/postgres
2026-03-05 15:07:41.507 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.235.159 waku 3efb0b7fc2438da375fa264f2c114be944d72a95321891211f4c1d92385b7a08
2026-03-05 15:07:41.543 DEBUG [src.node.docker_mananger] Container started with ID 3efb0b7fc243. Setting up logs at ./log/docker/publishing_node1_2026-03-05_15-07-36__8dcfacdb-664d-45c1-b198-754954f05015__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:07:41.544 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 51864
2026-03-05 15:07:41.544 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 15:07:42.546 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:42.648 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:42.749 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:42.851 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:42.952 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.053 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.155 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.256 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.357 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.459 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.560 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.662 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.763 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.864 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:43.966 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:44.067 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:44.169 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:44.270 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:44.273 INFO [src.node.api_clients.base_client] 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"}]}'
2026-03-05 15:07:44.273 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 15:07:44.273 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:44.275 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.235.159/tcp/51865/p2p/16Uiu2HAm1i2Mq6WTEAcz1nJmt6WUuDzFWi4XEJMB1xf3q69S1jsi","/ip4/172.18.235.159/tcp/51866/ws/p2p/16Uiu2HAm1i2Mq6WTEAcz1nJmt6WUuDzFWi4XEJMB1xf3q69S1jsi"],"enrUri":"enr:-L24QDHMytRKkJpTC13T2syVKOTB2NFS7x6V_-EIFCWqY5cwKDtJ6RZWIqn-C75Y7Gv4MDPLCAcelS5uLTpNfsU4_WACgmlkgnY0gmlwhKwS65-KbXVsdGlhZGRyc5YACASsEuufBsqZAAoErBLrnwbKmt0DgnJzhQADAQAAiXNlY3AyNTZrMaECXVZ1SvTSx8Wkk0uPobFuwG16mc939uJeld54jOh8-DWDdGNwgsqZg3VkcILKm4V3YWt1MgM"}'
2026-03-05 15:07:44.276 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 15:07:44.283 DEBUG [src.node.docker_mananger] Docker client initialized with image harbor.status.im/wakuorg/nwaku:v0.38.0-beta
2026-03-05 15:07:44.283 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/store_node1_2026-03-05_15-07-36__8dcfacdb-664d-45c1-b198-754954f05015__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:07:44.283 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 15:07:44.283 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 15:07:44.285 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 15:07:44.285 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.28.23
2026-03-05 15:07:44.285 DEBUG [src.node.docker_mananger] Generated ports ['27001', '27002', '27003', '27004', '27005']
2026-03-05 15:07:44.285 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 15:07:44.285 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 15:07:44.285 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 15:07:44.286 DEBUG [src.node.docker_mananger] docker run -i -t -p 27001:27001 -p 27002:27002 -p 27003:27003 -p 27004:27004 -p 27005:27005 harbor.status.im/wakuorg/nwaku:v0.38.0-beta --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=27003 --rest-port=27001 --tcp-port=27002 --discv5-udp-port=27004 --rest-address=0.0.0.0 --nat=extip:172.18.28.23 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c1aebd0ddfddc6daa321eac37bcd66cfeec1c9a33fe9257c5f4dbae8fc48d3a4 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=27005 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QDHMytRKkJpTC13T2syVKOTB2NFS7x6V_-EIFCWqY5cwKDtJ6RZWIqn-C75Y7Gv4MDPLCAcelS5uLTpNfsU4_WACgmlkgnY0gmlwhKwS65-KbXVsdGlhZGRyc5YACASsEuufBsqZAAoErBLrnwbKmt0DgnJzhQADAQAAiXNlY3AyNTZrMaECXVZ1SvTSx8Wkk0uPobFuwG16mc939uJeld54jOh8-DWDdGNwgsqZg3VkcILKm4V3YWt1MgM --storenode=/ip4/172.18.235.159/tcp/51865/p2p/16Uiu2HAm1i2Mq6WTEAcz1nJmt6WUuDzFWi4XEJMB1xf3q69S1jsi --store=false --relay=true
2026-03-05 15:07:44.480 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.28.23 waku 2a9b9fc7466670d5fad74d3eb9f4236bc58e9e12fba3178dab4fed59159cbd9f
2026-03-05 15:07:44.515 DEBUG [src.node.docker_mananger] Container started with ID 2a9b9fc74666. Setting up logs at ./log/docker/store_node1_2026-03-05_15-07-36__8dcfacdb-664d-45c1-b198-754954f05015__harbor.status.im_wakuorg_nwaku:v0.38.0-beta.log
2026-03-05 15:07:44.516 DEBUG [src.node.waku_node] Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-beta. REST: 27001
2026-03-05 15:07:44.516 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 15:07:45.517 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27001/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:45.520 INFO [src.node.api_clients.base_client] 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":"NOT_MOUNTED"},{"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":"NOT_READY","desc":"No Store service peer available yet, neither Store service set up for the node"},{"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"}]}'
2026-03-05 15:07:45.520 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 15:07:45.520 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27001/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:45.523 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.28.23/tcp/27002/p2p/16Uiu2HAkwKu6PTneiag2iiMNwNm7dGSoWDpSvf7ZyQczbmMUCL5b","/ip4/172.18.28.23/tcp/27003/ws/p2p/16Uiu2HAkwKu6PTneiag2iiMNwNm7dGSoWDpSvf7ZyQczbmMUCL5b"],"enrUri":"enr:-L24QMSa6h-7vnHVizkTJIQeQmCWYKXAEUrpROb12VgIz2dpFaNbssjFHkZV7RHe5qH7DZMxn6m0f1HFw1mcYGAVXxYCgmlkgnY0gmlwhKwSHBeKbXVsdGlhZGRyc5YACASsEhwXBml6AAoErBIcFwZpe90DgnJzhQADAQAAiXNlY3AyNTZrMaECHDy3egRZU1z5IkAxg1PRigkd8PcHLr7JdtTmMgpBJp6DdGNwgml6g3VkcIJpfIV3YWt1MgE"}'
2026-03-05 15:07:45.523 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 15:07:45.523 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27001/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.235.159/tcp/51865/p2p/16Uiu2HAm1i2Mq6WTEAcz1nJmt6WUuDzFWi4XEJMB1xf3q69S1jsi"]'
2026-03-05 15:07:45.564 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:07:45.564 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:51864/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-03-05 15:07:45.570 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:07:45.571 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27001/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/0"]'
2026-03-05 15:07:45.575 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:07:45.577 DEBUG [src.steps.store] Relaying message
2026-03-05 15:07:45.577 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:51864/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)'}'
2026-03-05 15:07:45.585 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 15:07:45.585 DEBUG [src.libs.common] Sleeping for 0.2 seconds
2026-03-05 15:07:45.786 DEBUG [src.steps.store] Checking that peer harbor.status.im/wakuorg/nwaku:v0.38.0-beta can find the stored messages
2026-03-05 15:07:45.786 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:51864/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:45.792 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xce98764c1d924e9a46188849a52d4a7df94f2e5b00be65c5172fe5390d6efe50"}]}'
2026-03-05 15:07:45.793 DEBUG [src.steps.store] messages length is 1
2026-03-05 15:07:45.793 DEBUG [src.steps.store] Checking that peer harbor.status.im/wakuorg/nwaku:v0.38.0-beta can find the stored messages
2026-03-05 15:07:45.793 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27001/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F3%2F0&pageSize=5&ascending=true" -H "Content-Type: application/json" -d 'None'
2026-03-05 15:07:45.802 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"requestId":"bc4342b826d35b345fbf","statusCode":200,"statusDesc":"OK","messages":[{"messageHash":"0xce98764c1d924e9a46188849a52d4a7df94f2e5b00be65c5172fe5390d6efe50"}]}'
2026-03-05 15:07:45.803 DEBUG [src.steps.store] messages length is 1
2026-03-05 15:07:45.939 DEBUG [src.postgres_setup] Postgres container stopped and removed.
2026-03-05 15:07:45.941 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-05 15:07:45.943 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-05 15:07:45.943 DEBUG [src.node.waku_node] Stopping container with id 3efb0b7fc243
2026-03-05 15:07:46.474 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 15:07:46.475 DEBUG [src.node.waku_node] Stopping container with id 2a9b9fc74666
2026-03-05 15:07:47.004 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 15:07:47.007 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-05 15:07:47.014 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-05 15:07:47.019 DEBUG [src.node.docker_mananger] No errors found in the waku logs.