You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

KNI PAE is tested against 3 platforms: libvirt, aws and baremetal. A typical test consist on:

  • cleaning environment
  • deploying a kubernetes cluster for the desired platform
  • apply KNI PAE workloads on it
  • destroy cluster

Overall Test Architecture

Our tests are performed on Akraino Jenkins at https://jenkins.akraino.org/view/kni/ . There are different types of test:

kni-installer-verify-binary, kni-installer-verify-installer

Those tests are executed each time that there is a change in https://gerrit.akraino.org/r/admin/repos/kni/installer . It tests the code in this client tool. The verify-binary one is testing that is possible to construct a binary from the code. The verify-installer one compiles the code of installer, and checks that is valid.
They are executed on a Centos-8g node, provided by Akraino CI

kni-blueprint-pae-verify-deploy-libvirt

Those tests are executed each time that there is a change on https://gerrit.akraino.org/r/admin/repos/kni/blueprint-pae , on the generic and on libvirt profiles.
It executes a deployment of the cluster and applies workloads based on libvirt. All the VMs are run on a baremetal server stored inside Red Hat, connected as a Jenkins slave.
Logs are deployed on https://nexus.akraino.org/.

Following there is the architecture:


kni-blueprint-pae-verify-deploy-aws

Those tests are executed each time that there is a change on https://gerrit.akraino.org/r/admin/repos/kni/blueprint-pae , on the generic and on AWS profiles.
It executes a deployment of the cluster and applies workloads based on AWS. The bootstrap VM is run on a baremetal server, connected as a Jenkins Slave. The master and worker nodes are executed inside a testing AWS cluster.
Logs are deployed on https://nexus.akraino.org/.

Following there is the architecture:

kni-blueprint-pae-verify-deploy-baremetal

Those tests are executed each time that there is a change on https://gerrit.akraino.org/r/admin/repos/kni/blueprint-pae , on the generic and on baremetal profiles.
It executes a deployment of the cluster and applies workloads based on baremetal. The bootstrap VM is run on a baremetal server, connected as a Jenkins Slave. The master and worker nodes are also baremetal slaves, running on a local lab.
Logs are deployed on https://nexus.akraino.org/.

Following there is the architecture:

Test Framework

For the moment, the deployment tests are just consisting on deploying a cluster and running workloads on top of it, checking that they are successfully deployed.
In the future, validation tests will be executed: https://gerrit.akraino.org/r/admin/repos/validation

Test Dashboards

https://jenkins.akraino.org/view/kni/

  • No labels