summaryrefslogtreecommitdiffstats
path: root/jjb/fuel
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10fuel: Drop obsolete DEPLOY_TIMEOUTAlexandru Avadanii2-8/+5
While at it, add missing DEPLOY_SCENARIO for Fuel log collection job. This will add some more useful info to each job description text. Change-Id: I4936013dc23ed696ad4a526961b23031753aed2a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-08fuel-deploy: Only pass ISO arg for Danube branchAlexandru Avadanii1-10/+11
Post-Danube branches (master, stable/euphrates) do not use an ISO argument, so stop passing it. While at it, fix some minor coding style and a wrong scenario default. Change-Id: I1878f80e685efc2da07dedd1d2c05c51933da2ec Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-05fuel-deploy.sh: Drop local_env mechanismAlexandru Avadanii1-7/+0
Now that Fuel supports reading bridge names from IDF / determine them based on IP address matching to PDF network, we can drop the mechanism for sourcing "local_env". Change-Id: Ib9fe0ddb2b54b9c5c037a3451cf049323ae7a864 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-03fuel, armband: Add post mortem log collectionAlexandru Avadanii2-0/+88
Debugging test suite failures is often hard without physical access to the POD, and even then the environment might be automatically redeployed before successfully debugging the problem. So, collect all contents of </var/log> from all cluster nodes (including the Salt Master node) after all test suites have been executed as part of the CI job. Change-Id: Ie5e2526c74f4ed21be9c76c6f6101eb3f434be36 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-03Fix Yamllint violations for jjb/fuelTrevor Bramwell4-711/+716
JIRA: RELENG-254 Change-Id: I685f8ffd22e9083ac79655ff490ca0cc5d825c9d Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-03fuel, armband: Hard set dovetail stream to masterAlexandru Avadanii1-1/+1
Fuel and Armband Euphrates jobs are always marked as failed, even when at least one sub-job passes, due to missing Dovetail job for that respective stream. Change-Id: Ibcdde75d70111e82f8498114deabaf7808cc6d74 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-28Modify the timed trigger on zte-pod1zhihui wu1-3/+3
- disable timed trigger for danube job - enable timed trigger for master job Change-Id: I89ec92b368cc0e37ba1be5c49c12feda93dec33c Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-09-21fuel-deploy.sh: Fix unbound variable for stable/EAlexandru Avadanii1-1/+1
Change-Id: I5a8f02944e346319d6c5d4fca10ddc54503e82d7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-20fuel, armband: Enable Euphrates jobs & triggersAlexandru Avadanii4-10/+10
Change-Id: Id47f61c950e1cc036e32e8efe2e2b55193e7c49e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-16fuel-deploy.sh: mv lab-config repo to TMPDIRAlexandru Avadanii1-3/+5
Change-Id: Id942f7d2e6e1bbbdb9b15a7c6951ca2f0ba437db Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-15Merge "Disable fuel/mcp ci jobs on zte-pod3"Serena Feng1-1/+1
2017-09-14Disable fuel/mcp ci jobs on zte-pod3Alex Yang1-1/+1
The ci jobs on zte-pod3 failed many days. Disable the mcp ci jobs on it. And the pod will be used for another installer. Change-Id: Id8eab7424db6dc0eac97fa0d85c93f2ef98442e3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-12Add danube scenario "os-odl_l2-bgpvpn-ha" in fuel pod zte-pod1xudan1-1/+14
JIRA: DOVETAIL-500 Change-Id: Iab4af16ecb31b183a375d03a9fc6066e00ecaec1 Signed-off-by: xudan <xudan16@huawei.com>
2017-09-12Disable mcp ci job on zte-pod1zhihui wu1-1/+1
Avoid the conflicts between fuel deployment and mcp deployment, disable mcp ci job on zte-pod1 temporarily. Change-Id: I9161ae0b5eb2d6a4631e6bb1c7bb22ed340d09af Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
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