summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-29Draft one of the test specification.ChristopherPrice2-0/+367
JIRA: DOVETAIL-352 Needs a lot more work, but the directory tree and layout are according to our needs in order to have this published as a CVP document. Will push patches to restructure the repo according to the new requirements later. Change-Id: I9d4316407c94bc3096d322f6206eccf236d349da Signed-off-by: ChristopherPrice <christopher.price@ericsson.com>
2017-03-29dovetail tool: offline supportMatthewLi6-4/+29
JIRA: DOVETAIL-164 usage: dovetail run --testsuite <testsuite> --offline 1,if --offline given, can run offline by using local docker images (if there is no images, will get an error in log, images can be pulled from dockerhub or downloaded from artifacts.opnfv.org ) 2,if --offline not given, will run online, which means pull docker image from dockerhub Change-Id: I87ab35c82e59fb13a7a88c38d233e89285efc4d3 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-25dovetail tool: Add an option cmd for pushing results into DBxudan7-37/+92
JIRA: DOVETAIL-373 1. add an option --report/-r to choose the report type. 2. "-r file" will store results with files. 3. "-r http://192.168.135.2:8000/api/v1" will push results into DB. The DB url can replaced by user's local DB or official DB. 4. Default report type is defined as "report_dest" in dovetail_config.yml. 5. Yardstick can't push results of one testcase into DB now, so both "-r file" and "-r http://..." will be regarded as "file". Change-Id: Ieaa017ab59c5b15235bf306ef57cdc56beb22af8 Signed-off-by: xudan <xudan16@huawei.com>
2017-03-24Launch a local TESTAPI DB instanceLeo Wang3-0/+205
JIRA: DOVETAIL-374 User may want to dry run the test, and does not intend to upload test results to OPNFV DB. So dovetail provide a way to launch a local TESTAPI DB instance, then user can upload test results to this local db, and browse test results locally. Change-Id: I17b6153c9a308bd3cd59a2450c415200496cb855 Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
2017-03-23bugfix of package errorMatthewLi3-6/+11
JIRA: DOVETAIL-376 Change-Id: I91e0efff01d445e3f74718d730c8ff48c6413b26 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-22Merge "dovetail tool: Bugfix about the prepare_env of yardstick and get the ↵hongbo tian2-9/+12
yardstick.log"
2017-03-21dovetail tool: remove installer and CI related variablesxudan9-101/+60
JIRA: DOVETAIL-371 1. remove all the envs in functest_config.yml and yardstick_config.yml 2. remove all relative cmds in cmd_config.yml 3. remove all the envs when running a new functest/yardstick container 4. add some variables just for functest pushing results to db 5. get the external network name for yardstick 6. make --debug/-d just control the log level shown on the screen 7. set requests=2.10.0 since python-openstackclient needs 'requests!=2.12.2,!=2.13.0,>=2.10.0' Change-Id: I9f941e09d067fc95a14c3c9be1374f41df4a9a16 Signed-off-by: xudan <xudan16@huawei.com>
2017-03-21dovetail tool: Bugfix about the prepare_env of yardstick and get the ↵xudan2-9/+12
yardstick.log 1. For Fuel, yardstick prepare_env.sh will fail when pwd != /home/opnfv/repos/yardstick 2. Modify yardstick_config.yml in Dovetail to change pwd to that path. 3. Use log file /tmp/yardstick/yardstick.log created by cmd "yardstick task start" rather than redirecting the console output to yardstick.log. JIRA: DOVETAIL-363 Change-Id: Ie0475cfabc66e342be868f0924a5fccd6fa74b58 Signed-off-by: xudan <xudan16@huawei.com>
2017-03-20dovetail tool: change name of credentials from creds to openrcxudan6-14/+17
1. change file name from openstack.creds to openrc.sh 2. change the cmd --creds to --openrc/-o 3. now the path of --openrc can be relative path no restrict to abspath 4. remove the useless "work_dir" in dovetail_config.yml JIRA: DOVETAIL-369 JIRA: DOVETAIL-367 Change-Id: I2592438eef060f84132ff7fa226aea93ea947362 Signed-off-by: xudan <xudan16@huawei.com>
2017-02-24Merge "dovetail tool: bugfix for dovetail report and docker build"hongbo tian2-5/+3
2017-02-21dovetail tool: Bugfix about the creds path in yardstick conf filexudan1-1/+1
JIRA: DOVETAIL-355 Change-Id: I04a74caa080e0fd2ea11648f8085947ef8d556b1 Signed-off-by: xudan <xudan16@huawei.com>
2017-02-20dovetail tool: bugfix for dovetail report and docker buildMatthewLi2-5/+3
JIRA: DOVETAIL-353 JIRA: DOVETAIL-354 related patch: https://gerrit.opnfv.org/gerrit/#/c/29049/ Change-Id: Ic871abbda62dead7cf5e23e6117c9885d637c7fb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-18Merge "dovetail tool: skip testcase status added"hongbo tian3-51/+69
2017-02-17dovetail tool: change the way to get the functest result filexudan2-6/+12
Functest has changed it's way to generate the local result file. see Gerrit: https://gerrit.opnfv.org/gerrit/#/c/28513/ Dovetail needs to do some adaptions to fit this change. JIRA: DOVETAIL-350 Change-Id: I681f74832f582f26c8874f7d2726c8588f430612 Signed-off-by: xudan <xudan16@huawei.com>
2017-02-17dovetail tool: skip testcase status addedMatthewLi3-51/+69
JIRA: DOVETAIL-344 1) testcase status, True/False --> PASS/SKIP/FAIL, so skipped testcase in tempest can be figured out details can be seen in https://etherpad.opnfv.org/p/dovetail_report 2) some variable name changed more readable, such as passed-->testcase_passed failed--> prepare_failed 3) "dovetail report" minor amend according to 1) Change-Id: Ibe8e50693fc474d78e7d0fb89257f34703248579 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-08Merge "dovetail tool: use python new-style classes which inherit from object"hongbo tian7-16/+16
2017-02-07Merge "bugfix of dovetail tool userguide document"hongbo tian1-0/+1
2017-02-07Merge "dovetail tool: report.py bugfix and tempest skipped testcase added"hongbo tian2-11/+8
2017-02-07dovetail tool: report.py bugfix and tempest skipped testcase addedMatthewLi2-11/+8
JIRA: DOVETAIL-343 1, bugfix https://build.opnfv.org/ci/view/dovetail/job/dovetail-compass-virtual-debug-master/lastSuccessfulBuild/artifact/results/dovetail_report.txt test result error 2, skipped testcase in tempest added 3, two testcase in tempest full testsuite added in debug.yml to debug Change-Id: I6bf371d3384e3755d6a41d951cfc9d1a55e00ab3 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-07bugfix of dovetail tool userguide documentMatthewLi1-0/+1
Change-Id: I33eea93ca0db018a5f79041152516fa48b94ba46 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-03dovetail tool: bugfix: cannot load pre/post condition from config filexudan1-10/+20
JIRA: DOVETAIL-342 Change-Id: If98905b6724c0a990d789a7ce914aeecac72d7c4 Signed-off-by: xudan <xudan16@huawei.com>
2017-01-26Merge "Change to use "pip install -r requirements.txt" to install deps."hongbo tian1-2/+4
2017-01-25dovetail tool: functest different testsuite support and yardstick testcase addedMatthewLi8-26/+91
JIRA: DOVETAIL-186 Change-Id: Id0eec6652c9595c660436dec89a309a77b16bc03 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-24Change to use "pip install -r requirements.txt" to install deps.Tomofumi Hayashi1-2/+4
At the change of DOVETAIL-183, dovetail uses requirements.txt to install python dependency file so this change is following it. Change-Id: I6cb2420274f385224b517950ddfdf1cf0e764350 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2017-01-23Merge "dovetail tool userguide document"hongbo tian5-156/+192
2017-01-20dovetail tool: use python new-style classes which inherit from objectxudan7-16/+16
JIRA: DOVETAIL-187 Change-Id: Id6fa50a3a3cec7a18d27ca8feb383b53836a339b Signed-off-by: xudan <xudan16@huawei.com>
2017-01-19dovetail tool: modify function exec_cmd to force it to flush the bufferxudan1-16/+11
1. force to flush the buffer line by line 2. remove the progress bar since it will stay in the screen if using the cli command JIRA: DOVETAIL-173, which will be ugly. JIRA: DOVETAIL-172 Change-Id: I47b823c7e0bce955a50086613a656c83ab7707e3 Signed-off-by: xudan <xudan16@huawei.com>
2017-01-19dovetail tool userguide documentMatthewLi5-156/+192
JIRA: DOVETAIL-182 Change-Id: Icbfa347dda3840520484d10b9d539da9c8f1d31c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-17bugfix for delete unnecessary fileMatthewLi2-64/+0
Change-Id: I14b1556eb117d2111ebe85e73b8c33820db39a3e Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-17Merge "dovetail tool: format improvement"hongbo tian47-4/+109
2017-01-17dovetail tool: change to git repo then pbr.version can be get inside dockerMatthewLi3-3/+3
JIRA: DOVETAIL-184 Change-Id: I6d466dc34de027faab1aa74f66cc6c8e453111d1 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16dovetail tool: format improvementMatthewLi47-4/+109
Change-Id: Ibf0bb781c0f0b6be73526bf45231040e68510f76 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16dovetail tool: bugfix for pip installMatthewLi2-4/+5
JIRA: DOVETAIL-183 1)pip install [options] [-e] <local project path> ... pip install [options] <archive url/path> ... 2)vim added in Dockerfile, which is convinience for offline usage Change-Id: I986dc7cd3e872cf026d2e69f7298028a6cbfe9a6 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16Merge "dovetail tool: delete unnecessary prepare_env.py"hongbo tian2-78/+20
2017-01-15dovetail tool: delete unnecessary prepare_env.pyMatthewLi2-78/+20
JIRA: DOVETAIL-181 Change-Id: I6e79467b829b4ae1d815bdb9ead0b930f0338cd2 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16Update Dockerfilewu.zhihui1-7/+5
- Update pip version. The version of pip which is installed by apt-get is too low. - use "pip install -r reuirements.txt" to install requirements package. Change-Id: I94f94cab58cdb0d8e926c5dfbdbf9c9a66545dac Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-14Merge "dovetail tool: switch logging to proper usage"hongbo tian7-32/+32
2017-01-13dovetail tool: command lineMatthewLi11-8/+183
JIRA: DOVETAIL-173 details please see https://wiki.opnfv.org/display/dovetail/Dovetail+Command+Line Change-Id: Iff04b0df8c4e6310d35a45b9c8ba3c7b3b5e1105 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-11dovetail tool: switch logging to proper usageMatthewLi7-32/+32
JIRA: DOVETAIL-178 Change-Id: Ica814d4ff634c9159e4ecca888b8cc0f6c16e624 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-10Merge "dovetail tool: remove old image when pulling new one successfully"hongbo tian1-10/+54
2017-01-08dovetail tool: bugfix of pbr installation in requirements.txt and DockerfileMatthewLi2-1/+3
JIRA: DOVETAIL-175 Change-Id: I1f16742a59d5b016dcef6b574df45486c244c751 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-06dovetail tool: remove old image when pulling new one successfullyxudan1-10/+54
1. split function pull_image into four functions, get_image_id, pull_image_only, remove_image and pull_image. 2. after pulling new version of the image, remove the old one with tag <none>. JIRA: DOVETAIL-171 Change-Id: I2d2a9d6a8bc2308d434d0a3c76aa24bf5b39bfd7 Signed-off-by: xudan <xudan16@huawei.com>
2017-01-05release tag supportMatthewLi4-10/+44
JIRA: DOVETAIL-170 Change-Id: Id56e30fdb3fb5b652e2145dd406b71986997f200 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-28Merge "dovetail tool: reorganize function prepare_cmd in testcase.py"hongbo tian2-28/+26
2016-12-26dovetail tool: reorganize function prepare_cmd in testcase.pyxudan2-28/+26
1. move the common statements in prepare_cmd of class FunctestTestcase and Testcase into parse_cmd. JIRA: DOVETAIL-163 Change-Id: I61a0a24b47cfc9e8d49ca9c62fafbac7cce21111 Signed-off-by: xudan <xudan16@huawei.com>
2016-12-26Merge "dovetail tool: bugfix CI job dovetail-merge-master fail"hongbo tian1-3/+4
2016-12-26Merge "dovetail tool: bugfix functest prepare_env fail"hongbo tian1-2/+8
2016-12-23dovetail tool: bugfix CI job dovetail-merge-master failxudan1-3/+4
JIRA: DOVETAIL-156 Change-Id: I3453571568494850049eb7956387ee7e275934af Signed-off-by: xudan <xudan16@huawei.com>
2016-12-23Merge "dovetail tool: flake8 support in tox"hongbo tian2-2/+3
2016-12-23Merge "dovetail tool: use command 'debug' to control both 'debug' and ↵hongbo tian2-10/+5
'CON_DEBUG'"