aboutsummaryrefslogtreecommitdiffstats
path: root/ci/yardstick-verify
AgeCommit message (Collapse)AuthorFilesLines
2016-03-17Update setup.py and dependenciesJo¶rgen Karlsson1-1/+1
Fixes dependency problem with python-openstackclient Freezes requirements to use latest/current upstream versions Yardstick can be installed with: $ python setup.py install or with: $ easy_install -U pip $ pip install -r ci/requirements.txt $ pip install . (or for develop mode: pip install -e .) if fixed package versions are required Change-Id: I9cb44d29011509c9c388dc2e7dc8bb60ee25e790 JIRA:- Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> (cherry picked from commit bce1f77ef610e3e7997a547704c96cfbdc544cc1)
2016-02-17ci: Freeze pip requirements + cleanupsJo¶rgen Karlsson1-14/+30
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-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-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)
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 Karlsson1-4/+2
- 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-04Docker container for Yardstick CI part 2Jo¶rgen Karlsson1-24/+139
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-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 Karlsson1-0/+182
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>