summaryrefslogtreecommitdiffstats
path: root/jjb/armband
AgeCommit message (Collapse)AuthorFilesLines
2018-03-01[fuel, armband] Fix broken regex in dovetail condAlexandru Avadanii1-1/+1
Fixes: af7df31 Change-Id: I13e20591ce82792a12a514ae62e3b3dd4ed50e65 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-02-28Merge "[armband] Add os-nosdn-ovs-ha scenario"Fatih Degirmenci1-2/+21
2018-02-27[armband] Add os-nosdn-ovs-ha scenarioCristina Pauna1-2/+21
Added triggers for os-nosdn-ovs-ha scenario and reshuffled the other jobs To be merged after https://gerrit.opnfv.org/gerrit/#/c/52491/ is merged JIRA: ARMBAND-343 Change-Id: I35614637f1f4aac459dbb3d49be4bdd33174ca92 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-02-23change Dovetail CI jobs on Fuelxudan1-13/+53
1. run test suite default on Fuel on Tuesday for HA scenario 2. run test suite proposed_tests on Fuel on Monday, Wednesday and Friday for HA scenario JIRA: DOVETAIL-613 Change-Id: I67ef5d7dddfee01817b933ae3eeccf704924f9b0 Signed-off-by: xudan <xudan16@huawei.com>
2018-01-18Disable the triggers for euphrates in armbandCristina Pauna1-4/+4
Change-Id: I738b4eb712bc85ee3327a9be55f4990000ff28c8 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-12-20Enable dovetail daily jobs on Fuel/armband Euphrates and masterxudan1-27/+14
Dovetail only ran against fuel danube release before. It needs to run against fuel euphrates and master because Dovetail team is planning the 2nd release which is based on OPNFV Euphrates. Change-Id: I2c39d53a16ca6dbf8eda31943f09896cf7ee35c6 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-17fuel, armband: Limit dovetail to Danube branchAlexandru Avadanii1-34/+62
While at it, limit functest & yardstick to master and stable/euphrates, trying to work around missing job references in Danube scenarios on ZTE PODs. Change-Id: I89de0c3b3c914e1ad735980a995e5cae625238be Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-16fuel, armband: verify jobs: Fix race conditionAlexandru Avadanii1-0/+1
On rare occasions, Fuel/Armband verify jobs can get into a deadlock on nodes with exactly 2 executors. Add a build blocker to prevent such scenarios. Change-Id: Ia00d88df0dd033264eaeb66e27188c62514b74d8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-10Final Yamllint FixesTrevor Bramwell1-0/+2
Fixes some final yamllint issues introduced by recent patchsets in apex and armband. JIRA: RELENG-254 Change-Id: I26b45d737f06c215413e29c92031d14e23967506 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-10-05armband: Fix Fuel collect job referenceAlexandru Avadanii1-9/+16
Armband uses different 'pod' naming/labeling, so instead of Fuel's 'baremetal' reference, we have 'armband-baremetal', leading to unresolved job references for the recently added log collection. Fix that by adding a new 'deploy-type' variable, which corresponds to either 'baremetal' or 'virtual', aligning with Fuel naming. While at it, slightly refactor our pod definitions to use the new var. Change-Id: Ie84c40a5c208072da2e4766233a844f2670d4f87 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-10-03fuel, armband: Add post mortem log collectionAlexandru Avadanii1-0/+10
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-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-20fuel, armband: Enable Euphrates jobs & triggersAlexandru Avadanii2-7/+8
Change-Id: Id47f61c950e1cc036e32e8efe2e2b55193e7c49e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-18Fix Yamllint violations for jjb/armbandTrevor Bramwell2-331/+334
JIRA: RELENG-254 Change-Id: I1c658e0af40d2973301b33f760d7fd420e80f253 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-12Use old functest container for armband CI runsMorgan Richomme1-1/+1
Functest Alpine not supported yet for aarch64 architecture. Task for Armband project but until support could be done, the traditionnal docker shall be used for armband tests usage of alpine leads to errors [1] [1]: https://build.opnfv.org/ci/view/functest/job/functest-fuel-armband-baremetal-daily-master/214/console Change-Id: I48e05a0c7cd97989784fd97348bd331425c4877e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-07Merge "armband: Re-enable baremetal scenario triggers"Aric Gardner1-2/+2
2017-09-07Merge "cleanup: Rename ODL-L3 to ODL, drop ODL-L2"Aric Gardner1-8/+8
2017-09-07cleanup: Rename ODL-L3 to ODL, drop ODL-L2Alexandru Avadanii1-8/+8
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 Avadanii2-30/+6
JIRA: FUEL-278 Change-Id: I9f5496d02097c2a6ae1db73b8a5df20b75ce728d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05fuel, armband: verify jobs: Enable virtual deployAlexandru Avadanii2-14/+18
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-04armband: Re-enable baremetal scenario triggersAlexandru Avadanii1-3/+3
Cleanup commit c0ba4a5 removed the timed triggers for Armband baremetal scenarios, bring them back. Change-Id: I8b8d8d366ecf95594e26f30c1392b26692504021 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Remove/disable artifact downloadAlexandru Avadanii2-79/+0
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-357/+0
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 Avadanii2-123/+1
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-53/+48
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-31cleanup of obsolete non-CI arm PODsCharalampos Kominos1-376/+12
Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca
2017-08-25Pod name changes in ARMBANDDelia Popescu1-36/+36
arm-pod3 pod name is changed to arm-pod5 arm-virtual1 pod name is changed to arm-virtual2 Change-Id: I6746fcdd52bbed5b6a61147d0abc5db64876dc97 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-08-24armband-deploy: Cleanup obsolete POD renamingAlexandru Avadanii1-7/+0
arm-pod4 and arm-pod3 are now both obsolete, so we no longer need the ad-hoc translation of the slave name in the deploy script. Change-Id: Ib81d0574507f8c0e8b513cdc00b35124eaaeeb68 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-24fuel, armband: Re-enable CI master timed triggersAlexandru Avadanii1-2/+2
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-1/+1
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 Bramwell2-0/+2
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 Gardner2-4/+4
2017-08-01fuel: s/danube/euphrates/, disable triggersAlexandru Avadanii2-4/+4
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-01Merge "fuel, armband: Temporarily remove pxebr deploy arg"Fatih Degirmenci1-1/+1
2017-08-01Merge "Armband: Disable CI triggers for stable branch"Aric Gardner1-66/+66
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-26Armband: Disable CI triggers for stable branchAlexandru Avadanii1-66/+66
- rename "danube" to "euphrates"; - disable "euphrates", to be enabled when ready; Change-Id: Id4932986e19c664b28749d0b6926d825ea632250 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-19armband-deploy: rm translation of virtual POD nameAlexandru Avadanii1-4/+0
Old Fuel deploy scripts required the virtual POD name to be virtual_kvm, which needed to be translated at CI level after source enviroment specific configuration. New Fuel deploy scripts no longer need this translation, so drop it. Change-Id: I18164e77895bbb03a1ca7798e3c0ba78c34d1c65 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18Revert "armband-deploy.sh: Inherit env vars for sudo"Alexandru Avadanii1-1/+1
Using sudo triggers a chain of dependencies in our infrastructure, ranging from issues cleaning up the Jenkins workspace to deploy-time permission issues. As it turns out, cleaning all looses ends after that change is not a trivial task, and the remaining work outweights the benefits of using sudo in the first place. The original motivation for using sudo was a superposition of: - hardcoded check for running as root in Fuel's ci/deploy.sh; - the ability to install packages on the hosts via apt-get/yum; - the ability to spawn VMs using virt-manager; All of the above can be mitigated by imposing a series of restrictions for the Jenkins slave / jump server workstation and the jenkins user: - check for sudo rights instead of running as root user; - explicitly use sudo for package installation and/or system-level changes; - add jenkins user to "kvm" and "libvirtd" groups; So, revert using sudo when calling the deploy script, and limit sudo actions to package installation in Armband's deploy script. To compensate running as a regular user, a series of small changes is required in Armband project itself, together with the appropiate Jenkins slave user configuration on the machines running this script. This reverts commit 67d8bac7b2a97531ad465f275747b3dc455d4fe4. Change-Id: I88df6db1a43b93b7314ceca53d353f9000f15153 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: Inherit env vars for sudoAlexandru Avadanii1-1/+1
Previous commit adding sudo for ci/deploy.sh call breaks Armband deploys, since ci/deploy.sh relies on $WORKSPACE env var being set. Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: sudo ci/deploy.shAlexandru Avadanii1-1/+1
New MCP deploy scripts have a hard requirement on running as root. Bring back sudo for the `ci/deploy.sh` invocation, aligning with Fuel@OPNFV. NOTE: This can be later avoided/reverted if we can guarantee the "jenkins" user has sudo rights, even without a tty present. Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-11armband: Disable ISO actions for MCPAlexandru Avadanii4-8/+27
Sync with changes for Fuel@OPNFV targeting master branch (MCP): - disable ISO build for master branch; - turn off upload action & checkout; - add retrieving OS credentials for MCP; - disable ISO download for master branch; Change-Id: I11eacfad7ee1f738119e17c2e63c3d92707f8e1f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-06-12Reschedule armband jobsCristina Pauna1-14/+14
Removed the master jobs until mcp is functional on arm. Rescheduled the danube jobs 8 hours apart. Change-Id: I90037a76a50d61c76c13cd68fa5926e1a73e88e6 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-05-21dovetail: conditional steps added to armpodMatthewLi1-14/+19
JIRA: DOVETAIL-432 1, only run against os-(nosdn-odl_l2)-(nofeature-bgpvpn)-ha scenario this can reduce the CI/pod time resource dovetail test cases by now (refstack, ha, ipv6, bgpvpn) 2, this has been tested on compass pod, and works well Change-Id: I1bcf8165d5fcc93c78b47cbd23e0c07f19b01189 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-26Rename arm-pod3-2 to arm-pod4Cristina Pauna2-20/+20
Arm-pod3-2 is a second jenkins slave for arm-pod3. This slave is arm while the old jenkins slave is x86. Fatih requested for this slave to be renamed to arm-pod4 instead of arm-pod3-2, even if it's a slave for an existing pod JIRA: ARMBAND-252 Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-04-21Merge "dovetail: Change CI jobs to run test suite "proposed_tests" instead ↵Jun Li1-1/+1
of "debug""
2017-04-19dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug"MatthewLi1-1/+1
JIRA: DOVETAIL-397 now, team decide to use proposed_tests suite instead of debug Change-Id: Iff8ec0b32a24e51bc2d2536605c9867b94f8921c Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-04-18Make arm-virtual1 pod not available for CI jobsAlexandru Nemes1-7/+80
Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>