80 lines
14 KiB
Plaintext

2026-03-01 04:38:50.863 DEBUG [tests.conftest] Running fixture setup: test_id
2026-03-01 04:38:50.863 DEBUG [tests.conftest] Running test: test_relay_with_latency_between_two_nodes with id: 2026-03-01_04-38-50__d4db6155-e5e9-4096-b765-1dcc4819681a
2026-03-01 04:38:50.864 DEBUG [src.steps.common] Running fixture setup: common_setup
2026-03-01 04:38:50.864 DEBUG [src.steps.relay] Running fixture setup: relay_setup
2026-03-01 04:38:50.870 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:38:50.870 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node1_2026-03-01_04-38-50__d4db6155-e5e9-4096-b765-1dcc4819681a__wakuorg_nwaku:latest.log
2026-03-01 04:38:50.876 DEBUG [src.node.docker_mananger] Docker client initialized with image wakuorg/nwaku:latest
2026-03-01 04:38:50.876 DEBUG [src.node.waku_node] WakuNode instance initialized with log path ./log/docker/node2_2026-03-01_04-38-50__d4db6155-e5e9-4096-b765-1dcc4819681a__wakuorg_nwaku:latest.log
2026-03-01 04:38:50.877 INFO [tests.e2e.test_network_conditions] Starting node1 and node2 with relay enabled
2026-03-01 04:38:50.877 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:38:50.877 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:38:50.879 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:38:50.879 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.74.25
2026-03-01 04:38:50.879 DEBUG [src.node.docker_mananger] Generated ports ['15908', '15909', '15910', '15911', '15912']
2026-03-01 04:38:50.879 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:38:50.879 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:38:50.880 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:38:50.880 DEBUG [src.node.docker_mananger] docker run -i -t -p 15908:15908 -p 15909:15909 -p 15910:15910 -p 15911:15911 -p 15912:15912 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=15910 --rest-port=15908 --tcp-port=15909 --discv5-udp-port=15911 --rest-address=0.0.0.0 --nat=extip:172.18.74.25 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=41bbdd8609bf5ed1dd6c202da1aeade5e4b2bfffacd60161aecea73bc88ccaf0 --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=15912 --metrics-logging=true --relay=true
2026-03-01 04:38:51.019 ERROR [src.node.docker_mananger] Max retries reached for container f408aac6c98e. Exiting log stream.
2026-03-01 04:38:51.062 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.74.25 waku c3f722eb5e6785e1990254d4a72569fee567f192105e35fa8f4eb574b43ccb3f
2026-03-01 04:38:51.094 DEBUG [src.node.docker_mananger] Container started with ID c3f722eb5e67. Setting up logs at ./log/docker/node1_2026-03-01_04-38-50__d4db6155-e5e9-4096-b765-1dcc4819681a__wakuorg_nwaku:latest.log
2026-03-01 04:38:51.095 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 15908
2026-03-01 04:38:51.095 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:38:51.673 ERROR [src.node.docker_mananger] Max retries reached for container 84c626e21c4c. Exiting log stream.
2026-03-01 04:38:52.095 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15908/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:52.098 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-01 04:38:52.098 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:38:52.099 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15908/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:52.101 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.74.25/tcp/15909/p2p/16Uiu2HAmDVfL8aVN3rnLFCXrXw2gSqc8eQgdry764PZqgmHkFzAg","/ip4/172.18.74.25/tcp/15910/ws/p2p/16Uiu2HAmDVfL8aVN3rnLFCXrXw2gSqc8eQgdry764PZqgmHkFzAg"],"enrUri":"enr:-L24QNGKPF72Ut7xCmIl7cM7_fFzsno4MY9h5-nAq9qsxB5pTwAzqxZz508X4TXFr-MZkCe2tqruOC3yy9fdIxM5A2ICgmlkgnY0gmlwhKwSShmKbXVsdGlhZGRyc5YACASsEkoZBj4lAAoErBJKGQY-Jt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDDHf0JTm9eEZwVjp9KAY_RQSm0OmCiQQu87S8qmogJZWDdGNwgj4lg3VkcII-J4V3YWt1MgE"}'
2026-03-01 04:38:52.101 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:38:52.101 DEBUG [src.node.waku_node] Starting Node...
2026-03-01 04:38:52.101 DEBUG [src.node.docker_mananger] Attempting to create or retrieve network waku
2026-03-01 04:38:52.103 DEBUG [src.node.docker_mananger] Network waku already exists
2026-03-01 04:38:52.103 DEBUG [src.node.docker_mananger] Generated random external IP 172.18.121.240
2026-03-01 04:38:52.103 DEBUG [src.node.docker_mananger] Generated ports ['37652', '37653', '37654', '37655', '37656']
2026-03-01 04:38:52.103 DEBUG [src.node.waku_node] RLN credentials were not set
2026-03-01 04:38:52.104 INFO [src.node.waku_node] RLN credentials not set or credential store not available, starting without RLN
2026-03-01 04:38:52.104 DEBUG [src.node.waku_node] Using volumes []
2026-03-01 04:38:52.104 DEBUG [src.node.docker_mananger] docker run -i -t -p 37652:37652 -p 37653:37653 -p 37654:37654 -p 37655:37655 -p 37656:37656 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=37654 --rest-port=37652 --tcp-port=37653 --discv5-udp-port=37655 --rest-address=0.0.0.0 --nat=extip:172.18.121.240 --peer-exchange=true --discv5-discovery=true --cluster-id=3 --nodekey=112ccb0b5c0b5ab37bf4bafad1d44aff2cc0cb2eb3ffa9cb9feda2deaf6bbf2a --shard=0 --metrics-server=true --metrics-server-address=0.0.0.0 --metrics-server-port=37656 --metrics-logging=true --relay=true --discv5-bootstrap-node=enr:-L24QNGKPF72Ut7xCmIl7cM7_fFzsno4MY9h5-nAq9qsxB5pTwAzqxZz508X4TXFr-MZkCe2tqruOC3yy9fdIxM5A2ICgmlkgnY0gmlwhKwSShmKbXVsdGlhZGRyc5YACASsEkoZBj4lAAoErBJKGQY-Jt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDDHf0JTm9eEZwVjp9KAY_RQSm0OmCiQQu87S8qmogJZWDdGNwgj4lg3VkcII-J4V3YWt1MgE
2026-03-01 04:38:52.288 DEBUG [src.node.docker_mananger] docker network connect --ip 172.18.121.240 waku a7e0f119a2cd21c3c3c78af990984cef3fc6a15641d7e727a1eb994dea74ffeb
2026-03-01 04:38:52.322 DEBUG [src.node.docker_mananger] Container started with ID a7e0f119a2cd. Setting up logs at ./log/docker/node2_2026-03-01_04-38-50__d4db6155-e5e9-4096-b765-1dcc4819681a__wakuorg_nwaku:latest.log
2026-03-01 04:38:52.322 DEBUG [src.node.waku_node] Started container from image wakuorg/nwaku:latest. REST: 37652
2026-03-01 04:38:52.322 DEBUG [src.libs.common] Sleeping for 1 seconds
2026-03-01 04:38:53.323 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37652/health" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:53.342 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-01 04:38:53.344 INFO [src.node.waku_node] Node protocols are initialized !!
2026-03-01 04:38:53.345 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37652/debug/v1/info" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:53.351 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'{"listenAddresses":["/ip4/172.18.121.240/tcp/37653/p2p/16Uiu2HAmHMoM5XZ3K6yoVT9u78CyNMjpfwVSMEMzwqYeFFB53PLr","/ip4/172.18.121.240/tcp/37654/ws/p2p/16Uiu2HAmHMoM5XZ3K6yoVT9u78CyNMjpfwVSMEMzwqYeFFB53PLr"],"enrUri":"enr:-L24QNfVp3nedI4F38XYXS-2Xx6ci2993xgp0n9CtGxrW4ixWadezEVE14kHJ6mYhWDBh5ChlgH-5MA2i7AY5_vAM0YCgmlkgnY0gmlwhKwSefCKbXVsdGlhZGRyc5YACASsEnnwBpMVAAoErBJ58AaTFt0DgnJzhQADAQAAiXNlY3AyNTZrMaEDReMeeF5dDvz9lJcPiqEdnUowxMKSQwXK-RYbLsn92-eDdGNwgpMVg3VkcIKTF4V3YWt1MgE"}'
2026-03-01 04:38:53.352 INFO [src.node.waku_node] REST service is ready !!
2026-03-01 04:38:53.352 INFO [tests.e2e.test_network_conditions] Subscribing both nodes to relay topic
2026-03-01 04:38:53.353 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15908/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-01 04:38:53.360 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:53.360 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:37652/relay/v1/subscriptions" -H "Content-Type: application/json" -d '["/waku/2/rs/3/1"]'
2026-03-01 04:38:53.367 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:38:53.367 INFO [tests.e2e.test_network_conditions] Waiting for autoconnection
2026-03-01 04:38:53.368 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:15908/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:53.371 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.121.240/tcp/47710/p2p/16Uiu2HAmHMoM5XZ3K6yoVT9u78CyNMjpfwVSMEMzwqYeFFB53PLr","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-03-01 04:38:53.371 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37652/admin/v1/peers" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:38:53.374 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'[{"multiaddr":"/ip4/172.18.74.25/tcp/15909/p2p/16Uiu2HAmDVfL8aVN3rnLFCXrXw2gSqc8eQgdry764PZqgmHkFzAg","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-03-01 04:38:53.374 DEBUG [src.libs.common] Sleeping for 10 seconds
2026-03-01 04:39:03.374 DEBUG [tests.e2e.test_network_conditions] Applying 5000ms latency to node2
2026-03-01 04:39:03.376 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '5562', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-01 04:39:03.500 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '5562', '-n', 'tc', 'qdisc', 'add', 'dev', 'eth0', 'root', 'netem', 'delay', '5000ms']
2026-03-01 04:39:03.513 DEBUG [tests.e2e.test_network_conditions] Publishing message from node1
2026-03-01 04:39:03.514 INFO [src.node.api_clients.base_client] curl -v -X POST "http://127.0.0.1:15908/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-01 04:39:03.519 INFO [src.node.api_clients.base_client] Response status code: 200. Response content: b'OK'
2026-03-01 04:39:03.519 DEBUG [tests.e2e.test_network_conditions] Fetching relay messages on node2
2026-03-01 04:39:03.520 INFO [src.node.api_clients.base_client] curl -v -X GET "http://127.0.0.1:37652/relay/v1/messages/%2Fwaku%2F2%2Frs%2F3%2F1" -H "Content-Type: application/json" -d 'None'
2026-03-01 04:39:13.523 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":1772339943513938569,"ephemeral":false,"proof":""}]'
2026-03-01 04:39:13.525 INFO [src.steps.network_conditions] TC exec: ['sudo', '-n', 'nsenter', '-t', '5562', '-n', 'tc', 'qdisc', 'del', 'dev', 'eth0', 'root']
2026-03-01 04:39:13.536 DEBUG [tests.conftest] Running fixture teardown: test_setup
2026-03-01 04:39:13.537 DEBUG [tests.conftest] Running fixture teardown: close_open_nodes
2026-03-01 04:39:13.537 DEBUG [src.node.waku_node] Stopping container with id c3f722eb5e67
2026-03-01 04:39:14.120 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:39:14.121 DEBUG [src.node.waku_node] Stopping container with id a7e0f119a2cd
2026-03-01 04:39:14.650 DEBUG [src.node.waku_node] Container stopped.
2026-03-01 04:39:14.651 DEBUG [tests.conftest] Running fixture teardown: check_waku_log_errors
2026-03-01 04:39:14.663 DEBUG [src.node.docker_mananger] No errors found in the waku logs.
2026-03-01 04:39:14.675 DEBUG [src.node.docker_mananger] No errors found in the waku logs.