94 lines
17 KiB
Plaintext

2026-01-31 04:31:35.882 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-31 04:31:35.882 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-01-31_04-31-35__085bbd4c-fdc7-4218-aa38-4a74044a2803
2026-01-31 04:31:35.882 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-31 04:31:35.882 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-01-31 04:31:35.883 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-01-31 04:31:35.889 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-31 04:31:35.889 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-01-31_04-31-35__085bbd4c-fdc7-4218-aa38-4a74044a2803__wakuorg_nwaku:latest.log
2026-01-31 04:31:35.890 DEBUG [src.node.waku_node] Starting Node...
2026-01-31 04:31:35.890 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-31 04:31:35.891 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-31 04:31:35.891 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.243.255
2026-01-31 04:31:35.891 DEBUG [src.node.docker_mananger] Generated ports ['3984', '3985', '3986', '3987', '3988']
2026-01-31 04:31:35.892 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-31 04:31:35.892 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-31 04:31:35.892 DEBUG [src.node.waku_node] Using volumes []
2026-01-31 04:31:35.892 DEBUG [src.node.docker_mananger] docker run -i -t -p 3984:3984 -p 3985:3985 -p 3986:3986 -p 3987:3987 -p 3988:3988 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=3986 --rest-port=3984 --tcp-port=3985 --discv5-udp-port=3987 --rest-address=0.0.0.0 --nat=extip:172.18.243.255 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=cf9a4adaa7e7ce2b31cd01aa5dbfdfd9e9db982a95d4b19c6fd5e7b614b45b89 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3988 --metrics-logging=true --relay=true
2026-01-31 04:31:36.081 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.243.255 waku 69d7d8578bf8fbd84648c56fbeefc81924b6990647a9c6a386475cec16151e23
2026-01-31 04:31:36.113 DEBUG [src.node.docker_mananger] Container started with ID 69d7d8578bf8. Setting up logs at ./log/docker/node1_2026-01-31_04-31-35__085bbd4c-fdc7-4218-aa38-4a74044a2803__wakuorg_nwaku:latest.log
2026-01-31 04:31:36.115 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 3984
2026-01-31 04:31:36.115 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-31 04:31:36.138 ERROR [src.node.docker_mananger] Max retries reached for container 5a52f2e71efd. Exiting log stream.
2026-01-31 04:31:36.680 ERROR [src.node.docker_mananger] Max retries reached for container f08c90e68e22. Exiting log stream.
2026-01-31 04:31:37.116 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3984/health" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:37.119 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-31 04:31:37.119 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-31 04:31:37.120 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3984/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:37.122 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.243.255/tcp/3985/p2p/16Uiu2HAm7w22BgfTQymog4qwLSv71tmX4h6d4aNTFsyNYL2gYYR7","/ip4/172.18.243.255/tcp/3986/ws/p2p/16Uiu2HAm7w22BgfTQymog4qwLSv71tmX4h6d4aNTFsyNYL2gYYR7"],"enrUri":"enr:-L24QFk2070-nUig2X6yg63Psi0GNqdlQCkzGOGvD3m68FYmKx6NVNp81XWJyPZ22Acd7B2_s1SlNe-3rtXA_syowgECgmlkgnY0gmlwhKwS8_-KbXVsdGlhZGRyc5YACASsEvP_Bg-RAAoErBLz_wYPkt0DgnJzhQADAQAAiXNlY3AyNTZrMaECudC_TVKS5pT4XrYjit0e-ki9Mz_OqwdxCKdF_FiCk_qDdGNwgg-Rg3VkcIIPk4V3YWt1MgE"}'
2026-01-31 04:31:37.122 INFO [src.node.waku_node] REST service is ready !!
2026-01-31 04:31:37.129 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-31 04:31:37.129 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-01-31_04-31-35__085bbd4c-fdc7-4218-aa38-4a74044a2803__wakuorg_nwaku:latest.log
2026-01-31 04:31:37.129 DEBUG [src.node.waku_node] Starting Node...
2026-01-31 04:31:37.130 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-31 04:31:37.131 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-31 04:31:37.131 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.185.119
2026-01-31 04:31:37.131 DEBUG [src.node.docker_mananger] Generated ports ['50961', '50962', '50963', '50964', '50965']
2026-01-31 04:31:37.132 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-31 04:31:37.132 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-31 04:31:37.132 DEBUG [src.node.waku_node] Using volumes []
2026-01-31 04:31:37.132 DEBUG [src.node.docker_mananger] docker run -i -t -p 50961:50961 -p 50962:50962 -p 50963:50963 -p 50964:50964 -p 50965:50965 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=50963 --rest-port=50961 --tcp-port=50962 --discv5-udp-port=50964 --rest-address=0.0.0.0 --nat=extip:172.18.185.119 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d3fae4e4ce8bb9bf91d99be4fa4f009d1edd2fb67b27daec0290fffef9b21dfa --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=50965 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QFk2070-nUig2X6yg63Psi0GNqdlQCkzGOGvD3m68FYmKx6NVNp81XWJyPZ22Acd7B2_s1SlNe-3rtXA_syowgECgmlkgnY0gmlwhKwS8_-KbXVsdGlhZGRyc5YACASsEvP_Bg-RAAoErBLz_wYPkt0DgnJzhQADAQAAiXNlY3AyNTZrMaECudC_TVKS5pT4XrYjit0e-ki9Mz_OqwdxCKdF_FiCk_qDdGNwgg-Rg3VkcIIPk4V3YWt1MgE
2026-01-31 04:31:37.319 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.185.119 waku 03910f03003b8bb3e1558e72f844c5b418cfc3473114194d9af299923f9a7d72
2026-01-31 04:31:37.348 DEBUG [src.node.docker_mananger] Container started with ID 03910f03003b. Setting up logs at ./log/docker/node2_2026-01-31_04-31-35__085bbd4c-fdc7-4218-aa38-4a74044a2803__wakuorg_nwaku:latest.log
2026-01-31 04:31:37.348 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 50961
2026-01-31 04:31:37.349 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-31 04:31:38.350 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50961/health" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:38.369 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-31 04:31:38.371 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-31 04:31:38.371 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50961/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:38.376 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.185.119/tcp/50962/p2p/16Uiu2HAm5h2JvQXpyky1FLuoKZEjJtmXHwpx81aTwA8d4rJ4Azz2","/ip4/172.18.185.119/tcp/50963/ws/p2p/16Uiu2HAm5h2JvQXpyky1FLuoKZEjJtmXHwpx81aTwA8d4rJ4Azz2"],"enrUri":"enr:-L24QFDYE5IgPMDu1CV4Q33_PFT5FrwalawaFvCvvnKsDggQFBLxehosCwsFzwWrAIt8mhXK_RouIq4KHX1b2NmoUgECgmlkgnY0gmlwhKwSuXeKbXVsdGlhZGRyc5YACASsErl3BscSAAoErBK5dwbHE90DgnJzhQADAQAAiXNlY3AyNTZrMaECmIORgM7RZOIQNe4h-m_3IU_kxdggcJYDGsarX_vem-eDdGNwgscSg3VkcILHFIV3YWt1MgE"}'
2026-01-31 04:31:38.376 INFO [src.node.waku_node] REST service is ready !!
2026-01-31 04:31:38.377 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50961/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.243.255/tcp/3985/p2p/16Uiu2HAm7w22BgfTQymog4qwLSv71tmX4h6d4aNTFsyNYL2gYYR7"]'
2026-01-31 04:31:38.380 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:31:38.381 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-01-31 04:31:38.381 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-31 04:31:38.385 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:31:38.385 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:50961/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-31 04:31:38.390 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:31:38.391 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.397 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-31 04:31:38.397 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-01-31 04:31:38.498 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-01-31 04:31:38.498 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:38.501 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":1769833898391064320,"ephemeral":false,"proof":""}]'
2026-01-31 04:31:38.503 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-01-31 04:31:38.503 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:50961/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-31 04:31:38.505 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":1769833898391064320,"ephemeral":false,"proof":""}]'
2026-01-31 04:31:38.507 INFO [src.steps.relay] WARM UP successful!!
2026-01-31 04:31:38.508 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-01-31 04:31:38.508 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.511 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-31 04:31:38.511 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-01-31 04:31:38.511 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.514 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-01-31 04:31:38.514 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-01-31 04:31:38.514 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.517 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-31 04:31:38.517 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-01-31 04:31:38.517 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.520 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-31 04:31:38.520 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-01-31 04:31:38.520 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.523 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-31 04:31:38.523 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-01-31 04:31:38.523 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3984/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-31 04:31:38.526 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:3984/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-31 04:31:38.528 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-31 04:31:38.528 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-31 04:31:38.529 DEBUG [src.node.waku_node] Stopping container with id 69d7d8578bf8
2026-01-31 04:31:39.084 DEBUG [src.node.waku_node] Container stopped.
2026-01-31 04:31:39.084 DEBUG [src.node.waku_node] Stopping container with id 03910f03003b
2026-01-31 04:31:39.652 DEBUG [src.node.waku_node] Container stopped.
2026-01-31 04:31:39.654 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-31 04:31:39.660 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-31 04:31:39.666 DEBUG [src.node.docker_mananger] No errors found in the waku logs.