summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick-daily.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-10-04Add OPNRC file to Yardstick container for fuel installer typeDelia Popescu1-4/+2
OPNRC file (openstack.creds) is needed to call openstack services It was not added any longer because we added a specific case for fuel installer to send SSH_KEY, OPNRC file and OS_CACERT to the container Change-Id: I235b138a77e06cded86a0b163ef383c1c37a0469 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-10-03Add CACERT file to Yardstick Container for fuel installerDelia Popescu1-4/+3
CACERT file is needed for authentication to and between openstack services. Change-Id: Ic6c48ad0ac6f16c2dca82214f5b44d2f8dcac4fc Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-09-30[Yardstick]Enable using the CACERT file in all compass branchesJingLu51-1/+1
Change-Id: Ia699a23d292ea2c18f309022352f83a22041626a Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-09-29Add mcp.rsa in the yardstick container for fuelCristina Pauna1-0/+8
For Fuel, the mcp.rsa key is needed in the container to be able to connect to the POD nodes. The key is set in the global installer parameters and passed to the container. Also the SSH_KEY enviroment variable is set with the path of the key. Change-Id: I1888414abc9f6c2d8ac741f2d6f04f5e7a37912b Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-09-13yardstick: AArch64: Pull from arch-specific repoAlexandru Avadanii1-4/+8
AArch64 Docker images for Yardstick reside in "opnfv/yardstick_aarch64" repo. Change-Id: Ic2621aabd535bbfcd274650ee590eebed4806efa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-01Missing "-y" when install docker.iochenjiankun1-1/+1
Change-Id: I1c94d148bf62aba6e21fcabe1908931c6732327f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-31Using juju ssh command to run kubernetes test casechenjiankun1-2/+8
On joid kubernetes deployment we can't ssh container from jumpserver. So we need to start yardstick on kubernetes master node. Change-Id: I9a1308d401cdacef63690088ac22bd555927bea3 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-28Fetch admin.conf from master on kubernetes scenariochenjiankun1-5/+9
Now we have joid deploy kubernetes scenario We need admin.conf when run test case We can fetch admin.conf by: juju scp kubernetes-master/0:config admin.conf Also we need a jenkins job to fetch it. Change-Id: I13a6a17ca13e247cfc50774bf5104480fc03631a Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-07-25[yardstick]Add cacert file in yardstick job for compass master environmentJingLu51-1/+6
Compass4nfv in master now enables https, so a cacert file is required when executing openstack command in yardstick container. This patch adds a "cacert_file_ vol" binding to the yardstick container. Change-Id: Id69c3e71de6c73fc7834b3ac03f423e3636377b6 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-07-10[Yardstick]Use volume-binding to provide rc file to yardstick containerJingLu51-5/+9
The 'fetch_os_creds' script is preferred to run on jump server to get OS creds as mand projects do, this patch unify the way to get OS creds by volume-binding. Change-Id: I0da54545ee088458c952f216945c29232d487692 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-06-26[yardstick] Pass "BRANCH" variable to yardstick docekr containerJingLu51-1/+2
Recently update of utils/fetch_os_creds.sh in commit 8359219bae93a028f6205cdc9460654f9e45c217 use a "BRANCH" varibale in fuel environmet Currently Yardstick didn't pass such variable to yardstick docker, which causes the following error: /home/opnfv/repos/releng/utils/fetch_os_creds.sh: line 75: BRANCH: unbound variable This patch fix this error by Pass "BRANCH" variable to yardstick docekr container Change-Id: Ifcf3df7107b2f4b493b37c7ef5473f170a8edb94 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-04-01change openrc file path to /etc/yardstick/openstack.credschenjiankun1-1/+1
JIRA: YARDSTICK-623 Now almost yardstick openrc file is in /etc/yardstick/openstack.creds. But only in prepare_env.sh it is /home/opnfv/openrc. So I unified it and change it to /etc/yardstick/openstack.creds in the follow patch: https://gerrit.opnfv.org/gerrit/#/c/32005/ Also there is some adapt work to do in releng. Change-Id: I7764582dec1d9a8f74e53b23e23d98021a20589b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-2/+2
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-30improve yardstick logger to output Debug info to artifactsrexlee87761-1/+8
JIRA: RELENG-158 Change-Id: I3bd91c671fa3dcac5cd47ca12610457fd1ab5a5b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-08-24yardstick: Pull the right image for master and colorado branchesFatih Degirmenci1-2/+3
Change-Id: I868b837f67d24c53ee40bbd03fb1997da4938b3b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-11Fix Yardstick connection issue on virtual envMichal Skalski1-0/+5
Libvirt creates iptables rules for NAT network which reject inbound connections which not originate from host. Use the same appraoch as for functest and add iptables rule which allow connections from yardstick container to libvirt vm. JIRA: FUEL-166 Change-Id: I43840bd15cb3ff3fc0f8306ff43c83aabfa9b06f Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-18change ci from base-on-pod to base-on-scenario (in progress)rexlee87761-1/+1
1. first need to change in yardstick 2. then change in releng to modify the input parameter JIRA: YARDSTICK-299 Change-Id: Ie9c96d4ddc6b15b0488ef1cff1f2c7531429baf0 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2016-06-06Yardstick: rename test suite scriptMatthewLi1-1/+1
JIRA: YARDSTICK-279 two scripts are with the same name run_tests.sh, for unittest and test suite running, confusions are made here, this should be merged after https://gerrit.opnfv.org/gerrit/#/c/14687/ Change-Id: I31aca6144b94a0fd167f5ed77580ba8d9ac4c917 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-05-30Yardstick, Apex: Fixes yardstick to use right Apex vm name (undercloud)Tim Rozet1-1/+1
Change-Id: I709dbf36667202ed0e1feb4793aa10071dc137c4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24yardstick: Take builders out of jjbFatih Degirmenci1-0/+40
Change-Id: I246bcdd9f1fa300639bd7ec744cefe82e293b222 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>