80 lines
14 KiB
Plaintext

2026-03-14 04:32:24.266 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-14 04:32:24.266 DEBUG [tests.conftest] Running test: test_relay_with_latency_between_two_nodes with id: 2026-03-14_04-32-24__9c2cafb9-2629-4653-bf17-bcfc3a765464
2026-03-14 04:32:24.266 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-14 04:32:24.267 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-14 04:32:24.273 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:32:24.273 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-14_04-32-24__9c2cafb9-2629-4653-bf17-bcfc3a765464__wakuorg_nwaku:latest.log
2026-03-14 04:32:24.279 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:32:24.279 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-14_04-32-24__9c2cafb9-2629-4653-bf17-bcfc3a765464__wakuorg_nwaku:latest.log
2026-03-14 04:32:24.280 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-03-14 04:32:24.280 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:32:24.281 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:32:24.282 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:32:24.282 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.68.123
2026-03-14 04:32:24.282 DEBUG [src.node.docker_mananger] Generated ports ['55615', '55616', '55617', '55618', '55619']
2026-03-14 04:32:24.282 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:32:24.283 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:32:24.283 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:32:24.283 DEBUG [src.node.docker_mananger] docker run -i -t -p 55615:55615 -p 55616:55616 -p 55617:55617 -p 55618:55618 -p 55619:55619 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=55617 --rest-port=55615 --tcp-port=55616 --discv5-udp-port=55618 --rest-address=0.0.0.0 --nat=extip:172.18.68.123 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5acf4aaff29b12811a1f9c9f6bde4ca4a8ea1cbdb23e787b4ad7ba56a15ef9ea --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=55619 --metrics-logging=true --relay=true
2026-03-14 04:32:24.465 ERROR [src.node.docker_mananger] Max retries reached for container a32713d73f59. Exiting log stream.
2026-03-14 04:32:24.482 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.68.123 waku fb84abfa48aa807efe3e697ea23b8ee7b5e316d539c7105cb2cbc6a2fef85e6f
2026-03-14 04:32:24.515 DEBUG [src.node.docker_mananger] Container started with ID fb84abfa48aa. Setting up logs at ./log/docker/node1_2026-03-14_04-32-24__9c2cafb9-2629-4653-bf17-bcfc3a765464__wakuorg_nwaku:latest.log
2026-03-14 04:32:24.516 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 55615
2026-03-14 04:32:24.516 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:32:24.983 ERROR [src.node.docker_mananger] Max retries reached for container dd7a9af46b28. Exiting log stream.
2026-03-14 04:32:25.516 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55615/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:25.519 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:32:25.520 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:32:25.520 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55615/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:25.522 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.68.123/tcp/55616/p2p/16Uiu2HAm57HXNMbHgSh4J8J4rSzeWmSTdzB5JqLhRmnjRnMFSjsW","/ip4/172.18.68.123/tcp/55617/ws/p2p/16Uiu2HAm57HXNMbHgSh4J8J4rSzeWmSTdzB5JqLhRmnjRnMFSjsW"],"enrUri":"enr:-L24QMuyUAxiuO3LJ2BthqLWEuOUKObhPTf-qnphaLbjEK9CY-2CYmypPZXGkGHbhpMeo5yyJE_f5-Z5v5as5BXRbscCgmlkgnY0gmlwhKwSRHuKbXVsdGlhZGRyc5YACASsEkR7BtlAAAoErBJEewbZQd0DgnJzhQADAQAAiXNlY3AyNTZrMaECj98GKfjt37PwnibC8EkAUsBUwKRfX3bRVURynY5CqeGDdGNwgtlAg3VkcILZQoV3YWt1MgE"}'
2026-03-14 04:32:25.522 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:32:25.523 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:32:25.523 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:32:25.524 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:32:25.524 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.164.220
2026-03-14 04:32:25.524 DEBUG [src.node.docker_mananger] Generated ports ['2437', '2438', '2439', '2440', '2441']
2026-03-14 04:32:25.525 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:32:25.525 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:32:25.525 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:32:25.525 DEBUG [src.node.docker_mananger] docker run -i -t -p 2437:2437 -p 2438:2438 -p 2439:2439 -p 2440:2440 -p 2441:2441 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=2439 --rest-port=2437 --tcp-port=2438 --discv5-udp-port=2440 --rest-address=0.0.0.0 --nat=extip:172.18.164.220 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a0757a910fbde322e99dda296cdbd1f3b3aff9c7fb7ef9052f252ecf39bfb9c4 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=2441 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QMuyUAxiuO3LJ2BthqLWEuOUKObhPTf-qnphaLbjEK9CY-2CYmypPZXGkGHbhpMeo5yyJE_f5-Z5v5as5BXRbscCgmlkgnY0gmlwhKwSRHuKbXVsdGlhZGRyc5YACASsEkR7BtlAAAoErBJEewbZQd0DgnJzhQADAQAAiXNlY3AyNTZrMaECj98GKfjt37PwnibC8EkAUsBUwKRfX3bRVURynY5CqeGDdGNwgtlAg3VkcILZQoV3YWt1MgE
2026-03-14 04:32:25.710 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.164.220 waku a63042a471c26d7f7b0a2065c9e627b929dc5e9317da7917a60ffe47c7b4247c
2026-03-14 04:32:25.744 DEBUG [src.node.docker_mananger] Container started with ID a63042a471c2. Setting up logs at ./log/docker/node2_2026-03-14_04-32-24__9c2cafb9-2629-4653-bf17-bcfc3a765464__wakuorg_nwaku:latest.log
2026-03-14 04:32:25.744 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 2437
2026-03-14 04:32:25.744 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:32:26.748 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2437/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:26.775 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","connectionStatus":"PartiallyConnected","protocolsHealth":[{"Relay":"READY"},{"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:32:26.777 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:32:26.777 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2437/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:26.780 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.164.220/tcp/2438/p2p/16Uiu2HAm4U4GZbNo1AkKdcd2XHLU6Sbo6GMSEsuKH3cxrnyVx71e","/ip4/172.18.164.220/tcp/2439/ws/p2p/16Uiu2HAm4U4GZbNo1AkKdcd2XHLU6Sbo6GMSEsuKH3cxrnyVx71e"],"enrUri":"enr:-L24QIyT1ifC0t5BrCnquHY0YhaWwUFhjbgHydUVL6DVSTn6E558K42Tt1PWb4lhI0BKYtG_J875P9hs8zV464UWbUsCgmlkgnY0gmlwhKwSpNyKbXVsdGlhZGRyc5YACASsEqTcBgmGAAoErBKk3AYJh90DgnJzhQADAQAAiXNlY3AyNTZrMaEChlWL3YnEDyPfmfvLgWi3U5N4o1vUWhYG59rDXdCAvxWDdGNwggmGg3VkcIIJiIV3YWt1MgE"}'
2026-03-14 04:32:26.781 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:32:26.782 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-03-14 04:32:26.782 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55615/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:32:26.787 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:32:26.787 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:2437/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:32:26.794 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:32:26.794 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-03-14 04:32:26.795 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:55615/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:26.798 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.164.220/tcp/42882/p2p/16Uiu2HAm4U4GZbNo1AkKdcd2XHLU6Sbo6GMSEsuKH3cxrnyVx71e","protocols":["/ipfs/id/1.0.0","/libp2p/autonat/1.0.0","/libp2p/circuit/relay/0.2.0/hop","/vac/waku/metadata/1.0.0","/vac/waku/relay/2.0.0","/vac/waku/rendezvous/1.0.0","/ipfs/ping/1.0.0","/vac/waku/filter-push/2.0.0-beta1","/vac/waku/peer-exchange/2.0.0-alpha1"],"shards":[0],"connected":"Connected","agent":"logos-delivery-v0.37.1-81-g96f1c4","origin":"UnknownOrigin"}]'
2026-03-14 04:32:26.799 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2437/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:26.801 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.68.123/tcp/55616/p2p/16Uiu2HAm57HXNMbHgSh4J8J4rSzeWmSTdzB5JqLhRmnjRnMFSjsW","protocols":["/ipfs/id/1.0.0","/libp2p/autonat/1.0.0","/libp2p/circuit/relay/0.2.0/hop","/vac/waku/metadata/1.0.0","/vac/waku/relay/2.0.0","/vac/waku/rendezvous/1.0.0","/ipfs/ping/1.0.0","/vac/waku/filter-push/2.0.0-beta1","/vac/waku/peer-exchange/2.0.0-alpha1"],"shards":[0],"connected":"Connected","agent":"logos-delivery-v0.37.1-81-g96f1c4","origin":"Discv5"}]'
2026-03-14 04:32:26.801 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-03-14 04:32:36.802 DEBUG [tests.e2e.test_network_conditions] Applying 5000ms latency to node2
2026-03-14 04:32:36.803 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '6796', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-14 04:32:36.970 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '6796', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '5000ms']
2026-03-14 04:32:36.983 DEBUG [tests.e2e.test_network_conditions] Publishing message from node1
2026-03-14 04:32:36.983 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:55615/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:32:36.989 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:32:36.989 DEBUG [tests.e2e.test_network_conditions] Fetching relay messages on node2
2026-03-14 04:32:36.989 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:2437/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:46.993 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":1773462756983311809,"ephemeral":false,"proof":""}]'
2026-03-14 04:32:46.994 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '6796', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-14 04:32:47.005 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-14 04:32:47.006 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-14 04:32:47.006 DEBUG [src.node.waku_node] Stopping container with id fb84abfa48aa
2026-03-14 04:32:47.590 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:32:47.591 DEBUG [src.node.waku_node] Stopping container with id a63042a471c2
2026-03-14 04:32:48.139 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:32:48.140 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-14 04:32:48.157 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-14 04:32:48.169 DEBUG [src.node.docker_mananger] No errors found in the waku logs.