94 lines
17 KiB
Plaintext

2026-03-17 04:35:36.362 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-17 04:35:36.363 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-03-17_04-35-36__d7e05f98-fab0-445f-a9ab-f4ac47ce49f9
2026-03-17 04:35:36.364 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-17 04:35:36.365 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-17 04:35:36.365 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-17 04:35:36.377 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-17 04:35:36.377 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-17_04-35-36__d7e05f98-fab0-445f-a9ab-f4ac47ce49f9__wakuorg_nwaku:latest.log
2026-03-17 04:35:36.377 DEBUG [src.node.waku_node] Starting Node...
2026-03-17 04:35:36.378 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-17 04:35:36.380 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-17 04:35:36.381 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.9.145
2026-03-17 04:35:36.381 DEBUG [src.node.docker_mananger] Generated ports ['56696', '56697', '56698', '56699', '56700']
2026-03-17 04:35:36.381 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-17 04:35:36.381 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-17 04:35:36.381 DEBUG [src.node.waku_node] Using volumes []
2026-03-17 04:35:36.382 DEBUG [src.node.docker_mananger] docker run -i -t -p 56696:56696 -p 56697:56697 -p 56698:56698 -p 56699:56699 -p 56700:56700 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=56698 --rest-port=56696 --tcp-port=56697 --discv5-udp-port=56699 --rest-address=0.0.0.0 --nat=extip:172.18.9.145 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=f1c4dfd62f4a3968fcabb68af1fdb2f5db7b2bceb759dcfd4bbeab85def02e23 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=56700 --metrics-logging=true --relay=true
2026-03-17 04:35:36.574 ERROR [src.node.docker_mananger] Max retries reached for container f176964e0a9e. Exiting log stream.
2026-03-17 04:35:36.585 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.9.145 waku 809a93735194aa9d3d6c76246a585493fb3ea0d8da1ad2bed9fdd74b361ea7ea
2026-03-17 04:35:36.628 DEBUG [src.node.docker_mananger] Container started with ID 809a93735194. Setting up logs at ./log/docker/node1_2026-03-17_04-35-36__d7e05f98-fab0-445f-a9ab-f4ac47ce49f9__wakuorg_nwaku:latest.log
2026-03-17 04:35:36.629 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 56696
2026-03-17 04:35:36.629 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-17 04:35:37.217 ERROR [src.node.docker_mananger] Max retries reached for container 9bc52fc82640. Exiting log stream.
2026-03-17 04:35:37.630 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56696/health" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:37.633 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-17 04:35:37.633 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-17 04:35:37.633 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56696/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:37.636 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.9.145/tcp/56697/p2p/16Uiu2HAm61kQ344aKANhLJQfHhEG3gV9du2ihZ9bjp9EpHjED45a","/ip4/172.18.9.145/tcp/56698/ws/p2p/16Uiu2HAm61kQ344aKANhLJQfHhEG3gV9du2ihZ9bjp9EpHjED45a"],"enrUri":"enr:-L24QCxC_fX3378qwjfl4DnesoZO5IFlaCuvuTFA4AIWYuQ9Fc_C8oD8sqA9iVE7iXqHonhXVG5zuAVznRfBqXQEtmgCgmlkgnY0gmlwhKwSCZGKbXVsdGlhZGRyc5YACASsEgmRBt15AAoErBIJkQbdet0DgnJzhQADAQAAiXNlY3AyNTZrMaECnU-cuNGIrrz1SisHdNsjL7zt3aa_blrJy1kBo4Py8uWDdGNwgt15g3VkcILde4V3YWt1MgE"}'
2026-03-17 04:35:37.636 INFO [src.node.waku_node] REST service is ready !!
2026-03-17 04:35:37.643 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-17 04:35:37.643 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-17_04-35-36__d7e05f98-fab0-445f-a9ab-f4ac47ce49f9__wakuorg_nwaku:latest.log
2026-03-17 04:35:37.643 DEBUG [src.node.waku_node] Starting Node...
2026-03-17 04:35:37.643 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-17 04:35:37.644 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-17 04:35:37.645 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.177.147
2026-03-17 04:35:37.645 DEBUG [src.node.docker_mananger] Generated ports ['31677', '31678', '31679', '31680', '31681']
2026-03-17 04:35:37.645 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-17 04:35:37.645 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-17 04:35:37.645 DEBUG [src.node.waku_node] Using volumes []
2026-03-17 04:35:37.645 DEBUG [src.node.docker_mananger] docker run -i -t -p 31677:31677 -p 31678:31678 -p 31679:31679 -p 31680:31680 -p 31681:31681 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=31679 --rest-port=31677 --tcp-port=31678 --discv5-udp-port=31680 --rest-address=0.0.0.0 --nat=extip:172.18.177.147 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8a9ddbf94b33f1d549d5d428aab4c4dfa761f8de31df58aa71ee81ecf892e51c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=31681 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCxC_fX3378qwjfl4DnesoZO5IFlaCuvuTFA4AIWYuQ9Fc_C8oD8sqA9iVE7iXqHonhXVG5zuAVznRfBqXQEtmgCgmlkgnY0gmlwhKwSCZGKbXVsdGlhZGRyc5YACASsEgmRBt15AAoErBIJkQbdet0DgnJzhQADAQAAiXNlY3AyNTZrMaECnU-cuNGIrrz1SisHdNsjL7zt3aa_blrJy1kBo4Py8uWDdGNwgt15g3VkcILde4V3YWt1MgE
2026-03-17 04:35:37.852 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.177.147 waku e24dc9736780ba1d2ed382b6493024c3fa68183020b38c939f6a0599e351c98a
2026-03-17 04:35:37.886 DEBUG [src.node.docker_mananger] Container started with ID e24dc9736780. Setting up logs at ./log/docker/node2_2026-03-17_04-35-36__d7e05f98-fab0-445f-a9ab-f4ac47ce49f9__wakuorg_nwaku:latest.log
2026-03-17 04:35:37.887 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 31677
2026-03-17 04:35:37.888 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-17 04:35:38.889 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31677/health" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:38.913 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-17 04:35:38.914 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-17 04:35:38.914 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31677/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:38.921 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.177.147/tcp/31678/p2p/16Uiu2HAm3jgfKjwyFyPajX6JwqQa1ZrE8ZTMrqpb2iBW3GhTJRHE","/ip4/172.18.177.147/tcp/31679/ws/p2p/16Uiu2HAm3jgfKjwyFyPajX6JwqQa1ZrE8ZTMrqpb2iBW3GhTJRHE"],"enrUri":"enr:-L24QMZ-7UE35s-R1WMVqYtdS47FT1uPsVrtkIcp8grALIqtTmL5ZdHnFUuS2dzHooAo962uJ6cdMQXyh5f0KGob2ksCgmlkgnY0gmlwhKwSsZOKbXVsdGlhZGRyc5YACASsErGTBnu-AAoErBKxkwZ7v90DgnJzhQADAQAAiXNlY3AyNTZrMaECe3q4ejxw_KGMZGJeuuG1H0D1dhL02CqXvoe1NE_30BWDdGNwgnu-g3VkcIJ7wIV3YWt1MgE"}'
2026-03-17 04:35:38.922 INFO [src.node.waku_node] REST service is ready !!
2026-03-17 04:35:38.923 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31677/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.9.145/tcp/56697/p2p/16Uiu2HAm61kQ344aKANhLJQfHhEG3gV9du2ihZ9bjp9EpHjED45a"]'
2026-03-17 04:35:38.927 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-17 04:35:38.927 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-17 04:35:38.927 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-17 04:35:38.931 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-17 04:35:38.931 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:31677/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-17 04:35:38.938 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-17 04:35:38.939 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/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)'}'
2026-03-17 04:35:38.944 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-17 04:35:38.945 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-17 04:35:39.045 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-17 04:35:39.045 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:39.048 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1773722138938874112,"ephemeral":false,"proof":""}]'
2026-03-17 04:35:39.049 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-17 04:35:39.049 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:31677/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-17 04:35:39.052 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"payload":"UmVsYXkgd29ya3MhIQ==","contentTopic":"/test/1/waku-relay/proto","version":0,"timestamp":1773722138938874112,"ephemeral":false,"proof":""}]'
2026-03-17 04:35:39.053 INFO [src.steps.relay] WARM UP successful!!
2026-03-17 04:35:39.054 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-03-17 04:35:39.055 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.057 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-17 04:35:39.057 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-03-17 04:35:39.058 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "Hello World!", "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.060 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-03-17 04:35:39.060 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-03-17 04:35:39.060 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": {"key": "YWFh"}, "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.063 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-17 04:35:39.063 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-03-17 04:35:39.063 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": 1234567890, "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.066 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-17 04:35:39.066 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-03-17 04:35:39.066 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": ["YWFh"], "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.068 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-17 04:35:39.069 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-03-17 04:35:39.069 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": true, "contentTopic": "/test/1/waku-relay/proto", "timestamp": '$(date +%s%N)'}'
2026-03-17 04:35:39.071 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:56696/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-17 04:35:39.073 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-17 04:35:39.074 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-17 04:35:39.074 DEBUG [src.node.waku_node] Stopping container with id 809a93735194
2026-03-17 04:35:39.661 DEBUG [src.node.waku_node] Container stopped.
2026-03-17 04:35:39.663 DEBUG [src.node.waku_node] Stopping container with id e24dc9736780
2026-03-17 04:35:40.214 DEBUG [src.node.waku_node] Container stopped.
2026-03-17 04:35:40.216 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-17 04:35:40.227 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-17 04:35:40.233 DEBUG [src.node.docker_mananger] No errors found in the waku logs.