79 lines
14 KiB
Plaintext

2026-01-30 04:31:53.032 DEBUG [tests.conftest] Running fixture setup: test_id
2026-01-30 04:31:53.032 DEBUG [tests.conftest] Running test: test_relay_different_latency_between_two_nodes[1000] with id: 2026-01-30_04-31-53__16a8692b-e6b3-4f70-97a2-04ea9d4d4623
2026-01-30 04:31:53.033 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-01-30 04:31:53.033 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-01-30 04:31:53.040 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-30 04:31:53.040 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-01-30_04-31-53__16a8692b-e6b3-4f70-97a2-04ea9d4d4623__wakuorg_nwaku:latest.log
2026-01-30 04:31:53.046 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-01-30 04:31:53.046 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-01-30_04-31-53__16a8692b-e6b3-4f70-97a2-04ea9d4d4623__wakuorg_nwaku:latest.log
2026-01-30 04:31:53.047 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-01-30 04:31:53.047 DEBUG [src.node.waku_node] Starting Node...
2026-01-30 04:31:53.047 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-30 04:31:53.049 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-30 04:31:53.049 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.223.168
2026-01-30 04:31:53.049 DEBUG [src.node.docker_mananger] Generated ports ['3466', '3467', '3468', '3469', '3470']
2026-01-30 04:31:53.049 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-30 04:31:53.049 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-30 04:31:53.050 DEBUG [src.node.waku_node] Using volumes []
2026-01-30 04:31:53.050 DEBUG [src.node.docker_mananger] docker run -i -t -p 3466:3466 -p 3467:3467 -p 3468:3468 -p 3469:3469 -p 3470:3470 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=3468 --rest-port=3466 --tcp-port=3467 --discv5-udp-port=3469 --rest-address=0.0.0.0 --nat=extip:172.18.223.168 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bd4013deee49cfa51e6ecfb859aff6eacfb461cecb02a6c1accff9bda5ecbc4d --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=3470 --metrics-logging=true --relay=true
2026-01-30 04:31:53.239 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.223.168 waku a614726324cc68b773b5a3ee333448ad37080e8020628e422a4a7f8504b1fac7
2026-01-30 04:31:53.270 DEBUG [src.node.docker_mananger] Container started with ID a614726324cc. Setting up logs at ./log/docker/node1_2026-01-30_04-31-53__16a8692b-e6b3-4f70-97a2-04ea9d4d4623__wakuorg_nwaku:latest.log
2026-01-30 04:31:53.271 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 3466
2026-01-30 04:31:53.272 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-30 04:31:53.304 ERROR [src.node.docker_mananger] Max retries reached for container e854beae89bd. Exiting log stream.
2026-01-30 04:31:53.835 ERROR [src.node.docker_mananger] Max retries reached for container 948c2656f2e0. Exiting log stream.
2026-01-30 04:31:54.272 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3466/health" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:54.276 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2026-01-30 04:31:54.276 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-30 04:31:54.276 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3466/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:54.279 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.223.168/tcp/3467/p2p/16Uiu2HAkzxL7i9Y7j8atPcCxRFY7pzW8uRAQa8pcKW5Jg5DkDPhH","/ip4/172.18.223.168/tcp/3468/ws/p2p/16Uiu2HAkzxL7i9Y7j8atPcCxRFY7pzW8uRAQa8pcKW5Jg5DkDPhH"],"enrUri":"enr:-L24QCTAmiO5ly2yr9xZxoXo09NxMJclmQxUH2V0e9UsSj0CcbTbXB10T8jePPE2U57Br36uwIvb9aa2CndCs6JkyPoCgmlkgnY0gmlwhKwS36iKbXVsdGlhZGRyc5YACASsEt-oBg2LAAoErBLfqAYNjN0DgnJzhQADAQAAiXNlY3AyNTZrMaECUiT638MgaBcASZWfawv94FKInXIUCUflXJZEFmwi2MiDdGNwgg2Lg3VkcIINjYV3YWt1MgE"}'
2026-01-30 04:31:54.279 INFO [src.node.waku_node] REST service is ready !!
2026-01-30 04:31:54.280 DEBUG [src.node.waku_node] Starting Node...
2026-01-30 04:31:54.280 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-01-30 04:31:54.281 DEBUG [src.node.docker_mananger] Network waku already exists
2026-01-30 04:31:54.281 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.37.149
2026-01-30 04:31:54.282 DEBUG [src.node.docker_mananger] Generated ports ['5785', '5786', '5787', '5788', '5789']
2026-01-30 04:31:54.282 DEBUG [src.node.waku_node] RLN credentials were not set
2026-01-30 04:31:54.282 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-01-30 04:31:54.282 DEBUG [src.node.waku_node] Using volumes []
2026-01-30 04:31:54.282 DEBUG [src.node.docker_mananger] docker run -i -t -p 5785:5785 -p 5786:5786 -p 5787:5787 -p 5788:5788 -p 5789:5789 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=5787 --rest-port=5785 --tcp-port=5786 --discv5-udp-port=5788 --rest-address=0.0.0.0 --nat=extip:172.18.37.149 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=bafa9215ce9d0cc296f3a2ea2a9c5d22e332c5f5deefadbf71c9c1b3adb14ccc --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=5789 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QCTAmiO5ly2yr9xZxoXo09NxMJclmQxUH2V0e9UsSj0CcbTbXB10T8jePPE2U57Br36uwIvb9aa2CndCs6JkyPoCgmlkgnY0gmlwhKwS36iKbXVsdGlhZGRyc5YACASsEt-oBg2LAAoErBLfqAYNjN0DgnJzhQADAQAAiXNlY3AyNTZrMaECUiT638MgaBcASZWfawv94FKInXIUCUflXJZEFmwi2MiDdGNwgg2Lg3VkcIINjYV3YWt1MgE
2026-01-30 04:31:54.473 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.37.149 waku 0c680c6fd5f5b294d812d626b263b4914ff2c14348e4edafece908cb9f6f825d
2026-01-30 04:31:54.510 DEBUG [src.node.docker_mananger] Container started with ID 0c680c6fd5f5. Setting up logs at ./log/docker/node2_2026-01-30_04-31-53__16a8692b-e6b3-4f70-97a2-04ea9d4d4623__wakuorg_nwaku:latest.log
2026-01-30 04:31:54.511 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 5785
2026-01-30 04:31:54.511 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-01-30 04:31:55.512 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5785/health" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:55.520 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"nodeHealth":"READY","protocolsHealth":[{"Relay":"NOT_READY","desc":"No connected peers"},{"Rln Relay":"NOT_MOUNTED"},{"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"}]}'
2026-01-30 04:31:55.521 INFO [src.node.waku_node] Node protocols are initialized !!
2026-01-30 04:31:55.521 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5785/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:55.525 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.37.149/tcp/5786/p2p/16Uiu2HAm1GsnVd5apEukfUb5eqp8GtKseDsookgG82nUQxTxy61K","/ip4/172.18.37.149/tcp/5787/ws/p2p/16Uiu2HAm1GsnVd5apEukfUb5eqp8GtKseDsookgG82nUQxTxy61K"],"enrUri":"enr:-L24QA4drkvMkzvcgwWaTettzIYeBrDFHjLn7msacqX2cw_aK-kM9L6inG9HGH7US7IOOcsqUxSzlMTxcnJiQFtrHiUCgmlkgnY0gmlwhKwSJZWKbXVsdGlhZGRyc5YACASsEiWVBhaaAAoErBIllQYWm90DgnJzhQADAQAAiXNlY3AyNTZrMaECVuU-ELmo5BdoGw9fE2wmByT_aty6RG0iB5NwWMqaXXaDdGNwghaag3VkcIIWnIV3YWt1MgE"}'
2026-01-30 04:31:55.526 INFO [src.node.waku_node] REST service is ready !!
2026-01-30 04:31:55.526 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-01-30 04:31:55.527 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3466/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-30 04:31:55.531 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:31:55.531 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:5785/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-01-30 04:31:55.536 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:31:55.536 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-01-30 04:31:55.537 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:3466/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:55.540 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.37.149/tcp/39046/p2p/16Uiu2HAm1GsnVd5apEukfUb5eqp8GtKseDsookgG82nUQxTxy61K","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-127-ga4e44d","origin":"UnknownOrigin"}]'
2026-01-30 04:31:55.541 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5785/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:31:55.543 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.223.168/tcp/3467/p2p/16Uiu2HAkzxL7i9Y7j8atPcCxRFY7pzW8uRAQa8pcKW5Jg5DkDPhH","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-127-ga4e44d","origin":"Discv5"}]'
2026-01-30 04:31:55.543 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-01-30 04:32:05.544 INFO [tests.e2e.test_network_conditions] Applying 1000ms latency to node2
2026-01-30 04:32:05.545 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4590', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-01-30 04:32:05.583 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4590', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-01-30 04:32:05.593 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4590', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '1000ms']
2026-01-30 04:32:05.622 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:3466/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-01-30 04:32:05.627 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-01-30 04:32:05.627 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:5785/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-01-30 04:32:07.631 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":1769747525622092333,"ephemeral":false,"proof":""}]'
2026-01-30 04:32:07.632 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '4590', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-01-30 04:32:07.643 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-01-30 04:32:07.644 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-01-30 04:32:07.644 DEBUG [src.node.waku_node] Stopping container with id a614726324cc
2026-01-30 04:32:08.229 DEBUG [src.node.waku_node] Container stopped.
2026-01-30 04:32:08.229 DEBUG [src.node.waku_node] Stopping container with id 0c680c6fd5f5
2026-01-30 04:32:08.745 DEBUG [src.node.waku_node] Container stopped.
2026-01-30 04:32:08.746 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-01-30 04:32:08.755 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-01-30 04:32:08.765 DEBUG [src.node.docker_mananger] No errors found in the waku logs.