91 lines
16 KiB
Plaintext

2026-01-30 04:33:22.072 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-30 04:33:22.072 DEBUG [tests.conftest] Running test: test_publish_with_invalid_content_topics with id: 2026-01-30_04-33-22__eecfb080-fc4d-4a20-9cf0-bed3d8f6fa17
2026-01-30 04:33:22.072 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-30 04:33:22.073 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-01-30 04:33:22.073 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2026-01-30 04:33:22.080 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-30 04:33:22.080 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-01-30_04-33-22__eecfb080-fc4d-4a20-9cf0-bed3d8f6fa17__wakuorg_nwaku:latest.log
2026-01-30 04:33:22.080 DEBUG [src.node.waku_node] Starting Node...
2026-01-30 04:33:22.080 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-30 04:33:22.082 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-30 04:33:22.082 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.216.71
2026-01-30 04:33:22.082 DEBUG [src.node.docker_mananger] Generated ports ['55565', '55566', '55567', '55568', '55569']
2026-01-30 04:33:22.082 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-30 04:33:22.083 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-30 04:33:22.083 DEBUG [src.node.waku_node] Using volumes []
2026-01-30 04:33:22.083 DEBUG [src.node.docker_mananger] docker run -i -t -p 55565:55565 -p 55566:55566 -p 55567:55567 -p 55568:55568 -p 55569:55569 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=55567 --rest-port=55565 --tcp-port=55566 --discv5-udp-port=55568 --rest-address=0.0.0.0 --nat=extip:172.18.216.71 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=1e6cb068cb5b6daf6c8b40fcd57b7cdcdf5f4b737ebb6a9ff5a7472d63b3cfdb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=55569 --metrics-logging=true --relay=true
2026-01-30 04:33:22.273 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.216.71 waku 3a7fb86ae87de20bd5cf3d139a4bfdfe0074f3422fc40098063dc7ba557425eb
2026-01-30 04:33:22.305 DEBUG [src.node.docker_mananger] Container started with ID 3a7fb86ae87d. Setting up logs at ./log/docker/node1_2026-01-30_04-33-22__eecfb080-fc4d-4a20-9cf0-bed3d8f6fa17__wakuorg_nwaku:latest.log
2026-01-30 04:33:22.305 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 55565
2026-01-30 04:33:22.305 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-30 04:33:22.312 ERROR [src.node.docker_mananger] Max retries reached for container 90ba3b30a8cd. Exiting log stream.
2026-01-30 04:33:22.859 ERROR [src.node.docker_mananger] Max retries reached for container d796d2ea93d8. Exiting log stream.
2026-01-30 04:33:23.306 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55565/health" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:23.309 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-30 04:33:23.309 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-30 04:33:23.310 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55565/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:23.312 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.216.71/tcp/55566/p2p/16Uiu2HAkv5XkUrFehz5vLxmz7s41Zim6huadg87wsN6LuL9Zsjwu","/ip4/172.18.216.71/tcp/55567/ws/p2p/16Uiu2HAkv5XkUrFehz5vLxmz7s41Zim6huadg87wsN6LuL9Zsjwu"],"enrUri":"enr:-L24QAV6xHCNjCQ3TcrNf3kCZl9K-0oZhAlCSN87x5Mhx0LlCa6-w7eURmHMH7uyMHpdhSe4bhnx7jQ2RPrpPWdXO3cCgmlkgnY0gmlwhKwS2EeKbXVsdGlhZGRyc5YACASsEthHBtkOAAoErBLYRwbZD90DgnJzhQADAQAAiXNlY3AyNTZrMaECCbLD_avkbSlCYUxftAQOK71hM5hzZxJoOJCHUIVu0OiDdGNwgtkOg3VkcILZEIV3YWt1MgE"}'
2026-01-30 04:33:23.312 INFO [src.node.waku_node] REST service is ready !!
2026-01-30 04:33:23.319 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-30 04:33:23.319 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-01-30_04-33-22__eecfb080-fc4d-4a20-9cf0-bed3d8f6fa17__wakuorg_nwaku:latest.log
2026-01-30 04:33:23.319 DEBUG [src.node.waku_node] Starting Node...
2026-01-30 04:33:23.319 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-30 04:33:23.321 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-30 04:33:23.321 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.167.36
2026-01-30 04:33:23.321 DEBUG [src.node.docker_mananger] Generated ports ['52877', '52878', '52879', '52880', '52881']
2026-01-30 04:33:23.321 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-30 04:33:23.321 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-30 04:33:23.321 DEBUG [src.node.waku_node] Using volumes []
2026-01-30 04:33:23.321 DEBUG [src.node.docker_mananger] docker run -i -t -p 52877:52877 -p 52878:52878 -p 52879:52879 -p 52880:52880 -p 52881:52881 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=52879 --rest-port=52877 --tcp-port=52878 --discv5-udp-port=52880 --rest-address=0.0.0.0 --nat=extip:172.18.167.36 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=0bdaaf2ee20c1d2c79c5cef8daa9fa769ca2b6012ff125b8aab7f10dbe1b1db9 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=52881 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QAV6xHCNjCQ3TcrNf3kCZl9K-0oZhAlCSN87x5Mhx0LlCa6-w7eURmHMH7uyMHpdhSe4bhnx7jQ2RPrpPWdXO3cCgmlkgnY0gmlwhKwS2EeKbXVsdGlhZGRyc5YACASsEthHBtkOAAoErBLYRwbZD90DgnJzhQADAQAAiXNlY3AyNTZrMaECCbLD_avkbSlCYUxftAQOK71hM5hzZxJoOJCHUIVu0OiDdGNwgtkOg3VkcILZEIV3YWt1MgE
2026-01-30 04:33:23.510 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.167.36 waku 819e5e8032d81b8ff9555657e8bc67eb2e9dc0631ec4d9920c677d831645f62e
2026-01-30 04:33:23.542 DEBUG [src.node.docker_mananger] Container started with ID 819e5e8032d8. Setting up logs at ./log/docker/node2_2026-01-30_04-33-22__eecfb080-fc4d-4a20-9cf0-bed3d8f6fa17__wakuorg_nwaku:latest.log
2026-01-30 04:33:23.543 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 52877
2026-01-30 04:33:23.543 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-30 04:33:24.543 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52877/health" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:24.554 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-30 04:33:24.557 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-30 04:33:24.557 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52877/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:24.561 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.167.36/tcp/52878/p2p/16Uiu2HAkvq2hz9cERPhFBnMSmtNkKHCeEdna8QqJ3XgWQnbUQVNh","/ip4/172.18.167.36/tcp/52879/ws/p2p/16Uiu2HAkvq2hz9cERPhFBnMSmtNkKHCeEdna8QqJ3XgWQnbUQVNh"],"enrUri":"enr:-L24QN6nlWbqTrgfjHtiRpe13sJfMWLx7DeP7GaozG92bl0nbqBEceRF18959_2wM8Kk4Id1t4s7The1hbFkQMW0sCECgmlkgnY0gmlwhKwSpySKbXVsdGlhZGRyc5YACASsEqckBs6OAAoErBKnJAbOj90DgnJzhQADAQAAiXNlY3AyNTZrMaECFNd7bgYlaDwdBQgdSYRL0NnGy12mmDzp-sKmVJLWBCKDdGNwgs6Og3VkcILOkIV3YWt1MgE"}'
2026-01-30 04:33:24.562 INFO [src.node.waku_node] REST service is ready !!
2026-01-30 04:33:24.562 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52877/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.216.71/tcp/55566/p2p/16Uiu2HAkv5XkUrFehz5vLxmz7s41Zim6huadg87wsN6LuL9Zsjwu"]'
2026-01-30 04:33:24.565 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:33:24.565 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2026-01-30 04:33:24.565 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-30 04:33:24.569 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:33:24.569 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:52877/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-30 04:33:24.574 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:33:24.575 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/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-30 04:33:24.581 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:33:24.581 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2026-01-30 04:33:24.682 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2026-01-30 04:33:24.682 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:24.685 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":1769747604575386880,"ephemeral":false,"proof":""}]'
2026-01-30 04:33:24.686 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2026-01-30 04:33:24.686 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:52877/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:33:24.689 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":1769747604575386880,"ephemeral":false,"proof":""}]'
2026-01-30 04:33:24.690 INFO [src.steps.relay] WARM UP successful!!
2026-01-30 04:33:24.691 DEBUG [tests.relay.test_publish] Running test with contetn topic Empty string
2026-01-30 04:33:24.692 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "", "timestamp": '$(date +%s%N)'}'
2026-01-30 04:33:24.694 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-30 04:33:24.695 DEBUG [tests.relay.test_publish] Running test with contetn topic A dictionary
2026-01-30 04:33:24.695 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": {"key": "YWFh"}, "timestamp": '$(date +%s%N)'}'
2026-01-30 04:33:24.697 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-30 04:33:24.698 DEBUG [tests.relay.test_publish] Running test with contetn topic An integer
2026-01-30 04:33:24.698 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": 1234567890, "timestamp": '$(date +%s%N)'}'
2026-01-30 04:33:24.700 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-30 04:33:24.701 DEBUG [tests.relay.test_publish] Running test with contetn topic A list
2026-01-30 04:33:24.701 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": ["YWFh"], "timestamp": '$(date +%s%N)'}'
2026-01-30 04:33:24.704 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-30 04:33:24.704 DEBUG [tests.relay.test_publish] Running test with contetn topic A bool
2026-01-30 04:33:24.704 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": true, "timestamp": '$(date +%s%N)'}'
2026-01-30 04:33:24.707 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:55565/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2026-01-30 04:33:24.709 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-30 04:33:24.710 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-30 04:33:24.710 DEBUG [src.node.waku_node] Stopping container with id 3a7fb86ae87d
2026-01-30 04:33:25.238 DEBUG [src.node.waku_node] Container stopped.
2026-01-30 04:33:25.238 DEBUG [src.node.waku_node] Stopping container with id 819e5e8032d8
2026-01-30 04:33:25.771 DEBUG [src.node.waku_node] Container stopped.
2026-01-30 04:33:25.773 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-30 04:33:25.778 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-30 04:33:25.783 DEBUG [src.node.docker_mananger] No errors found in the waku logs.