releng/builder.git
7 years agoAdd method to not trigger downstream ar-jobs 59/61459/1
Thanh Ha [Wed, 2 Aug 2017 16:06:23 +0000 (12:06 -0400)]
Add method to not trigger downstream ar-jobs

When we are triggering many autorelease jobs per day we do not wish to
trigger distribution-test jobs for every run otherwise it will spam the
Jenkins queue. This allows us to selectively disable triggering the jobs
when we manually build.

Change-Id: Ia345b3875bd29e5869bc09aa378314d542fef181
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd 4 node stack type for hwvtep suites 40/61440/3
Jamo Luhrsen [Wed, 9 Aug 2017 18:17:10 +0000 (11:17 -0700)]
Add 4 node stack type for hwvtep suites

hwvtep suites need an odl node type, 1 larger openstack
node (control) type, 2 smaller openstack node (compute)
and 1 more node type for mininet systems

Change-Id: Ib8f255a23148b3d1ca15c5e29e6a49c998199d49
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoAdd verify jobs for ci-workshop 38/61438/1
Andrew Grimberg [Wed, 9 Aug 2017 17:33:19 +0000 (10:33 -0700)]
Add verify jobs for ci-workshop

Change-Id: I28b775283ed81de72ea63ebd0acdd9849a74ad35
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoMerge "Strip include-raw prefix for script files"
Jamo Luhrsen [Wed, 9 Aug 2017 16:00:36 +0000 (16:00 +0000)]
Merge "Strip include-raw prefix for script files"

7 years agoMerge "Fix puppet-opendaylight Vagrantfile link"
Daniel Farrell [Wed, 9 Aug 2017 13:04:00 +0000 (13:04 +0000)]
Merge "Fix puppet-opendaylight Vagrantfile link"

7 years agoMerge "Strip include-raw prefix for script files"
Daniel Farrell [Wed, 9 Aug 2017 07:34:10 +0000 (07:34 +0000)]
Merge "Strip include-raw prefix for script files"

7 years agoUpdate validate autorelease projects for nitrogen 96/61396/1
jenkins-releng [Wed, 9 Aug 2017 03:24:19 +0000 (03:24 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I42ece3da2e9765ee68fd4f03288dd59cc109cd34
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoFix puppet-opendaylight Vagrantfile link 19/61219/2
root [Sat, 5 Aug 2017 07:03:05 +0000 (12:33 +0530)]
Fix puppet-opendaylight Vagrantfile link

Change-Id: I1c0be26d9a9d230530715cafbae28b3f7cba5e15
Signed-off-by: root <sanketh.uppalapati@research.iiit.ac.in>
7 years agoMerge "Run Boron build 12 hrs off of usual UTC time"
Jamo Luhrsen [Tue, 8 Aug 2017 18:13:38 +0000 (18:13 +0000)]
Merge "Run Boron build 12 hrs off of usual UTC time"

7 years agoMerge "Make ansible-odl jobs use the proposed code"
Jamo Luhrsen [Tue, 8 Aug 2017 18:12:58 +0000 (18:12 +0000)]
Merge "Make ansible-odl jobs use the proposed code"

7 years agoMake ansible-odl jobs use the proposed code 32/60932/5
root [Mon, 31 Jul 2017 11:26:56 +0000 (16:56 +0530)]
Make ansible-odl jobs use the proposed code

Change-Id: I07efef74c20b4db82f6c0a66480f55b0c807124d
Signed-off-by: root <sanketh.uppalapati@research.iiit.ac.in>
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoRun Boron build 12 hrs off of usual UTC time 76/61376/1
Thanh Ha [Tue, 8 Aug 2017 16:28:50 +0000 (12:28 -0400)]
Run Boron build 12 hrs off of usual UTC time

Ensure that we run at least 12 hours apart from the usual build time.
This is to ensure that Boron CSIT job runs do not overlap with the
currently in development build times Sunday nights.

Change-Id: Ib546ea2a26c6ca6f3920107b7ca2f341f494c7f6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate validate autorelease projects for nitrogen 40/61340/1
jenkins-releng [Tue, 8 Aug 2017 15:12:38 +0000 (15:12 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I2cedf0aabd32f6e8a5091658a8f50f5925d9a5b5
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMerge "Revert openldap dependencies for CentOS and Ubuntu"
Thanh Ha [Tue, 8 Aug 2017 14:06:04 +0000 (14:06 +0000)]
Merge "Revert openldap dependencies for CentOS and Ubuntu"

7 years agoUpdate cloud image list docs 25/61325/1
jenkins-releng [Tue, 8 Aug 2017 11:03:01 +0000 (11:03 +0000)]
Update cloud image list docs

Change-Id: I697a7cc21452173f79a1f55b0c017bc6d75b1eb0
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoRevert openldap dependencies for CentOS and Ubuntu 00/61300/1
Anil Belur [Tue, 8 Aug 2017 02:15:35 +0000 (12:15 +1000)]
Revert openldap dependencies for CentOS and Ubuntu

This reverts Icbbdaca341673fd1b65710b362a63c0b9f56feb6
since its no longer required by lftools.

Change-Id: I1202d6259dbf1f641f017c0f2b72dd49aa3d5a40
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Fix ubuntu image update failures."
Jamo Luhrsen [Mon, 7 Aug 2017 21:56:32 +0000 (21:56 +0000)]
Merge "Fix ubuntu image update failures."

7 years agoFix ubuntu image update failures. 67/61267/2
Anil Belur [Mon, 7 Aug 2017 11:02:41 +0000 (21:02 +1000)]
Fix ubuntu image update failures.

public_cloud: E: Unable to fetch some archives, maybe run apt-get update
or try with --fix-missing?

Change-Id: I7e049a5e79372c3a4e81d0cada26dcfc40330ede
Jira: releng-368
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Strip include-raw prefix for script files"
Daniel Farrell [Mon, 7 Aug 2017 19:26:08 +0000 (19:26 +0000)]
Merge "Strip include-raw prefix for script files"

7 years agoMerge "Reduce maven heap for multipatch-test job"
Jamo Luhrsen [Mon, 7 Aug 2017 16:09:45 +0000 (16:09 +0000)]
Merge "Reduce maven heap for multipatch-test job"

7 years agoIncrease java-builder and mininet image timeout 68/61268/2
Anil Belur [Mon, 7 Aug 2017 11:09:35 +0000 (21:09 +1000)]
Increase java-builder and mininet image timeout

Building in zrpcd repo changes causes the images to timeout

Change-Id: I4b40829cf3e9f75295451c02625a7d083d2360ea
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoReduce maven heap for multipatch-test job 42/61042/5
Vratko Polak [Mon, 7 Aug 2017 10:09:29 +0000 (12:09 +0200)]
Reduce maven heap for multipatch-test job

Needed before Odlparent increases heap for SFT.

Change-Id: I9a31bac05724e778bc38d8df36ed8564abd84400
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoStrip include-raw prefix for script files 46/61246/1
Anil Belur [Mon, 7 Aug 2017 06:33:59 +0000 (16:33 +1000)]
Strip include-raw prefix for script files

Prefixing files with `include-raw-` makes the file name longer
and also not a standard to be followed.

Change-Id: I36abaf45fa811c4fb00fd21d3b0dd3ef2c5b37cc
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoStrip include-raw prefix for script files 44/61244/1
Anil Belur [Mon, 7 Aug 2017 06:28:30 +0000 (16:28 +1000)]
Strip include-raw prefix for script files

Prefixing the files with `include-raw-` make the file name longer
and also not a standard to be followed.

Change-Id: Iea81fae69a5c1733568151ba8b80ef7036ed5f80
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoStrip include-raw prefix for script files 42/61242/1
Anil Belur [Mon, 7 Aug 2017 06:18:45 +0000 (16:18 +1000)]
Strip include-raw prefix for script files

Prefixing the files with `include-raw-` make the file name longer
and also not a standard to be followed.

Change-Id: Id8898a6f6bfa595fd43d80e1f58625c55a1674dd
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoSet autorelease choosing strategy to default 25/61225/1
Thanh Ha [Sat, 5 Aug 2017 18:00:56 +0000 (14:00 -0400)]
Set autorelease choosing strategy to default

This job is not a Gerrit triggered job so choosing strategy gerrit is
incorrect and causes Jenkins to checkout the wrong branch. In case of
autorelease Carbon builds #416 - #419 it was checking out the master
branch.

Change-Id: I7a5874b461172313397db7c73948800842f9c65c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate validate autorelease projects for nitrogen 10/61210/1
jenkins-releng [Fri, 4 Aug 2017 20:12:44 +0000 (20:12 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I4fe675c7611d0584cd1ecebcf3aab91a5add6b60
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMerge "Hard-code openjdk8 for validate job"
Jamo Luhrsen [Fri, 4 Aug 2017 18:01:28 +0000 (18:01 +0000)]
Merge "Hard-code openjdk8 for validate job"

7 years agoHard-code openjdk8 for validate job 95/61195/1
Thanh Ha [Fri, 4 Aug 2017 17:55:00 +0000 (13:55 -0400)]
Hard-code openjdk8 for validate job

The JDK version does not really matter for validate-autorelease as the
correct JDK is configured by the project in their verify jobs. Typically
infra always wants to use the latest version anyway. This fixes the
warning in Jenkins that {jdk} is not found because
validate-autorelease's autogenerator job does not set a JDK.

Issue: RELENG-361
Change-Id: Idb71caf601d5f49a89afaf423573e78dff9ee72c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate SPDX License header to 2.0 format 39/61139/3
Thanh Ha [Thu, 3 Aug 2017 20:56:23 +0000 (16:56 -0400)]
Update SPDX License header to 2.0 format

As defined by https://spdx.org/using-spdx

Change-Id: Ic147d6d919e472a1f81b794bd9075a5c0c97fe72
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Rework autorelease generate-taglist and patch code"
Jamo Luhrsen [Fri, 4 Aug 2017 17:39:37 +0000 (17:39 +0000)]
Merge "Rework autorelease generate-taglist and patch code"

7 years agoMerge "Use lf-infra-parameters"
Jamo Luhrsen [Fri, 4 Aug 2017 17:39:34 +0000 (17:39 +0000)]
Merge "Use lf-infra-parameters"

7 years agoMerge "Move validate-autorelease to autorelease project"
Jamo Luhrsen [Fri, 4 Aug 2017 17:39:29 +0000 (17:39 +0000)]
Merge "Move validate-autorelease to autorelease project"

7 years agoRework autorelease generate-taglist and patch code 58/58658/3
Thanh Ha [Sat, 10 Jun 2017 04:29:20 +0000 (00:29 -0400)]
Rework autorelease generate-taglist and patch code

Improve the way we generate patches.tar.gz to ensure taglist.log is
always generated along side it.

Jira: RELENG-155
Change-Id: If24e9341f0f69495e028be7a28a9d7fd69980242
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate validate autorelease projects for nitrogen 84/61184/1
jenkins-releng [Fri, 4 Aug 2017 15:13:49 +0000 (15:13 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I677b58e3ae1ac60a21881685de1e4b01c8df642e
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoUse lf-infra-parameters 83/61183/2
Thanh Ha [Tue, 1 Aug 2017 20:32:08 +0000 (16:32 -0400)]
Use lf-infra-parameters

RELEASE_BRANCH is actually just GERRIT_BRANCH so simplify scripts by
removing parameter duplication.

Change-Id: I93d7b0f221133e42788b2ff377319712dd945657
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMove validate-autorelease to autorelease project 82/61182/1
Thanh Ha [Fri, 4 Aug 2017 14:35:22 +0000 (10:35 -0400)]
Move validate-autorelease to autorelease project

Maintenance of this template is the responsibilitiy of the autorelease
project so move the template there.

Change-Id: I1540c160c0552c04f7a6f8080de4acd65da457bb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoDO NOT create a tarball in the same directory 65/61165/3
Thanh Ha [Fri, 4 Aug 2017 13:06:52 +0000 (09:06 -0400)]
DO NOT create a tarball in the same directory

Creating a tarball in the same directory as the directory that you are
tarballing turns out to be a bad idea. This fixes the mess caused by
Ib7b68bfceca23c796885937f0d07bc520126aebb.

Change-Id: I4c3b4fd12710619084914d7ab24b4b8c02573fba
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix tar command failures 60/61160/1
Anil Belur [Fri, 4 Aug 2017 10:07:36 +0000 (20:07 +1000)]
Fix tar command failures

AR and validation jobs are failing on the below error:

tar: patches: file changed as we read it

Issue is because dir `.` changes as patches.tar.gz is created.

Change-Id: I4b939f5821e54bfd76fa4f2cafa2e64518101f91
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoRevert "Use lf-infra-parameters" 52/61152/1
Anil Belur [Fri, 4 Aug 2017 05:32:31 +0000 (15:32 +1000)]
Revert "Use lf-infra-parameters"

This reverts commit d51dbb74ba2115f10dea28fe069dcecc6076107a.

With this change $BRANCH is not being set correctly which is
causing validate autorelease jobs to fail.

Change-Id: Ia6cada05f1ed9cf44451cf142271a7e822a7cc0b
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoChange all the --{no,non}-verbose to -nv. 47/61147/1
Anil Belur [Thu, 3 Aug 2017 22:52:29 +0000 (08:52 +1000)]
Change all the --{no,non}-verbose to -nv.

Some of the versions of wget use --no-verbose and others use
--non-verbose both all of them use -nv for the short form
so this should work on all versions of wget.

Change-Id: I7bee02f30291239b8ae0d6e965aeb309395b1825
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoMerge "Switch to using global-jjb mvn macros"
Anil Belur [Thu, 3 Aug 2017 22:15:48 +0000 (22:15 +0000)]
Merge "Switch to using global-jjb mvn macros"

7 years agoMerge "Use lf-infra-parameters"
Anil Belur [Thu, 3 Aug 2017 22:15:24 +0000 (22:15 +0000)]
Merge "Use lf-infra-parameters"

7 years agoMerge "Refactor notify-build-failure script"
Anil Belur [Thu, 3 Aug 2017 22:13:12 +0000 (22:13 +0000)]
Merge "Refactor notify-build-failure script"

7 years agoMerge "Archive patches by doing so in script"
Anil Belur [Thu, 3 Aug 2017 22:12:12 +0000 (22:12 +0000)]
Merge "Archive patches by doing so in script"

7 years agoMerge "Add 6Wind quagga to ubuntu16.04 and centos7 images"
Anil Belur [Thu, 3 Aug 2017 21:49:48 +0000 (21:49 +0000)]
Merge "Add 6Wind quagga to ubuntu16.04 and centos7 images"

7 years agoSwitch to using global-jjb mvn macros 10/61010/5
Thanh Ha [Tue, 1 Aug 2017 20:37:17 +0000 (16:37 -0400)]
Switch to using global-jjb mvn macros

Change-Id: I018f56c6cd43687b50734357b3fc5f6c58db319a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRefactor notify-build-failure script 12/61012/3
Thanh Ha [Tue, 1 Aug 2017 21:37:11 +0000 (17:37 -0400)]
Refactor notify-build-failure script

Rename to a shorter name and add a docstring to explain what the script
does. Also use -nv for wget as it is a consistent parameter for wget
whereas certain versions use different long-form parameters.

Change-Id: I67a04f69145446d45dbb903b842f43f081fc97f7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoArchive patches by doing so in script 11/61011/3
Thanh Ha [Tue, 1 Aug 2017 21:27:02 +0000 (17:27 -0400)]
Archive patches by doing so in script

Archive in script so that we do not need to pass archive-artifacts
parameters.

Change-Id: Ib7b68bfceca23c796885937f0d07bc520126aebb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUse lf-infra-parameters 07/61007/4
Thanh Ha [Tue, 1 Aug 2017 20:32:08 +0000 (16:32 -0400)]
Use lf-infra-parameters

RELEASE_BRANCH is actually just BRANCH so simplify scripts by removing
parameter duplication.

Change-Id: If8677ce5bee0398ae04eb9b32580c59413c32e74
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate validate autorelease projects for nitrogen 27/61127/1
jenkins-releng [Thu, 3 Aug 2017 16:02:21 +0000 (16:02 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I0c0d652d86b3399867ce3e25b7859c61fbf80a19
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMerge "Revert "Add method to not trigger downstream ar-jobs""
Vratko Polák [Thu, 3 Aug 2017 16:01:20 +0000 (16:01 +0000)]
Merge "Revert "Add method to not trigger downstream ar-jobs""

7 years agoRevert "Add method to not trigger downstream ar-jobs" 22/61122/1
Thanh Ha [Thu, 3 Aug 2017 15:32:08 +0000 (15:32 +0000)]
Revert "Add method to not trigger downstream ar-jobs"

This reverts commit d69988e8377ff4c48aed40fce140005abe4fd709.

Change-Id: Ie2f0a9e7e0247ba427fa8fd8f8bdd1213a921208
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd 6Wind quagga to ubuntu16.04 and centos7 images 49/60649/7
maheshl [Fri, 21 Jul 2017 14:53:48 +0000 (20:23 +0530)]
Add 6Wind quagga to ubuntu16.04 and centos7 images

Description :
6wind/zrpcd is opensource to handle the the quagga framework from
SDN controller and it will install dependency packages based on
OS flavors like CentOS7 and Ubuntu version 14.04.*,16.04.* &17.04 along
with quagga packages and default version will be v1=L3VPN and v2=evpn

Issue with the dev scripts (as noted in thread) is now resolved on
zrpcd repository. The changes on zrpcd repo is baselined to tested
version (20170731).

Ref:
https://lists.opendaylight.org/pipermail/dev/2017-May/003724.html

Change-Id: I5f4ad020ff85c75141ad7ee87a551bb2d588040b
Signed-off-by: maheshl <mahesh.loni@altencalsoftlabs.com>
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoar-jobs need to retain data for at least 30 days 64/61064/2
Thanh Ha [Wed, 2 Aug 2017 18:18:43 +0000 (14:18 -0400)]
ar-jobs need to retain data for at least 30 days

Change-Id: I92c1e8b6f13246a2abaaa49453f44794b27c62b1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix packaging archive publisher missing 65/61065/1
Thanh Ha [Wed, 2 Aug 2017 18:25:53 +0000 (14:25 -0400)]
Fix packaging archive publisher missing

The publisher archive-artifacts was removed in patch
Ib640a3528fb64fbf666df8f026f4e2313f290472. We're trying to discourage
the use of archiving artifacts to Jenkins. This is a temporary solution
to fix the builder-merge job but long term we need to move the archives
to logs.opendaylight.org if it's small log like data or Nexus if it's
large RPM packages that need to be saved.

Change-Id: I7c2e2597d1d2e77322d0ff5922954ab43ed7d71d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Add method to not trigger downstream ar-jobs"
Jamo Luhrsen [Wed, 2 Aug 2017 18:10:03 +0000 (18:10 +0000)]
Merge "Add method to not trigger downstream ar-jobs"

7 years agoMerge "Add RPM upgrade test job"
Jamo Luhrsen [Wed, 2 Aug 2017 17:28:04 +0000 (17:28 +0000)]
Merge "Add RPM upgrade test job"

7 years agoAdd method to not trigger downstream ar-jobs 56/61056/1
Thanh Ha [Wed, 2 Aug 2017 16:06:23 +0000 (12:06 -0400)]
Add method to not trigger downstream ar-jobs

When we are triggering many autorelease jobs per day we do not wish to
trigger distribution-test jobs for every run otherwise it will spam the
Jenkins queue. This allows us to selectively disable triggering the jobs
when we manually build.

Change-Id: I42aef04607a5133f45db85eb51b556dc0a7c7955
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd RPM upgrade test job 28/60028/13
Daniel Farrell [Thu, 6 Jul 2017 14:40:26 +0000 (10:40 -0400)]
Add RPM upgrade test job

Also refactors other package test logic to break it into smaller chunks
that can be combined in various orders in various jobs for better reuse.

Change-Id: I4a4e3df6f63a219f8caa1ff0fe470cc307093f1e
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoUse lf-infra-properties 06/61006/1
Thanh Ha [Tue, 1 Aug 2017 20:21:53 +0000 (16:21 -0400)]
Use lf-infra-properties

Change-Id: I6bb7031b52b782187cfe06275c6cd314f5db7c89
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRefactor prepare-release.sh macro 05/61005/2
Thanh Ha [Tue, 1 Aug 2017 20:11:13 +0000 (16:11 -0400)]
Refactor prepare-release.sh macro

Rename the script so that it has a better name. Also add a docstring to
the file to explain what it is for.

Change-Id: Id4d31e39f2d33b608ebb410648a53b49e7db9722
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoDrop RELEASE_TAG from Nitrogen onwards 04/61004/2
Thanh Ha [Tue, 1 Aug 2017 19:58:45 +0000 (15:58 -0400)]
Drop RELEASE_TAG from Nitrogen onwards

Change-Id: I5547e0c4cb77ee80e34cbfce8e848d384b3ccae9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoSimplify autorelease to not use release tags 79/60679/5
Anil Belur [Mon, 24 Jul 2017 08:00:28 +0000 (18:00 +1000)]
Simplify autorelease to not use release tags

Release tags for carbon, nitrogen and future releases are set as
the stream and no longer uses the format `Carbon-SR1`. Only for boron
the same format is preserved if any hotfix has to be released.
Therefore, pass stream as the default release tag for all releases
except for boron. Also the scripts are modified to set the release tag
as $STREAM by default.

https://lists.opendaylight.org/pipermail/release/2017-July/011619.html
Jira: releng-323
Change-Id: I7ecc4d3962bab741bc31efa636beb986b4b15476
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMake distribution-check-{stream} faster 82/60982/1
Vratko Polak [Tue, 1 Aug 2017 11:58:18 +0000 (13:58 +0200)]
Make distribution-check-{stream} faster

Contrary to {project}-distribution-check-{stream},
more steps can be skipped for Integration/Distribution patch checking.

Change-Id: Iebef37bf5551a2b0fd0796939517c2d9a82edf6a
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoMerge "Bug 8771: Allow multipatch use not released change"
Vratko Polák [Tue, 1 Aug 2017 08:00:08 +0000 (08:00 +0000)]
Merge "Bug 8771: Allow multipatch use not released change"

7 years agoUpdate validate autorelease projects for nitrogen 56/60956/1
jenkins-releng [Mon, 31 Jul 2017 19:58:40 +0000 (19:58 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I15683e694f0b97165c7c1786e6e0b2140926e95d
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoUpdate validate autorelease projects for nitrogen 48/60948/1
jenkins-releng [Mon, 31 Jul 2017 16:18:22 +0000 (16:18 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I71bea301fefb4fdc69a46054fbc08a9c797509ae
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoUpdate validate autorelease projects for nitrogen 43/60943/1
jenkins-releng [Mon, 31 Jul 2017 15:29:28 +0000 (15:29 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: Ieda710ea522c312a64e8c85364293616d897e9c6
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoBug 8771: Allow multipatch use not released change 63/60863/7
Vratko Polak [Mon, 31 Jul 2017 12:54:25 +0000 (14:54 +0200)]
Bug 8771: Allow multipatch use not released change

Primary target is Nitrogen Odlparent.

Other projects only depend on the released version of Odlparent,
but the Odlparent repository contains snapshot versions only.

Suffixing 'r' now allows multipatch to drop "-SNAPSHOT"
within all pom.xml files in projects marked as such.

Also, filename of the bash script is shortened.

Change-Id: Id9e5b17db5d2a2b2d09ee0dd336295aa6f4b572b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoMerge "Fix multipatch script to pass ShellCheck"
Jamo Luhrsen [Fri, 28 Jul 2017 16:38:58 +0000 (16:38 +0000)]
Merge "Fix multipatch script to pass ShellCheck"

7 years agoMerge "Fix deploy-controller-run to pass ShellCheck"
Jamo Luhrsen [Fri, 28 Jul 2017 16:38:55 +0000 (16:38 +0000)]
Merge "Fix deploy-controller-run to pass ShellCheck"

7 years agoMerge "Fix start-cluster script to pass ShellCheck"
Jamo Luhrsen [Fri, 28 Jul 2017 16:38:15 +0000 (16:38 +0000)]
Merge "Fix start-cluster script to pass ShellCheck"

7 years agoMerge "Remove ignore for files that pass ShellCheck"
Jamo Luhrsen [Fri, 28 Jul 2017 16:37:47 +0000 (16:37 +0000)]
Merge "Remove ignore for files that pass ShellCheck"

7 years agoUpdate validate autorelease projects for nitrogen 83/60883/1
jenkins-releng [Fri, 28 Jul 2017 15:07:10 +0000 (15:07 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I6fb70f88f5fd7f4ea1f6c7f472ee64dded868f01
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoIncrease build timeout for devstack and jbuilder 43/60843/2
Anil Belur [Fri, 28 Jul 2017 02:45:26 +0000 (12:45 +1000)]
Increase build timeout for devstack and jbuilder

Newton takes longer than 60 mins to build, which fails
the packer jobs. The java-builder is very close to the 45 minutes limit
so bump it to 60.

Change-Id: I9c19add622743faabc864c4f53c2a49b03941312
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoFix multipatch script to pass ShellCheck 48/60848/3
Thanh Ha [Fri, 28 Jul 2017 03:33:07 +0000 (23:33 -0400)]
Fix multipatch script to pass ShellCheck

Using exit 1 for cds for now but we should probably redesign this script
to use `set -e -o pipefail` in the long term.

Change-Id: I18899c80e548d4ecce701241e22aa563b83bae97
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix deploy-controller-run to pass ShellCheck 49/60849/2
Thanh Ha [Fri, 28 Jul 2017 03:37:52 +0000 (23:37 -0400)]
Fix deploy-controller-run to pass ShellCheck

Change-Id: I559cdf096907b76cac3c44b5a42c75c6d3269216
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix start-cluster script to pass ShellCheck 47/60847/3
Thanh Ha [Fri, 28 Jul 2017 03:30:04 +0000 (23:30 -0400)]
Fix start-cluster script to pass ShellCheck

Change-Id: Id4cd46631cc25644e349f7e8600a5e11ac753978
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove ignore for files that pass ShellCheck 46/60846/3
Thanh Ha [Fri, 28 Jul 2017 03:26:39 +0000 (23:26 -0400)]
Remove ignore for files that pass ShellCheck

Change-Id: I9daa01781ecd529debab811171a419ad5bac612a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoEnable packer wget non-verbose mode 45/60845/1
Thanh Ha [Fri, 28 Jul 2017 02:51:41 +0000 (22:51 -0400)]
Enable packer wget non-verbose mode

Also change all --no-verbose to -nv. Some versions of wget use
--no-verbose and others use --non-verbose both all of them use -nv for
the short form so this should work on all versions of wget.

Change-Id: I13a72ee5333739ca1f3a1e6f066cfb9bd3d11f35
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Cache NLTK data in build minions"
Jamo Luhrsen [Thu, 27 Jul 2017 21:36:30 +0000 (21:36 +0000)]
Merge "Cache NLTK data in build minions"

7 years agoAdd verify jobs for common-packer 38/60838/1
Thanh Ha [Thu, 27 Jul 2017 20:40:10 +0000 (16:40 -0400)]
Add verify jobs for common-packer

Change-Id: I37bbb31dda8cabbd0c9fa0b830a6fa92ef740e4b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMigrate packer jobs to use global-jjb templates 78/60178/6
Anil Belur [Tue, 11 Jul 2017 06:49:10 +0000 (16:49 +1000)]
Migrate packer jobs to use global-jjb templates

Remove packer templates and builders from the releng/builder
and use the version of generic templates and builders
made available from submodule global-jjb.

Change-Id: Iecec660af86137d9fda7f1a384d831d09b6087e2
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Remove archive-artifacts publisher"
Thanh Ha [Thu, 27 Jul 2017 19:20:43 +0000 (19:20 +0000)]
Merge "Remove archive-artifacts publisher"

7 years agoMerge "Update validate autorelease projects for nitrogen"
Thanh Ha [Thu, 27 Jul 2017 19:05:39 +0000 (19:05 +0000)]
Merge "Update validate autorelease projects for nitrogen"

7 years agoFix Newton Jobs 31/60831/1
gvrangan [Thu, 27 Jul 2017 18:38:46 +0000 (00:08 +0530)]
Fix Newton Jobs

Openstack client had a new release recently that had
support for tags. There seems to be some issue with
subnet command for Newton.

Change-Id: Ic6d98f7ca8b2a41e1454c7c142d95d4073d6f261
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoCache NLTK data in build minions 35/60835/1
Thanh Ha [Thu, 27 Jul 2017 18:04:33 +0000 (14:04 -0400)]
Cache NLTK data in build minions

Change-Id: I49d5470777b811e8d96bffcd14ecd0ca67697c42
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMove from NetVirt jobs to use ocata 23/60823/1
Sam Hague [Thu, 27 Jul 2017 16:31:44 +0000 (12:31 -0400)]
Move from NetVirt jobs to use ocata

Change-Id: Ibb9bbbdd655a5c23a8a1f8d9ab285cd7fe6ef09f
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoUpdate validate autorelease projects for nitrogen 21/60821/1
jenkins-releng [Thu, 27 Jul 2017 16:24:45 +0000 (16:24 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I0ae48817fb7ab98dfc280421aeb84e892d1188bd
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoMigrate odlparent to using global-jjb CLM jobs 79/60779/3
Thanh Ha [Wed, 26 Jul 2017 15:49:56 +0000 (11:49 -0400)]
Migrate odlparent to using global-jjb CLM jobs

Change-Id: I0454ed7840f95dacaf4fff18e50221269daca8b7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpdate global-jjb to v0.5.5 76/60776/5
Thanh Ha [Wed, 26 Jul 2017 02:55:01 +0000 (22:55 -0400)]
Update global-jjb to v0.5.5

Fixes issue with CLM jobs missing key variables when we tried upgrading
to v0.5.3 last time.

Change-Id: I30186bc13ad138265c0df911981fef6c13fed68c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove archive-artifacts publisher 97/60797/1
Anil Belur [Thu, 27 Jul 2017 03:55:59 +0000 (13:55 +1000)]
Remove archive-artifacts publisher

The publisher is unused and keeping this causes confussion with the
archive-artifacts variable.

Change-Id: Ib640a3528fb64fbf666df8f026f4e2313f290472
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoUpdate validate autorelease projects for nitrogen 74/60774/1
jenkins-releng [Wed, 26 Jul 2017 14:21:22 +0000 (14:21 +0000)]
Update validate autorelease projects for nitrogen

Change-Id: I66255fb26e08fb6b8a279d7b6907e4e3c7b55e2c
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
7 years agoRestore nitrogen jobs to use int distro 06/60706/4
Sam Hague [Tue, 25 Jul 2017 01:13:18 +0000 (21:13 -0400)]
Restore nitrogen jobs to use int distro

Change-Id: I742617e048b358932a7cecb291498618d23b162f
Signed-off-by: Sam Hague <shague@redhat.com>
7 years agoMerge "Revert "Update to global-jjb v0.5.2""
Thanh Ha [Tue, 25 Jul 2017 21:39:20 +0000 (21:39 +0000)]
Merge "Revert "Update to global-jjb v0.5.2""

7 years agoRevert "Update to global-jjb v0.5.2" 46/60746/1
Jamo Luhrsen [Tue, 25 Jul 2017 21:28:46 +0000 (21:28 +0000)]
Revert "Update to global-jjb v0.5.2"

This reverts commit 21f26a2f6d9aacf4faf91cd7ffb906fb114ecaef.

Change-Id: I2adb1943b6a7023ffb66adfe35184e94bf3671ca
Signed-off-by: James Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Use smaller vms for devstack jobs"
Jamo Luhrsen [Tue, 25 Jul 2017 20:20:49 +0000 (20:20 +0000)]
Merge "Use smaller vms for devstack jobs"

7 years agoUpdate to global-jjb v0.5.2 75/60675/2
Anil Belur [Mon, 24 Jul 2017 01:37:12 +0000 (11:37 +1000)]
Update to global-jjb v0.5.2

- Pull in Add generic packer templates
- Pull in Cleanup Coala config
- Pull in Add Nexus IQ CLM scan job
- Pull in Add missing content/repositories path to URL
- Pull in Check for JIRA URLs on JIRA based projects
- Pull in Validate URLs using Jenkins env variable
- Pull in Add whitelist and admin-list params to gh trigger

Change-Id: Ie2d9e77ba2625fc0534254ea8ee4d5bc3bf46182
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoUse smaller vms for devstack jobs 30/60530/7
Sam Hague [Tue, 18 Jul 2017 21:54:00 +0000 (17:54 -0400)]
Use smaller vms for devstack jobs

Change-Id: If50d7af2338b7a63bc0194b9d0a83b5128d36cc3
Signed-off-by: Sam Hague <shague@redhat.com>