Message ID | 69b68cad89bb1b376839c90f2e6c0c119fadd56f.1525108310.git.petrm@mellanox.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-mlxsw-bounces+patchwork-linux-mlxsw=patchwork.kernel.org@lists.ozlabs.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C8C856038F for <patchwork-linux-mlxsw@patchwork.kernel.org>; Mon, 30 Apr 2018 17:13:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B89E928700 for <patchwork-linux-mlxsw@patchwork.kernel.org>; Mon, 30 Apr 2018 17:13:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD09D288FE; Mon, 30 Apr 2018 17:13:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C848E28700 for <patchwork-linux-mlxsw@patchwork.kernel.org>; Mon, 30 Apr 2018 17:12:59 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40ZWMF2nrVzF2QB for <patchwork-linux-mlxsw@patchwork.kernel.org>; Tue, 1 May 2018 03:12:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="D8vhHs2u"; dkim-atps=neutral X-Original-To: linux-mlxsw@lists.ozlabs.org Delivered-To: linux-mlxsw@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mellanox.com (client-ip=40.107.2.42; helo=eur02-ve1-obe.outbound.protection.outlook.com; envelope-from=petrm@mellanox.com; receiver=<UNKNOWN>) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=mellanox.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=Mellanox.com header.i=@Mellanox.com header.b="D8vhHs2u"; dkim-atps=neutral Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20042.outbound.protection.outlook.com [40.107.2.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40ZWM53C9jzF2Q5 for <linux-mlxsw@lists.ozlabs.org>; Tue, 1 May 2018 03:12:48 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=XpjBdGyGo1PLtex/hpZRC1/UqPsZmc6m/923HacBHMM=; b=D8vhHs2uDWFsQmmadSeHw1fKVuFEWGbimbvgBzz/ifiYy2TU+EqWmLDkbifhbPWI4nCSBG0I6E+bGKsaS18CAWUxaNF/TOPiN93wlWOhC6cl6wfP2z0TRNNOIhgaKfh/851TUtKSUG/aF+lIMX/6FYdnFrzFebReF4uEsX3Rfzs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=petrm@mellanox.com; Received: from t540p (78.45.160.211) by AM6PR05MB4181.eurprd05.prod.outlook.com (2603:10a6:209:40::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Mon, 30 Apr 2018 17:12:40 +0000 From: Petr Machata <petrm@mellanox.com> To: <linux-mlxsw@lists.ozlabs.org> Subject: [PATCH lnst] recipes: switchdev: l2-021-span: Wait before killing tcpdump Message-Id: <69b68cad89bb1b376839c90f2e6c0c119fadd56f.1525108310.git.petrm@mellanox.com> Date: Mon, 30 Apr 2018 19:12:36 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 X-Originating-IP: [78.45.160.211] X-ClientProxiedBy: DB6P190CA0015.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:2f::28) To AM6PR05MB4181.eurprd05.prod.outlook.com (2603:10a6:209:40::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB4181; X-Microsoft-Exchange-Diagnostics: 1; AM6PR05MB4181; 3:v+/eK88VFxyh/aErtqQ/uXmMz7z+m1/OyWVkCASPx3Fc5ze/ahzNlZIBbPSE1Ht6f1vySAAfhDBqjPXXwM5iifBmNa+1Gp8khvWYO9lv62A35ET+PlCly6EOu6RnLLBjDQcMwX8GYdgYJjfDWTuT18NwnzStKJrHYwit3k6b+gL7OEn65yTIgY9r0faqhjcWMi9DJbC/yRTQJ8mHFZzQxwScnM9+rrOW8MchTVbZoKYYIGU8BeweKPdEBBViPk0Q; 25:CI5lwShTDCh+3VlCvK/sBtUUCARcPx7aqHgb2dTtUBhdTqphePUStvNcocV6yheK+LRtUaGRNuUJeMfXrbc/fLvwTmf8+ioBp3O5Q2rymh6YcZvkVHaDvjdO8OAAhmK57fD2PPUIz3j8C0qzq//Zlc0ZrEk0S1NThMAlqtw4IuD8zSo1aY8PVA80bWx4Bl/d4L/JgMoYmmOOjIwgVtqOUXQBgxEg77kdUkRERlhVA64/7kPtxJ7ochnYKe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5b9ldmFERqLNCdpDP+jRY3INoTgCxhr/xCu1dfpL8IT+lCK7YF3Yy1BjZD9F5Wm/SgCMQzgkm3dnQcwoHUXCaiA3zREPIPiKARTTsNbYGX1Yfny1u9+lBI3aQ== X-Microsoft-Antispam-PRVS: <AM6PR05MB4181C1B3C01C7ED74304A3E7DB820@AM6PR05MB4181.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:AM6PR05MB4181; BCL:0; PCL:0; RULEID:; SRVR:AM6PR05MB4181; X-Forefront-PRVS: 0658BAF71F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(396003)(39380400002)(39860400002)(189003)(199004)(6486002)(16586007)(2351001)(58126008)(68736007)(316002)(2906002)(86362001)(47776003)(386003)(25786009)(3846002)(486006)(66066001)(6666003)(118296001)(478600001)(6116002)(6916009)(51416003)(106356001)(53936002)(105586002)(4326008)(7736002)(6496006)(305945005)(107886003)(52116002)(956004)(48376002)(2616005)(97736004)(476003)(50466002)(26005)(8936002)(16526019)(5660300001)(81166006)(8676002)(36756003)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB4181; H:t540p; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR05MB4181; 23:xzUSsKDq/M/kqsnRbb9tTZmRDGU41/v/2uUPnFAAX?= =?us-ascii?Q?703HilVn3ikkiVBEtIjX5RC7xmIEZXsXndQu1vA0+oSg2HrbGanS3m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hpW7kvKeb6oN4WkkRRfNXj+njUh/DAnZtMy6PMDdtheTUk=; 24:dqFO1LLwzzgdcLGvqC6qI1oQUeZb+UUhSOdCEaMSvJorLVNU5MkiC8DwcESuexIlN7xZDEMOXWY1UWswP0LKy/gpv394xlTUvlraskjLuYE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM6PR05MB4181; 7:Ffxdrku7v6Xf60r4tWR0p7l0bU6CXJjCF2RBb+7o5n2pQl9PChMLy3okEuGniCYOHB0LxNB6IBMhSCoHbGNkUx/JpbKVX6xb3WE02t4FfwfIAVfKDAo938s4CZgW1aBqG5RwIxDTRvQsKlMvy+LDUzakw2XsyH1sFOcaZAJbWHuO48JjXslDTmpul+EAx6d937XcWOct932T5e2hxDpQaig1WJ0t7gqdp9QPToaoDiOjlLVqrp4YxKOkTQjtyqus X-MS-Office365-Filtering-Correlation-Id: 1cc323eb-1de8-4cc7-d7e2-08d5aebd94c3 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Apr 2018 17:12:40.7739 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1cc323eb-1de8-4cc7-d7e2-08d5aebd94c3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4181 X-BeenThere: linux-mlxsw@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: mlxsw driver development <linux-mlxsw.lists.ozlabs.org> List-Unsubscribe: <https://lists.ozlabs.org/options/linux-mlxsw>, <mailto:linux-mlxsw-request@lists.ozlabs.org?subject=unsubscribe> List-Archive: <http://lists.ozlabs.org/pipermail/linux-mlxsw/> List-Post: <mailto:linux-mlxsw@lists.ozlabs.org> List-Help: <mailto:linux-mlxsw-request@lists.ozlabs.org?subject=help> List-Subscribe: <https://lists.ozlabs.org/listinfo/linux-mlxsw>, <mailto:linux-mlxsw-request@lists.ozlabs.org?subject=subscribe> Cc: mlxsw@mellanox.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: linux-mlxsw-bounces+patchwork-linux-mlxsw=patchwork.kernel.org@lists.ozlabs.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/recipes/switchdev/l2-021-span.py b/recipes/switchdev/l2-021-span.py index e14b1e4..568b71c 100644 --- a/recipes/switchdev/l2-021-span.py +++ b/recipes/switchdev/l2-021-span.py @@ -117,6 +117,7 @@ def do_task(ctl, hosts, ifaces, aliases): assert_procs += run_packet_assert(out_num, m2_if2, m1_if1, m2_if1, aliases["ipv"]) tl.ping_simple(m1_if1, m2_if1, count=10) + sleep(1) for assert_proc in assert_procs: assert_proc.intr()
When tcpdump is killed immediately after "ping" finishes, some of the tcpdump output may be cut short. Signed-off-by: Petr Machata <petrm@mellanox.com> --- recipes/switchdev/l2-021-span.py | 1 + 1 file changed, 1 insertion(+)