From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id 462E480031 for ; Mon, 23 Nov 2026 04:36:01 +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 6AN4YmvP019113; Mon, 23 Nov 2026 07:34:48 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AN4YmvP019113 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="kgzb7tQi" Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AN4YkSK019106 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Mon, 23 Nov 2026 07:34:46 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AN4YkSK019106 Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-6b763d2c2cdso2404532a12.2 for ; Sun, 22 Nov 2026 20:34:46 -0800 (PST) X-Gm-Message-State: APuU4Z8PruZFv48EsUGSmbIGVfDqBwi1/k0WTdCKOi5SQVDW6GU264kZ 7C+TSm2AWnW1bL7/X3R2KUEu5Vvoa9M1KJE75w7E54Zpe6OYh31NKF0i8hHMEmFeietztGPuSe0 OGyLmNoltPsj5VTnb6uZBmWq+3SAqrryEj2CeTD4IZy3qPLW6o9Ohlw== X-Gm-Gg: AZFdTZdGWg8DZGYDBlIZDlfQDIoftMIrOCax/PBNfTkKaig8u0jjEr1dTrdKFMHwxJA uE4Q+YSyoqlt8EZd1kQaoE1GcjzSdx9mC28+yf6qezGGEd14VcmWiPLsBnPZxHLzeB6RujHQmuM 64n9AoFSybsOmgA3EvPJYDNEkeAJDUKRcmxoDPYmXkGVewGZnp5WrFZHzFRv0xGbMihy2b6B/Ye bmCr8xIJONK/dCHtNv7+4YvhVOOOorf/QDZfUmcxZrERldS0559HDJsyQrcl6T/P5cpR22GWXXF q7DVtWH0kMYCJKYJWd0C/WIIzoFykfN+T8d4cOMKNh/L7SU39VqQg/irJFFgIYdz0I8HqHCUwM3 g5pxcrdIKRUeL1j2cCtF1sWhj X-Received: by 2002:a05:6402:84e:b0:6b7:245a:a50a with SMTP id 4fb4d7f45d1cf-6ba37ec0a70mr6613993a12.41.1795408486032; Sun, 22 Nov 2026 20:34:46 -0800 (PST) X-Received: by 2002:a05:6402:84e:b0:6b7:245a:a50a with SMTP id 4fb4d7f45d1cf-6ba37ec0a70mr6613987a12.41.1795408485578; Sun, 22 Nov 2026 20:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795408485; cv=none; d=google.com; s=arc-20260327; b=mYEfJfe5WHnnaelbJjjDY5azT+AimFF/ltzGGwMjY3LseVjgz8HdCT5xDZZgvRms7a xKvaVqO5ATWNOkBu8yjcnY9QkUg/iHahsLDxK/9xRcgGc+7i9kOaweHbVIbiSqTHuII4 W5Rk9EgWQLL8ekfprJdyhA8YSZXzN7c2NyIfYM+8+8Q2myac2lXfeOL3SpF3o1nwv4gF g3yX8UR+oivZS74NDPRV5OsCfD+fQMay+39msetv7xTuQQR5UOARjTTk+/fkDDfkAj/o 7kQUUfG6wZqbjUcXDfw0vUpXAbyPo9Mp9P9wPSA0GLEFIiDm4v4JG1Gm0t+qXYuCPxRx ooCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=NxVePtI+I3Tl+1CaChqcdsbl3TnKI8eXlOKxoBMB5eA=; fh=/QSWnKFFIPNLStgUoDwCQRaXnWcMIG7fyKJgHY+VEpU=; b=RIdWtI2UVTLGWNw+FIBv0/qv7HqyOIOU1TZexXoKHMz2Cs+R7ln1xAYi74To+2DHdL iloBoK8aNH7ZtQPp71rlhTupeL/G43zuut44T2MDTOpiX283sXdbkV2BZn08GQSc+Bnv yE6xv8FxHRWBEwNIvlYYTp5xpBEX1Y3XkgQekSjBhVTLK1LFv8jHGsbTypMwWbOjYiAj Oyf8nKg77m5zUeYuQv7p2cFUAZc6Niy6nRysbtQFXQXnI5+KhZRyeLti6MkCcNdM8Lxg iGQwR+SW84u23aftYXEUOsqhVymOjFAuedfoqME4FstFsj2ElmQB6m8oT1+7YWOdKAVm dxmA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b=kgzb7tQi; 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 a640c23a62f3a-c51498391e1si604703466b.243.2026.11.22.20.34.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Nov 2026 20:34:45 -0800 (PST) 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=kgzb7tQi; 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=NxVePtI+I3Tl+1CaChqcdsbl3TnKI8eXlOKxoBMB5eA=; b=kgzb7tQihuu7 lKQlnrpQ3G/BgG6JO55i5lfQevxd2iRIDpT+uZEmSNj58/nEUZKNDcrWJGcxT8Z46rSfNTQK8SQX/ Xh+9yUITf5lbqPp8Vgm296ksb8VRygkynROUyTzNdaWIjW7cbmfhDuQi5uUsuQj3IhM5JwjeJATZo m+ohxDsv9pbXFQ0GaFEUIIsA0uYLXoc8B36M77C+dU82qEXH4ELmo0SV4wzIScqyFPy9PkE3vfSID Bcq37fsz38dmKsh6Fz9JoP/KXXXBsv3Wyj3Nsm/O55se27u0WghA4nvvE4xs4mxFaF57m8wGQpeq0 VcbV2Bc8W+RWboQ8aNReCw==; 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 1xVLlF-008LRI-0u; Mon, 23 Nov 2026 05:34:37 +0100 From: Eva Kurchatova To: khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com Date: Mon, 23 Nov 2026 06:34:42 +0200 Message-ID: <20261123043443.1686524-1-eva.kurchatova@virtuozzo.com> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.2] selftests: openvswitch: flush the upcall listener's first line 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 openvswitch.sh waits for "listening on upcall packet handler" in the output file of the ovs-dpctl.py upcall listener, but the line stays in the stdout buffer until a MISS upcall, printed with flush=True, flushes it. test_tunnel_metadata thus fails its 5 second wait unless some other packet reaches the listener first. Flush the line when it is printed. Fixes: 30d772a03582 ("selftests: openvswitch: add psample test") https://virtuozzo.atlassian.net/browse/VSTOR-156360 Feature: fix selftests Signed-off-by: Eva Kurchatova --- tools/testing/selftests/net/openvswitch/ovs-dpctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py index ec59af9dcc32..c36df6d971ee 100644 --- a/tools/testing/selftests/net/openvswitch/ovs-dpctl.py +++ b/tools/testing/selftests/net/openvswitch/ovs-dpctl.py @@ -1863,7 +1863,7 @@ class OvsPacket(GenericNetlinkSocket): self.bind(OVS_PACKET_FAMILY, OvsPacket.ovs_packet_msg) def upcall_handler(self, up=None): - print("listening on upcall packet handler:", self.epid) + print("listening on upcall packet handler:", self.epid, flush=True) while True: try: msgs = self.get() -- 2.56.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel