94 lines
17 KiB
Plaintext

2026-03-05 04:33:38.096 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-05 04:33:38.097 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-03-05_04-33-38__158d841c-f3ab-4447-84ba-971b4f2a3678
2026-03-05 04:33:38.097 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-05 04:33:38.097 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-05 04:33:38.098 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-05 04:33:38.104 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-05 04:33:38.104 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-05_04-33-38__158d841c-f3ab-4447-84ba-971b4f2a3678__wakuorg_nwaku:latest.log
2026-03-05 04:33:38.105 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 04:33:38.105 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 04:33:38.106 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 04:33:38.106 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.227.80
2026-03-05 04:33:38.106 DEBUG [src.node.docker_mananger] Generated ports ['18189', '18190', '18191', '18192', '18193']
2026-03-05 04:33:38.107 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 04:33:38.107 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 04:33:38.107 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 04:33:38.107 DEBUG [src.node.docker_mananger] docker run -i -t -p 18189:18189 -p 18190:18190 -p 18191:18191 -p 18192:18192 -p 18193:18193 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=18191 --rest-port=18189 --tcp-port=18190 --discv5-udp-port=18192 --rest-address=0.0.0.0 --nat=extip:172.18.227.80 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5dcbca899da0d69ff51baad470bbebbedf73d4d64fe8bffbdbd7ea15a1b5c1af --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=18193 --metrics-logging=true --relay=true
2026-03-05 04:33:38.296 ERROR [src.node.docker_mananger] Max retries reached for container fc223c866c7e. Exiting log stream.
2026-03-05 04:33:38.302 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.227.80 waku 68584eba5904a9d60ff94262fa69b58ad49dd4d6be1c5f620d682ed7c12b7ef7
2026-03-05 04:33:38.337 DEBUG [src.node.docker_mananger] Container started with ID 68584eba5904. Setting up logs at ./log/docker/node1_2026-03-05_04-33-38__158d841c-f3ab-4447-84ba-971b4f2a3678__wakuorg_nwaku:latest.log
2026-03-05 04:33:38.337 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 18189
2026-03-05 04:33:38.337 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 04:33:38.883 ERROR [src.node.docker_mananger] Max retries reached for container a6dc85ea81d8. Exiting log stream.
2026-03-05 04:33:39.337 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:18189/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:39.341 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 04:33:39.341 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 04:33:39.341 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:18189/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:39.343 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.227.80/tcp/18190/p2p/16Uiu2HAm4JAyRLgJZG5uCi2ZVgvPKzM9BCoZANwCXdNZxQ8uHyYg","/ip4/172.18.227.80/tcp/18191/ws/p2p/16Uiu2HAm4JAyRLgJZG5uCi2ZVgvPKzM9BCoZANwCXdNZxQ8uHyYg"],"enrUri":"enr:-L24QEmBADZwyBuN2FqYxwA9paYUzMfTurXhAMbs3P0H6fX8G_rW0jKL0ntMOb4TF5mq1CP7kghYsrnqBeLja7KVDcwCgmlkgnY0gmlwhKwS41CKbXVsdGlhZGRyc5YACASsEuNQBkcOAAoErBLjUAZHD90DgnJzhQADAQAAiXNlY3AyNTZrMaECg81Rqb84q_-oBdQsJPiGIYFtSLyo1Up1t7W5lvUhS22DdGNwgkcOg3VkcIJHEIV3YWt1MgE"}'
2026-03-05 04:33:39.344 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 04:33:39.350 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-05 04:33:39.350 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-05_04-33-38__158d841c-f3ab-4447-84ba-971b4f2a3678__wakuorg_nwaku:latest.log
2026-03-05 04:33:39.351 DEBUG [src.node.waku_node] Starting Node...
2026-03-05 04:33:39.351 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-05 04:33:39.352 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-05 04:33:39.352 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.235.133
2026-03-05 04:33:39.352 DEBUG [src.node.docker_mananger] Generated ports ['17320', '17321', '17322', '17323', '17324']
2026-03-05 04:33:39.353 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-05 04:33:39.353 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-05 04:33:39.353 DEBUG [src.node.waku_node] Using volumes []
2026-03-05 04:33:39.353 DEBUG [src.node.docker_mananger] docker run -i -t -p 17320:17320 -p 17321:17321 -p 17322:17322 -p 17323:17323 -p 17324:17324 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=17322 --rest-port=17320 --tcp-port=17321 --discv5-udp-port=17323 --rest-address=0.0.0.0 --nat=extip:172.18.235.133 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1c0ccfabe2bc08a4d17a0bbd5c0daa7fdd2bccc01cacee6bf08fff5d9dfda281 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=17324 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QEmBADZwyBuN2FqYxwA9paYUzMfTurXhAMbs3P0H6fX8G_rW0jKL0ntMOb4TF5mq1CP7kghYsrnqBeLja7KVDcwCgmlkgnY0gmlwhKwS41CKbXVsdGlhZGRyc5YACASsEuNQBkcOAAoErBLjUAZHD90DgnJzhQADAQAAiXNlY3AyNTZrMaECg81Rqb84q_-oBdQsJPiGIYFtSLyo1Up1t7W5lvUhS22DdGNwgkcOg3VkcIJHEIV3YWt1MgE
2026-03-05 04:33:39.559 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.235.133 waku a3acb5551ab520789311590e3da3ab7945bd79bf23b944c822359fbd07b16e24
2026-03-05 04:33:39.594 DEBUG [src.node.docker_mananger] Container started with ID a3acb5551ab5. Setting up logs at ./log/docker/node2_2026-03-05_04-33-38__158d841c-f3ab-4447-84ba-971b4f2a3678__wakuorg_nwaku:latest.log
2026-03-05 04:33:39.594 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 17320
2026-03-05 04:33:39.595 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-05 04:33:40.595 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17320/health" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:40.617 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 04:33:40.618 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-05 04:33:40.619 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17320/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:40.627 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.235.133/tcp/17321/p2p/16Uiu2HAm7XrTdR9j5sQy4HdwYxsyUoXLcYzF825oMjWLNBoe97Wg","/ip4/172.18.235.133/tcp/17322/ws/p2p/16Uiu2HAm7XrTdR9j5sQy4HdwYxsyUoXLcYzF825oMjWLNBoe97Wg"],"enrUri":"enr:-L24QM78EF-TOed29DjSFXFZn6u9RE1b7g36YY_dQOSwHHTVVWBF0NaWxqCcSdC0CC-1tSLi5Ns4cSOtYFpk-COq-40CgmlkgnY0gmlwhKwS64WKbXVsdGlhZGRyc5YACASsEuuFBkOpAAoErBLrhQZDqt0DgnJzhQADAQAAiXNlY3AyNTZrMaECs-GT4OMsXt2_jkJ15QI6PpOo2dnIAiyfywdPOolTNOGDdGNwgkOpg3VkcIJDq4V3YWt1MgE"}'
2026-03-05 04:33:40.627 INFO [src.node.waku_node] REST service is ready !!
2026-03-05 04:33:40.628 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17320/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.227.80/tcp/18190/p2p/16Uiu2HAm4JAyRLgJZG5uCi2ZVgvPKzM9BCoZANwCXdNZxQ8uHyYg"]'
2026-03-05 04:33:40.630 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:33:40.631 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-05 04:33:40.631 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-05 04:33:40.635 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:33:40.636 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:17320/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-05 04:33:40.641 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:33:40.643 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.649 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-05 04:33:40.650 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-05 04:33:40.750 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-05 04:33:40.750 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:40.753 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":1772685220643270144,"ephemeral":false,"proof":""}]'
2026-03-05 04:33:40.755 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-05 04:33:40.755 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:17320/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-05 04:33:40.757 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":1772685220643270144,"ephemeral":false,"proof":""}]'
2026-03-05 04:33:40.779 INFO [src.steps.relay] WARM UP successful!!
2026-03-05 04:33:40.780 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-03-05 04:33:40.780 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.783 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-05 04:33:40.783 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-03-05 04:33:40.784 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.786 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-03-05 04:33:40.786 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-03-05 04:33:40.787 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.789 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-05 04:33:40.789 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-03-05 04:33:40.789 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.792 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-05 04:33:40.792 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-03-05 04:33:40.792 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.794 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-05 04:33:40.795 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-03-05 04:33:40.795 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:18189/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-05 04:33:40.797 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:18189/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-05 04:33:40.799 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-05 04:33:40.800 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-05 04:33:40.800 DEBUG [src.node.waku_node] Stopping container with id 68584eba5904
2026-03-05 04:33:41.369 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 04:33:41.370 DEBUG [src.node.waku_node] Stopping container with id a3acb5551ab5
2026-03-05 04:33:41.965 DEBUG [src.node.waku_node] Container stopped.
2026-03-05 04:33:41.966 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-05 04:33:41.973 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-05 04:33:41.978 DEBUG [src.node.docker_mananger] No errors found in the waku logs.