From patchwork Fri Feb 2 13:49:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 1894556 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=MlThMm9I; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TRHG42JmTz1yhq for ; Sat, 3 Feb 2024 00:50:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0099D60797; Fri, 2 Feb 2024 13:50:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0099D60797 Authentication-Results: smtp3.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=MlThMm9I 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 S5ulCBJpNRFR; Fri, 2 Feb 2024 13:50:01 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id E3D9D60B48; Fri, 2 Feb 2024 13:49:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E3D9D60B48 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A1866C007C; Fri, 2 Feb 2024 13:49:59 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id F33DAC0072 for ; Fri, 2 Feb 2024 13:49:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id DC8D183906 for ; Fri, 2 Feb 2024 13:49:58 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org DC8D183906 Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=MlThMm9I 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 GU83Ax5t6L2q for ; Fri, 2 Feb 2024 13:49:58 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2A36482EDB for ; Fri, 2 Feb 2024 13:49:58 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2A36482EDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706881797; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x+I7m6BnzI2kry9nxwR/6NkYzTeeO43hRe+ewa25bRE=; b=MlThMm9Insf0N9l5jaGcTyatne3XXc/6gPVcrNZeHThmLkO776YLLb+KhbmPnQPLjzptqD O58/GptfHdd+Dx1yFM2B56fEXHszxVV9dfGd83Z2OF0Dld50YnIL4ycmbUZuowL34nMO2n 8MN9dv9yqjzKHxhBlZKd8bQ72IIDYxw= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-341-GHljabZTOkKDeNArUNvK1Q-1; Fri, 02 Feb 2024 08:49:56 -0500 X-MC-Unique: GHljabZTOkKDeNArUNvK1Q-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-29608f00cbbso2001334a91.2 for ; Fri, 02 Feb 2024 05:49:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706881794; x=1707486594; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x+I7m6BnzI2kry9nxwR/6NkYzTeeO43hRe+ewa25bRE=; b=hEuMDsLUU1l3ktLURfCswWX1i1OJDQXoy4HPJ/y5ep3O5DTIOT2jLnZkIrqQGI6YVE a7vsDRyGweEEnjyen0zNgytLbc9Yc0sREwGeODIZzAGMV7k8D60HVxnuYZl3+XqVzAkz KdI6HLJV4O9MMuQv38v8q5VwshkhFgK6CVuRI66VJdsm33ZV4u0u2ZpH2/BXVyCPIYMu /Tuhpn9CXk6ssldKF24UC8IrmgVVk08g43ZR1VhWrLNq0vjlGgCRqkKFxYoN8O2b5lw3 iRftqn2UfvkLBtKp/iKHT3cPX/hmLcwqwmimhC9YCWyljwarMHBXrnN1nemMrQlPXzNJ AbJA== X-Gm-Message-State: AOJu0YzsO4S3X7eQ2zaxMWk0kxQm2KgiT1vbMtOCkN1UNSfcRbE1Ths2 eWvPDLxUUkiQmsWjAuzkrIoFdMyboapx8WO1OFE6B01761cCkxBsVvwaXKDjV+Ktge5RliNfblx sv67jXcWDDE7QZC2b70N62GkcMYolWf0o7qmdQ/SuoNdKNyb2fyiXaKgrPhmiDqOG3jWqSaHvQh M90HE9ozx1FcjjAsq20yYTMKBq25LKkIw2mkQpb3ZU73saxoKwDQ== X-Received: by 2002:a17:90b:3846:b0:296:2383:fb80 with SMTP id nl6-20020a17090b384600b002962383fb80mr3836934pjb.26.1706881794738; Fri, 02 Feb 2024 05:49:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IG3nfTgJYOsqiTYhCrWeEisvPn5bRmaprok3CNSmt5Eov7q8X+gw9ASeaNMVfh9V4UwaHTRZg== X-Received: by 2002:a17:90b:3846:b0:296:2383:fb80 with SMTP id nl6-20020a17090b384600b002962383fb80mr3836918pjb.26.1706881794360; Fri, 02 Feb 2024 05:49:54 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXBW1TUxkIGk9rbwjyloFx4aA54sS8p1QYl73xvT+3v6zjaAJfxu5WWWDtZHdcvI5IUD2fM7g+6jJLufIJTQszFvE1K Received: from localhost (net-93-71-3-198.cust.vodafonedsl.it. [93.71.3.198]) by smtp.gmail.com with ESMTPSA id c15-20020a170903234f00b001d9351f63d4sm1626119plh.68.2024.02.02.05.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:49:54 -0800 (PST) From: Lorenzo Bianconi To: ovs-dev@openvswitch.org Date: Fri, 2 Feb 2024 14:49:33 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: dceara@redhat.com Subject: [ovs-dev] [PATCH v2 ovn 1/3] test: Fix false positive in BFD system test. 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" Fix regression introduce in BFD system tests Acked-by: Mark Michelson Fixes: 1655a6c146ca ("northd, utils: support for RouteTables in LRs") Signed-off-by: Lorenzo Bianconi --- tests/system-ovn.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system-ovn.at b/tests/system-ovn.at index cb4124b70..9ecb29cdb 100644 --- a/tests/system-ovn.at +++ b/tests/system-ovn.at @@ -6831,7 +6831,7 @@ route_uuid=$(fetch_column nb:logical_router_static_route _uuid ip_prefix="100.0. check ovn-nbctl --wait=hv sync wait_column "up" nb:bfd status logical_port=rp-public -OVS_WAIT_UNTIL([ovn-sbctl dump-flows R1 | grep 'match=(ip4.dst == 100.0.0.0/8)' | grep -q 172.16.1.50]) +OVS_WAIT_UNTIL([ovn-sbctl dump-flows R1 |grep lr_in_ip_routing |grep 'ip4.dst == 100.0.0.0/8' |grep -q 172.16.1.50]) # un-associate the bfd connection and the static route check ovn-nbctl clear logical_router_static_route $route_uuid bfd @@ -6861,7 +6861,7 @@ stopping ]) wait_column "down" nb:bfd status logical_port=rp-public -OVS_WAIT_UNTIL([test "$(ovn-sbctl dump-flows R1 | grep 'match=(ip4.dst == 100.0.0.0/8)' | grep 172.16.1.50)" = ""]) +OVS_WAIT_UNTIL([test "$(ovn-sbctl dump-flows R1 |grep lr_in_ip_routing |grep 'ip4.dst == 100.0.0.0/8' |grep 172.16.1.50)" = ""]) # remove bfd entry ovn-nbctl destroy bfd $uuid