From patchwork Fri Nov 1 23:27:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1188253 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="mw77oOpl"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 474dfV0PMJz9sP6 for ; Sat, 2 Nov 2019 10:28:17 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id D9AB0EA2; Fri, 1 Nov 2019 23:28:13 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 18C0AC4E for ; Fri, 1 Nov 2019 23:28:12 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CCB15466 for ; Fri, 1 Nov 2019 23:28:10 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id j30so3899926pgn.5 for ; Fri, 01 Nov 2019 16:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+pe8dW2AtjNFZCAPnSFGAxCjW7nNs/XIy1tkitRPBfU=; b=mw77oOpl21Yv8Rnss+o2GKVnhYkXtSscQ/6Gf1KWKTERtepmolSBKa0PjnVl9SWOjP etyn10Szd4Mtih/llO/YT/jixI25zr/euPOTz7GYTNL8u8ogQSxKTWx7Cc5nEzENPFs4 fJ41A2e27CsF5N3QBWUGb7wo1dnhWizWIe5KtlqzM6f0BV3nZETMX6zWketEFsZR+YZA qGb3P8ZLxOs4KwDLNn0QU2QaC0hg6JdiAL5HfSS4xZej2oHDdYBd5myap5iOxcp1LWcF cMLw3Vg6rvb6ZH3S2zqr6p+PUfjMwZPB3vzDbDUa6mbI7TzkJIUZXTii+gGdkDpAD/B4 J1KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+pe8dW2AtjNFZCAPnSFGAxCjW7nNs/XIy1tkitRPBfU=; b=KSnPJvt/+RR5UlaIMtAouySln3oAeJpUnmR9rl+NFiwbD3QH1vLPwxRL6Jw0gffw/l 3VujKBswCQYNfUsOuMoumgdE2MH9A3fZcx6BA7yb0+v2gCyVII0Mas9WU7jugskb0rP6 eJYj9WZY8rADiiz5F0Eo4W+GTv+SjQ1xfZ1cE4nS8NWQaFqsbUPvHh3ez/ssm+nSIZCo QgTxLrOITtfXSIkmw9wN97A8AcORTyTdPHDveqVyPcQ2PBYimyJeZkHoqr55KZmxFHMO kc3Wq6iz3Nu5ukgvLzMQO7gXbqLv5xs0rcYnf7gDK50235WYtLdPib7aiNqfFQAsAsTv oO8Q== X-Gm-Message-State: APjAAAXg3lPs5JYijvsPviYuuS1kNOgUVtQjvFm0Txs0tB6BXEkRTob6 kjqL745K0W2A+fwiy20odSmMy8RanNw= X-Google-Smtp-Source: APXvYqxPs26KtmpPEyCq+34CxahcvzFOiwqcVwUN0TaVpnqhG8eHC5l+jPBDm6JYK0CNq1tJPVOJJw== X-Received: by 2002:a17:90a:b10e:: with SMTP id z14mr108612pjq.103.1572650889994; Fri, 01 Nov 2019 16:28:09 -0700 (PDT) Received: from sc9-mailhost3.vmware.com ([66.170.99.1]) by smtp.gmail.com with ESMTPSA id t4sm8832031pjo.26.2019.11.01.16.28.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Nov 2019 16:28:09 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Fri, 1 Nov 2019 16:27:40 -0700 Message-Id: <1572650860-73811-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: i.maximets@ovn.org Subject: [ovs-dev] [PATCHv2] tests: Skip tests using tcp nc under check-afxdp. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org AF_XDP veth does not support TCP with namespaces. This patch skips two cases that use it. 118: conntrack - floating IP 119: conntrack - negative test for recirculation optimization Signed-off-by: William Tu --- v2: - skip only 118 and 119. v1: - Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/606194550 - make check-afxdp all pass on my machine, but cirrus, it is still unstable, observe 1 failed at: https://cirrus-ci.com/task/6597038589870080 --- tests/system-afxdp-macros.at | 6 ++++++ tests/system-kmod-macros.at | 6 ++++++ tests/system-traffic.at | 2 ++ tests/system-userspace-macros.at | 6 ++++++ 4 files changed, 20 insertions(+) diff --git a/tests/system-afxdp-macros.at b/tests/system-afxdp-macros.at index f0683c0a901b..3392c7e5ada3 100644 --- a/tests/system-afxdp-macros.at +++ b/tests/system-afxdp-macros.at @@ -37,3 +37,9 @@ m4_define([CONFIGURE_VETH_OFFLOADS], # m4_define([OVS_START_L7], [AT_SKIP_IF([:])]) + +# OVS_SKIP_AFXDP() +# +# Skip when check-afxdp. +m4_define([OVS_SKIP_AFXDP], + [AT_SKIP_IF([:])]) diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at index 9e89aec43734..cfcd63ab0bab 100644 --- a/tests/system-kmod-macros.at +++ b/tests/system-kmod-macros.at @@ -211,3 +211,9 @@ m4_define([VSCTL_ADD_DATAPATH_TABLE], # or necessary for the userspace datapath as it is checking for a kernel # specific regression. m4_define([CHECK_L3L4_CONNTRACK_REASM]) + +# OVS_SKIP_AFXDP() +# +# Skip when check-afxdp. +m4_define([OVS_SKIP_AFXDP], + [AT_SKIP_IF([false])]) diff --git a/tests/system-traffic.at b/tests/system-traffic.at index 870a05efe04c..32af74c9953b 100644 --- a/tests/system-traffic.at +++ b/tests/system-traffic.at @@ -5660,6 +5660,7 @@ AT_CLEANUP AT_SETUP([conntrack - floating IP]) AT_SKIP_IF([test $HAVE_NC = no]) +OVS_SKIP_AFXDP() CHECK_CONNTRACK() OVS_TRAFFIC_VSWITCHD_START() OVS_CHECK_CT_CLEAR() @@ -5735,6 +5736,7 @@ AT_SETUP([conntrack - negative test for recirculation optimization]) dnl This test will fail if 'conn' caching is being used, because the tuple dnl has been changed outside of conntrack. AT_SKIP_IF([test $HAVE_NC = no]) +OVS_SKIP_AFXDP() CHECK_CONNTRACK() OVS_TRAFFIC_VSWITCHD_START() OVS_CHECK_CT_CLEAR() diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at index a419f30c1563..6cf2d70ea046 100644 --- a/tests/system-userspace-macros.at +++ b/tests/system-userspace-macros.at @@ -323,3 +323,9 @@ m4_define([CHECK_L3L4_CONNTRACK_REASM], [ AT_SKIP_IF([:]) ]) + +# OVS_SKIP_AFXDP() +# +# Skip when check-afxdp. +m4_define([OVS_SKIP_AFXDP], + [AT_SKIP_IF([false])])