94 lines
17 KiB
Plaintext

2025-12-08 12:11:07.083 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-08 12:11:07.084 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2025-12-08_12-11-07__e79647ee-a037-45f7-b656-3e19aa8c326b
2025-12-08 12:11:07.084 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-08 12:11:07.084 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-08 12:11:07.084 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-08 12:11:07.091 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:07.091 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-08_12-11-07__e79647ee-a037-45f7-b656-3e19aa8c326b__wakuorg_nwaku:latest.log
2025-12-08 12:11:07.091 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:07.091 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:07.092 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:07.093 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.2.21
2025-12-08 12:11:07.093 DEBUG [src.node.docker_mananger] Generated ports ['55356', '55357', '55358', '55359', '55360']
2025-12-08 12:11:07.093 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:07.093 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:07.093 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:07.093 DEBUG [src.node.docker_mananger] docker run -i -t -p 55356:55356 -p 55357:55357 -p 55358:55358 -p 55359:55359 -p 55360:55360 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=55358 --rest-port=55356 --tcp-port=55357 --discv5-udp-port=55359 --rest-address=0.0.0.0 --nat=extip:172.18.2.21 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8cc5c091c87e2393875c932d03d5eade8b40f05ee42675d3dc0be2b80cd4abb3 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=55360 --metrics-logging=true --relay=true
2025-12-08 12:11:07.255 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.2.21 waku acb3a2d988420db85bb9fab5a86f48eab311490a5d12d18d890272cb1dce4b8b
2025-12-08 12:11:07.280 DEBUG [src.node.docker_mananger] Container started with ID acb3a2d98842. Setting up logs at ./log/docker/node1_2025-12-08_12-11-07__e79647ee-a037-45f7-b656-3e19aa8c326b__wakuorg_nwaku:latest.log
2025-12-08 12:11:07.280 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 55356
2025-12-08 12:11:07.281 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:07.389 ERROR [src.node.docker_mananger] Max retries reached for container 1a574731f9bd. Exiting log stream.
2025-12-08 12:11:07.879 ERROR [src.node.docker_mananger] Max retries reached for container 6d6678a84f6d. Exiting log stream.
2025-12-08 12:11:08.281 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55356/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:08.284 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-08 12:11:08.285 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:08.285 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55356/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:08.287 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.2.21/tcp/55357/p2p/16Uiu2HAmKP581k5MkQGpqiWY8w4VCJVkMojFGjjYSi4Ywz2jbtsq","/ip4/172.18.2.21/tcp/55358/ws/p2p/16Uiu2HAmKP581k5MkQGpqiWY8w4VCJVkMojFGjjYSi4Ywz2jbtsq"],"enrUri":"enr:-L24QL2Eg6R4R7Yj2F8XsXRPmgg8hG45hGApnABlIjv0h6apMbB7txhK0LSzMwdSfUzYAGRln6BnCUrKbV-3W5_eqbMCgmlkgnY0gmlwhKwSAhWKbXVsdGlhZGRyc5YACASsEgIVBtg9AAoErBICFQbYPt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDY-3pBV5Kx_DQW-jDAQvd_Y2BzRE31r_EyOmsvC5yQYCDdGNwgtg9g3VkcILYP4V3YWt1MgE"}'
2025-12-08 12:11:08.287 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:08.294 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-08 12:11:08.294 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-08_12-11-07__e79647ee-a037-45f7-b656-3e19aa8c326b__wakuorg_nwaku:latest.log
2025-12-08 12:11:08.294 DEBUG [src.node.waku_node] Starting Node...
2025-12-08 12:11:08.294 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-08 12:11:08.295 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-08 12:11:08.295 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.28.76
2025-12-08 12:11:08.295 DEBUG [src.node.docker_mananger] Generated ports ['33867', '33868', '33869', '33870', '33871']
2025-12-08 12:11:08.295 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-08 12:11:08.296 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-08 12:11:08.296 DEBUG [src.node.waku_node] Using volumes []
2025-12-08 12:11:08.296 DEBUG [src.node.docker_mananger] docker run -i -t -p 33867:33867 -p 33868:33868 -p 33869:33869 -p 33870:33870 -p 33871:33871 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=33869 --rest-port=33867 --tcp-port=33868 --discv5-udp-port=33870 --rest-address=0.0.0.0 --nat=extip:172.18.28.76 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=afd7dcc0b5cb5fc9bbe33deabcd5174020b15dcab4d0cb64fd8b751bf31300d5 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=33871 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QL2Eg6R4R7Yj2F8XsXRPmgg8hG45hGApnABlIjv0h6apMbB7txhK0LSzMwdSfUzYAGRln6BnCUrKbV-3W5_eqbMCgmlkgnY0gmlwhKwSAhWKbXVsdGlhZGRyc5YACASsEgIVBtg9AAoErBICFQbYPt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDY-3pBV5Kx_DQW-jDAQvd_Y2BzRE31r_EyOmsvC5yQYCDdGNwgtg9g3VkcILYP4V3YWt1MgE
2025-12-08 12:11:08.446 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.28.76 waku 4358bf76474840436a71e323710ba5856a7cae257dfa9dcd67385c7a74379f0d
2025-12-08 12:11:08.472 DEBUG [src.node.docker_mananger] Container started with ID 4358bf764748. Setting up logs at ./log/docker/node2_2025-12-08_12-11-07__e79647ee-a037-45f7-b656-3e19aa8c326b__wakuorg_nwaku:latest.log
2025-12-08 12:11:08.472 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 33867
2025-12-08 12:11:08.472 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-08 12:11:09.473 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33867/health" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:09.492 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-08 12:11:09.494 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-08 12:11:09.494 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33867/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:09.501 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.28.76/tcp/33868/p2p/16Uiu2HAkv2VX9JtJtrmbsdqtrQpre4d5fWGTKpi2TZgXA3xbkYr5","/ip4/172.18.28.76/tcp/33869/ws/p2p/16Uiu2HAkv2VX9JtJtrmbsdqtrQpre4d5fWGTKpi2TZgXA3xbkYr5"],"enrUri":"enr:-L24QNrYziQQOR2doZD-YNcxzFO_C7Z1a2thTHd763wDsYLBda0g64NvzUK-06-NDvN_AvOtYupLZ2Exr8FimxeLOLMCgmlkgnY0gmlwhKwSHEyKbXVsdGlhZGRyc5YACASsEhxMBoRMAAoErBIcTAaETd0DgnJzhQADAQAAiXNlY3AyNTZrMaECCOuAcumoE9V4Gs29LcYx6Ptq2VJKu6jia361c-C757KDdGNwgoRMg3VkcIKEToV3YWt1MgE"}'
2025-12-08 12:11:09.501 INFO [src.node.waku_node] REST service is ready !!
2025-12-08 12:11:09.502 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:33867/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.2.21/tcp/55357/p2p/16Uiu2HAmKP581k5MkQGpqiWY8w4VCJVkMojFGjjYSi4Ywz2jbtsq"]'
2025-12-08 12:11:09.504 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:09.504 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2025-12-08 12:11:09.505 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:09.508 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:09.508 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:33867/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-08 12:11:09.513 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:09.513 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.518 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-08 12:11:09.518 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-08 12:11:09.618 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:09.618 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:09.621 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":1765195869513709824,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:09.623 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-08 12:11:09.623 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:33867/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-08 12:11:09.625 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":1765195869513709824,"ephemeral":false,"proof":""}]'
2025-12-08 12:11:09.627 INFO [src.steps.relay] WARM UP successful!!
2025-12-08 12:11:09.627 DEBUG [tests.relay.test_publish] Running test with payload Empty string
2025-12-08 12:11:09.628 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.630 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-08 12:11:09.630 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
2025-12-08 12:11:09.631 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.633 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
2025-12-08 12:11:09.633 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
2025-12-08 12:11:09.633 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.636 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-08 12:11:09.636 DEBUG [tests.relay.test_publish] Running test with payload An integer
2025-12-08 12:11:09.636 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.638 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-08 12:11:09.638 DEBUG [tests.relay.test_publish] Running test with payload A list
2025-12-08 12:11:09.639 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.641 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-08 12:11:09.641 DEBUG [tests.relay.test_publish] Running test with payload A bool
2025-12-08 12:11:09.641 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55356/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-08 12:11:09.643 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55356/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-08 12:11:09.645 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-08 12:11:09.646 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-08 12:11:09.646 DEBUG [src.node.waku_node] Stopping container with id acb3a2d98842
2025-12-08 12:11:10.125 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:10.125 DEBUG [src.node.waku_node] Stopping container with id 4358bf764748
2025-12-08 12:11:10.593 DEBUG [src.node.waku_node] Container stopped.
2025-12-08 12:11:10.594 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-08 12:11:10.600 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-08 12:11:10.605 DEBUG [src.node.docker_mananger] No errors found in the waku logs.