91 lines
16 KiB
Plaintext

2025-12-10 04:13:52.321 DEBUG [tests.conftest] Running fixture setup: test_id
2025-12-10 04:13:52.321 DEBUG [tests.conftest] Running test: test_publish_with_invalid_content_topics with id: 2025-12-10_04-13-52__dba4cdf9-7a27-470d-ac9f-d36bbb80b22f
2025-12-10 04:13:52.322 DEBUG [src.steps.common] Running fixture setup: common_setup
2025-12-10 04:13:52.322 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2025-12-10 04:13:52.322 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
2025-12-10 04:13:52.328 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:13:52.329 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-10_04-13-52__dba4cdf9-7a27-470d-ac9f-d36bbb80b22f__wakuorg_nwaku:latest.log
2025-12-10 04:13:52.329 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:13:52.329 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:13:52.330 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:13:52.330 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.68.103
2025-12-10 04:13:52.330 DEBUG [src.node.docker_mananger] Generated ports ['64325', '64326', '64327', '64328', '64329']
2025-12-10 04:13:52.331 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:13:52.331 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:13:52.331 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:13:52.331 DEBUG [src.node.docker_mananger] docker run -i -t -p 64325:64325 -p 64326:64326 -p 64327:64327 -p 64328:64328 -p 64329:64329 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=64327 --rest-port=64325 --tcp-port=64326 --discv5-udp-port=64328 --rest-address=0.0.0.0 --nat=extip:172.18.68.103 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d267caea43a8b512b1a75e523e76f52dec71c3fa9ba1b60dcac253ceac8c05db --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=64329 --metrics-logging=true --relay=true
2025-12-10 04:13:52.516 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.68.103 waku 642a1a0630669b086636f64a1bc0f34f11c43d126872d6472235752281b5863a
2025-12-10 04:13:52.543 DEBUG [src.node.docker_mananger] Container started with ID 642a1a063066. Setting up logs at ./log/docker/node1_2025-12-10_04-13-52__dba4cdf9-7a27-470d-ac9f-d36bbb80b22f__wakuorg_nwaku:latest.log
2025-12-10 04:13:52.544 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 64325
2025-12-10 04:13:52.545 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:13:52.570 ERROR [src.node.docker_mananger] Max retries reached for container ec0dad792c8c. Exiting log stream.
2025-12-10 04:13:53.103 ERROR [src.node.docker_mananger] Max retries reached for container 7b29749ada86. Exiting log stream.
2025-12-10 04:13:53.545 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64325/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:53.548 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-10 04:13:53.549 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:13:53.549 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64325/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:53.551 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.68.103/tcp/64326/p2p/16Uiu2HAmN85xcjDxR3emcfsFwkSxwJqDYnZBsCW5DR7hDkKKkAhD","/ip4/172.18.68.103/tcp/64327/ws/p2p/16Uiu2HAmN85xcjDxR3emcfsFwkSxwJqDYnZBsCW5DR7hDkKKkAhD"],"enrUri":"enr:-L24QLF_mVCMRfKwWBxxdKSgLkD_GdqS-OUgMkmsqdoAsgW8YTomDMQi_N4_V0jN5xKxVUjVtS7S0Hhl_qFS5EQ4yeICgmlkgnY0gmlwhKwSRGeKbXVsdGlhZGRyc5YACASsEkRnBvtGAAoErBJEZwb7R90DgnJzhQADAQAAiXNlY3AyNTZrMaEDjKo01k3onxXF974oLrxd90A3YuFLTWFtbBL6dWAHQziDdGNwgvtGg3VkcIL7SIV3YWt1MgE"}'
2025-12-10 04:13:53.551 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:13:53.557 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2025-12-10 04:13:53.558 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-10_04-13-52__dba4cdf9-7a27-470d-ac9f-d36bbb80b22f__wakuorg_nwaku:latest.log
2025-12-10 04:13:53.558 DEBUG [src.node.waku_node] Starting Node...
2025-12-10 04:13:53.558 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2025-12-10 04:13:53.559 DEBUG [src.node.docker_mananger] Network waku already exists
2025-12-10 04:13:53.559 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.245.145
2025-12-10 04:13:53.559 DEBUG [src.node.docker_mananger] Generated ports ['28643', '28644', '28645', '28646', '28647']
2025-12-10 04:13:53.560 DEBUG [src.node.waku_node] RLN credentials were not set
2025-12-10 04:13:53.560 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2025-12-10 04:13:53.560 DEBUG [src.node.waku_node] Using volumes []
2025-12-10 04:13:53.560 DEBUG [src.node.docker_mananger] docker run -i -t -p 28643:28643 -p 28644:28644 -p 28645:28645 -p 28646:28646 -p 28647:28647 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=28645 --rest-port=28643 --tcp-port=28644 --discv5-udp-port=28646 --rest-address=0.0.0.0 --nat=extip:172.18.245.145 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d0ada5f5d9e4f5a6ca85f37dc1add90ed75c2e1ca0ffb83662ac6bccf41a9c85 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=28647 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLF_mVCMRfKwWBxxdKSgLkD_GdqS-OUgMkmsqdoAsgW8YTomDMQi_N4_V0jN5xKxVUjVtS7S0Hhl_qFS5EQ4yeICgmlkgnY0gmlwhKwSRGeKbXVsdGlhZGRyc5YACASsEkRnBvtGAAoErBJEZwb7R90DgnJzhQADAQAAiXNlY3AyNTZrMaEDjKo01k3onxXF974oLrxd90A3YuFLTWFtbBL6dWAHQziDdGNwgvtGg3VkcIL7SIV3YWt1MgE
2025-12-10 04:13:53.746 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.245.145 waku 7cc08d0b6a85d9f6f010ece348d67e3959800aab7297e348466c7b693a2c759e
2025-12-10 04:13:53.776 DEBUG [src.node.docker_mananger] Container started with ID 7cc08d0b6a85. Setting up logs at ./log/docker/node2_2025-12-10_04-13-52__dba4cdf9-7a27-470d-ac9f-d36bbb80b22f__wakuorg_nwaku:latest.log
2025-12-10 04:13:53.776 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 28643
2025-12-10 04:13:53.776 DEBUG [src.libs.common] Sleeping for 1 seconds
2025-12-10 04:13:54.777 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28643/health" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:54.793 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-10 04:13:54.795 INFO [src.node.waku_node] Node protocols are initialized !!
2025-12-10 04:13:54.795 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28643/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:54.800 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.245.145/tcp/28644/p2p/16Uiu2HAkx6CZPtYNk2VNZ9gHZvpyG6hX2K7ecS66H7XPgKge8gx5","/ip4/172.18.245.145/tcp/28645/ws/p2p/16Uiu2HAkx6CZPtYNk2VNZ9gHZvpyG6hX2K7ecS66H7XPgKge8gx5"],"enrUri":"enr:-L24QEO7zssRTAiFyVuAdvwc7XaJiUSoW8Nwnt699JxgJg2uZSFYngiH5I3XtE4FiqpYgusEbPSLB00cKoatuAKQJz8CgmlkgnY0gmlwhKwS9ZGKbXVsdGlhZGRyc5YACASsEvWRBm_kAAoErBL1kQZv5d0DgnJzhQADAQAAiXNlY3AyNTZrMaECJ5YFUUpHMytLeQxKNdmbtdc86rbGZt-Az3Bq4icCZr6DdGNwgm_kg3VkcIJv5oV3YWt1MgE"}'
2025-12-10 04:13:54.800 INFO [src.node.waku_node] REST service is ready !!
2025-12-10 04:13:54.800 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.68.103/tcp/64326/p2p/16Uiu2HAmN85xcjDxR3emcfsFwkSxwJqDYnZBsCW5DR7hDkKKkAhD"]'
2025-12-10 04:13:54.803 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:13:54.803 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
2025-12-10 04:13:54.804 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-10 04:13:54.807 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:13:54.807 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:28643/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2025-12-10 04:13:54.813 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:13:54.813 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/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-10 04:13:54.818 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2025-12-10 04:13:54.818 DEBUG [src.libs.common] Sleeping for 0.1 seconds
2025-12-10 04:13:54.919 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
2025-12-10 04:13:54.919 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:54.921 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":1765340034813540352,"ephemeral":false,"proof":""}]'
2025-12-10 04:13:54.923 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
2025-12-10 04:13:54.923 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:28643/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2025-12-10 04:13:54.925 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":1765340034813540352,"ephemeral":false,"proof":""}]'
2025-12-10 04:13:54.926 INFO [src.steps.relay] WARM UP successful!!
2025-12-10 04:13:54.927 DEBUG [tests.relay.test_publish] Running test with contetn topic Empty string
2025-12-10 04:13:54.927 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": "", "timestamp": '$(date +%s%N)'}'
2025-12-10 04:13:54.930 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-10 04:13:54.930 DEBUG [tests.relay.test_publish] Running test with contetn topic A dictionary
2025-12-10 04:13:54.930 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": {"key": "YWFh"}, "timestamp": '$(date +%s%N)'}'
2025-12-10 04:13:54.932 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-10 04:13:54.933 DEBUG [tests.relay.test_publish] Running test with contetn topic An integer
2025-12-10 04:13:54.933 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": 1234567890, "timestamp": '$(date +%s%N)'}'
2025-12-10 04:13:54.935 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-10 04:13:54.935 DEBUG [tests.relay.test_publish] Running test with contetn topic A list
2025-12-10 04:13:54.935 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": ["YWFh"], "timestamp": '$(date +%s%N)'}'
2025-12-10 04:13:54.938 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-10 04:13:54.938 DEBUG [tests.relay.test_publish] Running test with contetn topic A bool
2025-12-10 04:13:54.938 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d '{"payload": "UmVsYXkgd29ya3MhIQ==", "contentTopic": true, "timestamp": '$(date +%s%N)'}'
2025-12-10 04:13:54.941 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:64325/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
2025-12-10 04:13:54.943 DEBUG [tests.conftest] Running fixture teardown: test_setup
2025-12-10 04:13:54.944 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2025-12-10 04:13:54.944 DEBUG [src.node.waku_node] Stopping container with id 642a1a063066
2025-12-10 04:13:55.498 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:13:55.498 DEBUG [src.node.waku_node] Stopping container with id 7cc08d0b6a85
2025-12-10 04:13:56.022 DEBUG [src.node.waku_node] Container stopped.
2025-12-10 04:13:56.025 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2025-12-10 04:13:56.031 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2025-12-10 04:13:56.039 DEBUG [src.node.docker_mananger] No errors found in the waku logs.