92 lines
17 KiB
Plaintext

2026-01-02 04:26:00.792 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-02 04:26:00.792 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-01-02_04-26-00__5282f746-b5df-46fe-9e44-3f55df2f24db
2026-01-02 04:26:00.792 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-02 04:26:00.792 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-01-02 04:26:00.793 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-01-02 04:26:00.799 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-02 04:26:00.799 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-01-02_04-26-00__5282f746-b5df-46fe-9e44-3f55df2f24db__wakuorg_nwaku:latest.log
2026-01-02 04:26:00.799 DEBUG [src.node.waku_node] Starting Node...
2026-01-02 04:26:00.799 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-02 04:26:00.800 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-02 04:26:00.800 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.231.51
2026-01-02 04:26:00.801 DEBUG [src.node.docker_mananger] Generated ports ['63426', '63427', '63428', '63429', '63430']
2026-01-02 04:26:00.801 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-02 04:26:00.801 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-02 04:26:00.801 DEBUG [src.node.waku_node] Using volumes []
2026-01-02 04:26:00.801 DEBUG [src.node.docker_mananger] docker run -i -t -p 63426:63426 -p 63427:63427 -p 63428:63428 -p 63429:63429 -p 63430:63430 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=63428 --rest-port=63426 --tcp-port=63427 --discv5-udp-port=63429 --rest-address=0.0.0.0 --nat=extip:172.18.231.51 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8db8e398cdce92ef95db84b28dbea0c8df2c1eebd330b0b6e7a5d8eadb89c9bb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63430 --metrics-logging=true --relay=true
2026-01-02 04:26:00.965 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.231.51 waku 53cad0d75e8eaa7deb69ce1a601100a6d503347676e34c8c34f30dfe5d894b42
2026-01-02 04:26:00.999 DEBUG [src.node.docker_mananger] Container started with ID 53cad0d75e8e. Setting up logs at ./log/docker/node1_2026-01-02_04-26-00__5282f746-b5df-46fe-9e44-3f55df2f24db__wakuorg_nwaku:latest.log
2026-01-02 04:26:01.000 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 63426
2026-01-02 04:26:01.000 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-02 04:26:02.000 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63426/health" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:02.003 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2026-01-02 04:26:02.004 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-02 04:26:02.004 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63426/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:02.006 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.231.51/tcp/63427/p2p/16Uiu2HAmUsUvx2YgGpk4LFWz9k9DUYWrk9Z7vJBWx191oCQGyY3T","/ip4/172.18.231.51/tcp/63428/ws/p2p/16Uiu2HAmUsUvx2YgGpk4LFWz9k9DUYWrk9Z7vJBWx191oCQGyY3T"],"enrUri":"enr:-L24QN9lYwvWbMJhN5EiyUIQzm_lHG4-m1iPvs52UKU5VWpVOpfkix3GIe0A1sKkLD_mQGn9LCiffPsQV8VSMtiIq8ACgmlkgnY0gmlwhKwS5zOKbXVsdGlhZGRyc5YACASsEuczBvfDAAoErBLnMwb3xN0DgnJzhQADAQAAiXNlY3AyNTZrMaED8O5Gw6q7rCVFNMCnlMbVTXlKFpbYBh_w-DnBkmvNxbqDdGNwgvfDg3VkcIL3xYV3YWt1MgE"}'
2026-01-02 04:26:02.006 INFO [src.node.waku_node] REST service is ready !!
2026-01-02 04:26:02.012 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-02 04:26:02.012 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-01-02_04-26-00__5282f746-b5df-46fe-9e44-3f55df2f24db__wakuorg_nwaku:latest.log
2026-01-02 04:26:02.013 DEBUG [src.node.waku_node] Starting Node...
2026-01-02 04:26:02.013 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-02 04:26:02.014 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-02 04:26:02.014 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.45.135
2026-01-02 04:26:02.014 DEBUG [src.node.docker_mananger] Generated ports ['54282', '54283', '54284', '54285', '54286']
2026-01-02 04:26:02.014 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-02 04:26:02.015 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-02 04:26:02.015 DEBUG [src.node.waku_node] Using volumes []
2026-01-02 04:26:02.015 DEBUG [src.node.docker_mananger] docker run -i -t -p 54282:54282 -p 54283:54283 -p 54284:54284 -p 54285:54285 -p 54286:54286 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=54284 --rest-port=54282 --tcp-port=54283 --discv5-udp-port=54285 --rest-address=0.0.0.0 --nat=extip:172.18.45.135 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=699c10e7ebb3d312febe7df33e6ee23402f028125edeecff8f4ceb11cc5fef3b --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=54286 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QN9lYwvWbMJhN5EiyUIQzm_lHG4-m1iPvs52UKU5VWpVOpfkix3GIe0A1sKkLD_mQGn9LCiffPsQV8VSMtiIq8ACgmlkgnY0gmlwhKwS5zOKbXVsdGlhZGRyc5YACASsEuczBvfDAAoErBLnMwb3xN0DgnJzhQADAQAAiXNlY3AyNTZrMaED8O5Gw6q7rCVFNMCnlMbVTXlKFpbYBh_w-DnBkmvNxbqDdGNwgvfDg3VkcIL3xYV3YWt1MgE
2026-01-02 04:26:02.157 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.45.135 waku ee9a87a869afa608b68368bd8a06ea68046c9fa6c08ab088951160dad5152ed5
2026-01-02 04:26:02.183 DEBUG [src.node.docker_mananger] Container started with ID ee9a87a869af. Setting up logs at ./log/docker/node2_2026-01-02_04-26-00__5282f746-b5df-46fe-9e44-3f55df2f24db__wakuorg_nwaku:latest.log
2026-01-02 04:26:02.184 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 54282
2026-01-02 04:26:02.184 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-02 04:26:03.185 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54282/health" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:03.194 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2026-01-02 04:26:03.195 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-02 04:26:03.196 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54282/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:03.202 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.45.135/tcp/54283/p2p/16Uiu2HAmGacBZ9mmF2RyWS6D66fCKdKmtgsWBdYsem8RnCttY9zj","/ip4/172.18.45.135/tcp/54284/ws/p2p/16Uiu2HAmGacBZ9mmF2RyWS6D66fCKdKmtgsWBdYsem8RnCttY9zj"],"enrUri":"enr:-L24QKQjc72TOsN8c9_1jBLD6n-irSKMdTtPsM-d1qizy3wIDDMh4-R0JfN9yu6Fbjtev2tJiNFrOe6wxjoV5pKsVocCgmlkgnY0gmlwhKwSLYeKbXVsdGlhZGRyc5YACASsEi2HBtQLAAoErBIthwbUDN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDOk9b9VdMvBuBc_FFsIYgJFnlUhGbaSnGBBDOfkkebVyDdGNwgtQLg3VkcILUDYV3YWt1MgE"}'
2026-01-02 04:26:03.202 INFO [src.node.waku_node] REST service is ready !!
2026-01-02 04:26:03.202 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:54282/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.231.51/tcp/63427/p2p/16Uiu2HAmUsUvx2YgGpk4LFWz9k9DUYWrk9Z7vJBWx191oCQGyY3T"]'
2026-01-02 04:26:03.204 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:26:03.205 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-01-02 04:26:03.205 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-02 04:26:03.208 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:26:03.208 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:54282/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-02 04:26:03.212 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:26:03.213 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.238 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-02 04:26:03.239 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-01-02 04:26:03.339 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-01-02 04:26:03.339 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:03.342 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":1767327963213168640,"ephemeral":false,"proof":""}]'
2026-01-02 04:26:03.343 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-01-02 04:26:03.343 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54282/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-02 04:26:03.345 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":1767327963213168640,"ephemeral":false,"proof":""}]'
2026-01-02 04:26:03.347 INFO [src.steps.relay] WARM UP successful!!
2026-01-02 04:26:03.348 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-01-02 04:26:03.348 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.350 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-02 04:26:03.351 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-01-02 04:26:03.351 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.353 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-01-02 04:26:03.353 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-01-02 04:26:03.353 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.356 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-02 04:26:03.356 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-01-02 04:26:03.356 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.358 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-02 04:26:03.359 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-01-02 04:26:03.359 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.361 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-02 04:26:03.361 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-01-02 04:26:03.361 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63426/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-01-02 04:26:03.363 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:63426/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-02 04:26:03.365 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-02 04:26:03.366 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-02 04:26:03.366 DEBUG [src.node.waku_node] Stopping container with id 53cad0d75e8e
2026-01-02 04:26:03.804 DEBUG [src.node.waku_node] Container stopped.
2026-01-02 04:26:03.805 DEBUG [src.node.waku_node] Stopping container with id ee9a87a869af
2026-01-02 04:26:04.241 DEBUG [src.node.waku_node] Container stopped.
2026-01-02 04:26:04.244 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-02 04:26:04.249 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-02 04:26:04.253 DEBUG [src.node.docker_mananger] No errors found in the waku logs.