79 lines
14 KiB
Plaintext

2026-03-07 04:29:25.317 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-07 04:29:25.318 DEBUG [tests.conftest] Running test: test_relay_different_latency_between_two_nodes[1000] with id: 2026-03-07_04-29-25__dcb006ec-c8f0-464d-b99d-b89cf86c92f8
2026-03-07 04:29:25.318 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-07 04:29:25.318 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-07 04:29:25.325 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-07 04:29:25.325 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-07_04-29-25__dcb006ec-c8f0-464d-b99d-b89cf86c92f8__wakuorg_nwaku:latest.log
2026-03-07 04:29:25.332 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-07 04:29:25.332 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-07_04-29-25__dcb006ec-c8f0-464d-b99d-b89cf86c92f8__wakuorg_nwaku:latest.log
2026-03-07 04:29:25.333 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-03-07 04:29:25.333 DEBUG [src.node.waku_node] Starting Node...
2026-03-07 04:29:25.333 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-07 04:29:25.335 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-07 04:29:25.335 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.67.35
2026-03-07 04:29:25.335 DEBUG [src.node.docker_mananger] Generated ports ['57346', '57347', '57348', '57349', '57350']
2026-03-07 04:29:25.335 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-07 04:29:25.335 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-07 04:29:25.336 DEBUG [src.node.waku_node] Using volumes []
2026-03-07 04:29:25.336 DEBUG [src.node.docker_mananger] docker run -i -t -p 57346:57346 -p 57347:57347 -p 57348:57348 -p 57349:57349 -p 57350:57350 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=57348 --rest-port=57346 --tcp-port=57347 --discv5-udp-port=57349 --rest-address=0.0.0.0 --nat=extip:172.18.67.35 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a5ba34a0bbf2be55a6e1afee7a0fb75b86a9d03ae290befbf9fa2a53cde55bca --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=57350 --metrics-logging=true --relay=true
2026-03-07 04:29:25.500 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.67.35 waku 001831c7420815ebf9ef4975f68fe802bc9ec74962d3767cba768226673b3592
2026-03-07 04:29:25.531 DEBUG [src.node.docker_mananger] Container started with ID 001831c74208. Setting up logs at ./log/docker/node1_2026-03-07_04-29-25__dcb006ec-c8f0-464d-b99d-b89cf86c92f8__wakuorg_nwaku:latest.log
2026-03-07 04:29:25.531 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 57346
2026-03-07 04:29:25.533 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-07 04:29:25.622 ERROR [src.node.docker_mananger] Max retries reached for container 8b3f0110fd0c. Exiting log stream.
2026-03-07 04:29:26.115 ERROR [src.node.docker_mananger] Max retries reached for container d335bbf768ab. Exiting log stream.
2026-03-07 04:29:26.533 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57346/health" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:26.536 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-07 04:29:26.537 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-07 04:29:26.537 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57346/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:26.540 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.67.35/tcp/57347/p2p/16Uiu2HAm2W99U8mXs96mES8mmSbh6DjF7GbYvAYJ2EZxAf9VT6Uu","/ip4/172.18.67.35/tcp/57348/ws/p2p/16Uiu2HAm2W99U8mXs96mES8mmSbh6DjF7GbYvAYJ2EZxAf9VT6Uu"],"enrUri":"enr:-L24QBh201OxkjCsS4lSZnas6NuSWoK9VJLcEA__LO_Lb8mYEAORigWm28En3hjKDHaVGte4BuutCuhIgXAosDQNISACgmlkgnY0gmlwhKwSQyOKbXVsdGlhZGRyc5YACASsEkMjBuADAAoErBJDIwbgBN0DgnJzhQADAQAAiXNlY3AyNTZrMaECaSbZbe1TWHkW0UuktG4W7N1VyfvDbaEJ-NGvt3EqedaDdGNwguADg3VkcILgBYV3YWt1MgE"}'
2026-03-07 04:29:26.540 INFO [src.node.waku_node] REST service is ready !!
2026-03-07 04:29:26.540 DEBUG [src.node.waku_node] Starting Node...
2026-03-07 04:29:26.540 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-07 04:29:26.542 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-07 04:29:26.542 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.8.58
2026-03-07 04:29:26.542 DEBUG [src.node.docker_mananger] Generated ports ['54856', '54857', '54858', '54859', '54860']
2026-03-07 04:29:26.543 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-07 04:29:26.543 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-07 04:29:26.543 DEBUG [src.node.waku_node] Using volumes []
2026-03-07 04:29:26.543 DEBUG [src.node.docker_mananger] docker run -i -t -p 54856:54856 -p 54857:54857 -p 54858:54858 -p 54859:54859 -p 54860:54860 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=54858 --rest-port=54856 --tcp-port=54857 --discv5-udp-port=54859 --rest-address=0.0.0.0 --nat=extip:172.18.8.58 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=a4d44eaade12fcda40cf2ed0a2a94b9aa1e29b176cee1dddddfdfaeebb1e747f --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=54860 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QBh201OxkjCsS4lSZnas6NuSWoK9VJLcEA__LO_Lb8mYEAORigWm28En3hjKDHaVGte4BuutCuhIgXAosDQNISACgmlkgnY0gmlwhKwSQyOKbXVsdGlhZGRyc5YACASsEkMjBuADAAoErBJDIwbgBN0DgnJzhQADAQAAiXNlY3AyNTZrMaECaSbZbe1TWHkW0UuktG4W7N1VyfvDbaEJ-NGvt3EqedaDdGNwguADg3VkcILgBYV3YWt1MgE
2026-03-07 04:29:26.715 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.8.58 waku 9051e2e42240188d2639b60a860b5d1e6ef9208e2c84020d149a0126a2227adf
2026-03-07 04:29:26.743 DEBUG [src.node.docker_mananger] Container started with ID 9051e2e42240. Setting up logs at ./log/docker/node2_2026-03-07_04-29-25__dcb006ec-c8f0-464d-b99d-b89cf86c92f8__wakuorg_nwaku:latest.log
2026-03-07 04:29:26.744 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 54856
2026-03-07 04:29:26.744 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-07 04:29:27.747 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54856/health" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:27.766 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-07 04:29:27.771 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-07 04:29:27.774 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54856/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:27.778 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.8.58/tcp/54857/p2p/16Uiu2HAmH1B7k7pXB4tjstSBL9GZnfT6bEf3JmqBt1yYFMP7UHZT","/ip4/172.18.8.58/tcp/54858/ws/p2p/16Uiu2HAmH1B7k7pXB4tjstSBL9GZnfT6bEf3JmqBt1yYFMP7UHZT"],"enrUri":"enr:-L24QCn-BapsHoQnvyTj1bIDQ35wiIcZTLs8JIo4rMC0rvR0bLs0P4ovAfaCZP8tE3P8GRSL-NzTnb-zBwet_0QrwbUCgmlkgnY0gmlwhKwSCDqKbXVsdGlhZGRyc5YACASsEgg6BtZJAAoErBIIOgbWSt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDQJqJnT2HAdtlXKPOGCAKtxxBQtJHliWMNyRo4Sy1fPKDdGNwgtZJg3VkcILWS4V3YWt1MgE"}'
2026-03-07 04:29:27.778 INFO [src.node.waku_node] REST service is ready !!
2026-03-07 04:29:27.778 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-03-07 04:29:27.778 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57346/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-07 04:29:27.783 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-07 04:29:27.783 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:54856/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-07 04:29:27.788 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-07 04:29:27.789 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-03-07 04:29:27.789 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:57346/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:27.793 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.8.58/tcp/45004/p2p/16Uiu2HAmH1B7k7pXB4tjstSBL9GZnfT6bEf3JmqBt1yYFMP7UHZT","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.36.0-164-g0ad551","origin":"UnknownOrigin"}]'
2026-03-07 04:29:27.793 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54856/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:27.795 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.67.35/tcp/57347/p2p/16Uiu2HAm2W99U8mXs96mES8mmSbh6DjF7GbYvAYJ2EZxAf9VT6Uu","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.36.0-164-g0ad551","origin":"Discv5"}]'
2026-03-07 04:29:27.796 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-03-07 04:29:37.796 INFO [tests.e2e.test_network_conditions] Applying 1000ms latency to node2
2026-03-07 04:29:37.798 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '3912', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-07 04:29:37.843 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '3912', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-07 04:29:37.852 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '3912', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '1000ms']
2026-03-07 04:29:37.864 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:57346/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-07 04:29:37.870 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-07 04:29:37.870 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:54856/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-07 04:29:39.874 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":1772857777864480586,"ephemeral":false,"proof":""}]'
2026-03-07 04:29:39.876 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '3912', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-07 04:29:39.885 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-07 04:29:39.886 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-07 04:29:39.886 DEBUG [src.node.waku_node] Stopping container with id 001831c74208
2026-03-07 04:29:40.385 DEBUG [src.node.waku_node] Container stopped.
2026-03-07 04:29:40.385 DEBUG [src.node.waku_node] Stopping container with id 9051e2e42240
2026-03-07 04:29:40.847 DEBUG [src.node.waku_node] Container stopped.
2026-03-07 04:29:40.849 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-07 04:29:40.862 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-07 04:29:40.870 DEBUG [src.node.docker_mananger] No errors found in the waku logs.