...
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/cdt.robot:
- Verify Home page and links:Access Home page and Verify the links
- Verify MY VNFs link will ask for user entry
- Verify creation of VNF
- Verify description of VNFC
Setup:
- login to 10.12.5.43, follow the steps on APPC WindRiver Lab
- Install steps for robotframework, selenium and
...
- chromedrive: https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/
- Before running CSIT on 10.12..5.43, make sure chromedrive runs in background, if not then run "sudo -i; nohup /usr/local/bin/chromedriver >
/dev/null 2>&1
&"
Note: How to test CSIT before submit the change to csit repo:
- 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
- python -m robot.run -N plans/appc/healthcheck -v WORKSPACE:/tmp -v SCRIPTS:/home/ubuntu/csit/plans/appc/healthcheck /home/ubuntu/csit/tests/appc/healthcheck /home/ubuntu/csit/tests/appc/cdt
...
- login to 10.12.6.68, follow the steps on APPC WindRiver Lab
- check all pods running on the k8s environment
- ./test.sh : it basically runs: "POD=$(kubectl --namespace onap get pods | sed 's/ .*//'| grep robot); kubectl --namespace onap exec ${POD} -- /var/opt/ONAP/runTags.sh -V /share/config/vm_properties.py -V /share/config/integration_robot_properties.py -V /share/config/integration_preload_parameters.py -v MODULE_NAME:cdt -d /share/logs/demo/APPCCDTPreloadDemo -i APPCCDTPreloadDemo --display 89" to trigger testcase from Robot pod.
...