From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (unknown [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 53F548013F for ; Mon, 31 Aug 2026 22:50:26 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 67VMnEeb030970; Tue, 1 Sep 2026 01:49:14 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 67VMnEeb030970 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="NHEh260Q" Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 67VMmt3R030913 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 1 Sep 2026 01:48:55 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 67VMmt3R030913 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-49ccfad90f1so14663545e9.0 for ; Mon, 31 Aug 2026 15:48:55 -0700 (PDT) X-Gm-Message-State: AFuF++k1vzMPU16IjBCmmeq4VOs6lcgKw964300gi8B5NCyDBIgPU4oK /Ge6LW5SqzdpT+Tu8KULi7aK1xyaCIbBIoQ8tm9wEnkZVVBzu6UFqOVLhc4c9AXrVjfgk8vhEba Y4YpFN284/s6skhCo0jo7HsE1i4yvSnmzgiwb3DNnpVsniLfeIXNfRA== X-Gm-Gg: AR+sD11LXZS+sKp4jIKivXi9X6YDJcAX1v/W9vcaxAsAlvU6G0h4VQFSZYyT6DScqOl 8sdU2gW58DC/sCGQAB1c1dg3u0V0J3CGPv5C8jCAnL8xTUD0baWS+gVlveoGE3ZJsexdJ9jFcqo A/fr20BNUzZfXchZiT57I+dXXSzznmq6c3v2wX+4mPgleMMs3WSTlpAQ2OzZVCIzZeuG177r/lC T0++8Q98o9ej4bGhzLvslHYCbC7A0eknY5ILiMOtER+ePVnaGDob54Wn4mh13Va+KdpsKzRAYX9 PvU18csu37+EekfS/+Do+u6T6/jJFhMxwZSetLGEggtXAf/P/0rVib7B+cyaZJvJCBMl1B5NkFw RTvnnJGUtifbaH39864LKx13C6Q== X-Received: by 2002:a05:600c:c3cf:10b0:49b:8f18:714a with SMTP id 5b1f17b1804b1-49b91c47b76mr352533095e9.12.1788216534793; Mon, 31 Aug 2026 15:48:54 -0700 (PDT) X-Received: by 2002:a05:600c:c3cf:10b0:49b:8f18:714a with SMTP id 5b1f17b1804b1-49b91c47b76mr352532865e9.12.1788216534373; Mon, 31 Aug 2026 15:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1788216534; cv=none; d=google.com; s=arc-20260327; b=KpBsBjaOVCw21OxZDAoqfM55pLFNMr3qS4dMvdfrLOHytARedxi+hAs+y9yzZFBgvg VWjPrUpSu4hHsTaX0J5yYdlvKte9SFVpxLbI6sV1NkHA6MOpAPLO/pIKIwc4XwvFTin2 6IHXMC3Ssf9e1+mBbkIn2CBVrvrbnpLVUyLwvQMrh/buPk0ArzsHkeFOEAF5j5joZeT4 0cvHaXHj/Ai5Q6Z9ggOG4v/nUnCW1pgyD0BlyaqJtmBL2Y0GXhuaYNiI5wOODTuRhT1b Im2h4fiArR+ZekcnDLPDn3wkvrSafTfkdVN4U6cLHJvHjJhKNmTFPJmt6+gTUBMVFCI7 6Stg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hkbAQHuk1u3CB+5lRUWWbeW7KQYRHu/MQl71TgBzuHA=; fh=WpT6aB7RBAGHZeWZzqAr71yzRFbPTYkPWKsRagLn48Q=; b=Aw7YZNO9sa0ZvnYQOtucvg9cxnfjkTO/1B61FkZcuZnnerd/yzIUpq5WLYdGuJWR/V qEsFgMLVfXmfmPvWbj+q1h0OSaoSbufzbiOUfW9jQu9uoCGojSL1MfQh1b8Syax69tTS sgo26Y2MLkU+BRgPsu4Yt2sK5eBiL7Qnafl1IOOitudrgdJIDpU9KHo+Z9CSgsiRdN76 ajwWYW4Vq9ekhOgSJMyDxZtRw/U8TntJHG/+WIJqj1/V/lBIkZ/tEbSZB/pI+7auUuBh UCkjbtXM6T9EfJ9B2y2bzPCf2qiGOWDBM3Q9gEQPVStnCOKCUGZ9kG7Xrkirv684y3Li Hrgw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=NHEh260Q; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-48442d71f1dsi996575f8f.175.2026.08.31.15.48.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 15:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=NHEh260Q; spf=pass (google.com: domain of eva.kurchatova@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=eva.kurchatova@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=hkbAQHuk1u3CB+5lRUWWbeW7KQYRHu/MQl71TgBzuHA=; b=NHEh260QHqam gjD/Sewbhk3wWHm7nLEjFYjGpmBYDjFP+1ORlaCREpwlvkfzDxJLZCmiAmU433xgHqyhDUuXyZ1AU TOmwUIEVy6lqIFflsqHRhZw55auIwNY7m6aHmT/GM1U8ZKpyLz5XoygXPmBrg3hyYL2Jjph5NkL+5 hQw8eAgZ7iooy5atcioKJ5foS/Wdd5A3z2ZN6z2nkSnPjc75zWxKMUNOmY7i4l0dF1lkx989CNxY/ RPoDtoZwqkI+oqMPO6UA5REuqposXOXcB6nKwJ0ezNia1spj1DEjCIQtxy/CkbvnF8vGmuKBnetl3 8GtxopGZWggAvkjxwwuthQ==; Received: from ch-vpn.virtuozzo.com ([130.117.225.6] helo=LekKit-T14) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1x1Aln-009jQI-18; Tue, 01 Sep 2026 00:48:45 +0200 From: Eva Kurchatova To: khorenko@virtuozzo.com Date: Tue, 1 Sep 2026 01:48:25 +0300 Message-ID: <20260831224850.1642265-7-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260831224850.1642265-1-eva.kurchatova@virtuozzo.com> References: <20260831224850.1642265-1-eva.kurchatova@virtuozzo.com> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH vz10 7/7] selftests: net: let the bridged PMTU tests take the ICMP they ask for X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org The bridged tunnel PMTU tests send a packet that is too big to make the tunnel answer with "Frag needed", which is how the route exception they check gets created. The ping that does it from the namespace holding the bridge is given a deadline, and ping(8) says of it: In this case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are answered or for some error notification from network. so it stops at that very ICMP and reports the loss: # ping -M want -i 0.1 -w 1 -s 4500 192.168.2.2 From 192.168.2.2 icmp_seq=2 Frag needed and DF set (mtu = 3950) 2 packets transmitted, 0 received, +1 errors, 100% packet loss TEST: IPv4, bridged vxlan4: PMTU exceptions [FAIL] The exception is created all the same, and with the right value, the test never gets to look at it. Ask for a count of pings instead, as the line above this one already does for the other namespace, so the error is counted and the run goes on. All 16 bridged cases pass with this, vxlan and geneve, over IPv4 and IPv6. https://virtuozzo.atlassian.net/browse/VSTOR-139651 Feature: fix selftests Signed-off-by: Eva Kurchatova --- tools/testing/selftests/net/pmtu.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/pmtu.sh b/tools/testing/selftests/net/pmtu.sh index 6c651c880fe8..d607429840cf 100755 --- a/tools/testing/selftests/net/pmtu.sh +++ b/tools/testing/selftests/net/pmtu.sh @@ -1409,7 +1409,12 @@ test_pmtu_ipvX_over_bridged_vxlanY_or_geneveY_exception() { mtu "${ns_b}" ${type}_b $((${ll_mtu} + 1000)) run_cmd ${ns_c} ${ping} -q -M want -i 0.1 -c 10 -s $((${ll_mtu} + 500)) ${dst} || return 1 - run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -w 1 -s $((${ll_mtu} + 500)) ${dst} || return 1 + # This ping is meant to draw the ICMP that creates the exception, + # and ping stops on "some error notification from network" where a + # deadline is given, see ping(8), so it would always report the + # loss and fail here. Send a count of them instead, as the ping + # above does. + run_cmd ${ns_a} ${ping} -q -M want -i 0.1 -c 10 -s $((${ll_mtu} + 500)) ${dst} || return 1 # Check that exceptions were created pmtu="$(route_get_dst_pmtu_from_exception "${ns_c}" ${dst})" -- 2.55.0 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel