92 lines
17 KiB
Plaintext

2025-12-21 04:24:04.745 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-21 04:24:04.745 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2025-12-21_04-24-04__a070b859-e3a5-4087-aa0b-23857802a3a5
2025-12-21 04:24:04.746 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-21 04:24:04.746 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-21 04:24:04.746 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-21 04:24:04.753 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-21 04:24:04.753 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-21_04-24-04__a070b859-e3a5-4087-aa0b-23857802a3a5__wakuorg_nwaku:latest.log
2025-12-21 04:24:04.753 DEBUG [src.node.waku_node] Starting Node...
2025-12-21 04:24:04.753 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-21 04:24:04.754 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-21 04:24:04.755 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.164.68
2025-12-21 04:24:04.755 DEBUG [src.node.docker_mananger] Generated ports ['50592', '50593', '50594', '50595', '50596']
2025-12-21 04:24:04.755 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-21 04:24:04.755 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-21 04:24:04.755 DEBUG [src.node.waku_node] Using volumes []
2025-12-21 04:24:04.755 DEBUG [src.node.docker_mananger] docker run -i -t -p 50592:50592 -p 50593:50593 -p 50594:50594 -p 50595:50595 -p 50596:50596 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=50594 --rest-port=50592 --tcp-port=50593 --discv5-udp-port=50595 --rest-address=0.0.0.0 --nat=extip:172.18.164.68 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0accfefe78ebd3cd2b748b4daafe0bdcf7e9aba8a0ca8adedc51cfc624db57b7 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=50596 --metrics-logging=true --relay=true
2025-12-21 04:24:04.953 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.164.68 waku 21d705150c92a446f73290ad0512abafa11fd6700dc75c6bfd73a04f0fcbcee8
2025-12-21 04:24:04.988 DEBUG [src.node.docker_mananger] Container started with ID 21d705150c92. Setting up logs at ./log/docker/node1_2025-12-21_04-24-04__a070b859-e3a5-4087-aa0b-23857802a3a5__wakuorg_nwaku:latest.log
2025-12-21 04:24:04.990 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 50592
2025-12-21 04:24:04.990 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-21 04:24:05.990 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50592/health" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:05.993 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"}]}'
2025-12-21 04:24:05.994 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-21 04:24:05.994 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50592/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:05.996 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.164.68/tcp/50593/p2p/16Uiu2HAmBKKKW3eDg1YMM1tb87TaEKY9riAJJk7fzPNLMJ8DdfuN","/ip4/172.18.164.68/tcp/50594/ws/p2p/16Uiu2HAmBKKKW3eDg1YMM1tb87TaEKY9riAJJk7fzPNLMJ8DdfuN"],"enrUri":"enr:-L24QAQAkCelo_euymXME748LdaMfGaBq9IP5CPZhZRqp21naw3XoGrUoPtFec2gpmBfWyWn3xSfE2pdUM6-6UzB8fECgmlkgnY0gmlwhKwSpESKbXVsdGlhZGRyc5YACASsEqREBsWhAAoErBKkRAbFot0DgnJzhQADAQAAiXNlY3AyNTZrMaEC7BolONTKbGR4p1kH8eAE0I-HIqjRD5X7RKCXP9j58jWDdGNwgsWhg3VkcILFo4V3YWt1MgE"}'
2025-12-21 04:24:05.996 INFO [src.node.waku_node] REST service is ready !!
2025-12-21 04:24:06.003 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-21 04:24:06.003 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-21_04-24-04__a070b859-e3a5-4087-aa0b-23857802a3a5__wakuorg_nwaku:latest.log
2025-12-21 04:24:06.003 DEBUG [src.node.waku_node] Starting Node...
2025-12-21 04:24:06.003 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-21 04:24:06.004 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-21 04:24:06.004 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.61.237
2025-12-21 04:24:06.004 DEBUG [src.node.docker_mananger] Generated ports ['5856', '5857', '5858', '5859', '5860']
2025-12-21 04:24:06.005 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-21 04:24:06.005 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-21 04:24:06.005 DEBUG [src.node.waku_node] Using volumes []
2025-12-21 04:24:06.005 DEBUG [src.node.docker_mananger] docker run -i -t -p 5856:5856 -p 5857:5857 -p 5858:5858 -p 5859:5859 -p 5860:5860 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=5858 --rest-port=5856 --tcp-port=5857 --discv5-udp-port=5859 --rest-address=0.0.0.0 --nat=extip:172.18.61.237 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=3fedcaf2a1be1cbdec0ddfa68b01bf69a2c2f6bbefccefbc0143b46961b0bed5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5860 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QAQAkCelo_euymXME748LdaMfGaBq9IP5CPZhZRqp21naw3XoGrUoPtFec2gpmBfWyWn3xSfE2pdUM6-6UzB8fECgmlkgnY0gmlwhKwSpESKbXVsdGlhZGRyc5YACASsEqREBsWhAAoErBKkRAbFot0DgnJzhQADAQAAiXNlY3AyNTZrMaEC7BolONTKbGR4p1kH8eAE0I-HIqjRD5X7RKCXP9j58jWDdGNwgsWhg3VkcILFo4V3YWt1MgE
2025-12-21 04:24:06.191 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.61.237 waku eb8bd997ff9f502a10b635746ad343c2c0f99a2295d104d6d2c2e0c68af2fca2
2025-12-21 04:24:06.227 DEBUG [src.node.docker_mananger] Container started with ID eb8bd997ff9f. Setting up logs at ./log/docker/node2_2025-12-21_04-24-04__a070b859-e3a5-4087-aa0b-23857802a3a5__wakuorg_nwaku:latest.log
2025-12-21 04:24:06.227 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 5856
2025-12-21 04:24:06.229 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-21 04:24:07.229 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5856/health" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:07.242 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"}]}'
2025-12-21 04:24:07.243 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-21 04:24:07.243 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5856/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:07.247 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.61.237/tcp/5857/p2p/16Uiu2HAmLYj6gZqsLKwtX1MhccFQExcgiHA7ekKpW3w43u3jgrrv","/ip4/172.18.61.237/tcp/5858/ws/p2p/16Uiu2HAmLYj6gZqsLKwtX1MhccFQExcgiHA7ekKpW3w43u3jgrrv"],"enrUri":"enr:-L24QDtG3p-k8J3tSjr2mrz0eMfwXOoguEYY362NVoB1S_4CSdAHQHySCv_0jZG_g8IXOnZsfaNclbmL7CdmJ328X8ICgmlkgnY0gmlwhKwSPe2KbXVsdGlhZGRyc5YACASsEj3tBhbhAAoErBI97QYW4t0DgnJzhQADAQAAiXNlY3AyNTZrMaEDdULD5vKB1hbMI2sg5w6xR87nVQJGI4wZibIUjf7FdCuDdGNwghbhg3VkcIIW44V3YWt1MgE"}'
2025-12-21 04:24:07.248 INFO [src.node.waku_node] REST service is ready !!
2025-12-21 04:24:07.248 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5856/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.164.68/tcp/50593/p2p/16Uiu2HAmBKKKW3eDg1YMM1tb87TaEKY9riAJJk7fzPNLMJ8DdfuN"]'
2025-12-21 04:24:07.251 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:24:07.251 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2025-12-21 04:24:07.252 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-21 04:24:07.256 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:24:07.256 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5856/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-21 04:24:07.260 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:24:07.261 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.268 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-21 04:24:07.268 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-21 04:24:07.368 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-21 04:24:07.368 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:07.371 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":1766291047261788928,"ephemeral":false,"proof":""}]'
2025-12-21 04:24:07.373 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-21 04:24:07.373 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5856/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-21 04:24:07.375 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":1766291047261788928,"ephemeral":false,"proof":""}]'
2025-12-21 04:24:07.376 INFO [src.steps.relay] WARM UP successful!!
2025-12-21 04:24:07.377 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2025-12-21 04:24:07.377 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.380 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-21 04:24:07.380 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2025-12-21 04:24:07.380 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.383 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2025-12-21 04:24:07.383 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2025-12-21 04:24:07.383 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.385 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-21 04:24:07.385 DEBUG [tests.relay.test_publish] Running test with payload An integer
2025-12-21 04:24:07.386 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.388 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-21 04:24:07.388 DEBUG [tests.relay.test_publish] Running test with payload A list
2025-12-21 04:24:07.388 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.390 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-21 04:24:07.390 DEBUG [tests.relay.test_publish] Running test with payload A bool
2025-12-21 04:24:07.391 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50592/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)'}'
2025-12-21 04:24:07.393 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:50592/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-21 04:24:07.395 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-21 04:24:07.396 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-21 04:24:07.396 DEBUG [src.node.waku_node] Stopping container with id 21d705150c92
2025-12-21 04:24:07.898 DEBUG [src.node.waku_node] Container stopped.
2025-12-21 04:24:07.901 DEBUG [src.node.waku_node] Stopping container with id eb8bd997ff9f
2025-12-21 04:24:08.414 DEBUG [src.node.waku_node] Container stopped.
2025-12-21 04:24:08.415 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-21 04:24:08.422 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-21 04:24:08.426 DEBUG [src.node.docker_mananger] No errors found in the waku logs.