summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
AgeCommit message (Collapse)AuthorFilesLines
2017-09-08installers: Use global macro 'clean-workspace'Alexandru Avadanii1-15/+0
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-08fuel-deploy.sh: Add missing quotes in 'sudo -E'Alexandru Avadanii1-1/+1
Previous commit extended the SUDO variable to include '-E', but failed to properly quote the full `sudo -E` string, resulting in "command not found" errors. Change-Id: I266aa5259f09c3605e1c5a7ad165397ce83be0bb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07fuel-deploy.sh: Preserve env vars in sudo callAlexandru Avadanii1-1/+1
SSH_KEY and other env vars set by Jenkins should be preserved when using sudo to invoke the Fuel deploy script. JIRA: FUEL-280 Change-Id: I495589a4a0519b3a5052cd5e5dc3122f9e49c215 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07Merge "cleanup: Rename ODL-L3 to ODL, drop ODL-L2"Aric Gardner3-254/+26
2017-09-07cleanup: Rename ODL-L3 to ODL, drop ODL-L2Alexandru Avadanii3-254/+26
JIRA: FUEL-279 Change-Id: Ie87ecaee17d6bb29776c3056274c59c1264762de Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07fuel, armband: Use include-raw in macrosAlexandru Avadanii1-1/+1
Using include-raw-escape inside macros adds extra curly braces, which breaks bash scripts. JIRA: FUEL-287 Change-Id: If1e5f528e76aff78d2c9b99530b72070b6731f75 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05fuel, armband: Move GS_URL to installer paramsAlexandru Avadanii4-59/+12
JIRA: FUEL-278 Change-Id: I9f5496d02097c2a6ae1db73b8a5df20b75ce728d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05fuel, armband: verify jobs: Enable virtual deployAlexandru Avadanii6-114/+38
Enable virtual deploy phase for verify multijob for both projects. Since fuel-defaults already define SSH_KEY param, drop it from individual jobs. Fuel: - drop merge jobs, which used to perform virtual deploys based on ISO created during verify job; - cleanup fuel-download-artifact (rm support for merge/verify); Armband: - while at it, remove "opnfv-build-enea-defaults", preparing for arm-build2's retirement. JIRA: FUEL-278 JIRA: FUEL-287 Change-Id: I354d72d88187e41070f44c723ccc651a0bb9b021 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Remove/disable artifact downloadAlexandru Avadanii3-8/+2
Armband no longer requires any artifact before starting a deployment. Fuel (master and stable/E) no longer requires the artifact either, but since there are some stable/danube deploy jobs on ZTE PODs, we will hold off removing <fuel-download-artifact.sh> for a while. Deprecation warning: fuel-download-artifact.sh will be removed later. JIRA: ARMBAND-295 Change-Id: I3b26733a1120306879eff83b9fac3390b3f5c7b8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Remove build jobs and scriptsAlexandru Avadanii6-403/+2
While at it, cleanup obsolete parameters specific to build ops. JIRA: FUEL-277 JIRA: FUEL-278 Change-Id: Id45dfe6855c95c425ac9aa771519d450ba9da3b5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Drop armband-deploy.shAlexandru Avadanii1-13/+21
Since armband-deploy.sh is merely a clone of fuel-deploy.sh, which we recently synced, drop armband-deploy.sh in favor of an universal fuel-deploy.sh, which will handle deploys for both projects. Change-Id: I653b4e67d9246951a284671e0cf559394661a1ad Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Sync deploy scripts, cleanupAlexandru Avadanii1-49/+59
Run shellcheck on touched files, fix minor warnings. Prepare for upcoming changes: - ISO artifact will be obsoleted (later); - Fuel and Armband should use the same deploy script; Fuel: - rename securedlab local copy to lab-config; Armband: - drop deploy cache, Danube jobs can work without it, master/next jobs no longer use it; - move TMPDIR to $HOME (was in $WORKSPACE), so it's persistent; Change-Id: I9f8c47f9ca50de3c53c62ca6a08df0cc3a73abd3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-31Add 2 fuel danube jobs on zte-pod1 and one nosdn-nofeature job on fuel masterxudan1-30/+104
Dovetail release is based on opnfv danube release, so it needs to be tested on deployment of danube branch. Add 2 fuel danube jobs on zte-pod1: 1. os-odl_l2-bgpvpn-ha triggerd on Monday, Wednesday and Friday 2am. 2. os-nosdn-nofeature-ha triggered on Saturday 2am. Add 1 nosdn-nofeature job on fuel master. JIRA: DOVETAIL-481 Change-Id: I6b419e84b0aad3e6212e26c8a8a1ea5bd02610b8 Signed-off-by: xudan <xudan16@huawei.com>
2017-08-24fuel, armband: Re-enable CI master timed triggersAlexandru Avadanii1-3/+3
Re-enable baremetal scenario CI for Fuel scenarios: - os-nosdn-nofeature-ha-baremetal - os-odl_l3-nofeature-ha-baremetal (to be renamed to just odl later) - os-nosdn-ovs-ha-baremetal (Fuel only, no Armband equiv yet) Change-Id: I9b3b929366a3657c45181632ed46936cb15c3cba Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-17fuel-deploy.sh: source local_env from securedlabAlexandru Avadanii1-2/+9
While at it, revert BRIDGE default value to "pxebr" after recent Fuel rework was merged in [1]. This mechanism will be leveraged by [2]. Partially reverts commit: 68195fd [1] https://gerrit.opnfv.org/gerrit/#/c/38855/ [2] https://gerrit.opnfv.org/gerrit/#/c/39521/ Change-Id: Ic61487384029a7d16547a5035a1f1b34ecbea8d4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-02Send 'Build Failed' Emails to Jenkins AdminsTrevor Bramwell3-0/+6
Adds the 'email-jenkins-admins-on-build-failures' publishers for jobs which have overridden the default list of publishers. This will provide Jenkins administrators a time-series list of build failures to assist in debugging issues with the master and agents. JIRA: RELENG-257 Change-Id: I28f12877562113c9197ed6429ee2a7f3cdbaf346 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-01Merge "fuel: s/danube/euphrates/, disable triggers"Aric Gardner4-130/+130
2017-08-01fuel: s/danube/euphrates/, disable triggersAlexandru Avadanii4-130/+130
While at it, also rename some leftover "danube" reference for the armband project. Change-Id: Icddcf19ca9dfd7880ae2f78ed690988bded25abd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-01fuel, armband: Drop "-H" arg, fix bridge defaultAlexandru Avadanii1-1/+1
MCP does not have a self-test healtcheck suite, similar to old Fuel, so we dropped the "-H" deploy argument (which used to disable healtcheck autorun). Adjust deploy command to reflect this installer change. While at it, fix leftover "pxebr" default installer parameter, which we missed in the previous commit where we changed the default only in releng deploy scripts. Change-Id: I55e1f5cad17687bdf304fbf04d67366dd32ed42a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-01fuel, armband: Temporarily remove pxebr deploy argAlexandru Avadanii1-1/+1
Fuel and implicitly Armband switched to a newer format for parsing the "-B" deploy arg, used to pass bridge(s) information. For now, we will default to ",,,", which is equivalent to not setting any default value for any of the 4 possible bridges. NOTE: Armband overrides this on a per-pod basis, since bridge information is POD specific in our lab. Change-Id: I3635b0eb6f8233cf99022a97d5642f2e49197e3b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18[fuel]reschedule fuel daily job on zte podszhihui wu1-192/+3
- delete fuel ci jobs on zte-pod2 - according to Euphrates scenario fuel supports[1], disable kvm scenario on zte-pod3, and enable ovs scenario on zte-pod1. [1] https://wiki.opnfv.org/display/SWREL/Euphrates+Scenario+Status Change-Id: Ia84e11d52583a477a105a00691e07eb765f1fae3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-13Merge "[fuel/mcp] Enable ready scenarios back"Fatih Degirmenci1-3/+3
2017-07-12dovetail: dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenarioMatthewLi1-0/+27
JIRA: RELENG-277 dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenario weekly, every Sunday ZTE-pod1 od-odl_l2-nofeature-ha scenario already exists, see the time trigger "0 2 * * *" dovetail-fuel zte-pod1 job already exists Change-Id: Ic870a78623873ce2f717477dcb09f18794651899 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-07-12[fuel/mcp] Enable ready scenarios backMichael Polenchuk1-3/+3
* os-nosdn-ovs-noha (dpdk) * os-odl_l2-nofeature-noha * os-odl_l3-nofeature-noha Change-Id: Ic18f13ea4b23ab5bacb5418a6756bedf9e5fc242 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-19Merge "[fuel] Disable iso download for master branch"Fatih Degirmenci2-5/+10
2017-06-16[fuel] Disable iso download for master branchMichael Polenchuk2-5/+10
Change-Id: I142961d06b312cc5f43a18f25410236fa67cbcb1 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-15Fuel: adds retrieving OS credentials for MCPAndrii Ostapenko1-0/+4
Adjusts retrieving OS credentials for MCP (master branch in fuel repo) Also removes legacy admin_ip and public_ip retrieving. Change-Id: Ib7781a3701c7281b781872b18150332b94298260 Signed-off-by: Andrii Ostapenko <aostapenko@mirantis.com>
2017-06-03Merge "[fuel] Disable all master jobs except nofeature"Fatih Degirmenci1-17/+17
2017-05-30[fuel] Turn off upload action & checkoutMichael Polenchuk2-1/+2
* turn off non-existent artifacts upload * use latest commit in master since there is no iso/image for mcp based deployments yet Change-Id: Ib92680ef9838fc2e11d61c806dfd9728514c364e Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-29[fuel] Disable iso build for master branchMichael Polenchuk1-0/+8
Change-Id: Id523ea140cb8fad92126f2ecb178d3b182ff022f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-25[fuel] Disable all master jobs except nofeatureMichael Polenchuk1-17/+17
In order to bring in mcp based deployments, turn off for awhile all master jobs except nofeature one. Change-Id: I4aa27ab0407e3f32caeba72323ad9511d981a6b8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-21dovetail: conditional steps added to fuel-bgpvpn scenarioMatthewLi1-99/+23
JIRA: DOVETAIL-432 1, only run against fuel os-odl_l2-bgpvpn-ha scenario this can reduce the CI/pod time resource dovetail test cases by now (refstack, ha, ipv6, bgpvpn) 2, the conditional steps have been successed tested on compass to remove the introduce of https://gerrit.opnfv.org/gerrit/#/c/34327/ conditonal steps look more simple and understandable Change-Id: I315a789160b8173274b1c1ef916073ced7d5e91b Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-05dovetail: add a suitable job used for vpn test case validation in CIMatthewLi1-2/+100
JIRA: DOVETAIL-424 the principle is 1) not disturb the original work flow 2) after vpn testcases integrated into dovetail, i.e, CVP tool, there is a need to find a POD has bgpvpn feature which is suitable to validate bgp vpn test cases in proposed_tests. 3) only add dovetail proposed_tests into bgpvpn scenario deploy-test loop to reduce unnecessary time consuming. 4) further, should consider to add dovetail job in os-nosdn-nofeature loop Change-Id: Iad6ae1e44470c8e9d49a25980d292ba3871bd6a4 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-23fuel: remove the trigger on zte pod2wu.zhihui1-1/+1
zte pod2 will be provided to daisy to run CI job. Change-Id: I9e0eee1bab4a949f6434850dcbd9624ac6476344 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-21[qtip]refactor validate jobwu.zhihui1-1/+1
- only keep the builder "qtip-validate-deploy", remove the others - add scenario info in qtip-validate-jobs.yaml - add some print info in validate-deploy.sh - a related modification in fuel jjb file Change-Id: Iff884f273eea5c6aac64e09cfffcedc7481b47e9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-20Merge "[fuel]reschedule on ZTE POD3"Fatih Degirmenci1-1/+1
2017-03-20KVMFORNFV: Enabling triggers for kvmfornfv scenarios.Navya1-4/+4
This patch includes resource allocation/time-slots for kvmfornfv os-nosdn-kvm_ovs_dpdk-ha, os-nosdn-kvm_ovs_dpdk_bar-ha, os-nosdn-kvm_ovs_dpdk-noha and os-nosdn-kvm_ovs_dpdk_bar-noha scenarios on Danube branch. Change-Id: Ib8250075a43dec60be398ce9ee4152b97b7c6796 Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-03-20[fuel]reschedule on ZTE POD3wu.zhihui1-1/+1
Change-Id: I52bc5bc4c8207b71ebad038c584874adebad3ec5 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-17fuel: fix daily build without properties fileAlexandru Avadanii1-1/+3
For the first time the daily build is ran, the properties file for the latest ISO built is not present. JIRA: FUEL-262 Change-Id: I842668bfde4c84cd3ba31571df274633ae238a90 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-17Merge "[fuel] Disable onos runs for danube"Fatih Degirmenci1-4/+4
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras2-0/+3
Previously, if an upstream patchset contained a change for a file listed in 'forbidden-file-paths' the job would not be triggered. This is not desirable since such a patchset may contain important changes so we enable the 'disable-strict-forbidden-file-verification' option which triggers the job unless the patchset only contains changes for the files listed in 'forbidden-file-paths'. Note: The diff was generated using the following script: for i in $(grep -l -r forbidden-file-paths *);do sed -i "s/\(^.*\)forbidden-file-paths/\1disable-strict-forbidden-file-verification: \'true\'\n&/" $i; done Please double check that the changes look sensible for each team's project. Change-Id: Ifa86d3a39b36375b2fd52b449e29c8dc757499b4 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-15[fuel] Disable onos runs for danubeMichael Polenchuk1-4/+4
Change-Id: I8b1a4291cd1e0167aad3e9341bb95c42f338caeb Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-14Enable Danube JobsAric Gardner4-4/+4
Here are the projects that were branched: I will double check against this list that these changes make sense and that no one is missing as I go forward. wiki page of participating projects, and their jobs: https://wiki.opnfv.org/display/SWREL/Milestone+Compliance+for+Danube apex - already enabled armband - done availability - already enabled barometer - done bottlenecks - already enabled compass4nfv - done copper - already enabled daisy - (not participating -- keep jobs disabled?) doctor - already enabled domino - already enabled fds - N/A fuel - done functest - already enabled ipv6 - already enabled joid - done kvmfornfv - already enabled models - already enabled multisite - done netready - NOT DONE opera - NOT DONE opnfvdocs - done orchestra - Not participating onosfw - done ovsnfv - done parser - N/A promise - already enabled qtip - already enabled sdnvpn - N/A snaps - done securityscanning - N/A sfc - N/A storperf - done ves - already enabled vswitchperf - already enabled yardstick - already enabled Change-Id: I803662faf05c8554cfe7fa5f85da9521f72b03ff Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-06fuel: Fix build blockers between daily and weekly jobsFatih Degirmenci1-0/+3
Change-Id: I465de0d1e7fec4f8e9b03762adff0049a22f05ef Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-02functest: Create functest-weekly prototype jobsFatih Degirmenci8-306/+213
Fuel weekly jobs are created, calling fuel-deploy and functest weekly jobs. Experimental scripts have also been removed. Change-Id: If492443e26248731df35e6b6cb5239fb2ae9a86a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-02-17KVMFORNFV : Enabling triggers for Kvmfornfv NO-HA scenarios.Navya1-2/+44
This patch includes implementation of jobs and triggers for kvmfornfv os-nosdn-kvm_ovs_dpdk-noha and os-nosdn-kvm_ovs_dpdk_bar-noha scenarios. Change-Id: I1e0afd460f42a69b4618b73d032cd4e899e9cb54 Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-02-09[fuel] Align master jobs scheduleMichael Polenchuk1-10/+10
- activate baremetal runs - disable onos related runs (plugin ain't ready yet) Change-Id: I89c9cc0a9eafeff698112cdfb4654f4f7852d014 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-07KVMFORNFV: Enabling triggers for kvm OVS+DPDK+BAROMETER scenario.Navya1-0/+42
This patch includes implementation of jobs and triggers for kvmfornfv ovs+dpdk+barometer HA scenario test case. Change-Id: I1b8e4a660f18b479631ea30df80d66c0d75a1bcd Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU7-21/+13
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>
2017-01-31Merge "KVMFORNFV: Implementing triggers for kvmfornfv test scenarios."Fatih Degirmenci1-2/+84