2026-02-25 20:22:16 +00:00

91 lines
16 KiB
Plaintext

2026-02-25 20:05:44.449 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-25 20:05:44.449 DEBUG [tests.conftest] Running test: test_publish_with_invalid_content_topics with id: 2026-02-25_20-05-44__f606814e-4351-499d-8166-9574c8444bdb
2026-02-25 20:05:44.450 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-25 20:05:44.450 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-25 20:05:44.450 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-02-25 20:05:44.457 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:05:44.457 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-25_20-05-44__f606814e-4351-499d-8166-9574c8444bdb__wakuorg_nwaku:latest.log
2026-02-25 20:05:44.458 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:05:44.458 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:05:44.459 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:05:44.459 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.192.38
2026-02-25 20:05:44.459 DEBUG [src.node.docker_mananger] Generated ports ['7063', '7064', '7065', '7066', '7067']
2026-02-25 20:05:44.460 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:05:44.460 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:05:44.460 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:05:44.460 DEBUG [src.node.docker_mananger] docker run -i -t -p 7063:7063 -p 7064:7064 -p 7065:7065 -p 7066:7066 -p 7067:7067 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=7065 --rest-port=7063 --tcp-port=7064 --discv5-udp-port=7066 --rest-address=0.0.0.0 --nat=extip:172.18.192.38 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=72ea3c65d50dda0d3cacbfba66cac603dfad9af8e3cde3dc8d442a627cf5bfdf --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=7067 --metrics-logging=true --relay=true
2026-02-25 20:05:44.650 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.192.38 waku a108d82a1416564f0931682c4c2cc38deb68d5d51240b0cbd2e0a02724845c97
2026-02-25 20:05:44.670 ERROR [src.node.docker_mananger] Max retries reached for container c0c2ee9a47f0. Exiting log stream.
2026-02-25 20:05:44.685 DEBUG [src.node.docker_mananger] Container started with ID a108d82a1416. Setting up logs at ./log/docker/node1_2026-02-25_20-05-44__f606814e-4351-499d-8166-9574c8444bdb__wakuorg_nwaku:latest.log
2026-02-25 20:05:44.687 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 7063
2026-02-25 20:05:44.688 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:05:45.218 ERROR [src.node.docker_mananger] Max retries reached for container d1e360cb85e5. Exiting log stream.
2026-02-25 20:05:45.689 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7063/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:45.692 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-25 20:05:45.692 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:05:45.693 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7063/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:45.695 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.192.38/tcp/7064/p2p/16Uiu2HAmTP1PQPCgdRiXNHhWoCvvMrSHRcT8LAXxW5n62mDJuD1z","/ip4/172.18.192.38/tcp/7065/ws/p2p/16Uiu2HAmTP1PQPCgdRiXNHhWoCvvMrSHRcT8LAXxW5n62mDJuD1z"],"enrUri":"enr:-L24QPuIkmEazkuVKGGtglHKdlHyUJegLr5kPRq6_0xjUqfdB0AgHj4UCR24S8wsyPQPRG6t8jtOOltmaTnP6x1QxSICgmlkgnY0gmlwhKwSwCaKbXVsdGlhZGRyc5YACASsEsAmBhuYAAoErBLAJgYbmd0DgnJzhQADAQAAiXNlY3AyNTZrMaED2scu0GqAsJPLJLensJY7JIbdui1p-ix0HJ9uuC6xTBmDdGNwghuYg3VkcIIbmoV3YWt1MgE"}'
2026-02-25 20:05:45.695 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:05:45.702 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-25 20:05:45.702 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-25_20-05-44__f606814e-4351-499d-8166-9574c8444bdb__wakuorg_nwaku:latest.log
2026-02-25 20:05:45.703 DEBUG [src.node.waku_node] Starting Node...
2026-02-25 20:05:45.703 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-25 20:05:45.704 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-25 20:05:45.704 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.108.179
2026-02-25 20:05:45.705 DEBUG [src.node.docker_mananger] Generated ports ['61781', '61782', '61783', '61784', '61785']
2026-02-25 20:05:45.705 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-25 20:05:45.705 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-25 20:05:45.705 DEBUG [src.node.waku_node] Using volumes []
2026-02-25 20:05:45.705 DEBUG [src.node.docker_mananger] docker run -i -t -p 61781:61781 -p 61782:61782 -p 61783:61783 -p 61784:61784 -p 61785:61785 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=61783 --rest-port=61781 --tcp-port=61782 --discv5-udp-port=61784 --rest-address=0.0.0.0 --nat=extip:172.18.108.179 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=c6a21fbaf7a84ba91ebeedbbedeeada03f681e26bf9ca5f0abfba35f4ec8fbeb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=61785 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QPuIkmEazkuVKGGtglHKdlHyUJegLr5kPRq6_0xjUqfdB0AgHj4UCR24S8wsyPQPRG6t8jtOOltmaTnP6x1QxSICgmlkgnY0gmlwhKwSwCaKbXVsdGlhZGRyc5YACASsEsAmBhuYAAoErBLAJgYbmd0DgnJzhQADAQAAiXNlY3AyNTZrMaED2scu0GqAsJPLJLensJY7JIbdui1p-ix0HJ9uuC6xTBmDdGNwghuYg3VkcIIbmoV3YWt1MgE
2026-02-25 20:05:45.895 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.108.179 waku dbc29dc3d75ed1c79b43736965b06991d76498e16f6c22a4a8e3b219f7c06bc8
2026-02-25 20:05:45.934 DEBUG [src.node.docker_mananger] Container started with ID dbc29dc3d75e. Setting up logs at ./log/docker/node2_2026-02-25_20-05-44__f606814e-4351-499d-8166-9574c8444bdb__wakuorg_nwaku:latest.log
2026-02-25 20:05:45.934 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 61781
2026-02-25 20:05:45.935 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-25 20:05:46.935 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61781/health" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:46.960 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-25 20:05:46.962 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-25 20:05:46.966 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61781/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:46.969 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.108.179/tcp/61782/p2p/16Uiu2HAkwfra5mw9DFuzg1WpJYyQAJy4AmDfV3sbPwtZvtQZSW88","/ip4/172.18.108.179/tcp/61783/ws/p2p/16Uiu2HAkwfra5mw9DFuzg1WpJYyQAJy4AmDfV3sbPwtZvtQZSW88"],"enrUri":"enr:-L24QPkk9dg2cU1RkluW7DgZ19pYOS_OLUDl84mSzZNqRtclPdqXVsk0nfT3MVw-1eDVh06I1ZOyGBrgYtpmfxBqYScCgmlkgnY0gmlwhKwSbLOKbXVsdGlhZGRyc5YACASsEmyzBvFWAAoErBJsswbxV90DgnJzhQADAQAAiXNlY3AyNTZrMaECIVl7DmHSS90NC6JU_p22bgmgyvY0I6UI2EuI9loMoTmDdGNwgvFWg3VkcILxWIV3YWt1MgE"}'
2026-02-25 20:05:46.969 INFO [src.node.waku_node] REST service is ready !!
2026-02-25 20:05:46.969 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61781/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.192.38/tcp/7064/p2p/16Uiu2HAmTP1PQPCgdRiXNHhWoCvvMrSHRcT8LAXxW5n62mDJuD1z"]'
2026-02-25 20:05:46.972 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:05:46.973 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-02-25 20:05:46.973 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:05:46.977 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:05:46.978 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:61781/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-25 20:05:46.983 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:05:46.985 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/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-25 20:05:46.991 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-25 20:05:46.991 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-02-25 20:05:47.092 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-02-25 20:05:47.092 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:47.095 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":1772049946984845568,"ephemeral":false,"proof":""}]'
2026-02-25 20:05:47.097 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-02-25 20:05:47.097 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:61781/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-25 20:05:47.100 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":1772049946984845568,"ephemeral":false,"proof":""}]'
2026-02-25 20:05:47.101 INFO [src.steps.relay] WARM UP successful!!
2026-02-25 20:05:47.102 DEBUG [tests.relay.test_publish] Running test with contetn topic Empty string
2026-02-25 20:05:47.102 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "", "timestamp": '$(date +%s%N)'}'
2026-02-25 20:05:47.105 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-25 20:05:47.105 DEBUG [tests.relay.test_publish] Running test with contetn topic A dictionary
2026-02-25 20:05:47.106 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": {"key": "YWFh"}, "timestamp": '$(date +%s%N)'}'
2026-02-25 20:05:47.108 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-25 20:05:47.108 DEBUG [tests.relay.test_publish] Running test with contetn topic An integer
2026-02-25 20:05:47.108 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": 1234567890, "timestamp": '$(date +%s%N)'}'
2026-02-25 20:05:47.111 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-25 20:05:47.111 DEBUG [tests.relay.test_publish] Running test with contetn topic A list
2026-02-25 20:05:47.111 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": ["YWFh"], "timestamp": '$(date +%s%N)'}'
2026-02-25 20:05:47.114 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-25 20:05:47.114 DEBUG [tests.relay.test_publish] Running test with contetn topic A bool
2026-02-25 20:05:47.114 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": true, "timestamp": '$(date +%s%N)'}'
2026-02-25 20:05:47.117 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:7063/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-02-25 20:05:47.119 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-25 20:05:47.120 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-25 20:05:47.120 DEBUG [src.node.waku_node] Stopping container with id a108d82a1416
2026-02-25 20:05:47.669 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:05:47.670 DEBUG [src.node.waku_node] Stopping container with id dbc29dc3d75e
2026-02-25 20:05:48.220 DEBUG [src.node.waku_node] Container stopped.
2026-02-25 20:05:48.222 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-25 20:05:48.228 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-25 20:05:48.233 DEBUG [src.node.docker_mananger] No errors found in the waku logs.