94 lines
17 KiB
Plaintext

2026-03-01 04:38:24.073 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-01 04:38:24.074 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-03-01_04-38-24__be20a162-ce8a-4351-b1c8-15187a92d057
2026-03-01 04:38:24.074 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-01 04:38:24.074 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-01 04:38:24.075 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-01 04:38:24.081 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:38:24.081 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-01_04-38-24__be20a162-ce8a-4351-b1c8-15187a92d057__wakuorg_nwaku:latest.log
2026-03-01 04:38:24.081 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:38:24.081 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:38:24.083 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:38:24.083 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.154.190
2026-03-01 04:38:24.083 DEBUG [src.node.docker_mananger] Generated ports ['27646', '27647', '27648', '27649', '27650']
2026-03-01 04:38:24.083 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:38:24.083 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:38:24.083 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:38:24.084 DEBUG [src.node.docker_mananger] docker run -i -t -p 27646:27646 -p 27647:27647 -p 27648:27648 -p 27649:27649 -p 27650:27650 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=27648 --rest-port=27646 --tcp-port=27647 --discv5-udp-port=27649 --rest-address=0.0.0.0 --nat=extip:172.18.154.190 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e5cef8b8aa2affbb20d2b73c95a5fedec9cff7fbcc33ec96eebca15952d7dc17 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=27650 --metrics-logging=true --relay=true
2026-03-01 04:38:24.286 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.154.190 waku c3faff464bf48b6cff6f7d4c3f6eb683109f845f346b00ba5e5c227992dfc477
2026-03-01 04:38:24.319 DEBUG [src.node.docker_mananger] Container started with ID c3faff464bf4. Setting up logs at ./log/docker/node1_2026-03-01_04-38-24__be20a162-ce8a-4351-b1c8-15187a92d057__wakuorg_nwaku:latest.log
2026-03-01 04:38:24.319 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 27646
2026-03-01 04:38:24.320 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:38:24.331 ERROR [src.node.docker_mananger] Max retries reached for container 3d3742f8853f. Exiting log stream.
2026-03-01 04:38:24.864 ERROR [src.node.docker_mananger] Max retries reached for container 0ab30abd3f80. Exiting log stream.
2026-03-01 04:38:25.320 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27646/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:25.323 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-01 04:38:25.324 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:38:25.324 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27646/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:25.326 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.154.190/tcp/27647/p2p/16Uiu2HAm4qzyMQGGF1T7QE8K2FgjZU7qTHofM5wzUxRmyJC9NK5W","/ip4/172.18.154.190/tcp/27648/ws/p2p/16Uiu2HAm4qzyMQGGF1T7QE8K2FgjZU7qTHofM5wzUxRmyJC9NK5W"],"enrUri":"enr:-L24QMIU5fyy4cRsAr2IXN_kJWcAtzv92vG-o_sgEUGCjGUiUgCTBqNmcaBtOgcB-SDioD6fIiED80QfQTREABkgbMECgmlkgnY0gmlwhKwSmr6KbXVsdGlhZGRyc5YACASsEpq-Bmv_AAoErBKavgZsAN0DgnJzhQADAQAAiXNlY3AyNTZrMaECi_SYtf8BrEipGYza22EUSw-GuH1PSp1PKZsT2NlB33WDdGNwgmv_g3VkcIJsAYV3YWt1MgE"}'
2026-03-01 04:38:25.327 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:38:25.333 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:38:25.333 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-01_04-38-24__be20a162-ce8a-4351-b1c8-15187a92d057__wakuorg_nwaku:latest.log
2026-03-01 04:38:25.334 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:38:25.334 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:38:25.335 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:38:25.335 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.146.58
2026-03-01 04:38:25.335 DEBUG [src.node.docker_mananger] Generated ports ['10269', '10270', '10271', '10272', '10273']
2026-03-01 04:38:25.336 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:38:25.336 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:38:25.336 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:38:25.336 DEBUG [src.node.docker_mananger] docker run -i -t -p 10269:10269 -p 10270:10270 -p 10271:10271 -p 10272:10272 -p 10273:10273 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=10271 --rest-port=10269 --tcp-port=10270 --discv5-udp-port=10272 --rest-address=0.0.0.0 --nat=extip:172.18.146.58 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=9aa82ddb23fb4fccecfbc64a5d91fb5fdb9fdaf5b4f3902af795ae847160aabf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10273 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QMIU5fyy4cRsAr2IXN_kJWcAtzv92vG-o_sgEUGCjGUiUgCTBqNmcaBtOgcB-SDioD6fIiED80QfQTREABkgbMECgmlkgnY0gmlwhKwSmr6KbXVsdGlhZGRyc5YACASsEpq-Bmv_AAoErBKavgZsAN0DgnJzhQADAQAAiXNlY3AyNTZrMaECi_SYtf8BrEipGYza22EUSw-GuH1PSp1PKZsT2NlB33WDdGNwgmv_g3VkcIJsAYV3YWt1MgE
2026-03-01 04:38:25.541 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.146.58 waku 99e185d0f3979133372052294454105893dca5cc7a4171e8a3a002564ab5cb63
2026-03-01 04:38:25.574 DEBUG [src.node.docker_mananger] Container started with ID 99e185d0f397. Setting up logs at ./log/docker/node2_2026-03-01_04-38-24__be20a162-ce8a-4351-b1c8-15187a92d057__wakuorg_nwaku:latest.log
2026-03-01 04:38:25.574 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 10269
2026-03-01 04:38:25.575 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:38:26.576 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10269/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:26.596 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-01 04:38:26.597 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:38:26.597 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10269/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:26.605 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.146.58/tcp/10270/p2p/16Uiu2HAmMTxEEfxnnhPBAJeuj8u8Xth8sYtG6JnjzBQp7eUqcaQL","/ip4/172.18.146.58/tcp/10271/ws/p2p/16Uiu2HAmMTxEEfxnnhPBAJeuj8u8Xth8sYtG6JnjzBQp7eUqcaQL"],"enrUri":"enr:-L24QH-U1pf6zOILsZb5PiFWqqH-uEwmBiqD7zR-j1-AkTEJTcXkKU204aSCwLD3wUyhg8GddDAKlRpsqoTp80Jl7ugCgmlkgnY0gmlwhKwSkjqKbXVsdGlhZGRyc5YACASsEpI6BigeAAoErBKSOgYoH90DgnJzhQADAQAAiXNlY3AyNTZrMaEDguVk_6jfIXnqEJgMt8Kl73H7GbdD7rkkoO5F3F884IWDdGNwgigeg3VkcIIoIIV3YWt1MgE"}'
2026-03-01 04:38:26.606 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:38:26.606 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10269/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.154.190/tcp/27647/p2p/16Uiu2HAm4qzyMQGGF1T7QE8K2FgjZU7qTHofM5wzUxRmyJC9NK5W"]'
2026-03-01 04:38:26.609 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:26.610 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-01 04:38:26.610 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-01 04:38:26.615 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:26.615 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10269/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-01 04:38:26.620 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:26.621 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.626 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:26.628 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-01 04:38:26.728 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-01 04:38:26.728 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:26.730 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":1772339906621153792,"ephemeral":false,"proof":""}]'
2026-03-01 04:38:26.733 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-01 04:38:26.734 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10269/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:26.736 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":1772339906621153792,"ephemeral":false,"proof":""}]'
2026-03-01 04:38:26.737 INFO [src.steps.relay] WARM UP successful!!
2026-03-01 04:38:26.738 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-03-01 04:38:26.739 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.741 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-01 04:38:26.741 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-03-01 04:38:26.741 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.744 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-03-01 04:38:26.744 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-03-01 04:38:26.744 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.747 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-01 04:38:26.747 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-03-01 04:38:26.747 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.750 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-01 04:38:26.750 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-03-01 04:38:26.750 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.753 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-01 04:38:26.753 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-03-01 04:38:26.753 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:27646/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-01 04:38:26.756 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:27646/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-01 04:38:26.758 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-01 04:38:26.759 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-01 04:38:26.759 DEBUG [src.node.waku_node] Stopping container with id c3faff464bf4
2026-03-01 04:38:27.371 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:38:27.372 DEBUG [src.node.waku_node] Stopping container with id 99e185d0f397
2026-03-01 04:38:27.945 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:38:27.948 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-01 04:38:27.955 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-01 04:38:27.960 DEBUG [src.node.docker_mananger] No errors found in the waku logs.