94 lines
17 KiB
Plaintext

2026-03-02 04:34:55.975 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-02 04:34:55.975 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2026-03-02_04-34-55__396f3b2f-e244-4b78-a704-0530e9e129d9
2026-03-02 04:34:55.976 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-02 04:34:55.976 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-02 04:34:55.976 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-02 04:34:55.984 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-02 04:34:55.984 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-02_04-34-55__396f3b2f-e244-4b78-a704-0530e9e129d9__wakuorg_nwaku:latest.log
2026-03-02 04:34:55.984 DEBUG [src.node.waku_node] Starting Node...
2026-03-02 04:34:55.985 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-02 04:34:55.986 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-02 04:34:55.986 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.185.84
2026-03-02 04:34:55.986 DEBUG [src.node.docker_mananger] Generated ports ['25754', '25755', '25756', '25757', '25758']
2026-03-02 04:34:55.986 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-02 04:34:55.986 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-02 04:34:55.986 DEBUG [src.node.waku_node] Using volumes []
2026-03-02 04:34:55.987 DEBUG [src.node.docker_mananger] docker run -i -t -p 25754:25754 -p 25755:25755 -p 25756:25756 -p 25757:25757 -p 25758:25758 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=25756 --rest-port=25754 --tcp-port=25755 --discv5-udp-port=25757 --rest-address=0.0.0.0 --nat=extip:172.18.185.84 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=76a94cc04eaebe4ddc78c5a4b94a6ffa6e9edc4380f6632dbceb7c751175e300 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=25758 --metrics-logging=true --relay=true
2026-03-02 04:34:56.187 ERROR [src.node.docker_mananger] Max retries reached for container 4ba77641a8ec. Exiting log stream.
2026-03-02 04:34:56.192 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.185.84 waku 93b1299071d9d01a71ff25fb5253c0cb8ddc7c48cbecd649a964f4c7281e7a8f
2026-03-02 04:34:56.227 DEBUG [src.node.docker_mananger] Container started with ID 93b1299071d9. Setting up logs at ./log/docker/node1_2026-03-02_04-34-55__396f3b2f-e244-4b78-a704-0530e9e129d9__wakuorg_nwaku:latest.log
2026-03-02 04:34:56.228 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 25754
2026-03-02 04:34:56.229 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-02 04:34:56.765 ERROR [src.node.docker_mananger] Max retries reached for container 7b85fbed6060. Exiting log stream.
2026-03-02 04:34:57.229 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25754/health" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:57.232 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-02 04:34:57.232 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-02 04:34:57.233 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25754/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:57.235 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.185.84/tcp/25755/p2p/16Uiu2HAm3atfL3jm1ESEXT3LcHY4YtMhMnpULYWzVLan81biG1z5","/ip4/172.18.185.84/tcp/25756/ws/p2p/16Uiu2HAm3atfL3jm1ESEXT3LcHY4YtMhMnpULYWzVLan81biG1z5"],"enrUri":"enr:-L24QP8JLvUhgrS-SN75LU-sVEP-5noAinYrm-fPige3ESC8RHfKtFDr47TKnsSa6nOgUb03Mby_2i5RKBpQaP5ilE8CgmlkgnY0gmlwhKwSuVSKbXVsdGlhZGRyc5YACASsErlUBmSbAAoErBK5VAZknN0DgnJzhQADAQAAiXNlY3AyNTZrMaECeToP11uXxTSXkyz0gc8RxeXjVilxNbzN0NIED4-ZuJaDdGNwgmSbg3VkcIJknYV3YWt1MgE"}'
2026-03-02 04:34:57.235 INFO [src.node.waku_node] REST service is ready !!
2026-03-02 04:34:57.242 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-02 04:34:57.243 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-02_04-34-55__396f3b2f-e244-4b78-a704-0530e9e129d9__wakuorg_nwaku:latest.log
2026-03-02 04:34:57.243 DEBUG [src.node.waku_node] Starting Node...
2026-03-02 04:34:57.243 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-02 04:34:57.244 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-02 04:34:57.244 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.36.29
2026-03-02 04:34:57.245 DEBUG [src.node.docker_mananger] Generated ports ['23503', '23504', '23505', '23506', '23507']
2026-03-02 04:34:57.245 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-02 04:34:57.245 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-02 04:34:57.245 DEBUG [src.node.waku_node] Using volumes []
2026-03-02 04:34:57.245 DEBUG [src.node.docker_mananger] docker run -i -t -p 23503:23503 -p 23504:23504 -p 23505:23505 -p 23506:23506 -p 23507:23507 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=23505 --rest-port=23503 --tcp-port=23504 --discv5-udp-port=23506 --rest-address=0.0.0.0 --nat=extip:172.18.36.29 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d8b44aa4cebbbd5d5e9fa284de9b1e9e107f63de2cb12903aafbdaf8c2b9fbdf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=23507 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QP8JLvUhgrS-SN75LU-sVEP-5noAinYrm-fPige3ESC8RHfKtFDr47TKnsSa6nOgUb03Mby_2i5RKBpQaP5ilE8CgmlkgnY0gmlwhKwSuVSKbXVsdGlhZGRyc5YACASsErlUBmSbAAoErBK5VAZknN0DgnJzhQADAQAAiXNlY3AyNTZrMaECeToP11uXxTSXkyz0gc8RxeXjVilxNbzN0NIED4-ZuJaDdGNwgmSbg3VkcIJknYV3YWt1MgE
2026-03-02 04:34:57.439 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.36.29 waku 9ac97a5aa08de6e4a5ca9991839c221999d08d6f04e4e7981fbd6451a1786d56
2026-03-02 04:34:57.475 DEBUG [src.node.docker_mananger] Container started with ID 9ac97a5aa08d. Setting up logs at ./log/docker/node2_2026-03-02_04-34-55__396f3b2f-e244-4b78-a704-0530e9e129d9__wakuorg_nwaku:latest.log
2026-03-02 04:34:57.475 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 23503
2026-03-02 04:34:57.476 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-02 04:34:58.477 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23503/health" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:58.500 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-02 04:34:58.503 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-02 04:34:58.503 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23503/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:58.511 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.36.29/tcp/23504/p2p/16Uiu2HAm6LAvrTKezFkNDcnhECDhuh5g9QfePC4BNGSTPh1KvMbQ","/ip4/172.18.36.29/tcp/23505/ws/p2p/16Uiu2HAm6LAvrTKezFkNDcnhECDhuh5g9QfePC4BNGSTPh1KvMbQ"],"enrUri":"enr:-L24QLBjH0x6wRXVtUxUxedd3rUwTktfdKvg8NTkRoWd82u1ZgzycKfPQObGMOYpJyAbfKwkoJNow7EXmMvy2cH41QACgmlkgnY0gmlwhKwSJB2KbXVsdGlhZGRyc5YACASsEiQdBlvQAAoErBIkHQZb0d0DgnJzhQADAQAAiXNlY3AyNTZrMaECogfN7rvl24nZBOLspRlzhIMslZB5W5iL6W9wVqFNDQODdGNwglvQg3VkcIJb0oV3YWt1MgE"}'
2026-03-02 04:34:58.511 INFO [src.node.waku_node] REST service is ready !!
2026-03-02 04:34:58.511 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:23503/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.185.84/tcp/25755/p2p/16Uiu2HAm3atfL3jm1ESEXT3LcHY4YtMhMnpULYWzVLan81biG1z5"]'
2026-03-02 04:34:58.515 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-02 04:34:58.515 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-02 04:34:58.516 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-02 04:34:58.519 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-02 04:34:58.520 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:23503/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-02 04:34:58.524 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-02 04:34:58.525 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.531 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-02 04:34:58.534 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-02 04:34:58.634 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-02 04:34:58.634 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:58.637 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":1772426098525431552,"ephemeral":false,"proof":""}]'
2026-03-02 04:34:58.638 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-02 04:34:58.639 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:23503/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-02 04:34:58.641 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":1772426098525431552,"ephemeral":false,"proof":""}]'
2026-03-02 04:34:58.643 INFO [src.steps.relay] WARM UP successful!!
2026-03-02 04:34:58.643 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2026-03-02 04:34:58.644 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.646 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-02 04:34:58.646 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2026-03-02 04:34:58.647 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.649 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2026-03-02 04:34:58.650 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2026-03-02 04:34:58.650 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.652 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-02 04:34:58.653 DEBUG [tests.relay.test_publish] Running test with payload An integer
2026-03-02 04:34:58.653 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.655 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-02 04:34:58.655 DEBUG [tests.relay.test_publish] Running test with payload A list
2026-03-02 04:34:58.656 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.658 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-02 04:34:58.658 DEBUG [tests.relay.test_publish] Running test with payload A bool
2026-03-02 04:34:58.659 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:25754/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-02 04:34:58.661 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:25754/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-02 04:34:58.663 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-02 04:34:58.664 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-02 04:34:58.664 DEBUG [src.node.waku_node] Stopping container with id 93b1299071d9
2026-03-02 04:34:59.225 DEBUG [src.node.waku_node] Container stopped.
2026-03-02 04:34:59.226 DEBUG [src.node.waku_node] Stopping container with id 9ac97a5aa08d
2026-03-02 04:34:59.786 DEBUG [src.node.waku_node] Container stopped.
2026-03-02 04:34:59.788 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-02 04:34:59.799 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-02 04:34:59.805 DEBUG [src.node.docker_mananger] No errors found in the waku logs.