Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This Blueprint currently does not have jobs in the public or private Jenkins clusters.

Akraino Test Group Information

N/A

Overall Test Architecture

Test

...

Bed

Pod Topology

...


Bare-metal deployment

Hostname

CPU Model

Memory

BMC 

Firmware

Storage

1GbE: NIC#, VLAN,

(Connected

extreme 480 switch)

10GbE: NIC# VLAN, Network

(Connected with IZ1 switch)

40GbE: NIC#

Jump

Intel

2xE5-2699

64GB

 1.46.9995

3TB (Sata)
180 (SSD)

IF0: VLAN 110 (DMZ)
IF1: VLAN 111 (Admin)

IF2: VLAN 112 (Private)
VLAN 114 (Management)
IF3: VLAN 113 (Storage)
VLAN 1115 (Public)


node1

Intel

2xE5-2699

64GB

1.46.9995

3TB (Sata)
180 (SSD)

IF0: VLAN 110 (DMZ)
IF1: VLAN 111 (Admin)

IF2: VLAN 112 (Private)
VLAN 114 (Management)
IF3: VLAN 113 (Storage)
VLAN 1115 (Public)


node2

Intel

2xE5-2699

64GB

1.46.9995

3TB (Sata)
180 (SSD)

IF0:  VLAN 110 (DMZ)
IF1: VLAN 111 (Admin)

IF2: VLAN 112 (Private)
VLAN 114 (Management)
IF3: VLAN 113 (Storage)
VLAN 1115 (Public)

IF4: SRIOV

Note: virtualization must already be enabled on the worker nodes that will be part of the Kubernetes cluster.

Test

...

All components are tested with end-to-end testing.

Test description

The 'Multitenant Secure Cloud Native Platform' provides the possibility to launch pods using Kata Containers. To use Kata Containers, Containerd is used in Kubernetes instead of the default docker-shim. 

...

  • Job is created with the right job name for KUD installation.
  • The job metadata has the right cluster name.
  • Expected error is produced when a host with the specified MAC address is not found.
  • Expected error is produced when no dhcp lease is found for the specified host.

BPA Rest Agent: 

  • Currently, automated unit tests are implemented using the Go testing framework.

...

  • The bpa_verifier.sh  script get the MAC addresses and IP addresses of the 2 VMs provisioned by metal3, then creates a fake DHCP lease file using the IP address and MAC address information. It also creates a provisioning CR using the MAC address information.
  • The script the creates an ssh secret key using the ssh keys of the test host, applies the provisioning CR.
  • The script busy loops till until the KUD installation job completes or fails. If it completes successfully, it does runs a curl command using the authentication info of the new cluster to confirm if it was successful or not. On completing all the steps, it does runs a teardown where it deletes everything it created.

...

  • Test script, e2e_test.sh, creates dummy image file, creates test JSON file, checks bpa rest agent status, issues POST, GET, and PATCH requests sequentially.
  • Next, e2e_test.sh checks uploaded MinIO image object size, and calls DELETE.
  • If the script fails at any point, then verification was would be taken as unsuccessful.
Kubernetes Deployment (KuD)

KuD has contains test cases to verify if the add-ons are running correctly. All the test cases can be found in tests directory in the multicloud-k8s project. For each of these, we bring up the deployment that is specific to the addon , and perform add-on specific actions on the pod related to the deployment.

Multus:
  • Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods. This is accomplished by Multus acting as a "meta-plugin", a CNI plugin that can call multiple other CNI plugins.
  • A 'NetworkAttachmentDefinition' is used to set up the network attachment, i.e. secondary interface for the pod. 
  • A pod is created with requesting specific network annotations with bridge CNI to create multiple interfaces. When the pod is up and running, we can attach to it to check the network interfaces on it by running ip a command.
OVN4NFV: 
  • OVN4NFV provide provides Provider networks using VLAN networking and Service Function Chaining.
  • After the pod is up and running, we will be able to attach to the pod and check for multiple interfaces created inside the container. 
  • OVN4NFV networking is setup and created along the EMCO composite vFW testing.
CMK
  • CPU Manager for Kubernetes provides cpu pinning for K8s workloads. In KUD, there are two test cases for the exclusive and shared cpu pools testing.

...

Akraino BluVal Exception Request

CD Logs

...

ICN Master bare-metal Deployment Verifier

Test Dashboards

All the testing results are in logs

Additional Testing

not applicable

Bottlenecks/Errata

...

.