mbox series

[ovs-dev,0/2] CI: Add ovn-fake-multinode jobs

Message ID 20221201191238.1916669-1-numans@ovn.org
Headers show
Series CI: Add ovn-fake-multinode jobs | expand

Message

Numan Siddique Dec. 1, 2022, 7:12 p.m. UTC
From: Numan Siddique <numans@ovn.org>

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