summaryrefslogtreecommitdiffstats
path: root/jjb/armband
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-10-14Armband: Move lab-config to OPNFV securedlabAlexandru Avadanii1-1/+1
This depends on: - jenkins-enea ssh access to OPNFV gerrit; - master and stable/colorado securedlab definitions for arm-pod* [1]; [1] https://gerrit.opnfv.org/gerrit/#/c/23159/ JIRA: ARMBAND-149 Change-Id: Ic9a2e232027636694ffd441fe5203cb06975f137 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.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-10Fix the jenkins jobscristinapauna1-5/+5
Some of the jobs were programmed at the same time This fix sets the jobs 8 hours apart Change-Id: I13463b8a00df67519e2e2b8e333b4c625f1e9d8b Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-10-05Set the jobs 8 hours apartcristinapauna1-9/+9
Modified the cron jobs to be 8 hours apart instead of 4 Change-Id: I670811901c7403f81812b1d51cdbaf46904e878c Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-09-19armband: new job schedulePaul Vaduva1-10/+10
Change-Id: I1d5dca9f7cc2c54e90af454a503e77486be361ef Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-09armband: deploy: upload logs to GSAlexandru Avadanii1-2/+23
Closes-bug: ARMBAND-72 Change-Id: I6c5a3e6ce4c320bf42f02b290a0137f5b892ad7f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-08armband: enable concurrency and adjust throttle paramsPaul Vaduva1-3/+3
Change-Id: I72e061ae57ccdd06520dbf93cdf146390bfc0591 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-07armband: fix job naming issuePaul Vaduva1-47/+47
We were refering jobs in other projects (mainly fuel) because the ci pods were named jost baremetal and virtual Change-Id: I9d02e2e61fe666f4ef46c1eb62f41da065e46059 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-07Merge "armband: Deploy triggers yardstick tests for CI pods."Fatih Degirmenci1-0/+11
2016-09-07armband: Deploy triggers yardstick tests for CI pods.Paul Vaduva1-0/+11
Change-Id: I8b011aafd333c78eaeed59040476b1325e2dc56c Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-06armband: triggers modified to run twice a day each branchPaul Vaduva1-10/+10
Change-Id: I7fcd24852a0d1aecdfacf5f3cb1dfd49fb711916 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-09-05armband: Fix file handler in lab-config test -eAlexandru Avadanii1-1/+1
Previous change adding lab-config/.../local_env support introduced an issue, in the form of `test -e file:///path/to/local_env`, which is not supported. Change-Id: I1566b41765329f18523cfc506c9112b6694a8317 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-01armband: Fix default params for labeled podsAlexandru Avadanii2-3/+10
After previous change introducing the usage of node labels for Armband CI deploy jobs, we discovered that the old params were not applied to labeled pods. To complicate things, we had different DEFAULT_BRIDGE params for each CI pod, which contradicts the Jenkins templating paradigm. Since we already have a mechanism in place for overriding env vars based on the POD we are running against, move both <DEPLOY_TIMEOUT> and <DEFAULT_BRIDGE> params to our local_env, which is sourced by the deploy script and can apply POD specific configuration. Add missing LAB_CONFIG_URL to newly added baremetal and virtual defaults for Armband. While at it, also replace "brahmaputra" comments with "colorado". v2 -> v3: Source local_env before using DEFAULT_BRIDGE in <armband-deploy.sh>. Previously, we (Armband) sourced this file in our <ci/deploy.sh> [1], which will be dropped after this change is merged. [1] https://git.opnfv.org/cgit/armband/tree/ci/deploy.sh#n24 Change-Id: Ibafea25b3df8c3118ce05e3f40934c8e8b9c8dcd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-01armband: Use labels for pods and schedule jobsPaul Vaduva1-27/+93
Change-Id: Idb3cabe46082b8c0a160cbc156abe0fe8cafbc4a Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-08-23armband: switched from brahma to coloradoPaul Vaduva2-42/+45
Switched from brahmaputra branches jobs to colorado and add installer info. ARMBAND-54 Change-Id: Ib6389427e4d67135d8096127ba6101684342a613 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-08-22armband: 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. Change-Id: Ic744c779ddc670cc2b9bcea111d28fd97f76af67 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-20armband: make submodules-init before clean_cacheAlexandru Avadanii1-0/+3
Armband daily build is broken because clean_cache.sh is not present in Armband repo before calling `make submodules-init` (clean_cache.sh in Armband's ci dir is a softlink pointing to clean_cache.sh in Fuel@OPNFV git submodule's ci dir). Change-Id: I10cddd697c1bd624c5a13a4826e3a202acfbb7df Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-19armband: print hostname informationAlexandru Avadanii2-0/+4
Change-Id: I41c785e8f5bb57fe56d8292a9a62dc0b1af70d21 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-19armband: project: inherit {installer}-defaultsAlexandru Avadanii1-1/+8
While at it, also do the following: - revert previous addition of "armband-defaults" in opnfv/installer-params.yml, no longer needed; - remove Josep from failure mail recipient list, armband@enea.com is already forwarded to all of us; - add CACHE_DIRECTORY variable for enabling build cache; TODO (left for future rework): - rename build and deploy jobs to include installer info, e.g. "armband-fuel-build-...", preparing for more installers; - move "installer" parameter to fuel jobs only instead of having it as a global param; Change-Id: I2e6cc43484576bd6569605a7c9e60f6fe64f435b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-11armband build.sh: Use caching, same as Fuel buildAlexandru Avadanii1-2/+39
Minor refresh/update of the ISO build script, enabling caching and passing REVSTATE & other args to build.sh in the same way Fuel@OPNFV does. Change-Id: I79a84f1fdc4fa086df6e00485c5d22960400bbaf Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-11arm-pod1: Connected triggers to the new scenariosPaul Vaduva1-4/+52
Change-Id: I5bd68df8d0ee12944f8f89638da816f82421481a Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-08-10arm-pod1: Updated triggers for arm-pod1 scenariosPaul Vaduva1-2/+17
Change-Id: Ib23c9a46ee7e57d7e86e0620855e0bf740fbf3a4 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-07-08Merge "armband: adding pod2, and disabling jobs for pod1"Ryota Mibu1-5/+14
2016-07-08armband: adding pod2, and disabling jobs for pod1Paul Vaduva1-5/+14
Change-Id: Ia089620ea8c5657a347afee2071f2e36ca12fd1a Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-07-08Cleanup slave parametersFatih Degirmenci1-1/+1
This is the first step towards having alignment of the job structure, applying commit gating and use of labels for all installer jobs. Apart from the above, it also - puts all CI baremetal and virtual PODs together - gets rid of use of slaves directly for CI baremetal and virtual PODs - switches labels for all CI baremetal and virtual PODs using below labels {installer}-baremetal {installer}-virtual - puts all CI build slaves together and switches to labels - except huawei-build - puts all none-CI PODs together Please note that this change does not impact the overall job structure. Change-Id: I2d8d15799a57fe7e063d39f81b96d19c218b100e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-07-07armband: properly enable ISO cache storageJosep Puigdemont2-2/+12
Change-Id: Ic1fe94ff18189647f6a27e9e9b15bddb6569e3b3 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-07-07scenarios: adding three new scenarios to the ci jobs.Paul Vaduva1-0/+6
Change-Id: Ib5462ab47d46698e7216983f25af07e6440a192a Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-07-01arm-pod2: Adding arm-pod2 to jenkinsPaul Vaduva1-0/+9
Change-Id: I127d4634448f32e6bf9df53c6dc441cd63d5f505 Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
2016-06-30Add Project Option to Throttle PropertyTrevor Bramwell2-0/+3
This is a required field for JJB > 1.4 Change-Id: Ifb6f5d4b3a28f2d85f546151ca9aca4a4061f3ef Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-06-15Tie all verify/merge/build to opnfv-build-ubuntuFatih Degirmenci1-1/+1
We reconfigured centos build server now and it is important to know which jobs require centos and which ones ubuntu. The machines with ubuntu were labelled with opnfv-build previously, preventing us from keeping track of which projects require what OS. This tries to solve that. Change-Id: I1fb2912ec49f5bc2781853e500508d9992d59fbb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-06-08armband: updated lab-config URLJosep Puigdemont1-4/+4
Change-Id: I317321bbaf1e74419b9508c6da3039b95d9d399d Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-26compass: Switch using labels instead of slavesFatih Degirmenci1-1/+1
This change switches compass jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Compass jobs can roam on any pod that is labelled with compass-baremetal and compass-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - huawei-virtual label is renamed to compass-virtual since we still have installer specific slaves, not company specific. In future the job might end up on a none-Huawei slave too. - huawei-pod2 is not a CI POD so it is left in none-CI PODs section. - block relations and triggers might require fine tuning and left to compass project to decide how to adjust Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. The OS to deploy (trusty or centos7) needs to be solved in a separate patch in a sustainable way. Change-Id: I22bfaff36640667b6764f0e303a3286af0eb41b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-24armband: schedule deploy jobs earlierJosep Puigdemont1-1/+1
Change-Id: Ib555f05777cd301851c10f139457a5babf1b7f5b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-17armband, arm-pod1: reschedule deploy jobJosep Puigdemont1-1/+1
Change-Id: I497213685fa4954977c75537b1cd6ad1c52ab312 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-17download/deploy scripts: several updatesJosep Puigdemont2-26/+28
The download script will now use gsutils if they are available, or fall back to curl as before. In general, use curl -f, which will exit with an error code if the server gave an error, instead of writing a file with the HTML error page. Change-Id: Ib24e7803ec38b20a8879cd1509a0cb7b512fee61 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-12arm-pod1: Trigger daily brahmaputra CI jobs.Alexandru Avadanii1-2/+2
Enable only odl_l2 HA for now, due to limited resources / high demand for manual testing on AArch64. Change-Id: Iea0f42aa722c024879d30139701d7e68f37bac55 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-05-11armband-deploy.sh: temporarily export missing environment variablesJosep Puigdemont1-0/+3
Change-Id: I76b0aadb735eefc13bfe9364b7426d0a28aa9b96 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>