91 lines
16 KiB
Plaintext

2026-03-14 04:33:38.360 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-14 04:33:38.361 DEBUG [tests.conftest] Running test: test_publish_with_invalid_content_topics with id: 2026-03-14_04-33-38__643230cb-9604-43bf-bdcf-920064eeff62
2026-03-14 04:33:38.362 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-14 04:33:38.362 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-14 04:33:38.363 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-03-14 04:33:38.372 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:33:38.372 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-14_04-33-38__643230cb-9604-43bf-bdcf-920064eeff62__wakuorg_nwaku:latest.log
2026-03-14 04:33:38.373 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:33:38.373 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:33:38.376 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:33:38.376 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.92.16
2026-03-14 04:33:38.376 DEBUG [src.node.docker_mananger] Generated ports ['46007', '46008', '46009', '46010', '46011']
2026-03-14 04:33:38.377 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:33:38.377 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:33:38.378 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:33:38.378 DEBUG [src.node.docker_mananger] docker run -i -t -p 46007:46007 -p 46008:46008 -p 46009:46009 -p 46010:46010 -p 46011:46011 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=46009 --rest-port=46007 --tcp-port=46008 --discv5-udp-port=46010 --rest-address=0.0.0.0 --nat=extip:172.18.92.16 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=babebc3e9e2edea4bca119ddd72f4bfbaeb3900b4af4dc47f80e1785ff411f9c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=46011 --metrics-logging=true --relay=true
2026-03-14 04:33:38.553 ERROR [src.node.docker_mananger] Max retries reached for container 3b5f0ab8f196. Exiting log stream.
2026-03-14 04:33:38.570 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.92.16 waku 86497609008e8c1ceb82c0cbd9aeed84ffcac71fb69271153ee0c75cb9d30c1d
2026-03-14 04:33:38.609 DEBUG [src.node.docker_mananger] Container started with ID 86497609008e. Setting up logs at ./log/docker/node1_2026-03-14_04-33-38__643230cb-9604-43bf-bdcf-920064eeff62__wakuorg_nwaku:latest.log
2026-03-14 04:33:38.610 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 46007
2026-03-14 04:33:38.611 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:33:39.194 ERROR [src.node.docker_mananger] Max retries reached for container f1ddb387afbf. Exiting log stream.
2026-03-14 04:33:39.611 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46007/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:39.614 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-14 04:33:39.614 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:33:39.614 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46007/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:39.616 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.92.16/tcp/46008/p2p/16Uiu2HAm9K7BtuUcNKgiUCriXexxG1ACgpgmsNjXKCuNbwF4xLzG","/ip4/172.18.92.16/tcp/46009/ws/p2p/16Uiu2HAm9K7BtuUcNKgiUCriXexxG1ACgpgmsNjXKCuNbwF4xLzG"],"enrUri":"enr:-L24QMMwSzc-z79QXtM6AG-QF-rB39Lxp329rb4djYv0HUS5LIEmMP9W0I6zdZUtrSEL1O5VZ67JPvW5K6yhPJVKtlsCgmlkgnY0gmlwhKwSXBCKbXVsdGlhZGRyc5YACASsElwQBrO4AAoErBJcEAazud0DgnJzhQADAQAAiXNlY3AyNTZrMaECzlUOCSBXb0l8SXihaHWmX7NRAtZSUbdR5IcfjujNqq2DdGNwgrO4g3VkcIKzuoV3YWt1MgE"}'
2026-03-14 04:33:39.617 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:33:39.623 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:33:39.623 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-14_04-33-38__643230cb-9604-43bf-bdcf-920064eeff62__wakuorg_nwaku:latest.log
2026-03-14 04:33:39.623 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:33:39.623 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:33:39.625 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:33:39.625 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.49.29
2026-03-14 04:33:39.625 DEBUG [src.node.docker_mananger] Generated ports ['63386', '63387', '63388', '63389', '63390']
2026-03-14 04:33:39.625 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:33:39.625 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:33:39.625 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:33:39.626 DEBUG [src.node.docker_mananger] docker run -i -t -p 63386:63386 -p 63387:63387 -p 63388:63388 -p 63389:63389 -p 63390:63390 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=63388 --rest-port=63386 --tcp-port=63387 --discv5-udp-port=63389 --rest-address=0.0.0.0 --nat=extip:172.18.49.29 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=df0cbdecee0094137e443d9980aee98df82ac2ad3bec954fabaf88ac782be8ed --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=63390 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QMMwSzc-z79QXtM6AG-QF-rB39Lxp329rb4djYv0HUS5LIEmMP9W0I6zdZUtrSEL1O5VZ67JPvW5K6yhPJVKtlsCgmlkgnY0gmlwhKwSXBCKbXVsdGlhZGRyc5YACASsElwQBrO4AAoErBJcEAazud0DgnJzhQADAQAAiXNlY3AyNTZrMaECzlUOCSBXb0l8SXihaHWmX7NRAtZSUbdR5IcfjujNqq2DdGNwgrO4g3VkcIKzuoV3YWt1MgE
2026-03-14 04:33:39.816 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.49.29 waku 54735b3cd34d0429ca1de8340a4a41a552748e58115f298f66fb97d86f6b001a
2026-03-14 04:33:39.851 DEBUG [src.node.docker_mananger] Container started with ID 54735b3cd34d. Setting up logs at ./log/docker/node2_2026-03-14_04-33-38__643230cb-9604-43bf-bdcf-920064eeff62__wakuorg_nwaku:latest.log
2026-03-14 04:33:39.851 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 63386
2026-03-14 04:33:39.851 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:33:40.853 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63386/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:40.859 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-14 04:33:40.859 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:33:40.864 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63386/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:40.882 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.49.29/tcp/63387/p2p/16Uiu2HAm6gDZgSWC4N5Dzdu25THEeRndxB7LqLKxGFgZi4UxXxTC","/ip4/172.18.49.29/tcp/63388/ws/p2p/16Uiu2HAm6gDZgSWC4N5Dzdu25THEeRndxB7LqLKxGFgZi4UxXxTC"],"enrUri":"enr:-L24QBZZwgQignhLSEhWGVl08tMeHVIv2kCnSleeFmsOElsmKKSWMJQNKGiJ9MNvELayrxhcCgFGtaFHJXt6ZR7aN_oCgmlkgnY0gmlwhKwSMR2KbXVsdGlhZGRyc5YACASsEjEdBvebAAoErBIxHQb3nN0DgnJzhQADAQAAiXNlY3AyNTZrMaECpypmY6Fr-phYfU65x84mhAcynu0E60omMSVrK6yuNuuDdGNwgvebg3VkcIL3nYV3YWt1MgE"}'
2026-03-14 04:33:40.883 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:33:40.883 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63386/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.92.16/tcp/46008/p2p/16Uiu2HAm9K7BtuUcNKgiUCriXexxG1ACgpgmsNjXKCuNbwF4xLzG"]'
2026-03-14 04:33:40.892 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:33:40.893 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-03-14 04:33:40.894 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:33:40.899 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:33:40.899 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:63386/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:33:40.904 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:33:40.905 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/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-14 04:33:40.911 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:33:40.912 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-03-14 04:33:41.012 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-03-14 04:33:41.012 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:41.015 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":1773462820905657344,"ephemeral":false,"proof":""}]'
2026-03-14 04:33:41.016 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-03-14 04:33:41.016 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:63386/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:33:41.018 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":1773462820905657344,"ephemeral":false,"proof":""}]'
2026-03-14 04:33:41.020 INFO [src.steps.relay] WARM UP successful!!
2026-03-14 04:33:41.021 DEBUG [tests.relay.test_publish] Running test with contetn topic Empty string
2026-03-14 04:33:41.021 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "", "timestamp": '$(date +%s%N)'}'
2026-03-14 04:33:41.023 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-14 04:33:41.024 DEBUG [tests.relay.test_publish] Running test with contetn topic A dictionary
2026-03-14 04:33:41.024 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": {"key": "YWFh"}, "timestamp": '$(date +%s%N)'}'
2026-03-14 04:33:41.026 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-14 04:33:41.026 DEBUG [tests.relay.test_publish] Running test with contetn topic An integer
2026-03-14 04:33:41.027 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": 1234567890, "timestamp": '$(date +%s%N)'}'
2026-03-14 04:33:41.029 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-14 04:33:41.029 DEBUG [tests.relay.test_publish] Running test with contetn topic A list
2026-03-14 04:33:41.030 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": ["YWFh"], "timestamp": '$(date +%s%N)'}'
2026-03-14 04:33:41.032 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-14 04:33:41.032 DEBUG [tests.relay.test_publish] Running test with contetn topic A bool
2026-03-14 04:33:41.033 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": true, "timestamp": '$(date +%s%N)'}'
2026-03-14 04:33:41.035 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:46007/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-03-14 04:33:41.037 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-14 04:33:41.038 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-14 04:33:41.038 DEBUG [src.node.waku_node] Stopping container with id 86497609008e
2026-03-14 04:33:41.600 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:33:41.600 DEBUG [src.node.waku_node] Stopping container with id 54735b3cd34d
2026-03-14 04:33:42.167 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:33:42.168 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-14 04:33:42.174 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-14 04:33:42.180 DEBUG [src.node.docker_mananger] No errors found in the waku logs.