From patchwork Fri Apr 28 12:01:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xavier Simonart X-Patchwork-Id: 1774905 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Qmtrc/tF; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q7B5w3tp0z23tl for ; Fri, 28 Apr 2023 22:01:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B520D8419D; Fri, 28 Apr 2023 12:01:22 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B520D8419D Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Qmtrc/tF X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QVaZyloJrhU3; Fri, 28 Apr 2023 12:01:22 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp1.osuosl.org (Postfix) with ESMTPS id 02CE78411B; Fri, 28 Apr 2023 12:01:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 02CE78411B Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D1F51C0037; Fri, 28 Apr 2023 12:01:20 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id D1756C002A for ; Fri, 28 Apr 2023 12:01:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 489FF616EA for ; Fri, 28 Apr 2023 12:01:17 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 489FF616EA Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Qmtrc/tF X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NTMa0OqZVi4N for ; Fri, 28 Apr 2023 12:01:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 6D10F616E3 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id 6D10F616E3 for ; Fri, 28 Apr 2023 12:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682683275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AC6w8sg5dP3bxqbsleJQxoXQaCFau8T+RM1Sn2Vfw/Q=; b=Qmtrc/tFEV1fWl+Ze1pzYoDu+UfmBFAbv69j00X+8ml5UaupdAAj0DKbT8gi5NP5U8ZlqU tUe7qlUOoojEkNhGTon2ThRUW2eFyIsrGdXorutGg2IUSGr8n5hrRmxhmRm9ozlUXWQJEK QmNLXdxyUadTY8VWJ4Vb3AkGghxdgjA= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-228-oq0TJni3MkevumP-6nhOhQ-1; Fri, 28 Apr 2023 08:01:14 -0400 X-MC-Unique: oq0TJni3MkevumP-6nhOhQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 16FB23822DED for ; Fri, 28 Apr 2023 12:01:14 +0000 (UTC) Received: from wsfd-netdev90.ntdv.lab.eng.bos.redhat.com (wsfd-netdev90.ntdv.lab.eng.bos.redhat.com [10.19.188.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id F3DAF40C6EC4; Fri, 28 Apr 2023 12:01:13 +0000 (UTC) From: Xavier Simonart To: xsimonar@redhat.com, dev@openvswitch.org Date: Fri, 28 Apr 2023 14:01:13 +0200 Message-Id: <20230428120113.2208516-1-xsimonar@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn] Fix test "load-balancing" X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" This was always failing on some systems (but has no issues on others), depending on which load balancer backend was used. Signed-off-by: Xavier Simonart Acked-by: Mark Michelson Acked-by: Ales Musil --- tests/system-ovn.at | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/system-ovn.at b/tests/system-ovn.at index b46f67636..366cf5c71 100644 --- a/tests/system-ovn.at +++ b/tests/system-ovn.at @@ -1569,7 +1569,6 @@ bar3_ct=$(ovs-appctl dpctl/dump-conntrack | grep 30.0.0.2 | grep 172.16.1.4 -c) AT_CHECK([test $(ovs-appctl dpctl/dump-conntrack | grep 30.0.0.2 | grep 172.16.1 -c) -ne 0]) if [[ "$bar1_ct" == "20" ]]; then - AT_CHECK([test $bar1_ct -eq 20]) AT_CHECK([test $bar2_ct -eq 0]) AT_CHECK([test $bar3_ct -eq 0]) else @@ -1577,17 +1576,15 @@ else fi if [[ "$bar2_ct" == "20" ]]; then - AT_CHECK([test $bar1_ct -eq 20]) - AT_CHECK([test $bar2_ct -eq 0]) + AT_CHECK([test $bar1_ct -eq 0]) AT_CHECK([test $bar3_ct -eq 0]) else AT_CHECK([test $bar2_ct -eq 0]) fi if [[ "$bar3_ct" == "20" ]]; then - AT_CHECK([test $bar1_ct -eq 20]) + AT_CHECK([test $bar1_ct -eq 0]) AT_CHECK([test $bar2_ct -eq 0]) - AT_CHECK([test $bar3_ct -eq 0]) else AT_CHECK([test $bar3_ct -eq 0]) fi