From patchwork Wed Jan 17 11:11:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 1887369 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=EtQmN5k8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 4TFNWD5zMvz1yPg for ; Wed, 17 Jan 2024 22:12:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1400241F08; Wed, 17 Jan 2024 11:12:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1400241F08 Authentication-Results: smtp4.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=EtQmN5k8 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hHP0SwVjaCVl; Wed, 17 Jan 2024 11:12:06 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 43CD541F2A; Wed, 17 Jan 2024 11:12:05 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 43CD541F2A Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0E294C0072; Wed, 17 Jan 2024 11:12:05 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2036FC008E for ; Wed, 17 Jan 2024 11:12:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3D0B541F21 for ; Wed, 17 Jan 2024 11:12:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3D0B541F21 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrNVzMAA8I3r for ; Wed, 17 Jan 2024 11:12:01 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 7C91E41F1E for ; Wed, 17 Jan 2024 11:12:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7C91E41F1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705489920; 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=OgjIB+pvBHvg1gAY4CSfMWxhoijUmJxljKmXz12B1+s=; b=EtQmN5k8Bq2VRkgTlBeEzlYBxDaqDKtNUnwJEEAgZMC5Vap10VwbohXhTHbitLXZ2pfG4r 5QxMdT9C7auX4L+80URWo0mmx5kfaRCI9eT8N37Wgq0OXTPWBouDnFP06yfTV/hmIdlx8X Zcrqx4Bkg8G2Ph322H8haXOAtBEPT50= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-693-wOFs1o0cNgKa9726RNyRsw-1; Wed, 17 Jan 2024 06:11:54 -0500 X-MC-Unique: wOFs1o0cNgKa9726RNyRsw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-40e8810b5f3so6513355e9.3 for ; Wed, 17 Jan 2024 03:11:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705489912; x=1706094712; 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=OgjIB+pvBHvg1gAY4CSfMWxhoijUmJxljKmXz12B1+s=; b=eSIyDWELFlV38NToBn72AosVpxiiC3YaDFoodWldjHidUc8enVwogpatDAhXWZpo3M G3u+GrU4BQGFEse7tT6Mnc/Rg99rhma2tLXRAK/Cr6cAW5DHIlZr1L5o5zeFNd7J3oaz NaIGITNUx2EV4TOHD5nAOn8V+H5s07kj3UxWzveKmHoaagYa8JMZ5r2ghvBjCCLYlfR8 d8K88m5KLIJAGgMEO+lEKObDiFnTQGqTxg2HZi0SGBM5OYKYVTv+mUs5brVMgYIPWvQz X0s5cv+/srVhY9m5LvZYxkxESNRr/yinIA9p2hi3D9dTLozUYbO6fmJcYQ4OtKIz2PC9 gBkA== X-Gm-Message-State: AOJu0YwLVqBrixFjAueUwaXtl1upsN+M9P2EulfB2UTA6w7q7YBNcOyF nVvDr/SrCwEZXdvrpfv2G4psWySwpAXEpI+9xrJCfoTfemaH7ziUvyvs1RNLi36jEKs6PdN0YO3 0y4MxH4OpBpI2921JZTisSo6TRA00TcEF6B9mgA1XLPsK48j+Z68M48USgWgGrzg6yOkSIh4OtI m3t2fRLHcCuu1COa36hMJZ X-Received: by 2002:a05:600c:46c7:b0:40e:4833:5daa with SMTP id q7-20020a05600c46c700b0040e48335daamr4778563wmo.187.1705489912656; Wed, 17 Jan 2024 03:11:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEE4arVMzFcU0b3v4rHG2xda++l0Gk+C2JAyWfTYNKH6I1Jq8Ql2oJGu/+5Do2MJLhYLQOHwg== X-Received: by 2002:a05:600c:46c7:b0:40e:4833:5daa with SMTP id q7-20020a05600c46c700b0040e48335daamr4778549wmo.187.1705489912231; Wed, 17 Jan 2024 03:11:52 -0800 (PST) Received: from localhost (net-93-71-3-198.cust.vodafonedsl.it. [93.71.3.198]) by smtp.gmail.com with ESMTPSA id iw7-20020a05600c54c700b0040d604dea3bsm21741000wmb.4.2024.01.17.03.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 03:11:51 -0800 (PST) From: Lorenzo Bianconi To: ovs-dev@openvswitch.org Date: Wed, 17 Jan 2024 12:11:41 +0100 Message-ID: <4a65e6e4b7f13bf88e7280aac93b2f7048852e57.1705487435.git.lorenzo.bianconi@redhat.com> 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 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 Fixes: 1655a6c146ca ("northd, utils: support for RouteTables in LRs") Signed-off-by: Lorenzo Bianconi Acked-by: Mark Michelson --- 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 9dc1f9ad2..91fe7cac1 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