2026-02-28 20:41:24 +00:00

94 lines
17 KiB
Plaintext

2026-02-28 20:22:03.289 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-28 20:22:03.289 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-02-28_20-22-03__50219985-33c6-4343-9727-8b58fea95669
2026-02-28 20:22:03.290 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-28 20:22:03.290 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-28 20:22:03.290 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-02-28 20:22:03.297 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:03.297 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-28_20-22-03__50219985-33c6-4343-9727-8b58fea95669__wakuorg_nwaku:latest.log
2026-02-28 20:22:03.297 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:03.297 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:03.298 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:03.299 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.254.9
2026-02-28 20:22:03.299 DEBUG [src.node.docker_mananger] Generated ports ['5869', '5870', '5871', '5872', '5873']
2026-02-28 20:22:03.299 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:03.299 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:03.299 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:03.299 DEBUG [src.node.docker_mananger] docker run -i -t -p 5869:5869 -p 5870:5870 -p 5871:5871 -p 5872:5872 -p 5873:5873 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=5871 --rest-port=5869 --tcp-port=5870 --discv5-udp-port=5872 --rest-address=0.0.0.0 --nat=extip:172.18.254.9 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7ffbb2cb7eb5caf3bb01dbac8e5e09fffdd243b8107fc925234aed673406674f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5873 --metrics-logging=true --relay=true
2026-02-28 20:22:03.502 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.254.9 waku 4c5dec21435ceec6b838f380a67a64131d2e073fa35684032fd656676d0cc0cc
2026-02-28 20:22:03.535 ERROR [src.node.docker_mananger] Max retries reached for container 05d0ba941001. Exiting log stream.
2026-02-28 20:22:03.537 DEBUG [src.node.docker_mananger] Container started with ID 4c5dec21435c. Setting up logs at ./log/docker/node1_2026-02-28_20-22-03__50219985-33c6-4343-9727-8b58fea95669__wakuorg_nwaku:latest.log
2026-02-28 20:22:03.537 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 5869
2026-02-28 20:22:03.537 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:04.087 ERROR [src.node.docker_mananger] Max retries reached for container 06b5822aa31d. Exiting log stream.
2026-02-28 20:22:04.537 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5869/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:04.540 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-02-28 20:22:04.540 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:04.541 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5869/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:04.543 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.254.9/tcp/5870/p2p/16Uiu2HAmKTJau732hcD8QNbfpc2tX1ehL2afH5Ngfi5WQXuAWXwH","/ip4/172.18.254.9/tcp/5871/ws/p2p/16Uiu2HAmKTJau732hcD8QNbfpc2tX1ehL2afH5Ngfi5WQXuAWXwH"],"enrUri":"enr:-L24QPdWT8oFVSFK4bhK0W-9GkEwVCTcRUmEmobqxY0tx0HWcnSiWUkWnYHFZNPZjza1fJlUazxtNCYV_OTy2hG55ksCgmlkgnY0gmlwhKwS_gmKbXVsdGlhZGRyc5YACASsEv4JBhbuAAoErBL-CQYW790DgnJzhQADAQAAiXNlY3AyNTZrMaEDZQN07bKtAl2G45Gbwh_lfDaTiU_PoGtD7_8XFSxunRyDdGNwghbug3VkcIIW8IV3YWt1MgE"}'
2026-02-28 20:22:04.543 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:04.550 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 20:22:04.550 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-28_20-22-03__50219985-33c6-4343-9727-8b58fea95669__wakuorg_nwaku:latest.log
2026-02-28 20:22:04.550 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 20:22:04.550 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 20:22:04.552 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 20:22:04.552 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.223.227
2026-02-28 20:22:04.552 DEBUG [src.node.docker_mananger] Generated ports ['8947', '8948', '8949', '8950', '8951']
2026-02-28 20:22:04.552 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 20:22:04.552 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 20:22:04.552 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 20:22:04.552 DEBUG [src.node.docker_mananger] docker run -i -t -p 8947:8947 -p 8948:8948 -p 8949:8949 -p 8950:8950 -p 8951:8951 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=8949 --rest-port=8947 --tcp-port=8948 --discv5-udp-port=8950 --rest-address=0.0.0.0 --nat=extip:172.18.223.227 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=7e8a98dfdd4f8a0edfbbb9dce936e1545bf6ba5d2a2cadba27559ceaf01a6f04 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=8951 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QPdWT8oFVSFK4bhK0W-9GkEwVCTcRUmEmobqxY0tx0HWcnSiWUkWnYHFZNPZjza1fJlUazxtNCYV_OTy2hG55ksCgmlkgnY0gmlwhKwS_gmKbXVsdGlhZGRyc5YACASsEv4JBhbuAAoErBL-CQYW790DgnJzhQADAQAAiXNlY3AyNTZrMaEDZQN07bKtAl2G45Gbwh_lfDaTiU_PoGtD7_8XFSxunRyDdGNwghbug3VkcIIW8IV3YWt1MgE
2026-02-28 20:22:04.755 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.223.227 waku d3e2f15305ab86c96f5e4d10450ebad8d4b48d8025daad95498b3992a5afcb7b
2026-02-28 20:22:04.788 DEBUG [src.node.docker_mananger] Container started with ID d3e2f15305ab. Setting up logs at ./log/docker/node2_2026-02-28_20-22-03__50219985-33c6-4343-9727-8b58fea95669__wakuorg_nwaku:latest.log
2026-02-28 20:22:04.789 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 8947
2026-02-28 20:22:04.789 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 20:22:05.790 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8947/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:05.814 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-02-28 20:22:05.815 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 20:22:05.815 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8947/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:05.823 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.223.227/tcp/8948/p2p/16Uiu2HAmPNoCvJv2y5zpccSM2qSjaqhpTULDKqaCJQQyDxiexhDq","/ip4/172.18.223.227/tcp/8949/ws/p2p/16Uiu2HAmPNoCvJv2y5zpccSM2qSjaqhpTULDKqaCJQQyDxiexhDq"],"enrUri":"enr:-L24QLs9Ow4UnyuZgfjK8JycziiuxPQ7T_6yAOL4VZUioAUrOD60Bg2QjrXAlAOOkOCkgxpwvQecOtcZo1rQUxzX898CgmlkgnY0gmlwhKwS3-OKbXVsdGlhZGRyc5YACASsEt_jBiL0AAoErBLf4wYi9d0DgnJzhQADAQAAiXNlY3AyNTZrMaEDn0qpjrecrEaN0rqcVXSp_n8OPQP7pIS8mWsGWqGygNCDdGNwgiL0g3VkcIIi9oV3YWt1MgE"}'
2026-02-28 20:22:05.824 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 20:22:05.825 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8947/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.254.9/tcp/5870/p2p/16Uiu2HAmKTJau732hcD8QNbfpc2tX1ehL2afH5Ngfi5WQXuAWXwH"]'
2026-02-28 20:22:05.828 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:05.828 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-02-28 20:22:05.829 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 20:22:05.833 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:05.833 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8947/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 20:22:05.838 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:05.841 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.846 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 20:22:05.846 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-28 20:22:05.947 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-28 20:22:05.947 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:05.949 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":1772310125839389440,"ephemeral":false,"proof":""}]'
2026-02-28 20:22:05.952 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-28 20:22:05.952 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8947/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-28 20:22:05.954 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":1772310125839389440,"ephemeral":false,"proof":""}]'
2026-02-28 20:22:05.956 INFO [src.steps.relay] WARM UP successful!!
2026-02-28 20:22:05.956 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-02-28 20:22:05.957 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.959 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-28 20:22:05.959 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-02-28 20:22:05.960 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.962 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-02-28 20:22:05.962 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-02-28 20:22:05.962 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.965 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-28 20:22:05.965 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-02-28 20:22:05.965 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.968 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-28 20:22:05.968 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-02-28 20:22:05.968 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.970 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-28 20:22:05.971 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-02-28 20:22:05.971 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5869/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-02-28 20:22:05.973 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:5869/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-28 20:22:05.975 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-28 20:22:05.976 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-28 20:22:05.976 DEBUG [src.node.waku_node] Stopping container with id 4c5dec21435c
2026-02-28 20:22:06.570 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:06.571 DEBUG [src.node.waku_node] Stopping container with id d3e2f15305ab
2026-02-28 20:22:07.134 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 20:22:07.136 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-28 20:22:07.143 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 20:22:07.148 DEBUG [src.node.docker_mananger] No errors found in the waku logs.