summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick
AgeCommit message (Collapse)AuthorFilesLines
2019-12-02remove python 2.7 test in Yardstick CI gatingrexlee87761-44/+0
migrate to python 3 JIRA: YARDSTICK-1625 Change-Id: I027c3a4ed0a2c1e899907a8be17fc4be107b009b Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2019-10-03Remove all compass jobsAric Gardner3-62/+0
Remove all jobs associated or dependant on compass Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I2bdac50e535736e51d815fc12c4141158f1ef852
2019-05-15functest, yardstick: Create Fuel non CI pod jobsAlexandru Avadanii1-0/+13
Fuel has 2 non-CI PODs: zte-pod1 and itri-pod1. Since these PODs do not use slave labels but explicit node name targeting, we need to define testing project jobs for them. Change-Id: Ibb6e9c072c64fe2c41b60bd65d079c32f6b0c074 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2019-04-19[fuel] Inject k8s config into yardstick containerMichael Polenchuk1-1/+5
Change-Id: If3073db238490331390f7f1051078c6be29f2327 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2019-04-17[fuel] Pull kubernetes config for yardstickMichael Polenchuk1-0/+3
Change-Id: I1eac73a57c034d177ec4a41b28148012dea5abcd Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2019-04-10add yardstick hunter ci jobsrexlee87763-61/+20
Change-Id: Ibfd85198ce937fbe32f9ed8593d65326f45bb293 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-11-08RTD: Enable Gambia streamAric Gardner1-0/+8
Enable Gambia read the docs stream for all projects that have a gambia branch Also added edgecloud rtd job as it was missing Change-Id: I64d159cde0200871cd4ba3d2c071853c9bd502c1 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-19[Compass4nfv]add missing jobswutianwei1-0/+10
This patch add the Functest and Yardstick jobs for compass Gambia branch. Change-Id: Icf4504841b7fe28b7ec29ae44aad01be24a691ef Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-10-18Remove skip vote from passing jobs.Aric Gardner1-1/+0
I ran all the rtd jobs that were just created all the ones that got a +1 I have removed the skip vote these jobs will vote going forward Change-Id: Ia9a7749f758b96cf1b6a46f00d08a5de7f7d9bbe Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-10-18RTD jobs for all projectsAric Gardner1-0/+13
RTD jobs for all active projects All jobs start as non-voting. All rtd jobs are in their own file to faciliate future bulk changes: jjb/$project/$project-rtd-jobs.yaml All project have rtd pages https://opnfv-$project.readthedocs.io Change-Id: I776e41f968d38f08cb3187f743f69d5d6b697e8e Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-18Functest, Yardstick, Apex: Fix missing jobsTim Rozet1-0/+10
Functest/yardstick jobs are missing for Gambia. This patch adds them. Change-Id: If65bc5927dba745ff5dbd858b4e612c0f48e1ab1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-18Configure daily gambia jobs for fuel installerCristina Pauna1-5/+5
Add fuel CI PODs and armband CI PODs for gambia stream in yardstick-daily jobs Change-Id: I1b685ca4859eb476f56ceddb4368215605ad7ae5 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-10-03Create Gambia Jobs for Yardstick 2/2jenkins-ci1-1/+18
Add Gambia jobs for Yardstick daily. Keep fraser jobs until Gambia 7.0.0 is released. For fraser-tied PODs, use docker image tag 'ovp-2.0.0'. Change-Id: I6dca72807db1caf9adfc5ce5949c50ad70af5361 Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> Signed-off-by: rexlee8776 <limingjiang@huawei.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-10-03Create Gambia Jobs for Yardstick 1/2jenkins-ci1-1/+5
Add Gambia jobs for Yardstick gate: - yardstick-verify-gambia - yardstick-merge-gambia Keep fraser jobs until Gambia 7.0.0 is released. Gambia jobs for Yardstick daily will be added in next patch. Change-Id: Id02bcb8197dd1f6d0b8f5baddef684a97e269a14 Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> Signed-off-by: rexlee8776 <limingjiang@huawei.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
2018-09-19Clean up RETURN rule from FORWARD chainMichael Polenchuk1-4/+0
Remove obsolete/breaking RETURN rule from preparation stage of Yardstick and Dovetail test suites. Change-Id: I817780da95f10bc12c491e56806455d1aee25ece Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-09-11Assign yardstick/barometer to ericsson-build4Trevor Bramwell1-2/+2
This is a temporary fix until we can determine the full list of requirements from each project needed for the opnfv-build-ubuntu labled servers. Previously these were building fine on ericsson-build4, so reassigning them there should keep there builds green. Change-Id: I767b6faa718cd6dd4b9fd17f83e7ee817cfb8c4d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-04[yardstick] update yardstick email listRoss Brattain1-1/+1
remove Ross as he is no longer PTL. Change-Id: I2661cf09cae4be5c16d06a237d2dbe1c7c591cfc Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell2-0/+0
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-04Merge "[yardstick] debug dump image ID"Trevor Bramwell1-0/+1
2018-04-24[daisy]Enable yardstick daily jobs on zte-pod3 and zte-pod9Zhijiang Hu1-0/+18
Change-Id: Ib96698b1d2d1fa8039fd684ff96025afffefbcd0 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-04-17[daisy] Run fraser jobs on zte-pod3Alex Yang1-0/+5
Change-Id: I4b879b6af9b4633a8444db988b3fbe7aa1690ee8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-04-13Enable all yardstick tasks on baremetal for daisyJulien1-0/+5
currently only master job is enabled. Change-Id: I7da6a1a3a8e8faf08cde34d9a20219346070151b Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-04-12[yardstick] debug dump image IDRoss Brattain1-0/+1
we need to know if we are pulling stale yardstick/stable images for example, if when branching between releases we can still be pulling old release yardstick/stable images without knowing it. This will dump the IMAGE ID of the images we just pulled which we can match to Jenkins docker push builds Change-Id: I875cf2fd07d17c3eebe294e70f2edccd9f48ce11 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-04-06Merge "Create Stable Branch Jobs for yardstick"Trevor Bramwell2-19/+20
2018-04-06Fix RabbitMQ service installation in Yardstick jobsRodolfo Alonso Hernandez1-10/+10
RabbitMQ commands need to be executed as root user. JIRA: YARDSTICK-1104 Change-Id: Ia6667cc3f7572f67a38fd4fd4bcf9fbb4309d36c Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-04-05Create Stable Branch Jobs for yardstickjenkins-ci2-19/+20
Change-Id: I5e59b6240b1e614fc6c06f918054813b7e5758cf Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-05Install RabbitMQ service in Yardstick functional testsRodolfo Alonso Hernandez1-2/+18
Install and configure RabbitMQ service for Yardstick functional (Python 2.7 and Python 3) tests. JIRA: YARDSTICK-1104 Change-Id: I6b287def05c75dc67ab21727f72d4c384f8e2837 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-21Fetch creds according scenario type(os or k8)chenjiankun2-11/+18
We have two kinds of scenario: os and k8, their creds is defferent, so we need to fetch creds according different scenario type. Change-Id: I54d1a1fcdfa981fed2a1433693aa3483abf4baf0 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2018-02-28[Yardstick] add apt-get autoremove to free up disk spaceRoss Brattain1-0/+12
yardstick builds are failing due to running out of disk space when too many kernels are left installed. Try apt-get autoremove to cleanup before updating [yardstick-verify-master] $ /bin/bash /tmp/jenkins4572301318127685434.sh Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.1ubuntu2). python3-dev is already the newest version (3.5.1-3). python-dev is already the newest version (2.7.12-1~16.04). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic linux-headers-4.4.0-103 linux-headers-4.4.0-103-generic linux-headers-4.4.0-104 linux-headers-4.4.0-104-generic linux-headers-4.4.0-108 linux-headers-4.4.0-108-generic linux-headers-4.4.0-109 linux-headers-4.4.0-109-generic linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic linux-image-4.4.0-104-generic linux-image-4.4.0-108-generic linux-image-4.4.0-109-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-104-generic linux-image-extra-4.4.0-108-generic linux-image-extra-4.4.0-109-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 111 not upgraded. 4 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-extra-4.4.0-116-generic (4.4.0-116.140) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic update-initramfs: Generating /boot/initrd.img-4.4.0-116-generic W: mdadm: /etc/mdadm/mdadm.conf defines no arrays. gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-116-generic with 1. Change-Id: I79396162c5300c8cbaecc474473af81842f79db8 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-02-28Merge "Modify the daisy slavel-label in yardstick daily jobs"Fatih Degirmenci1-1/+1
2018-02-27[Yardstick] set yardstick ci debug switch onrexlee87761-1/+1
Yardsitck CI default print INFO level message, this patch turn the DEBUG on for Fraser debug. Change-Id: I3d4436e6610648ab64439ba410f4fe07a54d6dc0 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2018-02-23Modify the daisy slavel-label in yardstick daily jobsAlex Yang1-1/+1
Accoding to https://gerrit.opnfv.org/gerrit/#/c/52063/, the jobs of daisy master branch have been moved from zte-pod3 to daisy-baremetal. Change-Id: I6f2a93bd89f606c0506ef2bf60fe67f96ade0571 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-01-05Enable kubernetes test suite for compasschenjiankun2-11/+14
Compass will put admin.conf file in /opt/admin.conf in compass-tasks container. We need to cp it to $HOME/admin.conf, then do a volume mapping so that yardstick docker container can have this file. Change-Id: I33b9ab4e44e363bd8375805bad7d8e5bf6af97fa Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-12-05Add separate builders for Yardstick project jobsRodolfo Alonso Hernandez1-5/+85
Added separate builders for Yardstick project jobs, in order to test each context individually. The new builders are: - Unit tests in Python 2.7 - Unit tests in Python 3 - Functional tests in Python 2.7 - Functional tests in Python 3 - Coverage tests - Style guidelines (PEP8) tests JIRA: YARDSTICK-877 Change-Id: I625a956bdaad88277b6ba36852639f23c8cda198 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2017-10-19Integrate yardstick on daisy master branchAlex Yang1-7/+29
JIRA: DAISY-9 1. Trigger yardstick job in daisy-baremetal-daily-master on zte-pod3 2. Add daisy pods in yardstick 3. Add EXTERNAL_NETWORK in installer params Change-Id: Ia8e69e503102c1fb282d6d2c5acac2ac3cbfe747 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-16yardstick: remove apexlakeRoss Brattain2-12/+0
apexlake was removed from yardstick codebase Change-Id: I8eb826aa725dfb0e2c2c7a0bc1b15931fa245967 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-10-10Fix Yamllint violations for jjb/yardstickTrevor Bramwell2-402/+416
JIRA: RELENG-254 Change-Id: Icbfff8c0368c227451a09ac7f1f81df3e0f3563a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
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-19yardstick: Create jobs for EuphratesFatih Degirmenci2-19/+19
This change switches jobs to euphrates and removes danube jobs. Change-Id: I421b3927e05712a62409e768b1b6a2e36c462537 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-14Merge "yardstick-cleanup.sh: try to fix docker rmi failure"Aric Gardner1-13/+13
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-11yardstick-cleanup.sh: try to fix docker rmi failureRoss Brattain1-13/+13
apex builds seem to be failing to remove the yardstick containers https://build.opnfv.org/ci/job/yardstick-apex-baremetal-daily-master/400/console [yardstick-apex-baremetal-daily-master] $ /bin/bash /tmp/hudson8974425724638109512.sh Cleaning up docker containers/images... Docker images to remove: REPOSITORY TAG IMAGE ID CREATED SIZE opnfv/yardstick latest 5b83d8e60fb7 6 days ago 1.84GB Removing docker image opnfv/yardstick:latest... Error response from daemon: No such image: opnfv/yardstick:latest Build step 'Execute shell' marked build as failure For some reason we can't remove the yardstick container. Try instead to remove based on ID Replace grep | awk with just awk. Also fixed shellcheck warnings: In jjb/yardstick/yardstick-cleanup.sh line 6: if [[ -n ${dangling_images} ]]; then ^-- SC2128: Expanding an array without an index only gives the first element. In jjb/yardstick/yardstick-cleanup.sh line 10: containers=$(docker ps -a | grep $image_id | awk '{print $1}') ^-- SC2086: Double quote to prevent globbing and word splitting. In jjb/yardstick/yardstick-cleanup.sh line 12: docker rm -f $containers >${redirect} ^-- SC2086: Double quote to prevent globbing and word splitting. In jjb/yardstick/yardstick-cleanup.sh line 14: docker rmi $image_id >${redirect} ^-- SC2086: Double quote to prevent globbing and word splitting. In jjb/yardstick/yardstick-cleanup.sh line 20: if [[ ! -z $(docker ps -a | grep opnfv/yardstick) ]]; then ^-- SC2143: Use ! grep -q instead of comparing output with [ -z .. ]. In jjb/yardstick/yardstick-cleanup.sh line 27: if [[ ! -z $(docker images | grep opnfv/yardstick) ]]; then ^-- SC2143: Use ! grep -q instead of comparing output with [ -z .. ]. In jjb/yardstick/yardstick-cleanup.sh line 33: docker rmi opnfv/yardstick:$tag >$redirect ^-- SC2086: Double quote to prevent globbing and word splitting. Change-Id: I6545ac7f568161e5620e31d487faf70fa21da075 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-09-11Add flex-pod1 details in yardstick daily jobsSiddharth Gogar1-0/+13
Add slave params for flex-pod1 Change-Id: I25e93fe2231e604321f8ea7ca18eba45ecc3ee13 Signed-off-by: Siddharth Gogar <siddharth.gogar@flex.com>
2017-09-01Merge "Missing "-y" when install docker.io"Jun Li1-1/+1
2017-09-01Missing "-y" when install docker.iochenjiankun1-1/+1
Change-Id: I1c94d148bf62aba6e21fcabe1908931c6732327f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-08-31cleanup of obsolete non-CI arm PODsCharalampos Kominos1-53/+0
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
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>