Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 9 Next »

Introduction

<Details about Additional tests required for this Blue Print in addition to the Akraino Validation Feature Project>

REC Blueprint is deployed and validated in Nokia Espoo and AT&T Middletown Radio Edge Cloud Validation Labs. Deployment of REC and test cases have been run automatically with different clusters such as Nokia OpenEdge, Dell and HP Gen 10. REC feature testing is based on Cloud TAF (Test Automation Framework), which tests basic k8s features. Results of deployments and testing are publicly available in LF Akraino nexus servers.


Akarino Test Group Information

<The Testing Ecosystem>

Testing Working Group Resources

Overall Test Architecture

Describe  the components of Test set up

Test Bed

Five server cluster with REC software, as described in Radio Edge Cloud Validation Lab

Test Framework

Cloud TAF, robot based test framework for REC https://gerrit.akraino.org/r/gitweb?p=ta%2Fcloudtaf.git;a=summary

Traffic Generator

N/A

Test API description

<Akraino common tests>

The Test inputs

Test Procedure

Expected output

Test Results

<Blueprint extension tests>

The Test inputs

Test Procedure

Expected output

Test Results

<Feature Project Tests>

The Test inputs

Test Procedure

Expected output

Test Results

Test suites:

  • post-install (8 test cases)
  • kube-namespace (1 test case)
  • kube-service (1 test case)
  • smoke-tests (6 test cases)
  • pm-supports (2 test cases)

Test cases:

#Test suiteTest caseShort description
1post-install

Verify Deployment

Check deployment logs (/srv/deployment/log/bootstrap.log). Looking for “Installation complete, Installation Succeeded” in log.

2

Verify Image Build Number

Show Build number.

3

Verify Docker Version

Check version of the installed docker (needed Docker version 19.03.3)

4

Verify Kubernetes Clusters

Check pods’ status in kube-system namespace. All pod needs to be in “Running” state.

5

Verify State of required services

Check the services are running and active.

Checked services: docker.service, kubelet.service

6

Verify Node Functionality

Checks the state of the nodes. All nodes need to be in “Ready” state.

7

Verify Package Manager Status

Try to pull caas/hypercube from common(?) repository. Verify the pull is in success and image is up to date.

8

Verify Helm Caas Infra Status

Check helm status. Caas-infra helm chart execution status needs to be “DEPLOYED”

9kube-namespace

Verify creating and testing Namespaces

Create “test-ns” namespace. Create a pod from nginx image in test-ns namespace. Verify the pod is created. Check the pod is created in test-ns namespace. Delete the created pod and namespace.

10kube-serviceVerify creating and testing services

Create pod from nginx image. Create a service what contains the previously created pod, and targets TCP port 80 to the pod’s TCP port 80.  Verify that the nginx is reachable on TCP port 80. Delete the created service and pod.

11smoke-tests

Verify Cluster Config Management

Verify all the nodes names. Verify database: cluster size needs to be 3 (wsrep_cluster_size).
12

Verify Cluster Config Management After Reboot Management VIP Node

Reboot the VIP(?) node. Verify the restart same as ‘Verify Cluster Config Management’ test case.

13

Verify Database Stop And Start

Stop one of the databases. Check database: cluster size needs to be 2.

Start a database node. Check database: cluster size needs to be 3.

14

Verify Create All And No Roles

Create a user with all-roles.

Create a user with no roles.

15

Verify SudoShells

Verify all the sudo-“node” user. All need to be root user.

16

Verify Remotescript Default

Verify ‘remotescript-default’ command execution.

17pm-supports

PM001

Check resource usage of the nodes (kubectl top node).

18

PM002

Check kubectl api metrics (kubectl api-versions | grep metrics). Printout needs to be contain “custom.metrics.k8s.io/v1beta1” and “metrics.k8s.io/v1beta1”.

Test execution logs: https://nexus.akraino.org/content/sites/logs/att/job/Cloudtaf_test_suite_Middletown_OE1/

Test Dashboards

Single pane view of how the test score looks like for the Blue print.

Total TestsTest ExecutedPassFailIn Progress
18181710

need to update two failing test cases!!!

Additional Testing

ORAN RIC applications are installed after each REC deployment using Jenkins and results are pushed to LF nexus https://nexus.akraino.org/content/sites/logs/att/job/Install_RIC_on_OpenEdge1/

Bottlenecks/Errata

  • No labels