mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-04 06:53:07 +00:00
92 lines
17 KiB
Plaintext
92 lines
17 KiB
Plaintext
2025-12-18 04:20:29.992 DEBUG [tests.conftest] Running fixture setup: test_id
|
|
2025-12-18 04:20:29.993 DEBUG [tests.conftest] Running test: test_publish_with_invalid_payloads with id: 2025-12-18_04-20-29__07638bdc-7e71-4ed7-ba1b-2216d288e1bd
|
|
2025-12-18 04:20:29.993 DEBUG [src.steps.common] Running fixture setup: common_setup
|
|
2025-12-18 04:20:29.993 DEBUG [src.steps.relay] Running fixture setup: relay_setup
|
|
2025-12-18 04:20:29.994 DEBUG [src.steps.relay] Running fixture setup: setup_main_relay_nodes
|
|
2025-12-18 04:20:30.001 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
|
|
2025-12-18 04:20:30.001 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2025-12-18_04-20-29__07638bdc-7e71-4ed7-ba1b-2216d288e1bd__wakuorg_nwaku:latest.log
|
|
2025-12-18 04:20:30.001 DEBUG [src.node.waku_node] Starting Node...
|
|
2025-12-18 04:20:30.001 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
|
|
2025-12-18 04:20:30.003 DEBUG [src.node.docker_mananger] Network waku already exists
|
|
2025-12-18 04:20:30.003 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.60.79
|
|
2025-12-18 04:20:30.003 DEBUG [src.node.docker_mananger] Generated ports ['43286', '43287', '43288', '43289', '43290']
|
|
2025-12-18 04:20:30.003 DEBUG [src.node.waku_node] RLN credentials were not set
|
|
2025-12-18 04:20:30.003 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
|
|
2025-12-18 04:20:30.004 DEBUG [src.node.waku_node] Using volumes []
|
|
2025-12-18 04:20:30.004 DEBUG [src.node.docker_mananger] docker run -i -t -p 43286:43286 -p 43287:43287 -p 43288:43288 -p 43289:43289 -p 43290:43290 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=43288 --rest-port=43286 --tcp-port=43287 --discv5-udp-port=43289 --rest-address=0.0.0.0 --nat=extip:172.18.60.79 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=ead24cdb19ee974daeb84227faedba26e1c3b32afaeb4ffbbac3bfeeb02a1b1e --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=43290 --metrics-logging=true --relay=true
|
|
2025-12-18 04:20:30.205 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.60.79 waku ae08a9c60df1e678c4c2cd9fe88461bbf8d6ddc6c056cd5c34f320300db48ca3
|
|
2025-12-18 04:20:30.244 DEBUG [src.node.docker_mananger] Container started with ID ae08a9c60df1. Setting up logs at ./log/docker/node1_2025-12-18_04-20-29__07638bdc-7e71-4ed7-ba1b-2216d288e1bd__wakuorg_nwaku:latest.log
|
|
2025-12-18 04:20:30.245 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 43286
|
|
2025-12-18 04:20:30.245 DEBUG [src.libs.common] Sleeping for 1 seconds
|
|
2025-12-18 04:20:31.247 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43286/health" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:31.250 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-18 04:20:31.251 INFO [src.node.waku_node] Node protocols are initialized !!
|
|
2025-12-18 04:20:31.251 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43286/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:31.253 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.60.79/tcp/43287/p2p/16Uiu2HAmR9GG5az4VXZ1cEb34hGmUqmvnUBnJcDpRf5rSpYh3CBV","/ip4/172.18.60.79/tcp/43288/ws/p2p/16Uiu2HAmR9GG5az4VXZ1cEb34hGmUqmvnUBnJcDpRf5rSpYh3CBV"],"enrUri":"enr:-L24QH0bDl_QtmdA7vu0DG2mLCESZ7G8LgAmuT43-YOQratjRro82Ppr2i1nlFbsa1GYcpZfiJvzMF_R6viLWR1P9sYCgmlkgnY0gmlwhKwSPE-KbXVsdGlhZGRyc5YACASsEjxPBqkXAAoErBI8TwapGN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDuYp-1nPfbcouyLHxexzs6hnL34nvrZ2sPBwXkH8JPVyDdGNwgqkXg3VkcIKpGYV3YWt1MgE"}'
|
|
2025-12-18 04:20:31.253 INFO [src.node.waku_node] REST service is ready !!
|
|
2025-12-18 04:20:31.261 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
|
|
2025-12-18 04:20:31.262 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2025-12-18_04-20-29__07638bdc-7e71-4ed7-ba1b-2216d288e1bd__wakuorg_nwaku:latest.log
|
|
2025-12-18 04:20:31.262 DEBUG [src.node.waku_node] Starting Node...
|
|
2025-12-18 04:20:31.262 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
|
|
2025-12-18 04:20:31.263 DEBUG [src.node.docker_mananger] Network waku already exists
|
|
2025-12-18 04:20:31.263 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.99.74
|
|
2025-12-18 04:20:31.263 DEBUG [src.node.docker_mananger] Generated ports ['10416', '10417', '10418', '10419', '10420']
|
|
2025-12-18 04:20:31.264 DEBUG [src.node.waku_node] RLN credentials were not set
|
|
2025-12-18 04:20:31.264 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
|
|
2025-12-18 04:20:31.264 DEBUG [src.node.waku_node] Using volumes []
|
|
2025-12-18 04:20:31.264 DEBUG [src.node.docker_mananger] docker run -i -t -p 10416:10416 -p 10417:10417 -p 10418:10418 -p 10419:10419 -p 10420:10420 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=10418 --rest-port=10416 --tcp-port=10417 --discv5-udp-port=10419 --rest-address=0.0.0.0 --nat=extip:172.18.99.74 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=fbff83e9cbddce0bafef2ee2b405a4c8dfc0bbe802ea7f50cd60728a068ca81d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=10420 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QH0bDl_QtmdA7vu0DG2mLCESZ7G8LgAmuT43-YOQratjRro82Ppr2i1nlFbsa1GYcpZfiJvzMF_R6viLWR1P9sYCgmlkgnY0gmlwhKwSPE-KbXVsdGlhZGRyc5YACASsEjxPBqkXAAoErBI8TwapGN0DgnJzhQADAQAAiXNlY3AyNTZrMaEDuYp-1nPfbcouyLHxexzs6hnL34nvrZ2sPBwXkH8JPVyDdGNwgqkXg3VkcIKpGYV3YWt1MgE
|
|
2025-12-18 04:20:31.453 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.99.74 waku bfe97a5c578fa9ed8359efd7d9c587546a8d4e299772940d6064c4d14596e373
|
|
2025-12-18 04:20:31.483 DEBUG [src.node.docker_mananger] Container started with ID bfe97a5c578f. Setting up logs at ./log/docker/node2_2025-12-18_04-20-29__07638bdc-7e71-4ed7-ba1b-2216d288e1bd__wakuorg_nwaku:latest.log
|
|
2025-12-18 04:20:31.483 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 10416
|
|
2025-12-18 04:20:31.483 DEBUG [src.libs.common] Sleeping for 1 seconds
|
|
2025-12-18 04:20:32.484 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10416/health" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:32.495 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-18 04:20:32.496 INFO [src.node.waku_node] Node protocols are initialized !!
|
|
2025-12-18 04:20:32.496 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10416/debug/v1/info" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:32.501 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.99.74/tcp/10417/p2p/16Uiu2HAm8hPZ344c6kogrqvykj8BchrmhT2njkTrgA6UYWfXEcMn","/ip4/172.18.99.74/tcp/10418/ws/p2p/16Uiu2HAm8hPZ344c6kogrqvykj8BchrmhT2njkTrgA6UYWfXEcMn"],"enrUri":"enr:-L24QDL5MB1_qwaUwp5zDSR-okweTCYjpaTnI1LSLjo9acIVQtqg8-WiMO7_FJKDez7AxhFEeyuwEwnCMBv3xTffgXQCgmlkgnY0gmlwhKwSY0qKbXVsdGlhZGRyc5YACASsEmNKBiixAAoErBJjSgYost0DgnJzhQADAQAAiXNlY3AyNTZrMaECxS6mKrRvVOT-2CArQvfq0WuKyxvaTnNou1xmtAKABgmDdGNwgiixg3VkcIIos4V3YWt1MgE"}'
|
|
2025-12-18 04:20:32.502 INFO [src.node.waku_node] REST service is ready !!
|
|
2025-12-18 04:20:32.503 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10416/admin/v1/peers" -H "Content-Type: application/json" -d '["/ip4/172.18.60.79/tcp/43287/p2p/16Uiu2HAmR9GG5az4VXZ1cEb34hGmUqmvnUBnJcDpRf5rSpYh3CBV"]'
|
|
2025-12-18 04:20:32.507 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
|
|
2025-12-18 04:20:32.508 DEBUG [src.steps.relay] Running fixture setup: subscribe_main_relay_nodes
|
|
2025-12-18 04:20:32.508 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
|
2025-12-18 04:20:32.512 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
|
|
2025-12-18 04:20:32.512 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:10416/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
|
|
2025-12-18 04:20:32.516 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
|
|
2025-12-18 04:20:32.518 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.523 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
|
|
2025-12-18 04:20:32.523 DEBUG [src.libs.common] Sleeping for 0.1 seconds
|
|
2025-12-18 04:20:32.623 DEBUG [src.steps.relay] Checking that peer NODE_1:wakuorg/nwaku:latest can find the published message
|
|
2025-12-18 04:20:32.624 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:32.626 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":1766031632518768384,"ephemeral":false,"proof":""}]'
|
|
2025-12-18 04:20:32.628 DEBUG [src.steps.relay] Checking that peer NODE_2:wakuorg/nwaku:latest can find the published message
|
|
2025-12-18 04:20:32.628 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:10416/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
|
|
2025-12-18 04:20:32.630 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":1766031632518768384,"ephemeral":false,"proof":""}]'
|
|
2025-12-18 04:20:32.632 INFO [src.steps.relay] WARM UP successful!!
|
|
2025-12-18 04:20:32.633 DEBUG [tests.relay.test_publish] Running test with payload Empty string
|
|
2025-12-18 04:20:32.633 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.635 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
|
|
2025-12-18 04:20:32.635 DEBUG [tests.relay.test_publish] Running test with payload Unecoded text
|
|
2025-12-18 04:20:32.636 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.638 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Incorrect base64 string'
|
|
2025-12-18 04:20:32.638 DEBUG [tests.relay.test_publish] Running test with payload A dictionary
|
|
2025-12-18 04:20:32.638 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.641 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
|
|
2025-12-18 04:20:32.641 DEBUG [tests.relay.test_publish] Running test with payload An integer
|
|
2025-12-18 04:20:32.641 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.643 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
|
|
2025-12-18 04:20:32.643 DEBUG [tests.relay.test_publish] Running test with payload A list
|
|
2025-12-18 04:20:32.644 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.646 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
|
|
2025-12-18 04:20:32.646 DEBUG [tests.relay.test_publish] Running test with payload A bool
|
|
2025-12-18 04:20:32.646 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:43286/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-18 04:20:32.649 ERROR [src.node.api_clients.base_client] HTTP error occurred: 400 Client Error: Bad Request for url: http://127.0.0.1:43286/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1. Response content: b'Invalid content body, could not decode: Unable to deserialize data: '
|
|
2025-12-18 04:20:32.651 DEBUG [tests.conftest] Running fixture teardown: test_setup
|
|
2025-12-18 04:20:32.652 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
|
|
2025-12-18 04:20:32.652 DEBUG [src.node.waku_node] Stopping container with id ae08a9c60df1
|
|
2025-12-18 04:20:33.210 DEBUG [src.node.waku_node] Container stopped.
|
|
2025-12-18 04:20:33.211 DEBUG [src.node.waku_node] Stopping container with id bfe97a5c578f
|
|
2025-12-18 04:20:33.711 DEBUG [src.node.waku_node] Container stopped.
|
|
2025-12-18 04:20:33.713 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
|
|
2025-12-18 04:20:33.719 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
|
|
2025-12-18 04:20:33.724 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
|