From patchwork Thu Dec 1 19:12:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Numan Siddique X-Patchwork-Id: 1711124 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=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (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 4NNQhB0JGtz23nC for ; Fri, 2 Dec 2022 06:12:57 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F0D6241942; Thu, 1 Dec 2022 19:12:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org F0D6241942 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 6O--H4v2luuI; Thu, 1 Dec 2022 19:12:53 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id BA1DD4192E; Thu, 1 Dec 2022 19:12:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org BA1DD4192E Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8342AC0032; Thu, 1 Dec 2022 19:12:52 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 730C3C002D for ; Thu, 1 Dec 2022 19:12:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 412E9820E5 for ; Thu, 1 Dec 2022 19:12:51 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 412E9820E5 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 v68XJhG3arlq for ; Thu, 1 Dec 2022 19:12:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org C7A01820DB Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by smtp1.osuosl.org (Postfix) with ESMTPS id C7A01820DB for ; Thu, 1 Dec 2022 19:12:49 +0000 (UTC) Received: (Authenticated sender: numans@ovn.org) by mail.gandi.net (Postfix) with ESMTPSA id 31347E0002; Thu, 1 Dec 2022 19:12:46 +0000 (UTC) From: numans@ovn.org To: dev@openvswitch.org Date: Thu, 1 Dec 2022 14:12:38 -0500 Message-Id: <20221201191238.1916669-1-numans@ovn.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Subject: [ovs-dev] [PATCH ovn 0/2] CI: Add ovn-fake-multinode jobs 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" From: Numan Siddique This patch series adds CI jobs using ovn-fake-multinode and also adds a system test using ovn-fake-multinode. Patch 1 adds the 3 CI jobs. Job 1: Builds 2 ovn-fake-multinode container images - one with main OVN version - one with latest LTS version - 22.03. Job 2 - Deploys ovn-fake-multinode with the main OVN version image and runs simple tests present in ovn-fake-multinode repo [1] Job 3 - It is same as Job 2, but uses 22.03 OVN image for ovn-central node. This job tries to ensure that when ovn-controller's are upgraded to next LTS version, it works fine with no disruption to datapath traffic until ovn-central services are also upgraded. Patch 2 adds a simple multinode test. This testsuite assumes that ovn-fake-multinode setup is already deployed with one ovn-central (No raft) fake (container) node, 2 ovn-chassis nodes and one gateway node. This testsuite can be further enhanced to cover more scenarios or 2 test multinode scenarios. Numan Siddique (2): CI: Add a couple of jobs using ovn-fake-multinode. Add fake multinode system tests. .../workflows/ovn-fake-multinode-tests.yml | 208 ++++++++++++++++++ Makefile.am | 1 + tests/automake.mk | 28 ++- tests/multinode-macros.at | 189 ++++++++++++++++ tests/multinode-testsuite.at | 27 +++ tests/multinode.at | 74 +++++++ 6 files changed, 526 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ovn-fake-multinode-tests.yml create mode 100644 tests/multinode-macros.at create mode 100644 tests/multinode-testsuite.at create mode 100644 tests/multinode.at