Introduction
We had successfully validated REC installation with post-install validation test and additional test (such as RIC Robot Test and nanobot) in AT&T lab T Radio Edge Cloud Validation Lab (Middletown, NJ) which was identified by . These test cases have been identified manually with two different clusters such as HP Gen 10 and Nokia OE clustersOpenEdge. More clusters will be test in the AT&T and Nokia labs in the later release.
Post-install validation
A post installation verification is required to ensure that all nodes and services were properly deployed.
...
Expected Output: Docker version 1819.0903.23, build 6247962a872fc2f86
3. Kubernetes Cluster – check Health/validation
# kubectl get pods --all-namespaces
Expected Output: status of all the pods should be running
4. Confirm active state of required services
Enter the following commands:
#systemctl status --no-pager docker.service
#systemctl status --no-pager kubelet.service
Example
systemctl status --no-pager docker.service* docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running)
...
show -p SubState docker.service | sed 's/SubState=//g'
Expected Output: running
#systemctl show -p SubState kubelet.service | sed 's/SubState=//g'
Expected Output: running
#systemctl show -p ActiveState docker.service | sed 's/ActiveState=//g'
Expected Output: active
#systemctl show -p ActiveState kubelet.service | sed 's/ActiveState=//g'
Expected Output: active
4. Verify node functionality
Enter the following commands:
...
Output: The command output shows the number of CaaS REC nodes.
...
5. Verify Components
Enter the following command:
...
Output: The command output shows nothing.
...
6. Confirm Package Manager Status (Helm)
- Docker registry is running, and images can be downloaded:
image=$(docker images -f 'reference=*/reccaas/hypercubehyperkube' --format="{{.Repository}}:{{.Tag}}"); docker rmi $image; docker pull $image
Output: Status: Downloaded newer image Image is up to date for …
- Chart repository is up and running: (The curl command below is really one line.)
curl -sS -XGET --cacert /etc/chart-repo/ssl/ca.pem --cert /etc/chart-repo/ssl/chart-repo?repo1.pem
--key /etc/chart-repo/ssl/chart-repo?repo1-key.pem https://chart-repo.kubesystemkube-system.svc.rec.io:8088/charts/index.yaml
...
helm list
Output: caas-infra.
Additional Testing
More detail of each testing cases will be added in the near future. For example
...
This is a second set of tests which run as a job and then give a robot test report. The deployment steps are very similar than the RIC Robot test since we already in the test git so its already already have the existing repo which cloned as part of deploying ric_robot_suite. Instead of pulling an image from azure, we will build the container.
...