WIP
This page describes how APPC runs CSIT in master-csit-healthcheck job based on docker compose environment, which is heat environment, And runs CSIT in testsuites Repo based on k8s environment.
Test Case in Master-CSIT-HealthCheck Job in Jenkins:
APPC does two major portions of CSIT, All the test case is under CSIT Repo.
csit/tests/appc/healthcheck:
- test1.robot:
- health_check: send http://localhost:8282/restconf/operations/SLI-API:healthcheck to APPC
- bundle_query: check all karaf's bundles are not in failed state
- db_query: run sql statements in APPC DB
- APPC_Netstat.robot: run "netstat -a | grep -E ":8282 " | grep LISTEN" makes sure 8282 port is in LISTEN state
- LCM_HEALTHCHECK_TIMESTAMP.robot: make sure apidoc is working
- LCM_VM_RESTART_TIMESTAMP.robot: send LCM_VM_RESTART_REQUEST.txt to make sure VM:Restart is working
- LCM_VNF_RESTART_TIMESTAMP.robot: send LCM_VNF_RESTART_REQUEST.txt to make sure VNF:Restart is working
- test1.robot:
- csit/tests/appc/cdt:
- Verify Home page and links:Access Home page and Verify the links
- Verify MY VNFs link will ask for user entry
Note: Test CSIT before submit the change to csit Repo (heat envrionment)
- login to 10.12.5.43, follow the steps on APPC WindRiver Lab
- check all dockers running on the heat environment
- cd /home/ubuntu
- make sure the CSIT under ~/csit
- cd /home/ubuntu/csit
- ...