95 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_publish_with_ephemeral with id: 2026-04-23_21-59-42__5aa3423d-1568-4ba6-868b-6ed20f536c9e
DEBUG  src.steps.common:common.py:19 Running fixture setup: common_setup
DEBUG  src.steps.relay:relay.py:28 Running fixture setup: relay_setup
DEBUG  src.steps.relay:relay.py:34 Running fixture setup: setup_main_relay_nodes
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-04-23_21-59-42__5aa3423d-1568-4ba6-868b-6ed20f536c9e__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.119.134
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['57101', '57102', '57103', '57104', '57105']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 57101:57101 -p 57102:57102 -p 57103:57103 -p 57104:57104 -p 57105:57105 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=57103 --rest-port=57101 --tcp-port=57102 --discv5-udp-port=57104 --rest-address=0.0.0.0 --nat=extip:172.18.119.134 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=6acd37b60bf118fae60aafe2e1e10fd1c951f1f556eeeea16ad0bc4350cfc38b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=57105 --metrics-logging=true --relay=true
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.119.134 waku 90a43f85b21230286222e394c29f05e98b268372032bc3864b3b4311723ae3fe
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 90a43f85b212. Setting up logs at ./log/docker/node1_2026-04-23_21-59-42__5aa3423d-1568-4ba6-868b-6ed20f536c9e__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 57101
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 a15493425fa8. Exiting log stream.
ERROR  src.node.docker_mananger:docker_mananger.py:89 Max retries reached for container c4caf5db7a74. Exiting log stream.
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:57101/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":"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:57101/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.119.134/tcp/57102/p2p/16Uiu2HAkvRtjJAkzXx2GLLx1oN8w4dZhf6LPHGu6fS71uN2z2pLm","/ip4/172.18.119.134/tcp/57103/ws/p2p/16Uiu2HAkvRtjJAkzXx2GLLx1oN8w4dZhf6LPHGu6fS71uN2z2pLm"],"enrUri":"enr:-L24QGjBiXqehX3OnVbUd9_afQhdp8od2kTuXynhGHqvWr-0OZ_yfSzJ6iUxTHuEBuPKeKyyA32TCWsNkEKIYSxU7rYCgmlkgnY0gmlwhKwSd4aKbXVsdGlhZGRyc5YACASsEneGBt8OAAoErBJ3hgbfD90DgnJzhQDGAQAAiXNlY3AyNTZrMaECDuoafHeVv-BeoMbCaOVBp8_uu7pf04Cn1n80XlJiS66DdGNwgt8Og3VkcILfEIV3YWt1MgE"}'
INFO  src.node.waku_node:waku_node.py:299 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/node2_2026-04-23_21-59-42__5aa3423d-1568-4ba6-868b-6ed20f536c9e__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.104.198
DEBUG  src.node.docker_mananger:docker_mananger.py:101 Generated ports ['25753', '25754', '25755', '25756', '25757']
DEBUG  src.node.waku_node:waku_node.py:455 RLN credentials were not set
INFO  src.node.waku_node:waku_node.py:180 RLN credentials not set or credential store not available, starting without RLN
DEBUG  src.node.waku_node:waku_node.py:186 Using volumes []
DEBUG  src.node.docker_mananger:docker_mananger.py:49 docker run -i -t -p 25753:25753 -p 25754:25754 -p 25755:25755 -p 25756:25756 -p 25757:25757 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=25755 --rest-port=25753 --tcp-port=25754 --discv5-udp-port=25756 --rest-address=0.0.0.0 --nat=extip:172.18.104.198 --peer-exchange=true --discv5-discovery=true --cluster-id=198 --nodekey=05c4dac134b6432fa2adebe6eebe94d3c1ff5bab84b9ce20b53575d1d2a99b3a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25757 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QGjBiXqehX3OnVbUd9_afQhdp8od2kTuXynhGHqvWr-0OZ_yfSzJ6iUxTHuEBuPKeKyyA32TCWsNkEKIYSxU7rYCgmlkgnY0gmlwhKwSd4aKbXVsdGlhZGRyc5YACASsEneGBt8OAAoErBJ3hgbfD90DgnJzhQDGAQAAiXNlY3AyNTZrMaECDuoafHeVv-BeoMbCaOVBp8_uu7pf04Cn1n80XlJiS66DdGNwgt8Og3VkcILfEIV3YWt1MgE
DEBUG  src.node.docker_mananger:docker_mananger.py:55 docker network connect --ip 172.18.104.198 waku 691b0ceb0d3669f6d4aba2ad9b02c230de34773b8b144d0ac5ca9dd5e69e211d
DEBUG  src.node.docker_mananger:docker_mananger.py:58 Container started with ID 691b0ceb0d36. Setting up logs at ./log/docker/node2_2026-04-23_21-59-42__5aa3423d-1568-4ba6-868b-6ed20f536c9e__wakuorg_nwaku:latest.log
DEBUG  src.node.waku_node:waku_node.py:197 Started container from image wakuorg/nwaku:latest. REST: 25753
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:25753/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":"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"},{"Filter Client":"NOT_READY","desc":"No Filter service peer available yet"},{"Rln Relay":"NOT_MOUNTED"}]}'
INFO  src.node.waku_node:waku_node.py:294 Node protocols are initialized !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:25753/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.104.198/tcp/25754/p2p/16Uiu2HAmAWjxU6fbwGY9PJkz5yJyAE9h83kxsWSAHtQwLZAPsqys","/ip4/172.18.104.198/tcp/25755/ws/p2p/16Uiu2HAmAWjxU6fbwGY9PJkz5yJyAE9h83kxsWSAHtQwLZAPsqys"],"enrUri":"enr:-L24QDbd2YeNnJt06jSQEShyPZFASzYVa-MHPxPb6JWiFl8rFJc1TZJYHN9CAL2WQmGDp3Qt4R1W8bi5p9vZmnpRAQUCgmlkgnY0gmlwhKwSaMaKbXVsdGlhZGRyc5YACASsEmjGBmSaAAoErBJoxgZkm90DgnJzhQDGAQAAiXNlY3AyNTZrMaEC4Cu0dUjSOBSPCuIketILHkvngHPopsBSfBQUa_CBGPKDdGNwgmSag3VkcIJknIV3YWt1MgE"}'
INFO  src.node.waku_node:waku_node.py:299 REST service is ready !!
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:25753/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.119.134/tcp/57102/p2p/16Uiu2HAkvRtjJAkzXx2GLLx1oN8w4dZhf6LPHGu6fS71uN2z2pLm"]'
INFO  src.node.api_clients.base_client:base_client.py:22 Response status code: 200. Response content: b'OK'
DEBUG  src.steps.relay:relay.py:59 Running fixture setup: subscribe_main_relay_nodes
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:57101/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:25753/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/198/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:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%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.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585349263872,"ephemeral":false,"proof":""}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:25753/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585349263872,"ephemeral":false,"proof":""}]'
INFO  src.steps.relay:relay.py:71 WARM UP successful!!
DEBUG  tests.relay.test_publish:test_publish.py:174 Running test with Ephemeral True
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585468230699,"ephemeral":true,"proof":""}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:25753/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585468230699,"ephemeral":true,"proof":""}]'
DEBUG  tests.relay.test_publish:test_publish.py:174 Running test with Ephemeral False
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X POST "http://127.0.0.1:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "/test/1/waku-relay/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.1 seconds
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:57101/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585582823012,"ephemeral":false,"proof":""}]'
DEBUG  src.steps.relay:relay.py:123 Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
INFO  src.node.api_clients.base_client:base_client.py:37 curl -v -X GET "http://127.0.0.1:25753/relay/v1/messages/%2Fwaku%2F2%2Frs%2F198%2F1" -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'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1776981585582823012,"ephemeral":false,"proof":""}]'
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:241 Stopping container with id 90a43f85b212
DEBUG  src.node.waku_node:waku_node.py:248 Container stopped.
DEBUG  src.node.waku_node:waku_node.py:241 Stopping container with id 691b0ceb0d36
DEBUG  src.node.waku_node:waku_node.py:248 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.