From patchwork Wed Oct 11 19:49:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Conole X-Patchwork-Id: 15238 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp776680vqb; Wed, 11 Oct 2023 12:50:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJH1yHS/SsoE75v/FdyqpsEB7Tw51cQhaquP1ne+Ht3n9bJiQeH6BZ+UIjV7RdjdI41DPJ X-Received: by 2002:a05:6358:e91c:b0:143:6813:bffa with SMTP id gk28-20020a056358e91c00b001436813bffamr17579202rwb.0.1697053854834; Wed, 11 Oct 2023 12:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697053854; cv=none; d=google.com; s=arc-20160816; b=YjOklphRYEF/2fcBPoXFpRZ36Tkn1gJ5DVObWx4LSgQ0XpV3Bs+48RbmAoZ4Sq0y9k ah0sA+bynbVSRHQUnXz7fAssY6FeP96HMZLVX/GHLLUozqUz0VcDMyfSlTJ7/S10+fgH oFz7D4nJbDnLgQVkQ4A3JLILILSP3Ggl7baqDzJFwGNPFVBZWRZ7Ac0eeoosAHY6fYDl uQxm0NE9a4hUJstGYxmiR0Frt8+lc2BVPU39npleOFXPL0m7BxVbZcut8RISlfayFvnn e/gh8l/6jweldfgXsdbyEKpLMaGYcxkMKo8zlqXDvE3y1LbWJQcS/twOE8Nf9eB+YBi6 1R2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dBw9jQqyC4NTEUrlFCMr+yRaRJ2fHw1SppPxUk03e4k=; fh=88nBSjTOrhHvyQS3Sgn//fCA45rCHSUCvyWdnfpu45A=; b=kLteHQPiXkz0VudH1rZh5YrEfPrMoWhGPgvOsiLruy1lWSvMB+hAAq1Rjz+yNAOgVk ldXhlPomh7NPXiNSaeCv6vWI7M2qlvB2M/TcJNnAqf6eyUHtEMeztNSUKSOooD+edk7Y nxv4GBRkdOuLCSu9HNqMvKWF17dJ8uAWr21arNtjySNqInv33ZrInGV9BtgGspkNdhDY /RMOVL/2PN5KB3IUgPkyCrgufVfPxtBcttL0F1TxvsBBZE0YWKIAkFHMn4R99/SDWci6 tv8keSmhof3mEICXS8o1SFblBpF53YvTryEj4oZC/x3fU8RSA9nKh1bWav5C4eHh4TyN 3IDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Bp8s/K8N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id w8-20020a63f508000000b00564d6ad2746si483949pgh.452.2023.10.11.12.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 12:50:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Bp8s/K8N"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id D77D5806D82D; Wed, 11 Oct 2023 12:50:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233103AbjJKTuf (ORCPT + 18 others); Wed, 11 Oct 2023 15:50:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbjJKTud (ORCPT ); Wed, 11 Oct 2023 15:50:33 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE9289D for ; Wed, 11 Oct 2023 12:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697053784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dBw9jQqyC4NTEUrlFCMr+yRaRJ2fHw1SppPxUk03e4k=; b=Bp8s/K8NSGCeeAo5yj6iSEmSY0Z9Y3VDatbQsLxIripknRxIv+v+2lJ5sfy9rDABECC7T6 J3M5SNSruBNv07m0dh8BFkP0z29QwKGLnCXy9hTXb2j5+ZX4kCSkfvNixDGYgSZr2jGKD5 Ncq5cJc9wuDqFbZVPGDP3dlh05lZIc8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-625-8nc4PH9ONs2n_JXZ4hQRYw-1; Wed, 11 Oct 2023 15:49:41 -0400 X-MC-Unique: 8nc4PH9ONs2n_JXZ4hQRYw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 69BEE832D33; Wed, 11 Oct 2023 19:49:40 +0000 (UTC) Received: from RHTPC1VM0NT.lan (unknown [10.22.34.140]) by smtp.corp.redhat.com (Postfix) with ESMTP id A511A1C060B5; Wed, 11 Oct 2023 19:49:39 +0000 (UTC) From: Aaron Conole To: netdev@vger.kernel.org Cc: dev@openvswitch.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Pravin B Shelar , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Adrian Moreno , Eelco Chaudron , shuah@kernel.org Subject: [PATCH net v2 0/4] selftests: openvswitch: Minor fixes for some systems Date: Wed, 11 Oct 2023 15:49:35 -0400 Message-ID: <20231011194939.704565-1-aconole@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 11 Oct 2023 12:50:47 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779489942724031117 X-GMAIL-MSGID: 1779489942724031117 A number of corner cases were caught when trying to run the selftests on older systems. Missed skip conditions, some error cases, and outdated python setups would all report failures but the issue would actually be related to some other condition rather than the selftest suite. Address these individual cases. Aaron Conole (4): selftests: openvswitch: Add version check for pyroute2 selftests: openvswitch: Catch cases where the tests are killed selftests: openvswitch: Skip drop testing on older kernels selftests: openvswitch: Fix the ct_tuple for v4 .../selftests/net/openvswitch/openvswitch.sh | 21 +++++++- .../selftests/net/openvswitch/ovs-dpctl.py | 48 ++++++++++++++++++- 2 files changed, 66 insertions(+), 3 deletions(-) Reviewed-by: Simon Horman