Versions Compared

Key

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


Table of Contents

Introduction

This document covers  Test Deployment Environment and Test Case Result for  Enterprise Applications on IEC-Type4 AR/VR CVB Blueprint. 

The topology  in this release for this version includes 3 CentOS CentOs 7.8 .0 Physical Machine node . 

...

Akarino Test Group Information

N/A

Overall Test Architecture

...

  • At least One Student Client, normally one Personal Computer
  • At least One Teacher Client, normally one Personal Computer
  • At least One Virtual Machine or Physical Server for service side

Test Architecture

For the minimum deployment, we ONLY test the function of the virtual classroom.   Just deploy two clients and a server, shown in purple color, will be OK. 

If you would like to test CI/CD functions, we would suggest deploying the functions shown in green color.

Furthermore, if you want to test the scale-out feature,  adding more Client Devices and backend servers are required.

Image Removed

Test Topology

...

Test architecture/topology

The test environment consists of three virtual machines in total.

  • one physical server for Jenkins CI.
  • one physical server for TarsFramework and Jenkins slave
  • one physical server for TarsNode and Jenkins slave.

Image Added

Software Version

OpenStack: Rocky

k8s:1.15.0

Java:

openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

Jenkins:  Ver 2.190.2

CentOS 7.8

Mysql  Ver 14.14 Distrib 5.6.26, for Linux


Devices Under Test

Hostname

Core

RAM

HDD

NIC

Role

Node-0

8

40GB

3TB

1GB

Jenkins Master

Node-1

8

96GB

3TB

1GB

Tars Framework 2.4.13

Node-2

8

96GB

3TB

1GB

Tars Node (CVB + Type4 Application + Virtual Classroom Teacher Client + Virtual Classroom Student Client)

Test Script


The test is to fulfill by Jenkins Job.  The test script includes:

  • Compile the Tars Framework
cd /usr/local/robert/testCompileCode
git clone -b arm https://github.com/qiuxin/Tars.git
cd /usr/local/robert/testCompileCode/Tars
git submodule update --init --recursive
cd /usr/local/robert/testCompileCode/Tars/framework/build
chmod u+x build.sh./build.sh all
rm -rf /usr/local/robert/testCompileCode/Tars
  • Call the service deployed by Tars Framework
/usr/local/testClient/CVAppClient

The log is triggered periodically.


The log is updated to

https://nexus.akraino.org/content/sites/logs/parserlabs/r4/jobs/cvb/

After everything is installed successfully(In terms of the detail installation, refer to Release 4 Installation Document),   run the virtual classroom application via the following commands:  

cd /root/openvidu-vr/openvidu-vr-room

http-server -S

Step 2:  Test on your PC via the browser

               Note well:  Make sure 8080 port is NOT blocked by the firewall.

Open Firefox on PC and visit the website: IP Address + 8080(Port Number)

Step 3: Test Teacher Mode

Press the Teacher Mode button and check the Teacher mode.  In teacher mode,  you will see the classroom as a teacher's view.  You can see some students are in the classroom and are listening to your presentation. Then test talking to the student, test on-and-off the presentation screen as so on. 

Image Removed

Step 4: Test Student Mode

Press the Student Mode button and check the Student mode.  In Student mode,  you will see the classroom as a student's view.  You can see the teacher and other students on the remote side. Then test talking to the teacher and other students, test on-and-off the presentation screen as so on. 

Image Removed

Enjoy the virtual classroom!


BluVal Testing

1.Bluval installation

mkdir /home/demo
cd /home/demo
mkdir results
git clone https://gerrit.akraino.org/r/validation.git
cd validation
vi tests/variables.yaml  ## update k8s related ip. due to this bp do not use k8s , we don't need to change.

...

2. Troubleshooting
##Iptable issues for centOS8
vi /etc/firewalld/firewalld.conf
in config file change
FirewallBackend=nftables
on
FirewallBackend=iptables
save change and reload firewalld
systemctl restart firewalld.service

Test API description

N/A

Test Dashboards


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

Total Tests

Test Executed

Pass

Fail

In Progress

21212100

Additional Testing

Lynis Report

Lynis log : iec_type4_https://nexus.akraino.org/content/sites/logs/parserlabs/r4/jobs/cvb/lynis.log

Vuls Report

...

...

vuls log : 

...

https://nexus.akraino.org/content/sites/logs/parserlabs/r4/jobs/cvb/vuls.log


Bottlenecks/Errata

N/A