94 lines
17 KiB
Plaintext

2026-03-26 04:46:50.645 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-26 04:46:50.645 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-03-26_04-46-50__ab7df9b2-5717-46c2-b969-81ec2f04adf9
2026-03-26 04:46:50.645 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-26 04:46:50.645 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-26 04:46:50.646 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-26 04:46:50.652 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:46:50.652 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-26_04-46-50__ab7df9b2-5717-46c2-b969-81ec2f04adf9__wakuorg_nwaku:latest.log
2026-03-26 04:46:50.652 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:46:50.652 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:46:50.654 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:46:50.654 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.197.26
2026-03-26 04:46:50.654 DEBUG [src.node.docker_mananger] Generated ports ['45878', '45879', '45880', '45881', '45882']
2026-03-26 04:46:50.654 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:46:50.654 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:46:50.654 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:46:50.655 DEBUG [src.node.docker_mananger] docker run -i -t -p 45878:45878 -p 45879:45879 -p 45880:45880 -p 45881:45881 -p 45882:45882 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=45880 --rest-port=45878 --tcp-port=45879 --discv5-udp-port=45881 --rest-address=0.0.0.0 --nat=extip:172.18.197.26 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=6f72e3185eeff1c6dae5bdbacb5d9019dd5ffa5a56fb909d0d73faf1cbafc949 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=45882 --metrics-logging=true --relay=true
2026-03-26 04:46:50.860 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.197.26 waku efe9c3b7786a25285e5bf90359b3cbc4fe5970e63097bb0a1c811df6875d9976
2026-03-26 04:46:50.885 ERROR [src.node.docker_mananger] Max retries reached for container 21c26c520d64. Exiting log stream.
2026-03-26 04:46:50.899 DEBUG [src.node.docker_mananger] Container started with ID efe9c3b7786a. Setting up logs at ./log/docker/node1_2026-03-26_04-46-50__ab7df9b2-5717-46c2-b969-81ec2f04adf9__wakuorg_nwaku:latest.log
2026-03-26 04:46:50.900 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 45878
2026-03-26 04:46:50.900 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:46:51.443 ERROR [src.node.docker_mananger] Max retries reached for container 274e38069e26. Exiting log stream.
2026-03-26 04:46:51.900 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45878/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:51.903 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-26 04:46:51.903 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:46:51.904 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45878/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:51.906 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.197.26/tcp/45879/p2p/16Uiu2HAmE7yayFxjh9QsPKsgC3pbLf8AKKKLDKuWUKvmSwGzzUGp","/ip4/172.18.197.26/tcp/45880/ws/p2p/16Uiu2HAmE7yayFxjh9QsPKsgC3pbLf8AKKKLDKuWUKvmSwGzzUGp"],"enrUri":"enr:-L24QC3fixwdao4w3sXt-GFKUZtGJEiw71UPhS5RfX4-O_7nU_CM-fWo_249GFGRSEoA5BMzEeb990oQgxdJg_euDr4CgmlkgnY0gmlwhKwSxRqKbXVsdGlhZGRyc5YACASsEsUaBrM3AAoErBLFGgazON0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFcWBOPe5cXhnW4znrFrN_v92OMFjIw_APHiuHT5E_DmDdGNwgrM3g3VkcIKzOYV3YWt1MgE"}'
2026-03-26 04:46:51.907 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:46:51.914 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-26 04:46:51.914 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-26_04-46-50__ab7df9b2-5717-46c2-b969-81ec2f04adf9__wakuorg_nwaku:latest.log
2026-03-26 04:46:51.914 DEBUG [src.node.waku_node] Starting Node...
2026-03-26 04:46:51.914 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-26 04:46:51.916 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-26 04:46:51.916 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.175.170
2026-03-26 04:46:51.916 DEBUG [src.node.docker_mananger] Generated ports ['42802', '42803', '42804', '42805', '42806']
2026-03-26 04:46:51.916 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-26 04:46:51.916 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-26 04:46:51.916 DEBUG [src.node.waku_node] Using volumes []
2026-03-26 04:46:51.916 DEBUG [src.node.docker_mananger] docker run -i -t -p 42802:42802 -p 42803:42803 -p 42804:42804 -p 42805:42805 -p 42806:42806 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=42804 --rest-port=42802 --tcp-port=42803 --discv5-udp-port=42805 --rest-address=0.0.0.0 --nat=extip:172.18.175.170 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ee0edf6ffe6ba1aa8bbeb3a3c9aad6153f2281120cfe2feb88be3afa18d1fc7c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=42806 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QC3fixwdao4w3sXt-GFKUZtGJEiw71UPhS5RfX4-O_7nU_CM-fWo_249GFGRSEoA5BMzEeb990oQgxdJg_euDr4CgmlkgnY0gmlwhKwSxRqKbXVsdGlhZGRyc5YACASsEsUaBrM3AAoErBLFGgazON0DgnJzhQADAQAAiXNlY3AyNTZrMaEDFcWBOPe5cXhnW4znrFrN_v92OMFjIw_APHiuHT5E_DmDdGNwgrM3g3VkcIKzOYV3YWt1MgE
2026-03-26 04:46:52.114 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.175.170 waku bd0de7b6cd1cb8294d24f54aa95719c30407b10c018d1e0b0486b60a848ff373
2026-03-26 04:46:52.154 DEBUG [src.node.docker_mananger] Container started with ID bd0de7b6cd1c. Setting up logs at ./log/docker/node2_2026-03-26_04-46-50__ab7df9b2-5717-46c2-b969-81ec2f04adf9__wakuorg_nwaku:latest.log
2026-03-26 04:46:52.154 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 42802
2026-03-26 04:46:52.154 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-26 04:46:53.156 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42802/health" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:53.173 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-26 04:46:53.178 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-26 04:46:53.178 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42802/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:53.184 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.175.170/tcp/42803/p2p/16Uiu2HAmBKNycaFsNXeLKbeCvz1exKUBnabYi3P2sRUPW8fUbPmi","/ip4/172.18.175.170/tcp/42804/ws/p2p/16Uiu2HAmBKNycaFsNXeLKbeCvz1exKUBnabYi3P2sRUPW8fUbPmi"],"enrUri":"enr:-L24QDbmlVyUDonWjvRsPxCiqsiUhcqdBHV3AEQed28vYbfgCdzmOPVxnTbTcpM7k9AV-aWqn-27AsCj9Jx03v5oXOACgmlkgnY0gmlwhKwSr6qKbXVsdGlhZGRyc5YACASsEq-qBqczAAoErBKvqganNN0DgnJzhQADAQAAiXNlY3AyNTZrMaEC7B5Hz3MWJgJ7jcbkcI_b1UPaii9u2eSCGI8RrioVqzmDdGNwgqczg3VkcIKnNYV3YWt1MgE"}'
2026-03-26 04:46:53.184 INFO [src.node.waku_node] REST service is ready !!
2026-03-26 04:46:53.185 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42802/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.197.26/tcp/45879/p2p/16Uiu2HAmE7yayFxjh9QsPKsgC3pbLf8AKKKLDKuWUKvmSwGzzUGp"]'
2026-03-26 04:46:53.191 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:46:53.191 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-26 04:46:53.192 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-26 04:46:53.196 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:46:53.196 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:42802/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-26 04:46:53.201 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:46:53.202 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.208 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-26 04:46:53.209 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-26 04:46:53.309 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-26 04:46:53.309 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:53.312 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":1774500413202179328,"ephemeral":false,"proof":""}]'
2026-03-26 04:46:53.314 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-26 04:46:53.314 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:42802/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-26 04:46:53.316 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":1774500413202179328,"ephemeral":false,"proof":""}]'
2026-03-26 04:46:53.318 INFO [src.steps.relay] WARM UP successful!!
2026-03-26 04:46:53.319 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-03-26 04:46:53.319 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.322 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-26 04:46:53.322 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-03-26 04:46:53.322 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.324 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-03-26 04:46:53.325 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-03-26 04:46:53.325 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.327 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-26 04:46:53.327 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-03-26 04:46:53.328 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.330 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-26 04:46:53.330 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-03-26 04:46:53.331 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.333 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-26 04:46:53.333 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-03-26 04:46:53.333 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:45878/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-26 04:46:53.335 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:45878/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-26 04:46:53.337 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-26 04:46:53.338 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-26 04:46:53.338 DEBUG [src.node.waku_node] Stopping container with id efe9c3b7786a
2026-03-26 04:46:53.885 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:46:53.886 DEBUG [src.node.waku_node] Stopping container with id bd0de7b6cd1c
2026-03-26 04:46:54.444 DEBUG [src.node.waku_node] Container stopped.
2026-03-26 04:46:54.447 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-26 04:46:54.454 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-26 04:46:54.459 DEBUG [src.node.docker_mananger] No errors found in the waku logs.