79 lines
14 KiB
Plaintext

2026-02-28 04:24:41.477 DEBUG [tests.conftest] Running fixture setup: test_id
2026-02-28 04:24:41.478 DEBUG [tests.conftest] Running test: test_relay_different_latency_between_two_nodes[1000] with id: 2026-02-28_04-24-41__e21b6559-c495-4adc-9b28-5ebd6a4b0e02
2026-02-28 04:24:41.478 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-02-28 04:24:41.478 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-02-28 04:24:41.485 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 04:24:41.485 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-02-28_04-24-41__e21b6559-c495-4adc-9b28-5ebd6a4b0e02__wakuorg_nwaku:latest.log
2026-02-28 04:24:41.491 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-02-28 04:24:41.491 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-02-28_04-24-41__e21b6559-c495-4adc-9b28-5ebd6a4b0e02__wakuorg_nwaku:latest.log
2026-02-28 04:24:41.492 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-02-28 04:24:41.492 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 04:24:41.493 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 04:24:41.495 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 04:24:41.495 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.29.173
2026-02-28 04:24:41.495 DEBUG [src.node.docker_mananger] Generated ports ['8919', '8920', '8921', '8922', '8923']
2026-02-28 04:24:41.496 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 04:24:41.496 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 04:24:41.496 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 04:24:41.496 DEBUG [src.node.docker_mananger] docker run -i -t -p 8919:8919 -p 8920:8920 -p 8921:8921 -p 8922:8922 -p 8923:8923 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=8921 --rest-port=8919 --tcp-port=8920 --discv5-udp-port=8922 --rest-address=0.0.0.0 --nat=extip:172.18.29.173 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a0e5db6f7d8a8d34f484faaf1d0c2b771245b51d8a234fff41ef1d56fd2ebb67 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=8923 --metrics-logging=true --relay=true
2026-02-28 04:24:41.684 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.29.173 waku c657c3fd42333234bf2c449d0862f5212a55cca6376c2d6426cb6b614acdd3d0
2026-02-28 04:24:41.721 DEBUG [src.node.docker_mananger] Container started with ID c657c3fd4233. Setting up logs at ./log/docker/node1_2026-02-28_04-24-41__e21b6559-c495-4adc-9b28-5ebd6a4b0e02__wakuorg_nwaku:latest.log
2026-02-28 04:24:41.722 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 8919
2026-02-28 04:24:41.724 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 04:24:41.742 ERROR [src.node.docker_mananger] Max retries reached for container e39620b05b12. Exiting log stream.
2026-02-28 04:24:42.275 ERROR [src.node.docker_mananger] Max retries reached for container 3b6c09ca2451. Exiting log stream.
2026-02-28 04:24:42.724 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8919/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:42.727 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-02-28 04:24:42.727 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 04:24:42.727 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8919/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:42.730 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.29.173/tcp/8920/p2p/16Uiu2HAmGB2BrkCpSDhkfKsy7gt5dqKWCDDC6sSFwvAwrsMZ5ytK","/ip4/172.18.29.173/tcp/8921/ws/p2p/16Uiu2HAmGB2BrkCpSDhkfKsy7gt5dqKWCDDC6sSFwvAwrsMZ5ytK"],"enrUri":"enr:-L24QFvHNin6RjdQfTaP4ESQi_GZ1VbUOtCWtaaUHszHz5RaGkdQYuAqX08XKiXtLhzFZbSQ4n1lWmM65anxaGRtjnsCgmlkgnY0gmlwhKwSHa2KbXVsdGlhZGRyc5YACASsEh2tBiLYAAoErBIdrQYi2d0DgnJzhQADAQAAiXNlY3AyNTZrMaEDNESQBjOWYustxHxOi4YismfF-eA_G3w8NLWsXTGV5aCDdGNwgiLYg3VkcIIi2oV3YWt1MgE"}'
2026-02-28 04:24:42.730 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 04:24:42.730 DEBUG [src.node.waku_node] Starting Node...
2026-02-28 04:24:42.730 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-02-28 04:24:42.732 DEBUG [src.node.docker_mananger] Network waku already exists
2026-02-28 04:24:42.732 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.166.110
2026-02-28 04:24:42.732 DEBUG [src.node.docker_mananger] Generated ports ['40643', '40644', '40645', '40646', '40647']
2026-02-28 04:24:42.732 DEBUG [src.node.waku_node] RLN credentials were not set
2026-02-28 04:24:42.732 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-02-28 04:24:42.732 DEBUG [src.node.waku_node] Using volumes []
2026-02-28 04:24:42.733 DEBUG [src.node.docker_mananger] docker run -i -t -p 40643:40643 -p 40644:40644 -p 40645:40645 -p 40646:40646 -p 40647:40647 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=40645 --rest-port=40643 --tcp-port=40644 --discv5-udp-port=40646 --rest-address=0.0.0.0 --nat=extip:172.18.166.110 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=8fdda102bbcc6aad5a0aa2baaaa4cf490cffb0ded4273f1ceecfdacb668eda1f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=40647 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QFvHNin6RjdQfTaP4ESQi_GZ1VbUOtCWtaaUHszHz5RaGkdQYuAqX08XKiXtLhzFZbSQ4n1lWmM65anxaGRtjnsCgmlkgnY0gmlwhKwSHa2KbXVsdGlhZGRyc5YACASsEh2tBiLYAAoErBIdrQYi2d0DgnJzhQADAQAAiXNlY3AyNTZrMaEDNESQBjOWYustxHxOi4YismfF-eA_G3w8NLWsXTGV5aCDdGNwgiLYg3VkcIIi2oV3YWt1MgE
2026-02-28 04:24:42.922 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.166.110 waku 0b3e9740d50a8185ee0d8650b4fcc9c9feb501c7f1975108655ed85fe8b2847d
2026-02-28 04:24:42.958 DEBUG [src.node.docker_mananger] Container started with ID 0b3e9740d50a. Setting up logs at ./log/docker/node2_2026-02-28_04-24-41__e21b6559-c495-4adc-9b28-5ebd6a4b0e02__wakuorg_nwaku:latest.log
2026-02-28 04:24:42.959 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 40643
2026-02-28 04:24:42.959 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-02-28 04:24:43.960 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40643/health" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:43.988 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-02-28 04:24:43.991 INFO [src.node.waku_node] Node protocols are initialized !!
2026-02-28 04:24:43.992 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40643/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:43.999 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.166.110/tcp/40644/p2p/16Uiu2HAmEo2RNWq5ccz5dmDihNoekj9YdneojRHkmG3SLpS19tV5","/ip4/172.18.166.110/tcp/40645/ws/p2p/16Uiu2HAmEo2RNWq5ccz5dmDihNoekj9YdneojRHkmG3SLpS19tV5"],"enrUri":"enr:-L24QFeGZ1Xgey7GG5pu0t5ABBgonol542AUtuBS-n_0zZI2XuVIWehw0scjp_NMUS4zWZ5rsGFAIJ5gDSIKFe1JEBoCgmlkgnY0gmlwhKwSpm6KbXVsdGlhZGRyc5YACASsEqZuBp7EAAoErBKmbgaexd0DgnJzhQADAQAAiXNlY3AyNTZrMaEDH8ZcfrJ6eXINnXVOXA_0_1JyFyeKrnIOa-aAW-thOKiDdGNwgp7Eg3VkcIKexoV3YWt1MgE"}'
2026-02-28 04:24:43.999 INFO [src.node.waku_node] REST service is ready !!
2026-02-28 04:24:44.000 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-02-28 04:24:44.001 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8919/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 04:24:44.007 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:24:44.007 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:40643/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-02-28 04:24:44.011 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:24:44.013 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-02-28 04:24:44.013 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:8919/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:44.017 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.166.110/tcp/36142/p2p/16Uiu2HAmEo2RNWq5ccz5dmDihNoekj9YdneojRHkmG3SLpS19tV5","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":"nwaku-v0.36.0-157-gba8587","origin":"UnknownOrigin"}]'
2026-02-28 04:24:44.018 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40643/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:44.020 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.29.173/tcp/8920/p2p/16Uiu2HAmGB2BrkCpSDhkfKsy7gt5dqKWCDDC6sSFwvAwrsMZ5ytK","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":"nwaku-v0.36.0-157-gba8587","origin":"Discv5"}]'
2026-02-28 04:24:44.020 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-02-28 04:24:54.020 INFO [tests.e2e.test_network_conditions] Applying 1000ms latency to node2
2026-02-28 04:24:54.022 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4153', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-02-28 04:24:54.173 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4153', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-02-28 04:24:54.184 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4153', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '1000ms']
2026-02-28 04:24:54.197 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:8919/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-02-28 04:24:54.202 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-02-28 04:24:54.203 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:40643/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-02-28 04:24:56.207 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":1772252694197815109,"ephemeral":false,"proof":""}]'
2026-02-28 04:24:56.208 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4153', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-02-28 04:24:56.220 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-02-28 04:24:56.221 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-02-28 04:24:56.221 DEBUG [src.node.waku_node] Stopping container with id c657c3fd4233
2026-02-28 04:24:56.768 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 04:24:56.768 DEBUG [src.node.waku_node] Stopping container with id 0b3e9740d50a
2026-02-28 04:24:57.306 DEBUG [src.node.waku_node] Container stopped.
2026-02-28 04:24:57.310 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-02-28 04:24:57.319 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-02-28 04:24:57.328 DEBUG [src.node.docker_mananger] No errors found in the waku logs.