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 7CD058015C for ; Tue, 22 Sep 2026 12:04:14 +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 68MC33Ha018114; Tue, 22 Sep 2026 15:03:04 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68MC33Ha018114 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="eqMovTv4" Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 68MC2dPd018069 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Tue, 22 Sep 2026 15:02:40 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 68MC2dPd018069 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-49e6683d48fso41215175e9.0 for ; Tue, 22 Sep 2026 05:02:40 -0700 (PDT) X-Gm-Message-State: AFuF++mR97ngln/gXLf2W4mestwVgthdRE2WSRvDl6oTMArrHOBXw4k3 XlMJHv8LEIv3t+RlB6DNAu10HyKZJfgvI3M/nczWoaxnbOQDgsMux07qaxupTqrGwDdks2Euhio XltXwZxpdiinhmQLJasYe236gzciyYzpS19iSvcLaKOs8vsjuLptqiw== X-Gm-Gg: AYBFou0L4jXUScfpbK0RrUNpyTdx0yVaYtXKV3190xvv74oKKCvTxL//jv/RyEKfuH+ QqxYXuk9eYmyu+N/Eru97qIxDLjoMb2udXc/UzRcUdbH+Ypa80tCniXpdiFdf6BJ33AsRSTcN8O Jr60O5opkvXbuwTwOwDyyv0aegR7z5ieXhphP3jaX0sbMUviCnxsEn4rJlwzjeUAx+SZFKCJ2G5 l+EiRTQ7ihriMDd9sl4VCWSYrOEgC4E1/bQ7HUy2vOTiZaVFuaAl87X6Jzhjh3d5jM4focDzJD1 DjO5BHWjGujGXBFb7HHLQ93kIaqHZftTQnPqTrYfv5FYuoeLsNc7Zlf+WBr/dS7lW2DPACPtOrs JYhcPsX+OZg7xwtrpNGlAefbcJA== X-Received: by 2002:a05:600c:530e:b0:49c:cfbe:5a76 with SMTP id 5b1f17b1804b1-49fc568157amr177910825e9.2.1790078559714; Tue, 22 Sep 2026 05:02:39 -0700 (PDT) X-Received: by 2002:a05:600c:530e:b0:49c:cfbe:5a76 with SMTP id 5b1f17b1804b1-49fc568157amr177910295e9.2.1790078559080; Tue, 22 Sep 2026 05:02:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1790078559; cv=none; d=google.com; s=arc-20260327; b=FpCw4d75kYwEEnG9KTq0nYDZ3G0eSHX0n1jY2iKNNmHl1FXGkY0FF53bHpULOCFbhP b10A3kX+8Ww88oWTFWE/4wUB7RkKWt6Cv2B0z0c/P2GDgWVnXpID4jwvm8IZ91GEPxiD AGRTzJIrGq54vRx34OA8zZl/f3TVb8hkUEGkADZ2kRoeMozvGjdhB6Ppx24oEI42XNbv EUnA0pOT1yewsmDY9g88VNh3n67a1AYmyL+k0E08gMn2uY8U3gP2QL0NtfmkAMr5Uy2x kCNQukT673IXValOjoKCbeheNlL5wiuaaad3ed/CQZox/PgUksgNvP/k1bK+uQ+fBHY4 vxPg== 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=bRmlDJ6vflC8xapCpe8SIKiBemLWBr+xozKix8GBr/Q=; b=i01PD8DbWlDTUfzkkO7BtubnXhEARWOPY90Kw039FSfj7XFQVamN7pm6zvph4b5U90 2PlfGsoKhv4u4k9RXCE/vu69KpBv1xGMtwNz+ggeDxTJMpbtMxYj3IFrgjM+y3Y0vNmb RCa6hcWjs5z3DR8bZDxyrcSfvdgwb4uMBzPzhBvaDD2QvdBHN0STjuLGcMarsUr2RNBF 2ylIhZ5VNjJBq09rjE1xkpelQPe1bOp4jYx0Kd9/h87tx5DCRJQcauR8LQjl6cVkEhV+ V8h/lszvwmvIw//KHc06/EKigeBoq/+BzyeN9ctmwmKleaSoRtbe9suzg9KwCPotJ0u1 wvqA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=eqMovTv4; 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 5b1f17b1804b1-49fd8b9a276si46179065e9.6.2026.09.22.05.02.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2026 05:02:39 -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=eqMovTv4; 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=eqMovTv41wcH UsSD4DABEc2Y9w5+eLSFqDmFt494+GsK1kXOv4DubPhdYCO9KjbGSGHzOB5XTfFvS24kwtZJE9lxz ancjqOy/NW6MB9v57YuKQiDtLBgiWpzb6EEf4tGZvjYVLiKn/9hD+mV4K0/RaDz0kfV4Kb+vvYBHR wLNWtcq2Eplf1YLhMUoTtemgkevM8rW3hfpanGJjzBg89vzKZVltnr1mIvaZ1aicI3ZYAMhbyGEBc T9R/dDjPsjHw4TuLz6nrnLAikwIvoQCKlTWThbzLvrRVId3aOqYl2Px8ZGmpfeRYW22GzudAW5raY dSMwyEN9p+YA5bWePz93qw==; 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 1x8z9v-009l3P-0f; Tue, 22 Sep 2026 14:02:29 +0200 From: Eva Kurchatova To: vasileios.almpanis@virtuozzo.com Date: Tue, 22 Sep 2026 15:02:25 +0300 Message-ID: <20260922120235.2729869-6-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260922120235.2729869-1-eva.kurchatova@virtuozzo.com> References: <20260922120235.2729869-1-eva.kurchatova@virtuozzo.com> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH vz10 v2 6/6] 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