/litmus-e2e

Test the Chaos!!! An e2e (end-to-end) validation pipeline for the LitmusChaos infrastructure

Primary LanguageCSSApache License 2.0Apache-2.0

LitmusChaos E2E

FOSSA Status

Latest Pipeline Status

Generic OpenEBS Litmus Portal
pipeline status pipeline status pipeline status

This repository contains the Litmus E2E pipelines for testing the chaos and litmus components. It includes BDDs for all litmus and openebs experiments and tests for the litmus portal.

Branch Details

Branch Description
generic It contains the test cases (GO BDDs) for all litmus generic experiments along with litmus component tests.
openebs It contains the test cases (GO BDDs) for Litmus OpenEBS experiment which includes different OpenEBS control plane and data plane tests.
litmus-portal It contains different test cases for litmus portal

How to view the details of the last few pipeline runs?

To view the details of the last few pipelines runs:

  • Choose the above directory whose pipeline details you want.
  • Inside it contains the details of the job in each folder and pipeline details in README.md.

Generic E2E Pipeline:

The Generic pipeline covers the test for litmus generic experiments which include some before and after chaos validation and performance checks for different litmus components.

Different Stages:

Stages Description
Cluster Connect This stage is used for connecting to the OnPrem cluster which is a 4 node cluster(1 master and 3 worker) and clone the litmus-e2e folder
Install This is the Litmus installation stage, in this stage the crds rbacs and the operator are created.
Deploy This is the application deployment stage. The application under chaos is deployed and the liveness test for the application is also performed in this stage.
Generic-experiment This stage includes the creation of experiments,engine and positive and negative test cases for the experiments.
Component checks This stage includes the test to check the performance of litmus components.
This stage also includes the creation of experiments,engine and positive and negative test cases of Infra experiments.
App-cleanup This is the experiment and application cleanup stage on which all the engines, applications, experiments are removed.
Cleanup In this stage, the litmus repo is removed and cluster gets disconnected.

OpenEBS E2E Pipeline

It contains the openebs e2e BDDs for OpenEBS experiments. A stateful application (percona) deployed using cstor (OpenEBS Storage class). The chaos is performed on the different OpenEBS components using the same application. In the end, The application, litmus, and OpenEBS are removed successfully.

Different Stages:

Stages Description
Cluster Connect This stage is used for connecting to the OnPrem cluster which is a 4 node cluster(1 master and 3 worker) and clone the litmus-e2e folder
Infra setup It contains the three jobs Build Litmus which is used to install Litmus, Build OpenEBS which is used to install openebs, App-deploy It is used to deploy application using openebs.
Application setup In this stage a sample stateful percona application is deployed which will be used to test the openebs experiments
Experiment This stage includes the creation of Chaos Experiments, Engine for the experiments and test cases (BDDs)for the experiments.
Infra Cleanup This stage include the set of jobs which will remove litmus,openebs and deployed application.
Application cleanup In this stage a sample stateful percona application is removed after chaos
Cluster Cleanup In this stage, the litmus-e2e repo is removed and cluster gets disconnected.

Litmus Portal E2E Pipeline

It contains the test cases for litmus portal different e2e BDDs for OpenEBS experiments.

Different Stages:

Stages Description
Cluster Connect This stage is used for connecting to the OnPrem cluster which is a 4 node cluster(1 master and 3 worker) and clone the litmus-e2e folder
Cypress tests This stage deals with the cypress test for litmuschaos
Cluster Cleanup In this stage, the litmus-e2e repo is removed and cluster gets disconnected.

License

FOSSA Status