Tag dovetail with cvp.0.4.0 45/38745/2
authorxudan <xudan16@huawei.com>
Fri, 4 Aug 2017 06:23:17 +0000 (02:23 -0400)
committerxudan <xudan16@huawei.com>
Fri, 4 Aug 2017 06:27:58 +0000 (02:27 -0400)
JIRA: DOVETAIL-476

1. docker image used
   yardstick: danube.3.1
   functest: cvp.0.2.0
   bottlenecks: cvp.0.4.0
   testapi: cvp.0.4.0
   dovetail: cvp.0.4.0
2. main changes
   Add docs about vping test cases (test scope and test specification)
   Add 2 vping test cases into proposed_tests
   Bugfix: Build docker image failed because of lacking of packages
   Add resiliency.tc001 into proposed_tests
3. For more information, refer to
   https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool

Change-Id: I5ce6bdc9a1daa957124309c9fadc532f9c7a2b1e
Signed-off-by: xudan <xudan16@huawei.com>
docs/testing/user/userguide/testing_guide.rst
dovetail/utils/local_db/launch_db.sh
dovetail/utils/local_db/restart_db.sh
dovetail/utils/offline/config.yaml
setup.cfg

index 9e46b56..a888be3 100644 (file)
@@ -261,8 +261,8 @@ If the Test Host is online, you can directly pull.
 
 .. code-block:: bash
 
-   $ sudo docker pull opnfv/dovetail:cvp.0.3.0
-   cvp.0.3.0: Pulling from opnfv/dovetail
+   $ sudo docker pull opnfv/dovetail:cvp.0.4.0
+   cvp.0.4.0: Pulling from opnfv/dovetail
    30d541b48fc0: Pull complete
    8ecd7f80d390: Pull complete
    46ec9927bb81: Pull complete
@@ -275,9 +275,9 @@ If the Test Host is online, you can directly pull.
    bf7c644692de: Pull complete
    cdc345e3f363: Pull complete
    Digest: sha256:d571b1073b2fdada79562e8cc67f63018e8d89268ff7faabee3380202c05edee
-   Status: Downloaded newer image for opnfv/dovetail:cvp.0.3.0
+   Status: Downloaded newer image for opnfv/dovetail:cvp.0.4.0
 
-An example of the <tag> is *cvp.0.3.0*.
+An example of the <tag> is *cvp.0.4.0*.
 
 If the Test Host is offline, you will need to first pull the Dovetail Docker image, and all the
 dependent images that Dovetail uses, to a host that is online. The reason that you need
@@ -287,9 +287,10 @@ offline, then all these dependencies will also need to be manually copied.
 
 .. code-block:: bash
 
-   $ sudo docker pull opnfv/dovetail:cvp.0.3.0
+   $ sudo docker pull opnfv/dovetail:cvp.0.4.0
    $ sudo docker pull opnfv/functest:cvp.0.2.0
    $ sudo docker pull opnfv/yardstick:danube.3.1
+   $ sudo docker pull opnfv/bottlenecks:cvp.0.4.0
    $ sudo wget -nc http://artifacts.opnfv.org/sdnvpn/ubuntu-16.04-server-cloudimg-amd64-disk1.img -P {ANY_DIR}
 
 Once all these images are pulled, save the images, copy to the Test Host, and then load
@@ -299,7 +300,8 @@ At the online host, save images.
 
 .. code-block:: bash
 
-   $ sudo docker save -o dovetail.tar opnfv/dovetail:cvp.0.3.0 opnfv/functest:cvp.0.2.0 opnfv/yardstick:danube.3.1
+   $ sudo docker save -o dovetail.tar opnfv/dovetail:cvp.0.4.0 opnfv/functest:cvp.0.2.0 \
+     opnfv/yardstick:danube.3.1 opnfv/bottlenecks:cvp.0.4.0
 
 Copy dovetail.tar file to the Test Host, and then load the images on the Test Host.
 
@@ -316,8 +318,9 @@ Now check to see that the Dovetail image has been pulled or loaded properly.
    $ sudo docker images
    REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
    opnfv/functest      cvp.0.2.0           9eaeaea5f203        8 days ago          1.53GB
-   opnfv/dovetail      cvp.0.3.0           5d25b289451c        8 days ago          516MB
+   opnfv/dovetail      cvp.0.4.0           5d25b289451c        8 days ago          516MB
    opnfv/yardstick     danube.3.1          574596b6ea12        8 days ago          1.2GB
+   opnfv/bottlenecks   cvp.0.4.0           00450688bcae        3 hours ago         622 MB
 
 Regardless of whether you pulled down the Dovetail image directly online, or loaded from
 a static image tar file, you are ready to run Dovetail.
index 722dc22..38a9733 100755 (executable)
@@ -59,8 +59,8 @@ echo "Create the testapi service."
 echo "=========================="
 
 set +e
-# pull image opnfv/testapi:cvp.0.3.0
-testapi_img="opnfv/testapi:cvp.0.3.0"
+# pull image opnfv/testapi:cvp.0.4.0
+testapi_img="opnfv/testapi:cvp.0.4.0"
 echo "Step1: pull the image $testapi_img."
 sudo docker pull $testapi_img
 set -e
index 35096b9..668b4b8 100755 (executable)
@@ -26,4 +26,4 @@ export db_host_ip=${db_host_ip:-"$1"}
 
 sudo docker rm -f testapi
 sudo docker run -itd -p $testapi_port:8000 --name testapi \
-    -e mongodb_url=mongodb://$db_host_ip:$mongodb_port/ opnfv/testapi:cvp.0.3.0
+    -e mongodb_url=mongodb://$db_host_ip:$mongodb_port/ opnfv/testapi:cvp.0.4.0
index 11134dd..bebd6f4 100644 (file)
@@ -2,7 +2,7 @@
 docker_images:
   dovetail:
     domain: opnfv
-    tag: cvp.0.3.0
+    tag: cvp.0.4.0
     store_name: image_dovetail.docker
   functest:
     domain: opnfv
@@ -12,9 +12,13 @@ docker_images:
     domain: opnfv
     tag: danube.3.1
     store_name: image_yardstick.docker
+  bottlenecks:
+    domain: opnfv
+    tag: cvp.0.4.0
+    store_name: image_bottlenecks.docker
   testapi:
     domain: opnfv
-    tag: cvp.0.3.0
+    tag: cvp.0.4.0
     store_name: image_testapi.docker
   mongo:
     tag: 3.2.1
index 64d35f6..231e9bd 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = dovetail
-version = 0.3.0
+version = 0.4.0
 home-page = https://wiki.opnfv.org/display/dovetail
 
 [entry_points]