releng/builder.git
7 years agoMerge "Add log server url to emails"
Andrew Grimberg [Thu, 2 Feb 2017 17:09:20 +0000 (17:09 +0000)]
Merge "Add log server url to emails"

7 years agoAdd genius to netvirt integration dependencies 47/51347/2
Sam Hague [Thu, 2 Feb 2017 14:50:46 +0000 (09:50 -0500)]
Add genius to netvirt integration dependencies

Change-Id: I0ff7fb8cb876e1b4f46e0af6c4ec26140bb1244f
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMake controller jobs use 16GB nodes 44/51344/2
Robert Varga [Thu, 2 Feb 2017 13:23:24 +0000 (14:23 +0100)]
Make controller jobs use 16GB nodes

This is temporary workaround to attempt to get progress
on merge jobs, which are currently running out of OS RAM.

Change-Id: I81c371324b67e7b33f16cbc32ac88715be1c899f
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoArchive hs_err_*.log files 31/51331/1
Robert Varga [Thu, 2 Feb 2017 09:12:18 +0000 (10:12 +0100)]
Archive hs_err_*.log files

If the JVM runs out of host memory, or otherwise fails,
it will leave a hs_err_pidXXXX.log file. Archive these
for analysis.

Change-Id: Ic3929afaacd607588a54d4daa3d136beaaa3fee4
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoAdd log server url to emails 21/51321/1
Thanh Ha [Thu, 2 Feb 2017 05:09:30 +0000 (00:09 -0500)]
Add log server url to emails

When sending emails about build failures we should be providing the log
server url rather than the jenkins build url.

Trello: https://trello.com/c/xAA51pNj
Change-Id: Ie566607e5b8f76f32bd9ebaa2c1f909a3b2c4369
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Make orphaned stacks cleanup script run every 30 minutes"
Anil Belur [Thu, 2 Feb 2017 03:45:34 +0000 (03:45 +0000)]
Merge "Make orphaned stacks cleanup script run every 30 minutes"

7 years agoMake orphaned stacks cleanup script run every 30 minutes 20/51320/1
Thanh Ha [Thu, 2 Feb 2017 03:35:22 +0000 (22:35 -0500)]
Make orphaned stacks cleanup script run every 30 minutes

Change-Id: I2df11c1a622b09991b08d346001cee68e578dba6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoSet timeout parameter back in openstack command 19/51319/1
Thanh Ha [Thu, 2 Feb 2017 01:43:17 +0000 (20:43 -0500)]
Set timeout parameter back in openstack command

Change-Id: Ie0938edb6159d5b30a4edf6e84801616a00021d0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoImprove Heat implementation error handling 76/51276/9
Anil Belur [Tue, 31 Jan 2017 21:36:19 +0000 (07:36 +1000)]
Improve Heat implementation error handling

Using Heat has increased our ability to spawn 33% more robot builders
but we're now hitting some issues with Rackspace that we will need to
the error handling of our scripts for when Rackspace returns a status
such as Error: None, or CREATE_IN_PROGRESS due to stacks taking longer
than expected to spawn. Rackspace has told us we cannot delete stacks
that are in CREATE_IN_PROGRESS or DELETE_IN_PROGRESS states and that we
should exit our code carefully.

This patch makes the following changes:

* Wait and query stack create status every minute for 15 minutes
* Check status is CREATE_IN_PROGRESS within timeout
* Continue with the job once stack create returns CREATE_COMPLETE
* Fail job on CREATE_FAILED and cleanup stack
* Notify publisher not delete stack when CREATE_IN_PROGRESS
  or DELETE_IN_PROGRESS
* Improve delete-stale-stacks to search for inactive stacks not being
  used by either releng or sandbox siloes and remove them.
* Delete stacks job will now run every hour to cleanup orphaned systems

Change-Id: Ifdc927f601c07e519cdc502a2fb56fca138c659e
Also-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Enhance Hwvtep templates for integration project to use the image 'Ubuntu...
Thanh Ha [Wed, 1 Feb 2017 15:20:16 +0000 (15:20 +0000)]
Merge "Enhance Hwvtep templates for integration project to use the image 'Ubuntu 14.04 - mininet-ovs-25 - 20170130-0414'"

7 years agoUpdate jenkins.ini.example 84/51284/1
Vratko Polak [Wed, 1 Feb 2017 09:32:03 +0000 (10:32 +0100)]
Update jenkins.ini.example

+ Put actual Sandbox URL there.
+ Comments instead fake values for user and password.

Change-Id: Ia4e8de870d6be0e9b6f5d91cfbb7981d3ef2f1e1
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoEnhance Hwvtep templates for integration project to use the image 'Ubuntu 14.04 ... 79/51279/3
Dhevendran Kulandaivel [Wed, 1 Feb 2017 06:12:07 +0000 (11:42 +0530)]
Enhance Hwvtep templates for integration project to use the image 'Ubuntu 14.04 - mininet-ovs-25 - 20170130-0414'

Change-Id: I7b9635146e58ce666c98b8ba1eb61244d7815235
Signed-off-by: Dhevendran Kulandaivel <dhevendran.k@tcs.com>
7 years agoFix typo in dependecies.log 75/51275/1
Jamo Luhrsen [Tue, 31 Jan 2017 20:33:18 +0000 (12:33 -0800)]
Fix typo in dependecies.log

Change-Id: I88c3e8c6e7ae911d8510974389767aeffd1a6bd0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd COE jobs to jenkins 72/51272/1
Faseela K [Tue, 31 Jan 2017 18:47:34 +0000 (00:17 +0530)]
Add COE jobs to jenkins

Change-Id: Ib8941df857f56143d8cf63fef4de3556dcbc9c34
Signed-off-by: Faseela K <faseela.k@ericsson.com>
7 years agoMerge "make upstream jobs run daily"
Thanh Ha [Tue, 31 Jan 2017 18:37:19 +0000 (18:37 +0000)]
Merge "make upstream jobs run daily"

7 years agoMerge "Update spectrometer webapp deploy job"
Jamo Luhrsen [Tue, 31 Jan 2017 18:26:34 +0000 (18:26 +0000)]
Merge "Update spectrometer webapp deploy job"

7 years agoUpdate spectrometer webapp deploy job 69/51269/1
Thanh Ha [Tue, 31 Jan 2017 18:07:20 +0000 (13:07 -0500)]
Update spectrometer webapp deploy job

Some changes to spectrometer-web made the job no longer able to
successfully deploy the web component. This update bumps the
spectrometer node version to 6.9.4 and also adds a few tweaks to help
Spectrometer's deploy job work a little better.

Change-Id: Id07109b9247bf353b03e7a0c91abe27caee10bd3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd Hwvtep templates for integration project 06/50406/12
Dhevendran Kulandaivel [Fri, 13 Jan 2017 09:56:27 +0000 (15:26 +0530)]
Add Hwvtep templates for integration project

This templates creates three type of vms (ODL VMs, Openstack VMs and
Tools System VMs).

Change-Id: Iab252bc2402ba55372339498ce8591371047368c
Signed-off-by: Dhevendran Kulandaivel <dhevendran.k@tcs.com>
7 years agoMerge "Remove bgpcep-verify-python-carbon"
Thanh Ha [Tue, 31 Jan 2017 15:37:17 +0000 (15:37 +0000)]
Merge "Remove bgpcep-verify-python-carbon"

7 years agoAdd federation jobs to Jenkins 48/51248/1
Guy Sela [Tue, 31 Jan 2017 14:13:28 +0000 (16:13 +0200)]
Add federation jobs to Jenkins

Change-Id: If0f9f72f72e5608cbd5b3a8465db1989bb2e46a0
Signed-off-by: Guy Sela <guy.sela@hpe.com>
7 years agoRemove bgpcep-verify-python-carbon 44/51244/1
Vratko Polak [Tue, 31 Jan 2017 13:38:54 +0000 (14:38 +0100)]
Remove bgpcep-verify-python-carbon

Pcepy (the Python part of Bgpcep) is already removed from Carbon.

Change-Id: Iab5e3d91f5c309a96ca7beacd4fad5c4feb4dfed
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoRemove integration- from distribution jobs 14/51214/1
Vratko Polak [Tue, 31 Jan 2017 08:52:22 +0000 (09:52 +0100)]
Remove integration- from distribution jobs

The main motivation is that distribution-verify-{stream}
was trying to trigger integration-distribution-deploy-{stream}
which was already renamed.
This also updates comments, renames the yaml file, but leaves
integration-distribution-test-{stream} as that is more int/test than int/dist.

Change-Id: Ie3a2bb40dd8d07c6b4f47dd91e82a26328fb5851
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoMerge "Fix publisher definition in the incorrect spot"
Anil Belur [Tue, 31 Jan 2017 07:13:47 +0000 (07:13 +0000)]
Merge "Fix publisher definition in the incorrect spot"

7 years agoMerge "De-template project-name in JJB"
Anil Belur [Tue, 31 Jan 2017 07:11:44 +0000 (07:11 +0000)]
Merge "De-template project-name in JJB"

7 years agoMerge "Update new images built for changes #50992 and #50976"
Thanh Ha [Mon, 30 Jan 2017 20:49:01 +0000 (20:49 +0000)]
Merge "Update new images built for changes #50992 and #50976"

7 years agoFix jenkins doc after latest changes 06/51206/1
Luis Gomez [Mon, 30 Jan 2017 17:43:56 +0000 (09:43 -0800)]
Fix jenkins doc after latest changes

Change-Id: I090c9774bbed321bc94c9a84065585a8eff28a28
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoUpdate new images built for changes #50992 and #50976 67/51167/3
Anil Belur [Mon, 30 Jan 2017 07:21:28 +0000 (17:21 +1000)]
Update new images built for changes #50992 and #50976

Change-Id: Ic6b998cb9f769dd84647cae07c78b2e73699f9b9
Also-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix publisher definition in the incorrect spot 86/51186/1
Thanh Ha [Mon, 30 Jan 2017 15:25:24 +0000 (10:25 -0500)]
Fix publisher definition in the incorrect spot

Patch Id05a75f86788ddfd62098d013e841eec40d439a4 was incorrect and this
patch fixes that.

Change-Id: I7d0ca4101373100d94400205197dbbeb55a416f9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Make message more clear"
Vratko Polák [Mon, 30 Jan 2017 13:53:38 +0000 (13:53 +0000)]
Merge "Make message more clear"

7 years agoRename image name format to suit Heat implementation 92/50992/3
Anil Belur [Wed, 25 Jan 2017 06:39:59 +0000 (16:39 +1000)]
Rename image name format to suit Heat implementation

Heat template scripts require the format <distro> - <name> - <date-stamp>
since the Heat template derives the name from the mid section of our
image names. Having multiple words between hypens in the name causes scripting
issues.

Change-Id: I0712086b0a765eaffdf2bf751ec3cf4daef7962c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoRefactor packer var files to extend the use for different envs 95/50795/6
Guy Belotzerkovsky [Mon, 23 Jan 2017 09:42:39 +0000 (11:42 +0200)]
Refactor packer var files to extend the use for different envs

Change-Id: Icdb55915b9ce99f1b4d5e3c27a67ca523feb20ef
Signed-off-by: Guy Belotzerkovsky <guy@hpe.com>
7 years agoFix csit list variable expression 65/51165/1
Luis Gomez [Sun, 29 Jan 2017 23:49:07 +0000 (15:49 -0800)]
Fix csit list variable expression

Change-Id: I9d173b06d06f2e8a523ac789a8139348c21eed9b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agomake upstream jobs run daily 64/51164/1
Jamo Luhrsen [Sun, 29 Jan 2017 22:41:27 +0000 (14:41 -0800)]
make upstream jobs run daily

Change-Id: I4518f3ff559e7df857ff5a163acb4d498866f3dc
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Auto Update CSIT Jobs to run"
Luis Gomez [Sun, 29 Jan 2017 20:01:58 +0000 (20:01 +0000)]
Merge "Auto Update CSIT Jobs to run"

7 years agoDo not let failure conditions of changes.py abort deployment script 60/51160/1
Jamo Luhrsen [Sun, 29 Jan 2017 00:47:58 +0000 (16:47 -0800)]
Do not let failure conditions of changes.py abort deployment script

Change-Id: Iad83d47bb73048feff4b992a8781466f175a2c32
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix trigger for builder-update-csit-tests job 47/51147/1
Marcus G K Williams [Fri, 27 Jan 2017 18:41:22 +0000 (10:41 -0800)]
Fix trigger for builder-update-csit-tests job

Change-Id: I7e87c37224d904a1bc85f0f2b493acbbc7bac377
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoAuto Update CSIT Jobs to run 03/51103/5
jenkins-sandbox [Fri, 27 Jan 2017 18:23:03 +0000 (18:23 +0000)]
Auto Update CSIT Jobs to run

Change-Id: I40b908171baecd3162b7088372a76d321e3c75ab
Signed-off-by: jenkins-sandbox <jenkins-sandbox@opendaylight.org>
7 years agoFix builder-update-csit-tests 44/51144/1
Marcus G K Williams [Fri, 27 Jan 2017 18:19:13 +0000 (10:19 -0800)]
Fix builder-update-csit-tests

Change-Id: Idfddff0e79bfa9caf97da418a2af555e56041443
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMerge "Add job to update auto update CSIT Tests"
Jamo Luhrsen [Fri, 27 Jan 2017 17:57:44 +0000 (17:57 +0000)]
Merge "Add job to update auto update CSIT Tests"

7 years agoAdd job to update auto update CSIT Tests 02/51102/5
Marcus G K Williams [Fri, 27 Jan 2017 02:11:23 +0000 (18:11 -0800)]
Add job to update auto update CSIT Tests

This job adds auto update funtionality
for csit tests run by integration-distribution-test
jobs.

- Adds a variable for csit blacklist
- Add job named builder-update-csit-tests
- Adds explanitory comments to each section
- Fixed issue with default variable values
  in include-raw-integration-list-jobs.sh

Change-Id: I7363c91949e957281feda1976ac49aa976fae611
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMerge "Make builder jobs use a machine with less RAM"
Anil Belur [Fri, 27 Jan 2017 13:27:56 +0000 (13:27 +0000)]
Merge "Make builder jobs use a machine with less RAM"

7 years agoDe-template project-name in JJB 13/51113/1
srisankethu [Fri, 27 Jan 2017 12:10:37 +0000 (17:40 +0530)]
De-template project-name in JJB

Changed project-name to packaging to make the jobs packaging specfic

Change-Id: Ic05749c242997b1ba4af71cab09782bcaedbb557
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
7 years agoMerge "Revert gerrit-patch macro back to git review"
Luis Gomez [Fri, 27 Jan 2017 07:38:01 +0000 (07:38 +0000)]
Merge "Revert gerrit-patch macro back to git review"

7 years agoRevert gerrit-patch macro back to git review 01/51101/1
Marcus G K Williams [Fri, 27 Jan 2017 02:07:38 +0000 (18:07 -0800)]
Revert gerrit-patch macro back to git review

Use git review for pushing gerrit
patches from jenkins. This was
changed due to absence of
git review on some nodes. It is
changed back with a note warning
that not all jenkins nodes have
git review installed.

Change-Id: I43e37b909d26b4940a24132713b5145aa60ea628
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMerge "Archiving dependencies.log"
Thanh Ha [Fri, 27 Jan 2017 01:24:34 +0000 (01:24 +0000)]
Merge "Archiving dependencies.log"

7 years agoMerge "Make distribution test job run daily for active branches"
Jamo Luhrsen [Fri, 27 Jan 2017 00:47:44 +0000 (00:47 +0000)]
Merge "Make distribution test job run daily for active branches"

7 years agoMerge "Update builder docs after removing project distribution job"
Jamo Luhrsen [Fri, 27 Jan 2017 00:47:02 +0000 (00:47 +0000)]
Merge "Update builder docs after removing project distribution job"

7 years agoMake distribution test job run daily for active branches 31/51031/7
Luis Gomez [Wed, 25 Jan 2017 21:43:21 +0000 (13:43 -0800)]
Make distribution test job run daily for active branches

And weekly for non active.

- Distribution test will contain all csit and run daily.
- This can be merged after we remove projects distribution job.

Change-Id: Ic30beb0e32cab9f47733ceb8b18f078374ba32a0
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoMerge "Remove project distribution job"
Jamo Luhrsen [Fri, 27 Jan 2017 00:28:45 +0000 (00:28 +0000)]
Merge "Remove project distribution job"

7 years agoUpdate builder docs after removing project distribution job 95/51095/2
Luis Gomez [Thu, 26 Jan 2017 23:24:33 +0000 (15:24 -0800)]
Update builder docs after removing project distribution job

Change-Id: I09f41c6a59ad3459f060f7b8808322070f9de8b5
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoRemove project distribution job 44/51044/3
Luis Gomez [Wed, 25 Jan 2017 23:15:35 +0000 (15:15 -0800)]
Remove project distribution job

- Remove the project distribution job.
- Remove the dependencies on the distribution job.
- Remove daily triggers, new distribution test will be daily.
- This has to be merged after new global distribution job.

Change-Id: If663d4577c93644a89554206a7a6a27fe45faf05
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoAdd step in all projects merge job to trigger distribution merge 53/51053/5
Luis Gomez [Thu, 26 Jan 2017 01:21:41 +0000 (17:21 -0800)]
Add step in all projects merge job to trigger distribution merge

- distribution merge will be the only job uploading distros to Nexus.
- Also changing the distribution jobs name to just distribution.

Change-Id: I0bfb0b1c8fd800094d1323edd95fab8f84e80d27
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
7 years agoUpdate git commmand in opendaylight-infra-push-gerrit-patch macro 97/51097/1
Marcus G K Williams [Thu, 26 Jan 2017 23:53:08 +0000 (15:53 -0800)]
Update git commmand in opendaylight-infra-push-gerrit-patch macro

Change-Id: I222c3258d40c2d9b8ca18b4215198cca8877e78c
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoAdd integration-replace-block-text macro 55/51055/12
Marcus G K Williams [Thu, 26 Jan 2017 01:48:07 +0000 (17:48 -0800)]
Add integration-replace-block-text macro

Part of refactor of distribution jobs
workflow. This auto updates
csit run list for integration-test-jobs.yaml

Moved storage of tests to run from integration-test-jobs
to variables in releng-defaults.
Variables are named: csit-list-carbon,
csit-list-boron, csit-list-beryllium

Change-Id: Ib989ce0cc1b206596c8b3cc4f069e5c714309f7f
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
7 years agoMake message more clear 93/51093/1
Thanh Ha [Thu, 26 Jan 2017 22:43:40 +0000 (14:43 -0800)]
Make message more clear

Change-Id: Ib10b7dc474b8411419d8e809e2d87c8341b60125
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoenable filtering CSIT jobs 54/51054/8
Matt Welch [Thu, 26 Jan 2017 01:45:54 +0000 (17:45 -0800)]
enable filtering CSIT jobs

This patch will enable filtering the list of CSIT jobs that DO
NOT match a supplied set of strings and DO match a supplied stream.
Streams correspond to development cycles like beryllium, boron,
carbon, etc.

Change-Id: Ia32164f97b9b506f7635e7a4bd6bd9e4ef005e7f
Signed-off-by: Matt Welch <matt.welch@intel.com>
7 years agoArchiving dependencies.log 88/51088/1
Jamo Luhrsen [Thu, 26 Jan 2017 19:33:16 +0000 (11:33 -0800)]
Archiving dependencies.log

this is to make it easy to grab from a standard jenkins URL (e.g. lastSuccessfulArtifacts)
so that other tools can access it more easily

Change-Id: Id05a75f86788ddfd62098d013e841eec40d439a4
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge changes from topic 'packer'
Andrew Grimberg [Thu, 26 Jan 2017 15:38:22 +0000 (15:38 +0000)]
Merge changes from topic 'packer'

* changes:
  Update java-builder csit image
  Move HBase/Cassandra/ElasticSearch to packer

7 years agoUpdate java-builder csit image 76/51076/1
Thanh Ha [Thu, 26 Jan 2017 15:26:09 +0000 (07:26 -0800)]
Update java-builder csit image

Change-Id: I3c4dc7bed003e25905c432ce3fc64fb8ee6ccff6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Change iotdm-csit-basic to install odl-onem2mall-iotdm"
Vratko Polák [Thu, 26 Jan 2017 09:25:31 +0000 (09:25 +0000)]
Merge "Change iotdm-csit-basic to install odl-onem2mall-iotdm"

7 years agoMerge "Add a macro opendaylight-infra-push-gerrit-patch"
Luis Gomez [Thu, 26 Jan 2017 01:02:18 +0000 (01:02 +0000)]
Merge "Add a macro opendaylight-infra-push-gerrit-patch"

7 years agoMove HBase/Cassandra/ElasticSearch to packer 51/51051/1
Thanh Ha [Thu, 26 Jan 2017 00:26:07 +0000 (16:26 -0800)]
Move HBase/Cassandra/ElasticSearch to packer

These wgets cause the spinup script to take long to run so move to
packer.

Change-Id: I624b7f5c3f023353c1029b7d34eff7635b741ab3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoReduce verbosity of shiplogs 25/50825/3
Thanh Ha [Mon, 23 Jan 2017 14:57:09 +0000 (09:57 -0500)]
Reduce verbosity of shiplogs

The end of a build there's a lot of download details from wget. This
patch aims to reduce that unnecessary verbosity. We will still get
error messages / success messages just not the download status of wget.

Change-Id: I10b9cffc6b74abc6fe2dd7f90924498b9f99197f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd a macro opendaylight-infra-push-gerrit-patch 43/51043/5
Thanh Ha [Wed, 25 Jan 2017 23:13:27 +0000 (15:13 -0800)]
Add a macro opendaylight-infra-push-gerrit-patch

This macro allows projects to push an automated patch to their project
repo via Jenkins.

This script requires the following JJB variables to be passed in:
     {project}       Gerrit project-name
     {gerrit-topic}  Gerrit topic, please make a unique topic.
     {gerrit-commit-message}  Commit message to assign to commit.

Change-Id: I97a4eea5196ee512e33ee17cfe24307c04704ec9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "move spinup scripts installation to image creation"
Thanh Ha [Wed, 25 Jan 2017 22:34:59 +0000 (22:34 +0000)]
Merge "move spinup scripts installation to image creation"

7 years agoMerge "Revert "Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status""
Thanh Ha [Wed, 25 Jan 2017 17:01:01 +0000 (17:01 +0000)]
Merge "Revert "Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status""

7 years agoRevert "Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status" 17/51017/1
Thanh Ha [Wed, 25 Jan 2017 16:56:59 +0000 (16:56 +0000)]
Revert "Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status"

This patch causes us to have many uncleaned stacks in Rackspace.

This reverts commit c4e686122e32211b16769c0cf8292794d9350666.

Change-Id: I5458e96f4212ee517f3bf360186863716482e8f4
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoChange iotdm-csit-basic to install odl-onem2mall-iotdm 12/51012/1
Tomas Janciga [Wed, 25 Jan 2017 15:12:24 +0000 (07:12 -0800)]
Change iotdm-csit-basic to install odl-onem2mall-iotdm

Install odl-onem2mall-iotdm feature instead of odl-iotdm-onem2m.
Feature odl-onem2mall-iotdm includes all features implemented
in iotdm.

Change-Id: I528d494ff2b6a4d744a91ff9e6e4354f0a7bb52d
Signed-off-by: Tomas Janciga <tjanciga@cisco.com>
7 years agoMerge "Update images names used with HOT and CSIT jobs."
Thanh Ha [Wed, 25 Jan 2017 07:11:22 +0000 (07:11 +0000)]
Merge "Update images names used with HOT and CSIT jobs."

7 years agoOnly delete stack at end of job if CREATE_[COMPLETE|FAILED] status 90/50990/3
Thanh Ha [Wed, 25 Jan 2017 05:02:52 +0000 (21:02 -0800)]
Only delete stack at end of job if CREATE_[COMPLETE|FAILED] status

This patch will make the post build cleanup script only clear
stacks with CREATE_COMPLETE and CREATE_FAILED statuses.

Let the periodic cleanup job clear CREATE_FAILED and DELETE_FAILED
statuses. This is to help Rackspace troubleshoot our orchestration
stacks getting stuck in Rackspace.

Change-Id: I6fe75fe380508533bd440297e32bdddce2a7cc71
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRename images to not use periods 76/50976/1
Thanh Ha [Tue, 24 Jan 2017 14:44:27 +0000 (09:44 -0500)]
Rename images to not use periods

Our Heat template derives the hostname from the mid section of our image
names. Having periods in the name causes scripts to think we're
connecting to a fqdn rather than just a hostname so rename the scripts
to not use periods.

Change-Id: Ief69400533acbf8fca09ccd434e0f47238db1893
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove matrix system type 75/50975/1
Thanh Ha [Tue, 24 Jan 2017 14:39:08 +0000 (09:39 -0500)]
Remove matrix system type

Matrix systems have not existed in our builders for a long time now.
Let's clean this up.

Change-Id: Ib472bf85643b5f1e7fb0baebf8e4968d82912240
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove autorelease spinup script 74/50974/1
Thanh Ha [Tue, 24 Jan 2017 14:37:12 +0000 (09:37 -0500)]
Remove autorelease spinup script

The spinup script was useful in the past when we were in the public
cloud and needed to utilize a 2nd storage disk. In the private cloud it
doesn't really do anything.

Change-Id: I574cb4d68cea39a0696729d53340ade963963317
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoOverride csit verify stream for Iotdm 37/50937/2
Vratko Polak [Tue, 24 Jan 2017 12:14:45 +0000 (13:14 +0100)]
Override csit verify stream for Iotdm

Change-Id: Ia632b3d3e649e56cb634b4f8318365c05644fe15
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoMake stream for CSIT verify configurable 36/50936/2
Vratko Polak [Tue, 24 Jan 2017 11:20:17 +0000 (12:20 +0100)]
Make stream for CSIT verify configurable

Change-Id: I48ed352fbe6937fb9f675298741f9b037e01b3d9
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agomove spinup scripts installation to image creation 96/50796/2
Guy Belotzerkovsky [Mon, 23 Jan 2017 09:51:33 +0000 (11:51 +0200)]
move spinup scripts installation to image creation

Change-Id: Iefd20051a9dbd6ea3930c100d772add43bd2e9b7
Signed-off-by: Guy Belotzerkovsky <guy@hpe.com>
7 years agoUpdate images names used with HOT and CSIT jobs. 48/50648/5
Anil Belur [Thu, 19 Jan 2017 07:52:07 +0000 (17:52 +1000)]
Update images names used with HOT and CSIT jobs.

Change-Id: I232826fe2d1ec038cb78a82f5a3c648793589a8c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Add puppet-opendaylight test job"
Thanh Ha [Mon, 23 Jan 2017 16:13:39 +0000 (16:13 +0000)]
Merge "Add puppet-opendaylight test job"

7 years agoMake builder jobs use a machine with less RAM 29/50829/1
Thanh Ha [Mon, 23 Jan 2017 15:00:49 +0000 (10:00 -0500)]
Make builder jobs use a machine with less RAM

I'm pretty sure we don't need 8GB for the builder jobs to run. Let's
find out.

Change-Id: I0c8ec45f6694f187fb28dae7087995ecec473f74
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Remove depricated bgp "all" feature for carbon bgpclustering-ha jobs"
Vratko Polák [Mon, 23 Jan 2017 14:10:02 +0000 (14:10 +0000)]
Merge "Remove depricated bgp "all" feature for carbon bgpclustering-ha jobs"

7 years agoMerge "Make distribution-check job logic more strict"
Anil Belur [Mon, 23 Jan 2017 13:29:48 +0000 (13:29 +0000)]
Merge "Make distribution-check job logic more strict"

7 years agofix packer jobs syntax 04/50804/1
Guy Belotzerkovsky [Mon, 23 Jan 2017 12:00:49 +0000 (14:00 +0200)]
fix packer jobs syntax

Change-Id: I1a00700bbdf88c698a881f573f891c263f0b4a5c
Signed-off-by: Guy Belotzerkovsky <guy@hpe.com>
7 years agoRemove depricated bgp "all" feature for carbon bgpclustering-ha jobs 11/50711/3
Peter Gubka [Fri, 20 Jan 2017 12:00:53 +0000 (13:00 +0100)]
Remove depricated bgp "all" feature for carbon bgpclustering-ha jobs

Also clustered netconf topology is removed because it is not used in carbon

Change-Id: Id3bf98e4d2b0a14ff9cb1829051bc81b3acd37c9
Signed-off-by: Peter Gubka <pgubka@cisco.com>
7 years agoAdd puppet-opendaylight test job 53/49853/4
srisankethu [Thu, 29 Dec 2016 11:13:21 +0000 (16:43 +0530)]
Add puppet-opendaylight test job

Installs deps and runs lint/rspec/beaker sanity tests.

Change-Id: I7b8488cbf54844618e6bd4ae1a566e8a19a844f1
Also-by: Daniel Farrell <dfarrell@redhat.com>
Signed-off-by: srisankethu <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRemove unused variables passed to packer validate 65/50765/2
Anil Belur [Sat, 21 Jan 2017 08:10:29 +0000 (18:10 +1000)]
Remove unused variables passed to packer validate

Change-Id: I64ee0b66630f4c705a9589cf41bc4c5321f6d6b0
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoadd ability to run stateful or transparent jobs alone and give all three (+transparen... 46/50446/6
Jamo Luhrsen [Fri, 13 Jan 2017 18:03:11 +0000 (10:03 -0800)]
add ability to run stateful or transparent jobs alone and give all three (+transparent) to the current keyword

Change-Id: Iaefee6f3961eb7b79dbc433f9ea30f6c13a80b47
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agorefactor to support one template for both 1/3 node-openstack 46/49146/17
Sandra Biton [Wed, 30 Nov 2016 15:36:45 +0000 (17:36 +0200)]
refactor to support one template for both 1/3 node-openstack

Change-Id: Ie030b6c5963a00d6f7ae6cc9978fcc9a97542bd6
Signed-off-by: Sandra Biton <sandra.biton@hpe.com>
7 years agoMerge "Improve vm ip search code to be more generic"
Jamo Luhrsen [Fri, 20 Jan 2017 18:48:32 +0000 (18:48 +0000)]
Merge "Improve vm ip search code to be more generic"

7 years agoMerge "Remove JClouds code"
Jamo Luhrsen [Fri, 20 Jan 2017 18:48:28 +0000 (18:48 +0000)]
Merge "Remove JClouds code"

7 years agoAdd job to cleanup stale stacks 35/50635/4
Thanh Ha [Wed, 18 Jan 2017 17:35:01 +0000 (12:35 -0500)]
Add job to cleanup stale stacks

Sometimes a job might fail to delete the heat stack at the end of the
job for an unknown reason. Add a cleanup job to run periodically and
remove these stacks if found.

This job is currently designed to run every 6 hrs.

Change-Id: Ib486c108acc15cd58bc12cc473e934d25cb38457
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate java-builder image to pull in jq 37/50737/1
Thanh Ha [Fri, 20 Jan 2017 18:31:41 +0000 (13:31 -0500)]
Update java-builder image to pull in jq

The 20170120 has the handy jq command so bump the version to get it.

Change-Id: Ib1e9cd570b1e3f7a672379b1680554fb123225a4
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Prepend to vm names"
Andrew Grimberg [Fri, 20 Jan 2017 18:29:27 +0000 (18:29 +0000)]
Merge "Prepend  to vm names"

7 years agoMerge "adding change discovery tool to run and display merged patches from the runnin...
Jamo Luhrsen [Fri, 20 Jan 2017 18:27:39 +0000 (18:27 +0000)]
Merge "adding change discovery tool to run and display merged patches from the running distribution"

7 years agoPrepend to vm names 21/50621/2
Thanh Ha [Wed, 18 Jan 2017 15:54:01 +0000 (10:54 -0500)]
Prepend  to vm names

Change-Id: I0f2535ce3c27ea6bcf496abd0ca8777d331e7faf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoImprove vm ip search code to be more generic 29/50729/5
Thanh Ha [Fri, 20 Jan 2017 16:26:52 +0000 (11:26 -0500)]
Improve vm ip search code to be more generic

Change-Id: Ic695203315c422d84cf6fcb168e849edca4156c8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove JClouds code 28/50728/4
Thanh Ha [Fri, 20 Jan 2017 15:51:58 +0000 (10:51 -0500)]
Remove JClouds code

JClouds is no longer deployed in our jobs so remove our TODO items.

Change-Id: I2b93add5cbfffba7c9502f9d7ef99f011c39f5ef
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix image timestamp for docker 35/50735/1
Thanh Ha [Fri, 20 Jan 2017 17:54:19 +0000 (12:54 -0500)]
Fix image timestamp for docker

Change-Id: I5236615c87d6619f1fd5085bfae9c9c4cf190da5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate devstack and docker images 33/50733/1
Thanh Ha [Fri, 20 Jan 2017 17:25:16 +0000 (12:25 -0500)]
Update devstack and docker images

Change-Id: I9634dc48cf541e52f3d1a1955f81ca624651deb0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate images 31/50731/1
Thanh Ha [Fri, 20 Jan 2017 16:53:30 +0000 (11:53 -0500)]
Update images

Change-Id: I1b3b4d9fd9ff91bbc33716869ba8943c094c3891
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate images 27/50727/3
Thanh Ha [Fri, 20 Jan 2017 16:36:26 +0000 (11:36 -0500)]
Update images

Change-Id: I0d0975d1524178b5905a6bedb2be3b1fc4b42d8d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>