From patchwork Tue Nov 5 19:23:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 2007115 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=McKPugYI; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4XjdYl0pq4z1xxN for ; Wed, 6 Nov 2024 06:24:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B3DCC40A6D; Tue, 5 Nov 2024 19:24:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id GEY5LgvBzF4K; Tue, 5 Nov 2024 19:24:05 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.9.56; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9CF9940A63 Authentication-Results: smtp2.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=McKPugYI Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9CF9940A63; Tue, 5 Nov 2024 19:24:05 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7D483C08A6; Tue, 5 Nov 2024 19:24: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 [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 12EEEC08A3 for ; Tue, 5 Nov 2024 19:24:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E95EB40592 for ; Tue, 5 Nov 2024 19:23:55 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XueSlUi4XBIC for ; Tue, 5 Nov 2024 19:23:54 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=lorenzo.bianconi@redhat.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 9B241405D8 Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9B241405D8 Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=McKPugYI Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9B241405D8 for ; Tue, 5 Nov 2024 19:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730834633; 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=cDUCGXkOCx+cTmGsNyi2NaNbpFEdsCEQKHBtppRv3LQ=; b=McKPugYIrjvYvBLe9FpcZTykWjouZdh5xoAnyXidAtI2kpBB09javOvKnOBBDq+cBnhD/C vfC56Bcoh15xQB6cr6tMiTqeSo6TWkCymsQpzt9QxG207udFl6JZ8VzDAiO49AQQpREIlP ccdUbemouwgSYbE1h5FldkX0GGsCl4o= Received: from mail-ot1-f70.google.com (mail-ot1-f70.google.com [209.85.210.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-164-Ckudxds5MTqhcr5tGtXOQg-1; Tue, 05 Nov 2024 14:23:52 -0500 X-MC-Unique: Ckudxds5MTqhcr5tGtXOQg-1 Received: by mail-ot1-f70.google.com with SMTP id 46e09a7af769-7180ef2acd7so4870772a34.1 for ; Tue, 05 Nov 2024 11:23:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730834631; x=1731439431; 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=cDUCGXkOCx+cTmGsNyi2NaNbpFEdsCEQKHBtppRv3LQ=; b=AKhyJ74gsOEOcTpzkwPeRHfRSBADH4f/P0FaEKH3bBsCdAKhIy46BOdkZs7PPBEmjG N2JiyBq25pmFq3OcxLpx893D2tBCgEwl2fYQ5sROAHNkn2s2kdsibcCVHxCr+s+ZEnvh XYEpQqafv7aG3bpP1Ix1XmerHg7kwKa7JBVR9Cea2YLbfe6Yt0r3cZRUyQLL190xjNyj Tf09tuFhWnNWJtCSVKhKKuDOLz/VVMf1ChV6eMmRUB4LsGj1PrI4GtT8GNf7F824QNAi kLZjcKXDFSXPx83BhJxpsWtaPsNi/L1KMPR4fffJlKydjKdiE9gSL7eMiyYn83tV7aiJ kaRA== X-Gm-Message-State: AOJu0Ywc8iKvhLK/XgdUAoXaQroSp4OhExDLa4ce/elEdnLjjTw1oPAa WG0wyT/5Aun3hsV/APBD37rS4k8F+AxGY0VRqRszPRYsHiMgzXL9BnJ2HJ/w+AvXeVsQ7Yb/ruh x5zgDHHo8f3Ty3NkIIoNnoONGrtDRafVyeB7KyABcSTciKM0lRtBvJ0kTkjvsagI61gcpaXVYji 5ZjQQPC5kXQTv/SIZFt8hsh9geLeeR47i9v/8ekAWEOo+gqowi9g== X-Received: by 2002:a05:6830:2b1e:b0:718:1957:4b88 with SMTP id 46e09a7af769-7189b4b5bcbmr18590881a34.2.1730834631493; Tue, 05 Nov 2024 11:23:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkMmtg/G58gdLUIpCLK5rmNoF+AT61CO/+JxJeOZu4ZqbkicTZHeN0uOWSIexYedPUinlGrQ== X-Received: by 2002:a05:6830:2b1e:b0:718:1957:4b88 with SMTP id 46e09a7af769-7189b4b5bcbmr18590855a34.2.1730834631094; Tue, 05 Nov 2024 11:23:51 -0800 (PST) Received: from localhost (net-93-146-37-148.cust.vodafonedsl.it. [93.146.37.148]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7189cc6a2absm2571190a34.30.2024.11.05.11.23.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2024 11:23:50 -0800 (PST) From: Lorenzo Bianconi To: ovs-dev@openvswitch.org Cc: i.maximets@ovn.org Date: Tue, 5 Nov 2024 20:23:27 +0100 Message-ID: X-Mailer: git-send-email 2.47.0 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH v2 ovn 5/8] test: ovn-performance: Use check for ovn-nbctl wherever possible. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Reported-at: https://issues.redhat.com/browse/FDP-875 Signed-off-by: Lorenzo Bianconi --- tests/ovn-performance.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ovn-performance.at b/tests/ovn-performance.at index dbad83bbb..249302a10 100644 --- a/tests/ovn-performance.at +++ b/tests/ovn-performance.at @@ -521,7 +521,7 @@ OVN_CONTROLLER_EXPECT_HIT( # Make hv4 active. There is remote possibility that full recompute # triggers for hv1-hv5 after hv4 becomes active because of updates to the # ovn-hv$i-0 interfaces. Most of the time there will be no recompute. -ovn-nbctl --wait=hv lrp-set-gateway-chassis lr1-public hv4 40 +check ovn-nbctl --wait=hv lrp-set-gateway-chassis lr1-public hv4 40 hv4_ch=$(ovn-sbctl --bare --columns _uuid list chassis hv4) OVS_WAIT_UNTIL([ovn-sbctl find port_binding logical_port=cr-lr1-public chassis=$hv4_ch]) @@ -547,7 +547,7 @@ OVN_CONTROLLER_EXPECT_HIT_COND( # Wait for port_binding change related flows hv5_ch=$(ovn-sbctl --bare --columns _uuid list chassis hv5) OVS_WAIT_UNTIL([ovn-sbctl find port_binding logical_port=cr-lr1-public chassis=$hv5_ch]) -ovn-nbctl --wait=hv sync +check ovn-nbctl --wait=hv sync # Delete hv5 from gateway chassis. There should be no lflow_run. OVN_CONTROLLER_EXPECT_NO_HIT( [hv1 hv2 hv3 hv4 hv5], [lflow_run], @@ -560,7 +560,7 @@ OVN_CONTROLLER_EXPECT_NO_HIT( [ovn-nbctl --wait=hv set Logical_Switch_Port ln-public options:qos_burst=1000] ) -ovn-nbctl --wait=hv meter-add meter0 drop 100 pktps 10 +check ovn-nbctl --wait=hv meter-add meter0 drop 100 pktps 10 OVN_CONTROLLER_EXPECT_NO_HIT( [hv1 hv2 hv3 hv4], [lflow_run],