summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
AgeCommit message (Collapse)AuthorFilesLines
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU2-0/+6
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU5-60/+17
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell3-0/+4
With the addition of ODL and OpenStack Gerrit servers, it's important we don't generate additional noise by accidentally building against these Gerrit servers when we don't intend to. JIRA: RELENG-179 Change-Id: Ia163c6c3eaa58e8e21dc6548a839062fcbde39ed Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-11-24Adding GS_PROXY prefix to GS_URL in proxy scenarioJulien1-1/+1
${GS_PROXY} does not include branch name in the URL, when use it to download the latest.properties, it always downloads the master branch file, not the current release defined in ${gs-pathname}. In this patch, no longer directly use ${GS_BASE_PROXY}, but join them. JIRA: FUEL-225 Change-Id: I2566036c174b2f03997669d25a37f1de21ffeac6 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-11-23Add -L parameter to curl for download ISO filesJulien1-1/+1
same as patch 24385, which just fixed the latest.properties file curl: -L, --location (HTTP/HTTPS) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place. without -L, curl just download the redirects info not the file. JIRA: FUEL-225 Change-Id: I20a01b628ca1545def68bd4e0b24594c24ee7f85 Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
2016-11-18Fuel: run curl command with parameter L to follow redirectswu.zhihui1-2/+2
Since ZTE PODs use url http://build.opnfv.org/artifacts.opnfv.org/ to download files, it should run curl command with parameter L to follow redirects. It does not affect PODs which use url http://artifacts.opnfv.org/ JIRA: FUEL-225 Change-Id: I63b808657ee4f26b801e492b53bc8e4b27396587 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-17Temporary disable some master jobsFedor Zhadaev1-7/+7
Daily deployment jobs which use master code and require plugins which are still not uplifted to Newton are temporary disabled on bare metal pods. Change-Id: Ifa7e5136adf53e49c922e844c5a7e6789deb6c8e Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2016-11-15fuel: cann't find latest.propertieswu.zhihui1-2/+2
See https://build.opnfv.org/ci/job/fuel-deploy-zte-pod1-daily-colorado/76/console latest.properties is downloaded under $WORKSPACE. Use absolute path $WORKSPACE/latest.properties in these two sentence. local test is OK. JIRA: FUEL-225 Change-Id: I37cf3835c56f44cee31a8814b4af1e71c8d1cc6a Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-02Prevent double uploading while "build" jobsFedor Zhadaev1-5/+3
"build"-like jobs were matched to both if-statements so ISOs were uploaded twice. This patch fixes that behaviour. JIRA: FUEL-221 Change-Id: I1f6b18339ec742b65de6a3f3c1ae3c9a5009fa4e Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2016-10-12fuel, armband: build, deploy: export TERM="vt220"Alexandru Avadanii2-0/+4
Since we do not actually parse our build/deploy logs for color chars, set the terminal to "vt220". This will silence quite a few of colorization special identifiers, but NOT all of them (e.g. `tput sgr0` still prints a sequence). For Fuel@OPNFV build process, we also need to workaround docker terminal settings not being passed down when using a tty (see [1]), which will be fixed in Docker 1.13+. This fix is handled in [2]. [1] https://github.com/docker/docker/issues/9299 [2] https://gerrit.opnfv.org/gerrit/#/c/22883/ Change-Id: I5f0c6eae33349ef81b67dd17e6df4e0af6274fab Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-10fuel: Proposal for specifying scenario name in commit messageFatih Degirmenci5-0/+312
Please take a look at fuel-basic-exp.sh for the proposal. Apart from scenario name input proposal, jobs and script templatest have been created as well. Change-Id: I53b74b2e1ed34acb1f54b7ab21823227fff86d10 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-10-06fuel: Specify upstream/opnfv branches separately and use include scriptsFatih Degirmenci3-29/+57
Due to having this experimental, it is needed to set different branches for upstream and opnfv until the things settle. Apart from this, the builders also converted to scripts so we don't need to touch the job yml if scripts need updates. Change-Id: I65a334bd6f51b558eb6ce69b15bb18405ef28049 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-10-05Merge "fuel: Enable 3rd party CI for fuel plugin onos"Fatih Degirmenci1-6/+12
2016-10-04Use fuel tacker pluginMichal Skalski1-53/+0
Require: https://gerrit.opnfv.org/gerrit/#/c/22643/ JIRA: FUEL-205 Change-Id: I0f2969bc3d944e21d416c1c1c729105a0084a4c1 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-29fuel: Enable 3rd party CI for fuel plugin onosFatih Degirmenci1-6/+12
This change creates a job that gets triggered when a new patch is sent to upstream OpenStack Gerrit project openstack/fuel-plugin-onos, running 2 jobs fuel-verify-plugin-build-master and fuel-verify-plugin-test-master. Jobs do nothing at the moment and they don't vote to OpenStack Gerrit. Change-Id: I5a935dbdedb795b0916a2759286d261431aa225d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-28fuel: Fix upstream fuel-plugin-bgpvpn repo configFatih Degirmenci1-2/+11
Change-Id: I43eb2fee806ca50a7954b7fc20d661413a57a5b6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-28fuel: Enable 3rd party CI for fuel plugin bgpvpnFatih Degirmenci1-0/+217
This change creates a job that gets triggered when a new patch is sent to upstream OpenStack Gerrit project openstack/fuel-plugin-bgpvpn, running 2 jobs fuel-verify-plugin-build-master and fuel-verify-plugin-test-master. Jobs do nothing at the moment and they don't vote to OpenStack Gerrit. Change-Id: I477db5d44cb549e82bae0b8610f01c4dd60445d2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-27fuel: Rename daily job templates file accordinglyFatih Degirmenci1-0/+0
Change-Id: I8b831269eb2d75024b2875cd4620b39cbf11feb0 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-20Add default deployment timeout for fuel jobsFedor Zhadaev1-3/+4
Add deployment timeout value, less than CI job timeout. Change-Id: I9725e7cb68dfa7b1c5a0f87d277e21af11b9ff10 Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2016-09-08Fix tacker installationMichal Skalski1-4/+7
Sometimes commands are exeucuted before last one was finished, for example here: https://build.opnfv.org/ci/job/fuel-deploy-virtual-daily-colorado/117/console Try set custom prompt to eliminate false matching and add additional sleep after git package installation. Change-Id: I0fd1b5410c7870ff2a074e050069efc3b61b0d79 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-01Add Fedor Zhadaev in recipients list for Fuel jobsFedor Zhadaev2-4/+4
Change-Id: Icb1a16f2136291239daffa0fe5932caf6d6c92dd Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2016-09-01Install tacker on controller nodeMichal Skalski1-3/+1
In no-ha scenarios opendaylight role may not be collocated with controller Change-Id: Ic2040924949e7a0286ffeba795ea102face9bc0f Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-01fuel: Enable triggers of Colorado on zte-pod1 and zte-pod3wu.zhihui1-2/+8
Enable triggers of Colorado on zte-pod1 and zte-pod3. Meanwhile, add colorado branch for zte-pod1 and zte-pod3 in Functest and Yardstick. Change-Id: I575d37356c9223935d5975a834589b33f9e7498b Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-24fuel: Rearrange slave assignments for verify jobsFatih Degirmenci1-13/+6
Change-Id: Iaf83ba8bc96189e9ef7749bd367197857c3e656a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-24fuel: Get rid of the general disabled triggerFatih Degirmenci1-1/+0
Change-Id: I8d73f588662a926dce7f0534e26f8b2945316a50 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-24fuel: Enable triggers for colorado jobsFatih Degirmenci1-22/+399
Change-Id: I4048277c1b3ff1d3181004596d059d078c06089b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-23Adjust build blocker for fuel and joidFatih Degirmenci1-2/+2
Change-Id: Id33731d5c4d4b76450598ed2f19cd2b14097d748 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-23fuel: Create jobs for ColoradoFatih Degirmenci3-3/+22
This change contains updates that impact compass and joid jobs due to updates in functest and yardstick that remove brahmaputra branch. Please note that the triggers for colorado haven't been created yet. It will be done once the basics in place. Change-Id: Id5eb8c406d34ff9f3ac59f73243034cbf49b23f0 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-18Merge "Switch MD5SUM for SHA512SUM"Aric Gardner1-1/+1
2016-08-18update zte pod info and reschedule trigger.wu.zhihui1-1/+1
Due to migration of ZTE PODs, update some info and reschedule trigger. Change-Id: Ie7040cd462c3afe3fb7f6d5b3b7b2ad0cc270196 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-17[Fuel] Swap over functest with yardstickMichael Polenchuk1-2/+2
The smoke tests (functest) should run before benchmarking ones (yardstick). Change-Id: Ida02491b728ab98b42c19bd98ab9105a6a24eb94 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-16Add timeout for fuel deploymentwuwb19891-0/+3
Change-Id: I2bc59bc8ab669e5903efa79476dd459366eb1bcd Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
2016-08-14Add zte-pod2 CI jobsJulien1-1/+81
1. CI scenario: os-odl_l2-nofeature-ha using Fuel installer 2. Adjust qtip daily job from zte-pod1 to zte-pod2 Change-Id: I3e4e1adf3a6865a4cc9be81522472c781a8aea4f Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-08-12Switch MD5SUM for SHA512SUMAric Gardner1-1/+1
This is for the CII best practices badge. Let me know if this effects your project and how we can adapt any scripts that consume this information Change-Id: I96b39181a075f381d81802b8464f632eea149549 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-08-11Use GS_BASE_PROXY URL to downloadJulien1-0/+5
For artifcats.opnfv.org is actually domain googleusercontent.com, and the website is blocked randomly. For labs in area where google.com/googleuserconent.com can not be accessed, use the proxy website. Update proxy wrong URL from build.opnfv.org/artifacts/$PROJECT to build.opnfv.org/artifacts.opnfv.org/$PROJECT Change-Id: Iabdbe18937197c79a7d0e31cb0f31f2805a3f35b Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2016-08-09Enable ovs scenario for ha baremetalBilly O'Mahony1-1/+1
JIRA: OVSNFV-34 Change-Id: I2ef756d2fac2cb7ffbcc64c549c1580785b8bb24 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
2016-08-09Add ZTE-POD3 in CIJulien1-0/+81
Add ZTE-POD3 to support whole procedure of CI, including: deployment, yardstick and funectest. Currently it supports os-nosdn-kvm-ha scenario at the initial step JIRA: PHAROS-247 Change-Id: I70dde8765696ee08339e7cada2428f8461b5f3a2 Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
2016-08-09Add BRIDGE parameter when deploy FuelJulien1-1/+1
Currently BRIDGE is hardcode with 'pxebr'. If the lab uses another bridge name, it can be use supported in releng. This parameter is supported in Fuel project already. JIRA: RELENG-134 Change-Id: Ie1df46a247eaebb1814506d555f73d03a1e5566e Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
2016-08-03fuel: Create and enable jobs for noha scenariosFatih Degirmenci1-12/+127
Change-Id: I9606adf43f23040a01963b142eee8bb3cadf1224 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-27Set schedule for fuel-os-nosdn-kvm-ha scenarioMichal Skalski1-1/+1
Change-Id: Ic912f5209c769f4aaeff36fc6517918599964c89 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-25Merge "Enable artifact signing for fuel merge jobs"Aric Gardner1-0/+38
2016-07-20Enable artifact signing for fuel merge jobsAric Gardner1-0/+38
refactored things into functions so we can choose between verify and merge Will skip verify jobs. Do we need to upload verify jobs to google storage? Change-Id: If9f677cbe38e17a22ac1c54698168383240cbc38 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2016-07-20fuel: Adjust build throttlingFatih Degirmenci1-2/+1
Change-Id: I4eab4e87e145881912fcc5570cbb04606f0514fb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-19fuel: Fix jjb escapingFatih Degirmenci1-2/+2
Change-Id: I5cc33f949b7db0c17b92a01777cb57b16a05b637 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-19Merge "fuel: Update verify jobs and introduce Multijob and verify phases"Fatih Degirmenci2-68/+273
2016-07-19fuel: Fix the log argumentFatih Degirmenci1-1/+1
Change-Id: Iae50079427b9fb264b22ba19919cb66029a085fa Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-18fuel: Upload deployment logs to artifacts.opnfv.orgFatih Degirmenci1-4/+25
Change-Id: I99bb2f621c49e50d169d4d51d0811a4531988188 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-18fuel: Update verify jobs and introduce Multijob and verify phasesFatih Degirmenci2-68/+273
This is the first step towards improved Commit Gating and this change does not impact the current way of working for Fuel. This means that no additional verification activities will be done for changes/patches coming to Gerrit for Fuel as of yet and only builds will be used for patchset verification Because of this, the new execute shells contain nothing but simple echos. Functest job hasn't been created/connected either since we don't do full commit verification. This change - switches verify job to Multijob project type since Freestyle does not support aborting all the downstream jobs when a new patch for same change comes to Gerrit for existing change. When Gerrit Trigger aborts the upstream verify job that was triggered for the previous patch of the same change, Multijob then aborts the downstream phase jobs, not leaving orphaned phase jobs behind. - creates phase jobs to do limited verification activities in order to provide more granular feedback. Earlier phases fail the patch verification in order to provide feedback for the failed phase rather than whole basic, deploy, and smoke test. Change-Id: I053db2a54020139d57d74d254a25ed0480767267 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-18reschedule on zte-pod1wu.zhihui1-1/+1
Modify the trigger time on zte-pod1 from 9:15 A.M. to 10:00 A.M.. Change-Id: I802ab718fa506ca6fc33d1de36d12c125ffca20c Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-11fuel: Enable trigger for os-odl_l2-bgpvpn-ha on baremetalFatih Degirmenci1-6/+6
Change-Id: I7e592335f156a95d72c3c184f449299b9533466b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>