summaryrefslogtreecommitdiffstats
path: root/jjb/armband
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-03-29Set the jobs 4 hours apartCristina Pauna1-9/+9
A non-ci pod is made ci-pod for danube release, therefore this patch modifies the cron jobs to be 4 hours apart instead of 8 This commit should be merged after the lable of the pods are changed Request: OPNFV Helpdesk #39128 Change-Id: Ic88180d01d9ea03d03b79355cd78891ad612c59b Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-16Add jobs to use the aarch64 jenkins slaveCristina Pauna2-0/+78
arm-pod3-2 is an aarch64 jenkins slave for the same POD as the existing x86 jenkins slave arm-pod3. This commit adds jobs so we can deploy the POD and run functest from the aarch64 jenkins slave. These jobs are non-ci JIRA: ARMBAND-241 Change-Id: Ie3b808a641e44649c02f3b75c83d79119217fdfe Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-15jjb: Set disable-strict-forbidden-file-verification to 'true'Markos Chandras1-0/+1
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-15Modify triggers for armband danube jobsCristina Pauna1-12/+12
This commit rebalances the nr of runs between master and danube branch for CI jobs JIRA: ARMBAND-238 Change-Id: I541ddf3974680096d503829b279cb26ab76577bc Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-14Enable Danube JobsAric Gardner2-2/+2
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-02-08Update new slave tagCristina Pauna2-6/+6
The jenkins slave arm-build2 was retagged from opnfv-build-arm to opnfv-build-enea. This change was made to avoid confusion, as this slave is an x86 machine building an iso that is used by armband Change-Id: Iac4e9bf635c128070c32818874626a81a28e6cf7 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-04armband: Fix log collection by not setting errexitAlexandru Avadanii1-1/+0
Fuel and Armband deploy scripts trap internal errors and call exit in the trap handler, so the releng wrapper exists before collecting all deploy logs when shell option "errexit" is set. JIRA: ARMBAND-217 Change-Id: Icb1e3277c3e137abb3225a2b9a0b4269eaf08fc6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU6-13/+10
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-24Armband: Add sha256 hash for artifact ISOAlexandru Avadanii1-0/+1
JIRA: ARMBAND-208 Change-Id: I96cb3479d17fa5d16e02e65c81c65e7fbdf120df Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-20[macro] property logrotateRyota MIBU3-0/+5
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-17Merge "Remove colorado jobs and create danube jobs"Fatih Degirmenci3-42/+50
2017-01-09Remove colorado jobs and create danube jobsFatih Degirmenci3-42/+50
Danube stream for the projects with daily jobs is disabled. Danube stream for the projects without daily jobs is left as enabled as there will be no changes coming to danube branch until branch is created. Dovetail, Apex and Fuel jobs have not been updated yet. Change-Id: Ice39826c8f829157fa864370557837290838f634 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-21Rebalance master vs. colorado scenario triggerscristinapauna1-10/+10
JIRA: ARMBAND-181 With Colorado release out, we need more jobs on master branch than on colorado branch Change-Id: Ic068a121567381ecfb527599ec2af530c1a8e93e Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-12-19fix ci jobs (daily && no branch param)Ryota MIBU2-0/+4
Change-Id: Iad856adf625a56c2f5c366fb414746d1e9e16691 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU3-22/+6
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-08dovetail/arm: ci loop job added to debug code bugsMatthewLi1-0/+17
JIRA: DOVETAIL-153 1.based on https://gerrit.opnfv.org/gerrit/#/c/25681/, however, this has to be triggered manually, not convinient for debugging, and may affect daily ci loops 2.not used for release criteria or compliance, only to debug the dovetail tool bugs with arm pods Change-Id: Ide35f50129f30f4c8d7b7f50d52f9fa1d35cac69 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-01Restrict Gerrit Triggers to OPNFV Gerrit ServerTrevor Bramwell1-0/+1
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-30armband: Enable deploy-cacheAlexandru Avadanii1-1/+14
This enables the mechanism added in [1]. Armband just added support for caching deploy artifacts, like bootstraps and target images, which take a lot of time at each deploy to be built, considering it requires a cross-debootstrap via qemu-user-static and binfmt. For easier setup, the deploy cache depends on the local ISO storage mechanism (/iso_mount/opnfv_ci), and reuses the same storage pool. To enable deploy caching, just create the deploy-cache directory at: /iso_mount/opnfv_ci/<branch>/deploy-cache JIRA: ARMBAND-172 [1] https://gerrit.opnfv.org/gerrit/#/c/25191 Change-Id: I161205a87f13cd78e79b96bfc37a5f68aba093cc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-27Add jobs for ARM virtual PODcristinapauna2-7/+11
Pod virtual1 was added in the ENEA-ARM lab This commit adds the jobs for it JIRA: ARMBAND-162 Change-Id: Icaa798691f5ff60a58ae083eb1c366170c464b92 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-11-02Armband: Verify: Removed upstream folder from forbidden file pathsAndrei Varvara1-2/+0
"forbidden-file-paths" prevents verify from running for patches that alter that dir so it was necessary to remove "upstream" ANT configuration completely Change-Id: I6c1f00fe500548695284ad1e947cb35bdce14c3e Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
2016-11-01Armband: Verify: Fix build params, tree pathsAlexandru Avadanii1-4/+4
Armband tree has ci, patches and upstream as folders. Updated the releng armband-verify-jobs.yml with the right paths. While replicating Fuel@OPNFV behavior, one default set of parameters was left pointing to x86 build defaults (opnfv-build-defaults), instead of opnfv-build-arm-defaults. JIRA: ARMBAND-99 Change-Id: I4a0ec09b6188ef4c7f06d2f0c0ddcb13ca9ad72f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
2016-10-31Armband: Verify: Don't enable virtual-deploy yetAlexandru Avadanii2-8/+5
While at it, add missing exec flag to one sh script, and cleanup some obsolete debug logs. Change-Id: Ib805e41177571f6413ed744edae405449c86412e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-31Merge "Add verify jobs for Armband"Aric Gardner3-43/+283
2016-10-24Add verify jobs for ArmbandAndrei Varvara3-43/+283
This patch is similar to what releng/jjb/fuel does for verifying build and deploy. JIRA: ARMBAND-99 Change-Id: Ic6524e921acf458b55fbbb3453638c5fc30db15c Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
2016-10-18Set arm-pod-3 as non-ci PODcristinapauna1-0/+70
arm-pod-3 will be removed as CI pod and this commit add triggers to make it a non-ci pod Change-Id: Ice16b8d32c553a059a2c9885fd801a736a59a14d Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-10-14Merge "Armband: Move lab-config to OPNFV securedlab"Aric Gardner1-1/+1
2016-10-14Add sfc scenarios on ARMcristinapauna1-2/+55
Added old l2 sfc scenarios for both ha and noha on master branch JIRA: ARMBAND-144 Change-Id: Ie28f9f9b32abe82b9f596d5b7d6336e2df425eb4 Signed-off-by: cristinapauna <cristina.pauna@enea.com>