diff options
author | Yu Yang (Gabriel) <Gabriel.yuyang@huawei.com> | 2017-05-04 06:57:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-05-04 06:57:07 +0000 |
commit | 6dff90faee27dc5569255f5cb6ba72ae5e22b924 (patch) | |
tree | 1982f36b11caa0c9fb8328b297adb750d8aed91d | |
parent | e6c4d136005fb214c676f8210337fc05f1f237ee (diff) | |
parent | 1feeb31681d33381208b20ce58cc2d96b3df5d02 (diff) |
Merge "Add description of environment clean-up" into stable/danubedanube.2.0
-rw-r--r-- | docs/testing/developer/devguide/posca_guide.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/testing/developer/devguide/posca_guide.rst b/docs/testing/developer/devguide/posca_guide.rst index fb3291fc..5d101a6e 100644 --- a/docs/testing/developer/devguide/posca_guide.rst +++ b/docs/testing/developer/devguide/posca_guide.rst @@ -38,6 +38,7 @@ Detailed workflow is illutrated below. * https://wiki.opnfv.org/display/bottlenecks + Preinstall Packages ==================== @@ -63,6 +64,7 @@ A few steps are needed to run it locally. It is presumed that a user is using Compass4nfv to deploy OPNFV Danube and the user logins jumper server as root. + Downloading Bottlenecks Software -------------------------------- @@ -73,6 +75,7 @@ Downloading Bottlenecks Software git clone https://gerrit.opnfv.org/gerrit/bottlenecks cd bottlenecks + Preparing Python Virtual Evnironment ------------------------------------ @@ -80,6 +83,7 @@ Preparing Python Virtual Evnironment . pre_virt_env.sh + Excuting Specified Testcase --------------------------- @@ -111,6 +115,14 @@ The second is using python interpreter. docker exec bottleneckcompose_bottlenecks_1 python ${POSCA_SCRIPT}/run_posca.py [testcase <testcase>] [teststory <teststory>] +Showing Report +-------------- + +Bottlenecks uses ELK to illustrate the testing results. +Asumming IP of the SUT (System Under Test) is denoted as ipaddr, +then the address of Kibana is http://[ipaddr]:5601. One can visit this address to see the illustrations. +Address for elasticsearch is http://[ipaddr]:9200. One can use any Rest Tool to visit the testing data stored in elasticsearch. + Cleaning Up Environment ----------------------- @@ -119,6 +131,14 @@ Cleaning Up Environment . rm_virt_env.sh +If you want to clean the dockers that established during the test, you can excute the additional commands below. + +.. code-block:: bash + + docker-compose -f docker/bottleneck-compose/docker-compose.yml down -d + docker ps -a | grep 'influxdb' | awk '{print $1}' | xargs docker rm -f >/dev/stdout + + Run POSCA through Community CI ============================== * POSCA test cases are runned by OPNFV CI now. See https://build.opnfv.org for more information. |