Versions Compared

Key

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

Introduction

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

Akarino Test Group Information

<The Testing Ecosystem>

Testing Working Group Resources

Overall Test Architecture

Describe  the components of Test set up

Test Bed

Test Framework

Traffic Generator

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 Dashboards

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

...

Total Tests

...

Test Executed

...

Pass

...

Fail

...

In Progress

Additional Testing

...

In this document, we will give a guide about deploying an application step by step in OTE-stack platform on AI Edge for testing.

Test Requirements

3 Arm servers for IEC edge infrastructure and another server which have installed harbor are needs.

Test Architecture

For test architecture, We use one IEC edge cluster with 3 nodes as the basic infrastructure and install the OTE-stack platform in it. After everything is ready, we test the function of deploy a application through the OTE website which is installed in the master node of IEC cluster.

Test Steps

Step 1:  Run OTE web platform via your browser and create a user for testing

  • After everything is installed successfully(In terms of the detail installation, refer to Video+Security+Monitory+R3+Installation+Document), open browser on PC and visit the website: IP Address + 8995(Port Number).
  • Create a new user `testuser` and audit it by administrator account at system management page. 
  • Create a new business with the new logged-in user and audit it by administrator account too. Then, a new namespace named ns1 related to the business will be created in all cluster managed by OTE.
  • And now you can browse the overview page which contains information of node and resource usage with new user.
    Image Added
  • Furthermore, you can view more informations about edge cluster and node under the admin account. 
    Image Added
    Image Added

Step 2: Create a new application and deploy it to root edge cluster

  • First, create a registry account at page "Image Repository" and then add a new project "arm-test" for creating a new repository address "your_harbor_address/arm-test". The new user account will be used to log in to the harbor registry and push/pull the images from registry.
  • Run docker cli in command terminal and push the prepared demo image to the registry with the user account just created.
  • Open the page "Application management" and click the button "new application". 
    Image Added
  • Create new application template by fill below informations.
    Image Added
  • Deploy above application to specified edge cluster and check the result of deployment by refreshing page.
    Image Added
    Image Added

Step 3:  Check if the application have deployed

  • SSH to the master node of edge cluster or copy the kubeconfig file related to edge cluster to $HOME/.kube .
  • Run command `kubectl get svc,pod -n ns1` to check if the pod is running well.
    Image Added
  • Finally, test your application.