78 lines
14 KiB
Plaintext

2026-03-28 04:39:27.097 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-28 04:39:27.097 DEBUG [tests.conftest] Running test: test_relay_different_latency_between_two_nodes[500] with id: 2026-03-28_04-39-27__5f4cd01a-6194-43f6-9c03-debaf365588e
2026-03-28 04:39:27.098 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-28 04:39:27.098 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-28 04:39:27.105 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-28 04:39:27.105 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-28_04-39-27__5f4cd01a-6194-43f6-9c03-debaf365588e__wakuorg_nwaku:latest.log
2026-03-28 04:39:27.112 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-28 04:39:27.112 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-28_04-39-27__5f4cd01a-6194-43f6-9c03-debaf365588e__wakuorg_nwaku:latest.log
2026-03-28 04:39:27.113 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-03-28 04:39:27.113 DEBUG [src.node.waku_node] Starting Node...
2026-03-28 04:39:27.113 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-28 04:39:27.115 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-28 04:39:27.115 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.162.91
2026-03-28 04:39:27.115 DEBUG [src.node.docker_mananger] Generated ports ['41372', '41373', '41374', '41375', '41376']
2026-03-28 04:39:27.115 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-28 04:39:27.115 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-28 04:39:27.116 DEBUG [src.node.waku_node] Using volumes []
2026-03-28 04:39:27.116 DEBUG [src.node.docker_mananger] docker run -i -t -p 41372:41372 -p 41373:41373 -p 41374:41374 -p 41375:41375 -p 41376:41376 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=41374 --rest-port=41372 --tcp-port=41373 --discv5-udp-port=41375 --rest-address=0.0.0.0 --nat=extip:172.18.162.91 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=20dbaedf3d6f7ffab844fe55a2291c56c03eb1f201e53bf1bd76c304acefcc4c --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=41376 --metrics-logging=true --relay=true
2026-03-28 04:39:27.315 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.162.91 waku 5b4991777b5ea52e94a6296cb32abac8aab7cfc89686d263283aa9a777d11819
2026-03-28 04:39:27.352 DEBUG [src.node.docker_mananger] Container started with ID 5b4991777b5e. Setting up logs at ./log/docker/node1_2026-03-28_04-39-27__5f4cd01a-6194-43f6-9c03-debaf365588e__wakuorg_nwaku:latest.log
2026-03-28 04:39:27.352 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 41372
2026-03-28 04:39:27.353 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-28 04:39:27.500 ERROR [src.node.docker_mananger] Max retries reached for container 9dcb071c6a3f. Exiting log stream.
2026-03-28 04:39:28.353 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41372/health" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:28.356 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-28 04:39:28.356 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-28 04:39:28.356 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41372/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:28.359 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.162.91/tcp/41373/p2p/16Uiu2HAmBtG1LKRSxqXju81t86P3DXNUEgJ1fiD1epHjnZYM8bPp","/ip4/172.18.162.91/tcp/41374/ws/p2p/16Uiu2HAmBtG1LKRSxqXju81t86P3DXNUEgJ1fiD1epHjnZYM8bPp"],"enrUri":"enr:-L24QLEiYkQ_HirSowvvPrcBqzvEuWkD0ZwyAH7gRqRcHtDNK1O6YS5e8-cxdNui3HI0xRNnkWOTT15viSyp2D6MCHcCgmlkgnY0gmlwhKwSoluKbXVsdGlhZGRyc5YACASsEqJbBqGdAAoErBKiWwahnt0DgnJzhQADAQAAiXNlY3AyNTZrMaEC9IqQ2OFb6sX-i0OmTXm9Cl6Q3dldgWOVZPP_XeR5DSuDdGNwgqGdg3VkcIKhn4V3YWt1MgE"}'
2026-03-28 04:39:28.359 INFO [src.node.waku_node] REST service is ready !!
2026-03-28 04:39:28.359 DEBUG [src.node.waku_node] Starting Node...
2026-03-28 04:39:28.359 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-28 04:39:28.361 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-28 04:39:28.361 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.156.200
2026-03-28 04:39:28.361 DEBUG [src.node.docker_mananger] Generated ports ['35181', '35182', '35183', '35184', '35185']
2026-03-28 04:39:28.361 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-28 04:39:28.361 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-28 04:39:28.361 DEBUG [src.node.waku_node] Using volumes []
2026-03-28 04:39:28.362 DEBUG [src.node.docker_mananger] docker run -i -t -p 35181:35181 -p 35182:35182 -p 35183:35183 -p 35184:35184 -p 35185:35185 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=35183 --rest-port=35181 --tcp-port=35182 --discv5-udp-port=35184 --rest-address=0.0.0.0 --nat=extip:172.18.156.200 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=5e9bba21b9fd48fe5d3d47fd56e1ac65f11eb12cd905abe560f35fc50bef3011 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=35185 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QLEiYkQ_HirSowvvPrcBqzvEuWkD0ZwyAH7gRqRcHtDNK1O6YS5e8-cxdNui3HI0xRNnkWOTT15viSyp2D6MCHcCgmlkgnY0gmlwhKwSoluKbXVsdGlhZGRyc5YACASsEqJbBqGdAAoErBKiWwahnt0DgnJzhQADAQAAiXNlY3AyNTZrMaEC9IqQ2OFb6sX-i0OmTXm9Cl6Q3dldgWOVZPP_XeR5DSuDdGNwgqGdg3VkcIKhn4V3YWt1MgE
2026-03-28 04:39:28.555 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.156.200 waku 99919bf0e3b827c4734a702b1a812e28607f096c21f1d050c7ef5b3d9b227419
2026-03-28 04:39:28.591 DEBUG [src.node.docker_mananger] Container started with ID 99919bf0e3b8. Setting up logs at ./log/docker/node2_2026-03-28_04-39-27__5f4cd01a-6194-43f6-9c03-debaf365588e__wakuorg_nwaku:latest.log
2026-03-28 04:39:28.592 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 35181
2026-03-28 04:39:28.592 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-28 04:39:29.594 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35181/health" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:29.614 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-28 04:39:29.614 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-28 04:39:29.615 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35181/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:29.622 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.156.200/tcp/35182/p2p/16Uiu2HAkzRZnoTDmtvUXdPgKwhKSfhtRVr2MBgzm2nFJGHGtYHuj","/ip4/172.18.156.200/tcp/35183/ws/p2p/16Uiu2HAkzRZnoTDmtvUXdPgKwhKSfhtRVr2MBgzm2nFJGHGtYHuj"],"enrUri":"enr:-L24QBBzO3ydwnM0M6qPpAeGGv3IXZ9IcNQZDakjMwqUpMFwe_tjsOVatHg9cTSjpgkmOu6_QMoo3MPZtSDwHAp0teECgmlkgnY0gmlwhKwSnMiKbXVsdGlhZGRyc5YACASsEpzIBoluAAoErBKcyAaJb90DgnJzhQADAQAAiXNlY3AyNTZrMaECSkNvpfadNfQLE0IktZcUpyiMP_yBSzcZ6azadWioohqDdGNwgolug3VkcIKJcIV3YWt1MgE"}'
2026-03-28 04:39:29.622 INFO [src.node.waku_node] REST service is ready !!
2026-03-28 04:39:29.622 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-03-28 04:39:29.622 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41372/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-28 04:39:29.626 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-28 04:39:29.627 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:35181/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-28 04:39:29.633 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-28 04:39:29.633 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-03-28 04:39:29.633 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:41372/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:29.637 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.156.200/tcp/43054/p2p/16Uiu2HAkzRZnoTDmtvUXdPgKwhKSfhtRVr2MBgzm2nFJGHGtYHuj","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.38.0-rc.0-14-g5c335c","origin":"UnknownOrigin"}]'
2026-03-28 04:39:29.638 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35181/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:29.641 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.162.91/tcp/41373/p2p/16Uiu2HAmBtG1LKRSxqXju81t86P3DXNUEgJ1fiD1epHjnZYM8bPp","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.38.0-rc.0-14-g5c335c","origin":"Discv5"}]'
2026-03-28 04:39:29.641 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-03-28 04:39:39.642 INFO [tests.e2e.test_network_conditions] Applying 500ms latency to node2
2026-03-28 04:39:39.644 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '8472', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-28 04:39:39.654 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '8472', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-28 04:39:39.665 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '8472', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '500ms']
2026-03-28 04:39:39.674 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:41372/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-28 04:39:39.678 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-28 04:39:39.679 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:35181/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-28 04:39:40.683 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":1774672779674092185,"ephemeral":false,"proof":""}]'
2026-03-28 04:39:40.685 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '8472', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-28 04:39:40.696 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-28 04:39:40.697 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-28 04:39:40.697 DEBUG [src.node.waku_node] Stopping container with id 5b4991777b5e
2026-03-28 04:39:41.172 DEBUG [src.node.waku_node] Container stopped.
2026-03-28 04:39:41.174 DEBUG [src.node.waku_node] Stopping container with id 99919bf0e3b8
2026-03-28 04:39:41.646 DEBUG [src.node.waku_node] Container stopped.
2026-03-28 04:39:41.648 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-28 04:39:41.657 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-28 04:39:41.666 DEBUG [src.node.docker_mananger] No errors found in the waku logs.