79 lines
14 KiB
Plaintext

2026-03-14 04:31:54.370 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-14 04:31:54.370 DEBUG [tests.conftest] Running test: test_relay_different_latency_between_two_nodes[1000] with id: 2026-03-14_04-31-54__b8285bdb-255b-401c-aee8-ff27f6f44057
2026-03-14 04:31:54.371 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-14 04:31:54.371 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-14 04:31:54.378 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:31:54.378 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-14_04-31-54__b8285bdb-255b-401c-aee8-ff27f6f44057__wakuorg_nwaku:latest.log
2026-03-14 04:31:54.385 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-14 04:31:54.385 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-14_04-31-54__b8285bdb-255b-401c-aee8-ff27f6f44057__wakuorg_nwaku:latest.log
2026-03-14 04:31:54.386 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-03-14 04:31:54.386 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:31:54.386 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:31:54.388 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:31:54.388 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.88.87
2026-03-14 04:31:54.388 DEBUG [src.node.docker_mananger] Generated ports ['47160', '47161', '47162', '47163', '47164']
2026-03-14 04:31:54.388 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:31:54.389 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:31:54.389 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:31:54.389 DEBUG [src.node.docker_mananger] docker run -i -t -p 47160:47160 -p 47161:47161 -p 47162:47162 -p 47163:47163 -p 47164:47164 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=47162 --rest-port=47160 --tcp-port=47161 --discv5-udp-port=47163 --rest-address=0.0.0.0 --nat=extip:172.18.88.87 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=d23e88ae8bfadd17c90ca6a8ac6252fc7b4c97fcb4bdb19c9e6b76bacb8f9edd --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=47164 --metrics-logging=true --relay=true
2026-03-14 04:31:54.581 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.88.87 waku e316bad6d7bb177bb77ab008bced0dd37139f08c44b5221cdf1389c3b3c11327
2026-03-14 04:31:54.604 ERROR [src.node.docker_mananger] Max retries reached for container 6b074a257c68. Exiting log stream.
2026-03-14 04:31:54.617 DEBUG [src.node.docker_mananger] Container started with ID e316bad6d7bb. Setting up logs at ./log/docker/node1_2026-03-14_04-31-54__b8285bdb-255b-401c-aee8-ff27f6f44057__wakuorg_nwaku:latest.log
2026-03-14 04:31:54.618 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 47160
2026-03-14 04:31:54.618 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:31:55.158 ERROR [src.node.docker_mananger] Max retries reached for container 1a83edbd06e3. Exiting log stream.
2026-03-14 04:31:55.619 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47160/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:55.622 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:31:55.623 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:31:55.623 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47160/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:55.625 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.88.87/tcp/47161/p2p/16Uiu2HAmHVushNDSGeKKvD7TrYBBMvN8fkHRs4F4fy4xK14VQMy1","/ip4/172.18.88.87/tcp/47162/ws/p2p/16Uiu2HAmHVushNDSGeKKvD7TrYBBMvN8fkHRs4F4fy4xK14VQMy1"],"enrUri":"enr:-L24QDkU1CuRzuD2kro_Nk1UqIHLoyvxEGZlixqCXJB2A_FJe8L2lyI9tbBV5qFHPZ1gOl2pU7O7AGBg87FKd8p1WlACgmlkgnY0gmlwhKwSWFeKbXVsdGlhZGRyc5YACASsElhXBrg5AAoErBJYVwa4Ot0DgnJzhQADAQAAiXNlY3AyNTZrMaEDR_cliFDMnXZ1vOlgmSKSQtfcpafc3qK6vg0WYuS7nbiDdGNwgrg5g3VkcIK4O4V3YWt1MgE"}'
2026-03-14 04:31:55.626 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:31:55.626 DEBUG [src.node.waku_node] Starting Node...
2026-03-14 04:31:55.626 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-14 04:31:55.627 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-14 04:31:55.628 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.230.44
2026-03-14 04:31:55.628 DEBUG [src.node.docker_mananger] Generated ports ['58812', '58813', '58814', '58815', '58816']
2026-03-14 04:31:55.628 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-14 04:31:55.628 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-14 04:31:55.628 DEBUG [src.node.waku_node] Using volumes []
2026-03-14 04:31:55.628 DEBUG [src.node.docker_mananger] docker run -i -t -p 58812:58812 -p 58813:58813 -p 58814:58814 -p 58815:58815 -p 58816:58816 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=58814 --rest-port=58812 --tcp-port=58813 --discv5-udp-port=58815 --rest-address=0.0.0.0 --nat=extip:172.18.230.44 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=e3b9d13abab0677a0f05c1f24fbf704cd52cbd14801d83fed69bcb4ec78d23cb --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=58816 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QDkU1CuRzuD2kro_Nk1UqIHLoyvxEGZlixqCXJB2A_FJe8L2lyI9tbBV5qFHPZ1gOl2pU7O7AGBg87FKd8p1WlACgmlkgnY0gmlwhKwSWFeKbXVsdGlhZGRyc5YACASsElhXBrg5AAoErBJYVwa4Ot0DgnJzhQADAQAAiXNlY3AyNTZrMaEDR_cliFDMnXZ1vOlgmSKSQtfcpafc3qK6vg0WYuS7nbiDdGNwgrg5g3VkcIK4O4V3YWt1MgE
2026-03-14 04:31:55.830 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.230.44 waku 7957e1031f7ee54d997568ddb49c8ee524b357b0c3ef602c21f07978b3008502
2026-03-14 04:31:55.866 DEBUG [src.node.docker_mananger] Container started with ID 7957e1031f7e. Setting up logs at ./log/docker/node2_2026-03-14_04-31-54__b8285bdb-255b-401c-aee8-ff27f6f44057__wakuorg_nwaku:latest.log
2026-03-14 04:31:55.866 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 58812
2026-03-14 04:31:55.866 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-14 04:31:56.867 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58812/health" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:56.885 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:31:56.885 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-14 04:31:56.885 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58812/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:56.893 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.230.44/tcp/58813/p2p/16Uiu2HAmVUbmryDbBxegRyP366aG3RvGbrj6G5ann2F6aKmc2mr6","/ip4/172.18.230.44/tcp/58814/ws/p2p/16Uiu2HAmVUbmryDbBxegRyP366aG3RvGbrj6G5ann2F6aKmc2mr6"],"enrUri":"enr:-L24QCmcJQVxg2ppzxon1tOiS46velUkdypniA4S2VK0LfSLXNwpvxNvG-D5dmsqA6GyJ8zRvZNlWFILmbtLs6iB0sgCgmlkgnY0gmlwhKwS5iyKbXVsdGlhZGRyc5YACASsEuYsBuW9AAoErBLmLAblvt0DgnJzhQADAQAAiXNlY3AyNTZrMaED-e1Xrt-U0OXrB8bpULQlIzxxm2E2eZI-GhUMIdcvQCeDdGNwguW9g3VkcILlv4V3YWt1MgE"}'
2026-03-14 04:31:56.894 INFO [src.node.waku_node] REST service is ready !!
2026-03-14 04:31:56.895 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-03-14 04:31:56.895 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47160/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:31:56.900 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:31:56.900 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:58812/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-14 04:31:56.907 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:31:56.907 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-03-14 04:31:56.908 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:47160/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:56.912 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.230.44/tcp/60234/p2p/16Uiu2HAmVUbmryDbBxegRyP366aG3RvGbrj6G5ann2F6aKmc2mr6","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:31:56.912 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58812/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:31:56.914 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.88.87/tcp/47161/p2p/16Uiu2HAmHVushNDSGeKKvD7TrYBBMvN8fkHRs4F4fy4xK14VQMy1","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:31:56.915 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-03-14 04:32:06.915 INFO [tests.e2e.test_network_conditions] Applying 1000ms latency to node2
2026-03-14 04:32:06.917 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4755', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-14 04:32:06.959 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4755', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-14 04:32:06.970 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4755', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '1000ms']
2026-03-14 04:32:06.984 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:47160/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:06.990 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-14 04:32:06.990 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:58812/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-14 04:32:08.994 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":1773462726984295555,"ephemeral":false,"proof":""}]'
2026-03-14 04:32:08.996 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4755', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-14 04:32:09.008 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-14 04:32:09.009 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-14 04:32:09.009 DEBUG [src.node.waku_node] Stopping container with id e316bad6d7bb
2026-03-14 04:32:09.575 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:32:09.577 DEBUG [src.node.waku_node] Stopping container with id 7957e1031f7e
2026-03-14 04:32:10.164 DEBUG [src.node.waku_node] Container stopped.
2026-03-14 04:32:10.165 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-14 04:32:10.176 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-14 04:32:10.185 DEBUG [src.node.docker_mananger] No errors found in the waku logs.