2026-03-18 09:27:31 +00:00

96 lines
17 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_message_with_both_ephemeral_true_and_false with id: 2026-03-18_09-08-14__ca4218b3-f28a-4c8d-b021-5a7efd2939a3
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 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/publishing_node1_2026-03-18_09-08-14__ca4218b3-f28a-4c8d-b021-5a7efd2939a3__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.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.60.118
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['54198', '54199', '54200', '54201', '54202']
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 54198:54198 -p 54199:54199 -p 54200:54200 -p 54201:54201 -p 54202:54202 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=54200 --rest-port=54198 --tcp-port=54199 --discv5-udp-port=54201 --rest-address=0.0.0.0 --nat=extip:172.18.60.118 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=e8e3c5eb1e12fffc1e7a3ab6f09fd3cce23ce143bcfc67c3db3fbe5cb3fd2c2a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=54202 --metrics-logging=true --store=true --relay=true
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container a9dcbe886fc1. Exiting log stream.
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.60.118 waku 7101851d05d834f2d9d0650db28614fc5bf3abb45dd0231723e127211a546ef4
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 7101851d05d8. Setting up logs at ./log/docker/publishing_node1_2026-03-18_09-08-14__ca4218b3-f28a-4c8d-b021-5a7efd2939a3__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0. REST: 54198
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 83dbcfa05a96. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:54198/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:54198/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.60.118/tcp/54199/p2p/16Uiu2HAmEfpav5RnEDp9Pgr687AUjRnZnYGySkExSdgWgoAo154x","/ip4/172.18.60.118/tcp/54200/ws/p2p/16Uiu2HAmEfpav5RnEDp9Pgr687AUjRnZnYGySkExSdgWgoAo154x"],"enrUri":"enr:-L24QJoRPH2b46o3PH0RNA88jjS1SoIx5WKgG3nyk3ziRLvqcN2Octzm5_hJ7e6uvyU7i45DfHCPUVW8MkT4x8FeHX8CgmlkgnY0gmlwhKwSPHaKbXVsdGlhZGRyc5YACASsEjx2BtO3AAoErBI8dgbTuN0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDHe3py6x9mhkZb1fOmWNSYZfHPp_TFWdkuKUOiBlspPWDdGNwgtO3g3VkcILTuYV3YWt1MgM"}'
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 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0
DEBUG  src.node.waku_node:waku_node.py:86 WakuNode instance initialized with log path ./log/docker/store_node1_2026-03-18_09-08-14__ca4218b3-f28a-4c8d-b021-5a7efd2939a3__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.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.218.92
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['28807', '28808', '28809', '28810', '28811']
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 28807:28807 -p 28808:28808 -p 28809:28809 -p 28810:28810 -p 28811:28811 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 --listen-address=0.0.0.0 --rest=true --rest-admin=true --websocket-support=true --log-level=TRACE --rest-relay-cache-capacity=100 --websocket-port=28809 --rest-port=28807 --tcp-port=28808 --discv5-udp-port=28810 --rest-address=0.0.0.0 --nat=extip:172.18.218.92 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=ce6287acbf8ef34aeba510b9585bafcfd3edb8a8554dcd3d7017b4c369726eb5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28811 --metrics-logging=true --discv5-bootstrap-node=enr:-L24QJoRPH2b46o3PH0RNA88jjS1SoIx5WKgG3nyk3ziRLvqcN2Octzm5_hJ7e6uvyU7i45DfHCPUVW8MkT4x8FeHX8CgmlkgnY0gmlwhKwSPHaKbXVsdGlhZGRyc5YACASsEjx2BtO3AAoErBI8dgbTuN0DgnJzhQDGAQAAiXNlY3AyNTZrMaEDHe3py6x9mhkZb1fOmWNSYZfHPp_TFWdkuKUOiBlspPWDdGNwgtO3g3VkcILTuYV3YWt1MgM --storenode=/ip4/172.18.60.118/tcp/54199/p2p/16Uiu2HAmEfpav5RnEDp9Pgr687AUjRnZnYGySkExSdgWgoAo154x --store=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.218.92 waku fd81c7f3360582e8312af07c88b83326080ee2eda0cbab69edc53220247906f5
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID fd81c7f33605. Setting up logs at ./log/docker/store_node1_2026-03-18_09-08-14__ca4218b3-f28a-4c8d-b021-5a7efd2939a3__harbor.status.im_wakuorg_nwaku:v0.38.0-rc.0.log
DEBUG  src.node.waku_node:waku_node.py:190 Started container from image harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0. REST: 28807
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:28807/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:28807/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.218.92/tcp/28808/p2p/16Uiu2HAkumvXAYj1SqtgUwkAmbRkcr8z6ESB93iMwtaXX4kV15XE","/ip4/172.18.218.92/tcp/28809/ws/p2p/16Uiu2HAkumvXAYj1SqtgUwkAmbRkcr8z6ESB93iMwtaXX4kV15XE"],"enrUri":"enr:-L24QDaqC-WNmMxtFdv-ld0OP1eR7JrywiMdXtNbEsHZHOXce5sx_aB9rdKxLM_zMxHljLsmzSOb14Y_Ba-AftMjoekCgmlkgnY0gmlwhKwS2lyKbXVsdGlhZGRyc5YACASsEtpcBnCIAAoErBLaXAZwid0DgnJzhQDGAQAAiXNlY3AyNTZrMaECBTAOwG392aRfmfMd94MFWC3d-AMnp70wld7AwULOrMmDdGNwgnCIg3VkcIJwioV3YWt1MgM"}'
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:28807/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.60.118/tcp/54199/p2p/16Uiu2HAmEfpav5RnEDp9Pgr687AUjRnZnYGySkExSdgWgoAo154x"]'
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:54198/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:28807/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  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:54198/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)', "ephemeral": true}'
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:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:54198/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)', "ephemeral": false}'
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 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 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:54198/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x8011352e10e85e84b5894fa48600e67ca313051a9678cf3d6ed371e8941cd55c"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
DEBUG  src.steps.store:store.py:211 Checking that peer harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 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:28807/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x8011352e10e85e84b5894fa48600e67ca313051a9678cf3d6ed371e8941cd55c"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 1
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:54198/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)', "ephemeral": false}'
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:132 Relaying message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:54198/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)', "ephemeral": true}'
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 harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 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:54198/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x8011352e10e85e84b5894fa48600e67ca313051a9678cf3d6ed371e8941cd55c"},{"messageHash":"0x1e436b76877f37dbf66ec063c558ecbd88dc12c04ace404d0cf7ba4f09bda635"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
DEBUG  src.steps.store:store.py:211 Checking that peer harbor.status.im/wakuorg/nwaku:v0.38.0-rc.0 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:28807/store/v3/messages?pubsubTopic=%2Fwaku%2F2%2Frs%2F198%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":"0x8011352e10e85e84b5894fa48600e67ca313051a9678cf3d6ed371e8941cd55c"},{"messageHash":"0x1e436b76877f37dbf66ec063c558ecbd88dc12c04ace404d0cf7ba4f09bda635"}]}'
DEBUG  src.steps.store:store.py:228 messages length is 2
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 7101851d05d8
DEBUG  src.node.waku_node:waku_node.py:241 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:234 Stopping container with id fd81c7f33605
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.