summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2016-02-17ci: Freeze pip requirements + cleanupsJo¶rgen Karlsson3-16/+46
Freeze pip requirements for brahmaputra release to make sure we keep track of dependencies. Fixes internalURL problem with ericsson-virtual1 Add check to verify that nova, glance and heat services are functional Change-Id: I15c3d215596eaad31f8e260d129b8e07a7d63976 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 3b7c8d522d1ef0950d5c79232e161de05689fe53)
2016-02-12Add more debug to image buildJo¶rgen Karlsson1-1/+5
Change-Id: Icfbed0433cb9cfb6f8f479fc69699d08ad49602b Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 9de7358215ca6e3f0b394bacdd97f1e2b119b4b4)
2016-02-10Updated install requirementsJo¶rgen Karlsson1-0/+77
Change-Id: I594eb3fc976bc65a9fa01e48a805c3564ad3a5f3 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit fd3dd37a734a741a823962dbc646480ece70b3bb)
2016-02-09Add influxdb credentials.Jo¶rgen Karlsson1-0/+2
This is temporary!!!!! Credentials should be moved to a more secure place. Change-Id: Ifc0985aa58bb9fc861e0974e54d7ec34eb445a43 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 21e49fe80a862c8f6c11348a648ec69f6d9b1859)
2016-02-08bug fix: wrong POD name used in result dispatchersJo¶rgen Karlsson1-2/+2
Change-Id: I04a300b3478dd075208f9c904dcb281d74089344 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 84a5fd5cea31dd957fb1d0283144306e20d8e97b)
2016-02-01bug fix : git clone yardstick repo failedkubi1-1/+1
line45: git clone YARDSTICK_REPO $YARDSTICK_REPO_DIR fail Change-Id: I7f2973b320a30a02264b3f65fb3e1397218a5d9a Signed-off-by: kubi <jean.gaoliang@huawei.com> (cherry picked from commit 115bd363930d3c3c254369b1f5307abaf95cec28)
2016-01-20Add apexlake CI scriptJo¶rgen Karlsson1-0/+22
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> Change-Id: I5dcd45692938afddadbf17650c96fddf1f99dce7 (cherry picked from commit 9a3fa8bde1e8a82796fd05c8a40b1fbb8eca60c6)
2016-01-19Fix EXTERNAL_NETWORK for joidJo¶rgen Karlsson1-0/+4
Change-Id: I31c932a9098933fe139c28a65c3989a0014d0f8d Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 31419c67b8737dcea4768627b3ebf11f68e5e2bc)
2016-01-15Dump test result when test finishedQiLiang1-11/+32
JIRA: - Change-Id: I8712f1c4a0a063bdf7ba6a425015dea894c34d16 Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 261e3fe02d803fd6476a4af56dea32a29094923b)
2016-01-13ci: add influxdb target optionsJo¶rgen Karlsson1-5/+16
Change-Id: I50cbbf4d2fe59d688a4951cc8bec3362b098adcb JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit 55f7c41c927320a3dac5a0907ebf66647aafd8a8)
2016-01-08support lxml for parser in docker containerkubi1-0/+2
this is part1 of patch, this part is to define dockefile,and wait a docker image to be uploaded JIRA:YARDSTICK-224 Signed-off-by: kubi <jean.gaoliang@huawei.com> Change-Id: Ia206c54ab2d964a94753abef0767b74d26259081 (cherry picked from commit e2027b26582a839dc5c25a54fc5621695b9026c0)
2015-12-11Create yardstick nova flavor for CI testingJo¶rgen Karlsson1-0/+13
Change-Id: I8aa3128fae8058551df3d1213e2eb234960477fb Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-12-08Docker image cleanupJo¶rgen Karlsson5-39/+58
- Renamed docker image 'opnfv/yardstick-ci' -> 'opnfv/yardstick' as recommended by project. - Added cirros image and releng repo to docker image in order to make it more usable in offline mode. - Renamed run_benchmarks to run_tests.sh - Moved some environment setups to a new file prepare_env.sh - Added daily test suites file for ericsson and LF pods. Docker image is now built and pushed by releng script: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=jjb/opnfv/opnfv-docker.sh The ci/docker/Makefile file is not used by releng to build yardstick image but the makefile can still be used to build and test docker images locally. Change-Id: If9d6740b39e91d145c587d8d5e2bd372d09a46a9 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-11-05Merge "part 2 :add coverage report in Jenkins for Yardstick"Hou Jingwen1-0/+66
2015-11-04Docker container for Yardstick CI part 2Jo¶rgen Karlsson3-38/+179
Added test suit selection and an option to use the HTTP Result API. Part 1: https://gerrit.opnfv.org/gerrit/#/c/2201/ Change-Id: I1c25d07e46cd44e25f448706ff2dfc3b31cd7208 JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-10-28part 2 :add coverage report in Jenkins for Yardstickkubi1-0/+66
this part is focus on script on run coverage test,not only show missing lines but also show diff between your patch and master, actually,it produce a html for coverage,but now ,it just on your local machine extra missing lines is 10-lines,final target is 4-lines JIRA:YARDSTICK-108 Change-Id: I550dff51d6f89562447e12127646155325e38a4a Signed-off-by: kubi <jean.gaoliang@huawei.com>
2015-10-21fix for timeout on LF-POD2 (CI)Jo¶rgen Karlsson1-8/+11
Change-Id: Ie2e72db9e7b88a4470ffda51dfc472959fe1bc8e JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-10-14Docker container for Yardstick CIJo¶rgen Karlsson5-43/+303
The Docker container is intended to be run by the CI pipeline but it may also be used stand alone. Building the docker image: $ cd yardstick/ci/docker $ make clean && make Pushing image to docker hub: $ docker login ... (credentials needed) $ docker push opnfv/yardstick-ci (need to connect your account to opnfv) The docker image must be manually built and pushed to the docker Hub. This will probably be handled by gerrit triggers in the future (including revision handling and tagging of images). Example invocation: docker run \ --privileged=true \ -t \ -e "INSTALLER_TYPE=fuel" \ -e "INSTALLER_IP=10.20.0.2" \ -e YARDSTICK_BRANCH="refs/changes/01/2201/7" \ -e RELENG_BRANCH="master" \ opnfv/yardstick-ci \ run_benchmarks Basic steps performed by the container: 1. clone yardstick and releng repos 2 setup OS credentials (releng scripts) 3. install yardstick and dependencies 4. build yardstick cloud image and upload it to glance 5. upload cirros-0.3.3 cloud image to glance 6. run yardstick test scenarios If anything goes wrong in any of the steps above a non-zero exit status is returned. Some limitations: Scenario results (yardstick.out) are currently discarded. A future patch will take care of dumping the result to a database. Currently the container only runs the ping sample scenario. Testsuite execution (and selection) will be added in a future patch. The container has only been tested against fuel installations. Change-Id: I0bd29035082d3e283429c7392de8fc11b9fd777f JIRA: YARDSTICK-136 Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2015-08-26Add script for running yardstick tasks back-to-backKristian Hunt1-0/+43
This script enables to run multiple yardstick tasks in the yardstick daily build without having to change the Jenkins job in the releng repository. This script should be executed from the main yardstick directory just as run_tests.sh. If at least one of the tasks listed returns a non-zero value then the script continues executing, but in the end will exit with value 1. JIRA: YARDSTICK-106 Change-Id: I8a6bb7e6c03ec551709ff66a45aad7257fb36e92 Signed-off-by: Kristian Hunt <kristian.hunt@gmail.com>