summaryrefslogtreecommitdiffstats
path: root/dovetail
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21Merge "Delete the ERROR log when it is not https"Leo wang2-5/+6
2017-07-20mandatory vping test case added to proposed_testsMatthewLi7-27/+10
JIRA: DOVETAIL-446 1.add vping to proposed_tests 2.delete out-dated nfvi test cases Change-Id: I181b00b02abe6fed4ff51e947576c1b71321cdd2 Signed-off-by: MatthewLi <lijun_1203@126.com>
2017-07-19Adapt Yardstick to copy yardstick.conf to /etc/yardstickxudan3-9/+25
JIRA: DOVETAIL-466 1. Yardstick danube.3.1 needs a yardstick.conf file in /etc/yardstick 2. Copy the file /home/opnfv/repos/yardstick/etc/yardstick/yardstick.conf.sample to /etc/yardstick/yardstick.conf 3. If user wants to store the results in the local file, set the dispatcher to be 'file'. 4. If user wants to push the results into the DB, set the dispatcher to be 'http' and target to be the api url getting from the user. Change-Id: I39c30883b471ab7cb29ed6d63ba8c232da39c135 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-17Delete the ERROR log when it is not httpsxudan2-5/+6
JIRA: DOVETAIL-462 1. If it is not https, Dovetail will give a error log 2017-07-13 21:58:30,409 - container.Container - ERROR - The command 'openstack catalog show identity |awk '/public/ {print $4}'| grep 'https'' failed. 2. Remove this error log becuase it is not an error. Change-Id: I5791b1925cad8606d70eefd4940dd9bf46956305 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-03tag dovetail with 0.2.0MatthewLi6-9/+11
JIRA: DOVETAIL-447 docker images used yardstick danube.3.0 functest cvp.0.2.0 testapi cvp.0.2.0 dovetail cvp.0.2.0 main changes 1, fix yardstick HA bugs 2, fix functest sdnvpn offlinebugs 3, fix dovetail https bugs, etc. for more info, refer to https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool Change-Id: I4edb61b84ed80d8d7624f69db372fec60d73aa38 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-30Merge "Modify Dovetail logs"Leo wang7-108/+127
2017-06-30Change sdnvpn testcases file pathxudan5-5/+5
JIRA: DOVETAIL-458 1. Functest has changed the repo of sdnvpn. 2. Currently Dovetail will copy the testcase yaml file to /home/opnfv/repos/sdnvpn/sdnvpn/test/functest/config.yaml in Functest container. 3. The path needed to be replaced by /usr/local/lib/python2.7/dist-packages/sdnvpn/test/functest/config.yaml Change-Id: I1badba4120e96e2c9ed5a07db3189967cf24c564 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-28Modify Dovetail logsxudan7-108/+127
JIRA: DOVETAIL-450 Change-Id: I795679c9559d1bead3aecefff28d21b6567aac2f Signed-off-by: xudan <xudan16@huawei.com>
2017-06-28Merge "https enabled checking"hongbo tian2-16/+33
2017-06-27https enabled checkingMatthewLi2-16/+33
JIRA: DOVETAIL-456 before to check OS_CACERT and OS_INSECURE when using https + credential or + no credential, there's a need to check if https enabled. error log https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-baremetal-proposed_tests-danube/37/console Change-Id: Icdf17541fe6cf64b2f000d424c8d4dcc28cfd371 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-23Use official Docker images to build local DBxudan3-10/+10
JIRA: DOVETAIL-422 1. Use official Docker images, mongo:3.2.1 and opnfv/testapi:cvp.0.1.0, to build local database and testapi service. 2. Use the stable Docker tag in offline config file. Change-Id: I446a4248effc95f6f5aa6a6d90c0d31ef2f60b39 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-22Bugfix: Move userconfig directory into dovetail/dovetailxudan9-2/+224
JITA: DOVETAIL-449 1. Dovetail cvp.0.1.0 link dovetail/dovetail to /usr/local/lib/python2.7/dist-packages/dovetail/ 2. The directory dovetail/userconfig is lost in this image 3. Move dovetail/userconfig into dovetail/dovetail/userconfig Change-Id: I9da8389e02d92f35879ff5c6a1db1b7d984dd862 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-21Merge "fix judgement for https+no credential case"hongbo tian1-2/+2
2017-06-21Merge "Docker version misalignment and move some irrelevant messages"Leo wang2-22/+15
2017-06-20fix judgement for https+no credential caseMatthewLi1-2/+2
Change-Id: Id3d4e9af04f1882f69b8c9fe588355d76ad001c4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-20branch supported in Dockerfile and use functest/yardstick danube.2.0MatthewLi2-2/+2
JIRA: DOVETAIL-447 Change-Id: Id49d6ded8188900b58349e1983ac3fc8b40b6059 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-13Merge "Bugfix: KeyError when Functest fails to store results into file"Leo wang1-2/+2
2017-06-09Merge "https + no credential support"hongbo tian1-8/+16
2017-06-09https + no credential supportMatthewLi1-8/+16
JIRA: DOVETAIL-440 Change-Id: I2bb430de040127dea493e8bb5423ad8204f799e2 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-09Merge "https+credential support"hongbo tian2-3/+28
2017-06-08https+credential supportMatthewLi2-3/+28
JIRA: DOVETAIL-440 Change-Id: I69fb96673755545e8e0d78d940870195dbf20a0b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-07Docker version misalignment and move some irrelevant messagesxudan2-22/+15
JIRA: DOVETAIL-437 JIRA: DOVETAIL-444 1. Docker client version and server version should be 1.12.3 or later. 2. If any of them is older than 1.12.3, there will be an ERROR message. 3. Delete the “rm -rf results” message. Change-Id: I0c10cf256ef139cac4d43f36108bf5f3f9da8398 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-06Bugfix: KeyError when Functest fails to store results into filexudan1-2/+2
JIRA: DOVETAIL-445 https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-baremetal-proposed_tests-danube/19/console Change-Id: If933156bb3931e7bfc8ec31eb03ca5a3cb0bf8b0 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-06Merge "Support Yardstick to push results to database"Leo wang2-14/+10
2017-06-06Merge "change the name of Yardstick results file and some log msg"Leo wang4-15/+15
2017-05-30sdnvpn offline support in dovetailMatthewLi5-2/+52
JIRA: DOVETAIL-441 Change-Id: I709c62a36c65ef0b4da69c5508f7a8273e68dc2b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-25change the name of Yardstick results file and some log msgxudan4-15/+15
JIRA: DOVETAIL-428 1. Change the name of Yardstick result file from opnfv_yardstick_tc019.out to dovetail.ha.tc001.out. Because opnfv_yardstick_tc019 is the name defined in Yardstick and dovetail.ha.tc001 is the name defined in Dovetail. 2. Check whether the file exists before reporting the results are stored in file. 3. Delete test cases vping_ssh, vping_userdata and sdnvpn.tc003 from the testsuite proposed_tests. Change-Id: I4cb16947729479616a03abd9e91b76f9a41a949c Signed-off-by: xudan <xudan16@huawei.com>
2017-05-25Change the directories of results and some files to DOVETAIL_HOMExudan6-29/+51
JIRA: DOVETAIL-438 1. Need an env variable DOVETAIL_HOME in env_config.sh 2. env_config.sh, pod.yaml and id_rsa should be put in path DOVETAIL_HOME/pre_config 3. the results will also be put in this path 4. no need to give the path of openstack credential file while running a testsuite 5. if running with the code, source the env_config.sh file before running source $DOVETAIL_HOME/env_config.sh dovetail run --testsuite <testsuite_name> 6. if running with Dovetail docker image docker run -it --privileged=true -e DOVETAIL_HOME=<dovetail_home_path> -v <dovetail_home_path>:<dovetail_home_path> -v /var/run/docker.sock:/var/run/docker.sock opnfv/dovetail:latest /bin/bash Change-Id: Ia23078f27a34e293d0075e49c673930f41069cb6 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-24SDNVPN test cases failed in CIxudan8-33/+39
JIRA: DOVETAIL-439 1. SDNVPN test cases run in CI failed, because the file /home/opnfv/repos/sdnvpn/sdnvpn/test/functest/config.yaml is empty. 2. copy the file userconfig/sdnvpn_config_testcase1/2/4/8.yaml to /home/opnfv/repos/sdnvpn/sdnvpn/test/functest/config.yaml in Functest container Change-Id: Ie904f83c755efc0d9e0abe5dcd44fe4a5056123e Signed-off-by: xudan <xudan16@huawei.com>
2017-05-23Merge "Add test case tempest_custom into the local database"hongbo tian1-0/+10
2017-05-19hosts info config in containerMatthewLi1-2/+19
JIRA: DOVETAIL-435 in some SUT, there's a need to config hosts <domain name>:<ip> info in container /etc/hosts, ortherwise, SUT service will not be used. usage: 1,for dovetail directly running, cd ${DOVETAIL_HOME}/userconfig vim hosts.yaml sth like hosts_info: - domain_nameA:192.168.33.101 - domain_nameB:<some IP> 2,for dovetail container running, first get inside the container, cd /home/opnfv/dovetail/userconfig vim hosts.yaml same as 1. Change-Id: Ic5d87df3d78c0fa1d08c4e972c0fc97e61b906e9 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-15Merge "bugfix of wrong testcase name"hongbo tian1-1/+1
2017-05-11Add test case tempest_custom into the local databasexudan1-0/+10
JIRA: DOVETAIL-429 Test case tempst_custom is not in the initial local database. Add this test case into local database. Change-Id: I53d3f6ebdde7ff680e33faf8296551d81f3c0496 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-11bugfix of wrong testcase nameMatthewLi1-1/+1
JIRA: DOVETAIL-430 this is wrong before(ipv6.tc023 same to ipv6.tc019), fixed according to https://gerrit.opnfv.org/gerrit/#/c/34577/ Change-Id: I3d996a7c2adffc305b0f8fa6bcd87e4e6e4c5b7e Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-11Add three HA test cases into test suite proposed_testsxudan12-77/+31
JIRA: DOVETAIL-427 There are another three HA test cases which are stable now for adding into test suite proposed_tests for CI daily run. Change-Id: I86ed38d2e3a2bcfda29af50164aadd0da89e6aaa Signed-off-by: xudan <xudan16@huawei.com>
2017-05-11Merge "store/load offline docker images"hongbo tian3-0/+104
2017-05-09Support Yardstick to push results to databasexudan2-14/+10
JIRA: DOVETAIL-421 1. Yardstick is working on supporting push results to mongoDB. see https://gerrit.opnfv.org/gerrit/#/c/34091/ 2. make Dovetail supporting push results to database too when user choose to report to database. Change-Id: Iee06ad6be59dad62ac4f985f4a982fb5ff93a592 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-09Merge "fix ha testcase PASS/FAIL judgement"hongbo tian1-1/+6
2017-05-09Merge "vpn testcases added in proposed_tests"hongbo tian8-4/+79
2017-05-08store/load offline docker imagesMatthewLi3-0/+104
JIRA: DOVETAIL-423 usage: 1.cd ${DOVETAIL_HOME}/dovetail/utils/offline 2.edit config.yaml as needed 3.on onsite host, <python download.py> --> save docker images to defined path 4.on offline host, <python load.py> ---> load docker images to offline env 5.this can be easily extended to other images beside docker images Change-Id: I97d843e154ecf8d66cafb9ea9594fe73343ee591 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-08fix ha testcase PASS/FAIL judgementMatthewLi1-1/+6
JIRA: DOVETAIL-425 Change-Id: Ifee2473956e0a1a3ad9c98beff92d94327251614 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-07vpn testcases added in proposed_testsMatthewLi8-4/+79
JIRA: DOVETAIL-212 after communicating with Tim/jose, help to add vpn testcase into proposed_tests reference: https://wiki.opnfv.org/display/sdnvpn/SDNVPN+Testing#SDNVPNTesting-TestcompliancetemplateforDovetail Change-Id: Id34a2cadba625abbdbc59ef11affeccba24fa10c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-04Get results json data from databasexudan3-5/+11
JIRA: DOVETAIL-417 1. If report results with files, all results will be stored in local files. 2. If report to database, will get results from database and stored with file results.json Change-Id: Ic30037bd66cd37042f82b75fac2043a876e21c6f Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03Merge "local db support offline mode"hongbo tian4-3/+208
2017-05-03local db support offline modeLeo Wang4-3/+208
JIRA: DOVETAIL-415 The local db also need to support offline, move all the git clone/apt/yum/pip/wget/curl into the Dockerfile Change-Id: I2392dc9f4a6bd6f6a5a3f4849625a576c51a44f8 Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
2017-05-03Merge "xipv6 testcase adjustment"hongbo tian13-19/+12
2017-05-02xipv6 testcase adjustmentMatthewLi13-19/+12
JIRA: DOVETAIL-418 1) ipv6 tc002-tc005 error fix, delete wrong testcases 2) ipv6 tc018-tc025 os-nosdn-nofeature scenario dependent, make it known to the users Change-Id: I8e63131b795403ee63566ae59bf46782524acd5a Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-01Tips on update docker to right version, > 1.8grkiss2-0/+26
JIRA: DOVETAIL-414 Dovetail requires docker at version > 1.8, so add some validation in code, and also versions of client and server should match with each other, or there will be unpredictable errors. Gives a notice to user to decide whether to update the docker to the latest version(1.17) Change-Id: I1331f5c19943a73e8fe25f76bd21628233e556f3 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-04-27support HA test cases to run with keyxudan3-10/+18
JIRA: DOVETAIL-409 1. HA test cases need a file pod.yaml, in this file it can use the password or the key. 2. If use key, Dovetail need to pass the key file $DOVETAIL_HOME/dovetail/userconfig/id_rsa to yardstick Container. 3. Add a directory $DOVETAIL_HOME/dovetail/userconfig and a sample_pod.yaml 4. ha.tc001 tc003 tc005 tc006 tc009 are ready. Change-Id: I391cc211dba2cf0740dd0dcaee8a5c2d712eaee1 Signed-off-by: xudan <xudan16@huawei.com>
2017-04-26skip ha tc002 and tc012MatthewLi1-3/+1
since these two testcases will kill the host and can't restart not ready yet, skip. Change-Id: Icbc7e4f080d32d1ecb59df9fd95cb244d74e4cde Signed-off-by: MatthewLi <matthew.lijun@huawei.com>