ci-management.git
8 years agoMake rpm push handle SRPMs 77/777/2
Andrew Grimberg [Wed, 13 Apr 2016 16:21:14 +0000 (09:21 -0700)]
Make rpm push handle SRPMs

* Fix the rpm push to search out and push SRPMs

* Fix the rpm push to actually push a file as it was referencing a bad
  variable

* Fix up some minor linting issues

Change-Id: I4d2e66ad52e593b71b969ab1b5faad254cc35e2d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFix virl scripts broken by {os} 76/776/3
Ed Warnicke [Wed, 13 Apr 2016 15:16:13 +0000 (10:16 -0500)]
Fix virl scripts broken by {os}

Change-Id: I9f16666cf18753ce47d74fa21c125b1375407ecf
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoHave merge job push rpms to the yum repo 64/764/4
Ed Warnicke [Tue, 12 Apr 2016 22:27:41 +0000 (17:27 -0500)]
Have merge job push rpms to the yum repo

Change-Id: I0d16b75d8e8770894577659cd9b6ae0fc2140db9
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoTurn on multi-os merge jobs 63/763/2
Ed Warnicke [Tue, 12 Apr 2016 22:15:12 +0000 (17:15 -0500)]
Turn on multi-os merge jobs

Change-Id: Iff99c3e8b8dadc6334b33fe5aff688102273fcb5
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoEnabled centos7 build 61/761/1
Ed Warnicke [Tue, 12 Apr 2016 22:02:14 +0000 (17:02 -0500)]
Enabled centos7 build

Change-Id: I7fafacbe2fa58313e320de2e3a8a498898e89601
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoMachinery for multi-os build. 60/760/7
Ed Warnicke [Tue, 12 Apr 2016 21:08:35 +0000 (16:08 -0500)]
Machinery for multi-os build.

This patch should provide machinery for multi os build
It also provides machinery for multi-branch build

Change-Id: I29db20f159f18af2cab512ab6df6b03d9f81ff15
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoSplit vpp-verify-perfomance job 75/675/4
pmikus [Mon, 4 Apr 2016 13:17:31 +0000 (15:17 +0200)]
Split vpp-verify-perfomance job

- split job to include manual trigger keyword: verify-perf-long and
  verify-perf-short

Change-Id: Ie2048704313634cc9ea62ce67e80fc921bef2e18
Signed-off-by: pmikus <pmikus@cisco.com>
8 years agoMerge "Make vpp-csit-verify-virl patch-triggered."
C.J. Collier [Mon, 4 Apr 2016 16:23:40 +0000 (16:23 +0000)]
Merge "Make vpp-csit-verify-virl patch-triggered."

8 years agoMake vpp-csit-verify-virl patch-triggered. 63/663/2
Stefan Kobza [Fri, 1 Apr 2016 14:34:21 +0000 (16:34 +0200)]
Make vpp-csit-verify-virl patch-triggered.

Change-Id: I90855a0b7a9a0e346a83beb42ada824bebd6eff6
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoVPP performance check job 58/658/1
pmikus [Fri, 1 Apr 2016 06:27:52 +0000 (08:27 +0200)]
VPP performance check job

- add job-template into jenkins layout view

Change-Id: I41a9e865713100b63913b9f5e4a3ea6d97bb3231
Signed-off-by: pmikus <pmikus@cisco.com>
8 years agoVPP performance check job 53/653/2
pmikus [Thu, 31 Mar 2016 09:37:14 +0000 (11:37 +0200)]
VPP performance check job

- vpp-csit-hw-perf job to check performance of proposed patch
- build, copy, install, start perf tests

Change-Id: I2ae4cee916532c4d57715e2bd739d3109ab7ccf6
Signed-off-by: pmikus <pmikus@cisco.com>
8 years agoMerge "Use tagging instead of branching for csit-verified"
C.J. Collier [Tue, 29 Mar 2016 15:13:17 +0000 (15:13 +0000)]
Merge "Use tagging instead of branching for csit-verified"

8 years agoUse tagging instead of branching for csit-verified 39/639/1
Jan Gelety [Tue, 29 Mar 2016 14:24:47 +0000 (16:24 +0200)]
Use tagging instead of branching for csit-verified

- use tags instead of branches in case of
  job "csit-vpp-master-verify-weekly"

Change-Id: Icbdcc2a57e1ab17d634ce3b8deedbc481f8f313c
Signed-off-by: Jan Gelety <jgelety@cisco.com>
8 years agoMake robot framework output-path parametrizable. 33/633/1
Stefan Kobza [Tue, 29 Mar 2016 12:11:23 +0000 (14:11 +0200)]
Make robot framework output-path parametrizable.

csit-vpp-verify-virl job is blocked now, because output-path is not a
variable in robot-framework macro. This patch changes that.

Change-Id: I1c31342af6dfae66ce3e21e751470e476cc5be39
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoFix rh_systems shell function 18/618/1
Andrew Grimberg [Fri, 25 Mar 2016 23:44:57 +0000 (16:44 -0700)]
Fix rh_systems shell function

The rh_systems shell function was not properly defined. This corrects it
so that the bootstrapping can work

Change-Id: Ic5f03feac7deb5c8da54f3db4b0fb6a599ff0d85
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd basebuild for centos 06/606/4
Ed Warnicke [Thu, 24 Mar 2016 14:27:20 +0000 (09:27 -0500)]
Add basebuild for centos

Change-Id: I8a8ba3fe1fd3fb12ed3f3004bbc863cb7b2c9872
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoRefactor basebuild in prep to add Centos image 04/604/4
Ed Warnicke [Thu, 24 Mar 2016 13:33:44 +0000 (08:33 -0500)]
Refactor basebuild in prep to add Centos image

Change-Id: I9583a1e3a64c40460d5196ce28261230234ff80b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoUpdate of the job 'vpp-csit-verify-virl' 97/597/2
Jan Gelety [Wed, 23 Mar 2016 12:58:30 +0000 (13:58 +0100)]
Update of the job 'vpp-csit-verify-virl'

Job is updated to be run manually and to use
csit-verified branch to test vpp.

Change-Id: I7a56594cb840c374bc849c095241655290e6b0bd
Signed-off-by: Jan Gelety <jgelety@cisco.com>
8 years agoCSIT: new job 'csit-vpp-verify-master' 90/590/1
Miroslav Miklus [Tue, 22 Mar 2016 17:32:41 +0000 (18:32 +0100)]
CSIT: new job 'csit-vpp-verify-master'

This job is aimed to test latest csit master code against
latest stable vpp release. If the verification is successfull
then push curent master to master-verified branch

Change-Id: I18316f6f96e793721ee78c3b83a18ff74778cabf
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
8 years agoAdd job parameters to csit jenkins jobs. 71/571/1
Stefan Kobza [Fri, 18 Mar 2016 17:39:09 +0000 (18:39 +0100)]
Add job parameters to csit jenkins jobs.

Change-Id: Ibe5d4c527eb773acfc5283584a2c4d72df6bd335
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRemove standard csit jobs from Zuul. 58/558/2
Stefan Kobza [Thu, 17 Mar 2016 17:50:27 +0000 (18:50 +0100)]
Remove standard csit jobs from Zuul.

Until OpenStack issues with L2 transparency are resolved, make csit
jobs Jenkins triggered again.

Change-Id: Ie82357275b91804e64a194a8de5c51acf9c27743
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoFix typo for git-scm 18/518/1
Thanh Ha [Wed, 9 Mar 2016 19:03:03 +0000 (14:03 -0500)]
Fix typo for git-scm

Change-Id: Ibb8ddd694792ba82545d9d0abc25f3080ee6c3b3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd new networks for multilink testing 09/509/1
Andrew Grimberg [Tue, 8 Mar 2016 22:24:43 +0000 (14:24 -0800)]
Add new networks for multilink testing

Switch to Interlink1-6 networks for multilink labs

Change-Id: I119a9751e96ebf787e23234cc53a5882b419976b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFix merge/integration jobs to build master, not gerrit 06/506/3
Ed Warnicke [Tue, 8 Mar 2016 17:47:51 +0000 (10:47 -0700)]
Fix merge/integration jobs to build master, not gerrit

Change-Id: I72afb24d177b3b81e9427d43c3adb4a0a80fd240
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoRemove system pylint installation from pylint job. 89/489/3
Stefan Kobza [Fri, 4 Mar 2016 21:12:36 +0000 (22:12 +0100)]
Remove system pylint installation from pylint job.

Change-Id: Ic4894018ffa10e7742bd798c17bdbe6de7945a0a
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoAdd honeycomb-integration job 97/497/1
Ed Warnicke [Mon, 7 Mar 2016 13:47:11 +0000 (06:47 -0700)]
Add honeycomb-integration job

Because we need the up-to-date vpp-japi.jar, its important
to rebuild when vpp rebuilds that jar.

Change-Id: Ifdfc93cd4274be1ceb8f92a5daf9084b9d9ed174
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoAdd new nodepool CSIT job trigger to zuul. 88/488/1
Stefan Kobza [Fri, 4 Mar 2016 20:21:11 +0000 (21:21 +0100)]
Add new nodepool CSIT job trigger to zuul.

Change-Id: Ie57378604ed1d2ca7d0ac20304da9f97bb909ab6
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoAdd new nodepool csit-vpp-functional job. 82/482/2
Stefan Kobza [Fri, 4 Mar 2016 15:31:03 +0000 (16:31 +0100)]
Add new nodepool csit-vpp-functional job.

Make new job in csit project that gets triggered on CSIT changeset. This
is an entry-point to integrate CSIT functionality with LF's VM infra.
The actual integration is going to happen in CSIT, where we can tune the
bootstrap script and then move it into ci-management.

Change-Id: Icbfaf0a7b27899af4bea97d80a1883c7dd2df52e
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoFix csit-vpp-functional-hw-tb2 job 87/487/1
Thanh Ha [Fri, 4 Mar 2016 17:54:54 +0000 (12:54 -0500)]
Fix csit-vpp-functional-hw-tb2 job

Regular JJB "- job:" sections do not parse variables. This patch changes
it to use a "- job-template:" section which do parse variables.

Change-Id: Idd1753f9596ec67a9cf86096ff0416db4c07407e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Add vpp jenkins job to build vpp and run csit tests."
Andrew Grimberg [Mon, 29 Feb 2016 14:23:07 +0000 (14:23 +0000)]
Merge "Add vpp jenkins job to build vpp and run csit tests."

8 years agoAdd vpp jenkins job to build vpp and run csit tests. 31/431/4
Stefan Kobza [Thu, 25 Feb 2016 13:36:26 +0000 (14:36 +0100)]
Add vpp jenkins job to build vpp and run csit tests.

To start integrating with VPP verify job, start csit tests for each VPP
verify run. Until artifacts passing is solved between jenkins upstream
and downstream jobs, build the VPP project again in this job. Then
check out csit project, copy the deb packages to the cloned dir and
start the testcase.

Prevent the job non-voting, so that it does not polute VPP reviews with
erroneous results. We'll switch to normal voting after all potential
problems are ironed out, and the job is stable.

Change-Id: I9e35e19a1d8b2a64b8e65473fef93e0b537eded2
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoMove csit-vpp-functional-virl to zuul. 32/432/3
Stefan Kobza [Thu, 25 Feb 2016 13:36:26 +0000 (14:36 +0100)]
Move csit-vpp-functional-virl to zuul.

Change-Id: I240b93105039e8838f711f545eafd95f354bee16
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRemove parameters from csit-vpp-functional-hw-tb2. 28/428/1
Stefan Kobza [Thu, 25 Feb 2016 21:00:05 +0000 (22:00 +0100)]
Remove parameters from csit-vpp-functional-hw-tb2.

Zuul has SKIPping this job, and parameters are the only difference when
comparing the job to other zuul jobs.

Change-Id: I529577170797bd7cb2fc00f3ac1c483eba97e2de
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoMake subnodes easily identifiable 16/416/1
Andrew Grimberg [Thu, 25 Feb 2016 16:47:51 +0000 (08:47 -0800)]
Make subnodes easily identifiable

When nodepool brings online a node and subnodes they are presently all
named the same way. This makes it difficult to pinpoint the leader node
of a set if we need to do any work directly against OpenStack. This
change will cause sub-nodes to have the prefix of np-sub- and the rest
of the name from the leader node making it clear.

Change-Id: I536b2e4437a93f118436e8eeb6869a2f691be0f6
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoMove csit-vpp-functional-hw-tb2 to zuul. 03/403/3
Stefan Kobza [Wed, 24 Feb 2016 14:45:21 +0000 (15:45 +0100)]
Move csit-vpp-functional-hw-tb2 to zuul.

The job should be started only by adding 'hw-tb2-check' comment to gerrit.

Change-Id: I219568fc6756838939f74ed62f14d1a07b117e37
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoAdd current nodepool configuration 89/389/1
Andrew Grimberg [Tue, 23 Feb 2016 17:01:03 +0000 (09:01 -0800)]
Add current nodepool configuration

This adds in the nodepool configuration that we are presently using.
This is the starting point for the community to help define what build
slave definitions are needed.

Change-Id: I1c6325869a0a411265994090f9dc754de03ea173
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAttache nodepool jobs to zuul 88/388/1
Andrew Grimberg [Tue, 23 Feb 2016 16:55:08 +0000 (08:55 -0800)]
Attache nodepool jobs to zuul

This attaches the ci-management-{verify,merge}-nodepool jobs up to the
proper zuul trigger points (check, post-merge)

Change-Id: I7a67affb8c27d19eabcf72704d8e65b402dc1202
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd nodepool management jobs 87/387/1
Andrew Grimberg [Tue, 23 Feb 2016 16:44:34 +0000 (08:44 -0800)]
Add nodepool management jobs

Add jobs for doing nodepool management

Change-Id: I9d5b74850f51c7f950ccb3580c1aa7f981786494
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd manual triggered csit-vpp-functional-hw-tb2 job. 73/373/2
Stefan Kobza [Mon, 22 Feb 2016 15:26:45 +0000 (16:26 +0100)]
Add manual triggered csit-vpp-functional-hw-tb2 job.

This job would be create from the same template as
csit-vpp-functional-virl, but for the time being this have to be
manually triggered. I didn't find a way how to parametrize
gerrit-trigger-patch-submitted so I've created
gerrit-trigger-manually-triggered.

Change-Id: I2d4f2c6bb8ebb94cd8563132feac765d46e1b56d
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoAdd verify / merge zuul jobs and update layout 79/379/1
Andrew Grimberg [Mon, 22 Feb 2016 19:53:16 +0000 (11:53 -0800)]
Add verify / merge zuul jobs and update layout

* Update the zuul layout.yaml with changes that are currently being hand
managed.

* Add in the verify and merge jobs for zuul (which have temporarily
  been handmanged in as well)

Change-Id: I1f86488165f384def27d03593d161a56f955e4b9
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd new verify / merge jobs for zuul 78/378/2
Andrew Grimberg [Mon, 22 Feb 2016 19:43:14 +0000 (11:43 -0800)]
Add new verify / merge jobs for zuul

We need jobs to be able to manage zuul layout changes. This brings those
jobs in

Change-Id: If6397b0d7f52edc7f2668a2351c35e637ef92888
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoRename ci-management-merge 77/377/1
Andrew Grimberg [Mon, 22 Feb 2016 17:44:44 +0000 (09:44 -0800)]
Rename ci-management-merge

Rename the ci-managment-merge job to be ci-management-merge-jjb as it is
jjb specific. This sets us up to support
ci-managment-{verify,merge}-{zuul,nodepool} job definitions as each of
these job definitions is verify specific to the tool being managed

Change-Id: I1bfcc02411af043f349ca5b62aac17bffe8df363
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoMove ci-management jobs to own directory 76/376/1
Andrew Grimberg [Mon, 22 Feb 2016 17:43:38 +0000 (09:43 -0800)]
Move ci-management jobs to own directory

Let's make the ci-management jobs be a little more consistent with other
projects and have them live in their own directory. Global macros will
still live at the root jjb level.

Change-Id: Ie9bd90ae049b4b83fad050b697e14aced18de4a6
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoRemove unneeded ci-management weekly job 74/374/2
Andrew Grimberg [Mon, 22 Feb 2016 17:06:18 +0000 (09:06 -0800)]
Remove unneeded ci-management weekly job

We've found that as the projects grow that having a weekly job to
refresh the JJB fails more often than it succeeds. As this can be done
as a manual process by the releng team it's better to just remove the
job than have it sit around failing.

Change-Id: I48d154d3cb459171f76526844ef6b64269982c42
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd PYTHONPATH to pylint execution env. 70/370/1
Stefan Kobza [Mon, 22 Feb 2016 09:34:40 +0000 (10:34 +0100)]
Add PYTHONPATH to pylint execution env.

Change-Id: If8a696ee812ddc0b7b3cdb262455d5b2ac4c54d0
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoMerge "Add violations publisher plugin for pylint."
Andrew Grimberg [Fri, 19 Feb 2016 15:48:47 +0000 (15:48 +0000)]
Merge "Add violations publisher plugin for pylint."

8 years agoAdd violations publisher plugin for pylint. 66/366/1
Stefan Kobza [Fri, 19 Feb 2016 14:50:24 +0000 (15:50 +0100)]
Add violations publisher plugin for pylint.

Change-Id: I5685d1679f0e26d87e7c704637304c6f8c5a00e5
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRemove unnecessary jclouds wrapper for pylint validation. 65/365/1
Stefan Kobza [Fri, 19 Feb 2016 14:41:00 +0000 (15:41 +0100)]
Remove unnecessary jclouds wrapper for pylint validation.

Change-Id: Icfbebedf1ada83a1badcec796b0b986819f265ef
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoEnable robot framework jenkins plugin. 34/334/4
Stefan Kobza [Tue, 16 Feb 2016 21:12:33 +0000 (22:12 +0100)]
Enable robot framework jenkins plugin.

Change-Id: I506ea3dd431b559c3ce1e756f2310103da05024d
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoSeparate VIRL test job; Make VIRL job non-concurrent. 50/350/1
Stefan Kobza [Thu, 18 Feb 2016 15:35:47 +0000 (16:35 +0100)]
Separate VIRL test job; Make VIRL job non-concurrent.

Rename csit-vpp-functional to csit-vpp-functional-virl to express the
tests are being run on VIRL environment. This one of first steps to
separate job runs environments - LF's multi-node VMs and VIRL.

Make the VIRL job non-concurrent, as we are working on mechanisms of
spawning of VIRL simulations and VPP installation.

Change-Id: I0c9f5a1973b7d7764bb192b91d9e8b331f4b40a2
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRename csit validate job, add pylint installation to script. 28/328/1
Stefan Kobza [Mon, 15 Feb 2016 16:58:12 +0000 (17:58 +0100)]
Rename csit validate job, add pylint installation to script.

Adding sudo apt-get install script to the pylint validation job. Will
move it to the Vagrantfile after all deps are known and fixed.

Change-Id: I17feaaf4280388088df77f8921a26c1c1c873557
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoTrigger build of this project for CSIT patches. 21/321/1
Stefan Kobza [Sat, 13 Feb 2016 19:21:26 +0000 (20:21 +0100)]
Trigger build of this project for CSIT patches.

Until CSIT is fully integrated and functional, we need to have an
option to trigger jenkins build easily by CSIT project change rather
than VPP build. This is a temporary trigger setup.

Change-Id: I0040158024cf9446b1533b04599e1912f08d3ea8
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoFix ci-management-verify not testing the submitted commit 18/318/2
Thanh Ha [Fri, 12 Feb 2016 23:35:05 +0000 (18:35 -0500)]
Fix ci-management-verify not testing the submitted commit

The ci verify job was testing branch HEAD which doesn't help us verify
code submissions. This patch fixes it so that we pass a parameter
{commit} to represent the branch or commit that we should run against.
Sets the merge job to run against $ZUUL_BRANCH while the verify job
runs against $ZUUL_COMMIT.

Change-Id: I9516bfc14a9981c5e8348e0a6324a3c15b5afc32
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd make csit-vpp-validate-pylint job more descriptive 16/316/1
Thanh Ha [Fri, 12 Feb 2016 23:21:57 +0000 (18:21 -0500)]
Add make csit-vpp-validate-pylint job more descriptive

Change-Id: I409d4dced99f349e994947ae98ce9e1a4416712b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix typo in csit validate job template 14/314/1
Thanh Ha [Fri, 12 Feb 2016 23:17:59 +0000 (18:17 -0500)]
Fix typo in csit validate job template

Change-Id: I3fec5aaf21d165515375c9fafbb4c5830d621d33
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix pylint template name conflict 13/313/1
Thanh Ha [Fri, 12 Feb 2016 23:11:45 +0000 (18:11 -0500)]
Fix pylint template name conflict

Change-Id: I9019459ecde83644e747382f84141c86b77297fa
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Rework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs."
Thanh Ha [Fri, 12 Feb 2016 18:37:29 +0000 (18:37 +0000)]
Merge "Rework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs."

8 years agoAdd virtualenv and pip to jenkins executor image. 95/295/3
Stefan Kobza [Thu, 11 Feb 2016 08:22:35 +0000 (09:22 +0100)]
Add virtualenv and pip to jenkins executor image.

Change-Id: I4315eeacff98fa4c9a41a53e608b90a68024d92f
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs. 65/265/3
Stefan Kobza [Tue, 9 Feb 2016 14:01:26 +0000 (15:01 +0100)]
Rework CSIT jobs - 1 validates CSIT commits, 1 tests vpp debs.

Change-Id: I6e8b78fec5b458cfdac6864617cdbd342b6f0594
Signed-off-by: Stefan Kobza <skobza@cisco.com>
8 years agoRemove the toolchain_test jobs 94/294/1
Andrew Grimberg [Wed, 10 Feb 2016 23:59:15 +0000 (15:59 -0800)]
Remove the toolchain_test jobs

Toolchain test is no longer needed and the repo is currently admin
access / visible only until we can clean gerrit.

Change-Id: I891755a0411be350249a1e3966c5d66abf8165a6
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoTurn down some of the spurious publishers. 74/274/1
Ed Warnicke [Wed, 10 Feb 2016 02:58:14 +0000 (19:58 -0700)]
Turn down some of the spurious publishers.

Espcially the aggressive archive artifacts.

Change-Id: Ia20cfddb2ee543f000ca4d99f0462be7a740b608
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoFix Zuul failing --force-message against Gerrit 2.12 59/259/1
Thanh Ha [Tue, 9 Feb 2016 01:23:01 +0000 (20:23 -0500)]
Fix Zuul failing --force-message against Gerrit 2.12

We probably don't need the "success-message" and "failure-message" but I
think adding it for clarity of which type of job is leaving a comment is
nice.

Change-Id: I7210c0281e3954f714ad5aa308ad8206f25878be
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoConvert ci-management jobs to zuul 58/258/1
Andrew Grimberg [Tue, 9 Feb 2016 00:31:00 +0000 (16:31 -0800)]
Convert ci-management jobs to zuul

Change-Id: I58d6f956a7efdecfe537c3b6b5bdc88f29cae723
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFinish converting toolchain_test to zuul 57/257/1
Andrew Grimberg [Mon, 8 Feb 2016 23:34:43 +0000 (15:34 -0800)]
Finish converting toolchain_test to zuul

* Migrate toolchain_test-merge to using zuul
* update toolchain_test-verify to use new scm macro
* drop the project and branch parameters as zuul doesn't honor them
  anyway

Change-Id: I678bcc3c19477fa245de99d5bc4d09d822339e09
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd new zuul-trigger-scm macro 56/256/1
Andrew Grimberg [Mon, 8 Feb 2016 23:33:58 +0000 (15:33 -0800)]
Add new zuul-trigger-scm macro

Add a new macro for zuul triggered scm

Change-Id: Ib23b7ba3d802339951e57a864a0fa40d954de5de
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoSwitch toolchain_test-verify to using zuul 54/254/1
Andrew Grimberg [Mon, 8 Feb 2016 23:03:21 +0000 (15:03 -0800)]
Switch toolchain_test-verify to using zuul

Change-Id: Icf49effa5ca4a7eb75d15a93bd504dbc21d3bc17
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFix commit hook url 47/247/1
Andrew Grimberg [Mon, 8 Feb 2016 02:39:39 +0000 (18:39 -0800)]
Fix commit hook url

Change-Id: Ia6f15d9cb6b95a764c0ed3c05f22da812c0352fe
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoUndo switch off of Gerrit Trigger 46/246/1
Andrew Grimberg [Mon, 8 Feb 2016 02:27:48 +0000 (18:27 -0800)]
Undo switch off of Gerrit Trigger

I can't keep working on this anymore today and leaving it configured for
zuul overrnight is a broken concept.

This moves everything back to Gerrit Trigger control. We can move jobs
individually tomorrow.

Change-Id: I6943708a6001acb7c5acfe6a6746d6c056813f52
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agomissed a recursive call 45/245/1
Andrew Grimberg [Sun, 7 Feb 2016 23:59:35 +0000 (15:59 -0800)]
missed a recursive call

Change-Id: Ie0cb6b45f1ca57c4cef85f7550482f664aaa6879
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoJJB needs to be recursive from the CLI 44/244/1
Andrew Grimberg [Sun, 7 Feb 2016 23:55:51 +0000 (15:55 -0800)]
JJB needs to be recursive from the CLI

Our puppet module doesn't properly the JJB recursive flag in the ini
file. So, let's just make sure it happens even if not set by setting the
flag in the call.

Change-Id: Ia23fd404f357db08fb3b4b39862de9ed80695319
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoMigrate to Zuul configuration 29/229/6
Thanh Ha [Fri, 5 Feb 2016 18:31:47 +0000 (13:31 -0500)]
Migrate to Zuul configuration

Change-Id: I055731ac99ae40960ee1e6a3e5cf0595d8da4600
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMove JJB jobs to dedicated static slave 42/242/1
Andrew Grimberg [Sun, 7 Feb 2016 20:48:00 +0000 (12:48 -0800)]
Move JJB jobs to dedicated static slave

Zuul has a problem where it can't control jobs that are tied to the
master. As we need JJB jobs to also be able to actually do some work on
the the Zuul system we're statically tying it into Jenkins with a
requirement that only jobs specifically targetting it can run there.

Change-Id: I5a689056edbfa2e154b88d6b3df0a9b97fa17192
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoEnabled CCACHE_DIR to persist between jobs 02/202/1
Ed Warnicke [Wed, 3 Feb 2016 03:27:33 +0000 (20:27 -0700)]
Enabled CCACHE_DIR to persist between jobs

Change-Id: I7d7fc9c8c0dd561e4abbab481ccf4f879763e2e6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoMerge "Turn off archiving for vpp verify and merge job"
Andrew Grimberg [Tue, 2 Feb 2016 20:01:35 +0000 (20:01 +0000)]
Merge "Turn off archiving for vpp verify and merge job"

8 years agoTurn off archiving for vpp verify and merge job 98/198/1
Ed Warnicke [Tue, 2 Feb 2016 19:58:12 +0000 (12:58 -0700)]
Turn off archiving for vpp verify and merge job

Change-Id: If94f2c76740c8250a403557f0ceab0f17df4ddf7
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoUpdate build-bot toolchain to match the vpp ubuntu Vagrantfile. 96/196/1
Dave Barach [Tue, 2 Feb 2016 18:14:51 +0000 (13:14 -0500)]
Update build-bot toolchain to match the vpp ubuntu Vagrantfile.

Change-Id: I03c63afdd02f0082bf0bd800e0d2f3b01b151415
Signed-off-by: Dave Barach <dave@barachs.net>
8 years agoAdd V=0 to make command line;TAG=vpp_debug -> TAG=vpp 78/178/1
Ed Warnicke [Mon, 1 Feb 2016 17:27:29 +0000 (10:27 -0700)]
Add V=0 to make command line;TAG=vpp_debug -> TAG=vpp

Change-Id: I4235334db36609be45b1e31e80659d5cda1827da
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoFix .gitreview to have correct URL 54/154/1
Andrew Grimberg [Wed, 27 Jan 2016 16:13:25 +0000 (08:13 -0800)]
Fix .gitreview to have correct URL

Now that we have a proper name the .gitreview file should reflect this.

Change-Id: I23902395270480b87aefe4476fc11a4ddc1524ee
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoArchive target/ dirs and keep pax-exam unpack area 50/150/2
Ed Warnicke [Wed, 27 Jan 2016 13:52:09 +0000 (06:52 -0700)]
Archive target/ dirs and keep pax-exam unpack area

Change-Id: I2f9eb1ce744881da675551bef420e1ccbbf172bf
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoRedirect job output to file and archive them 09/109/3
Thanh Ha [Mon, 11 Jan 2016 20:29:53 +0000 (15:29 -0500)]
Redirect job output to file and archive them

Also limit max artifacts to keep to 5.

Change-Id: If7603844d12e43f208817dc77b015ddc63786d99
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoChange honeycomb-settings UUID 15/115/1
Andrew Grimberg [Wed, 13 Jan 2016 17:42:41 +0000 (09:42 -0800)]
Change honeycomb-settings UUID

JJB doesn't handle the latest config file provider IDs for objects
properly as it expects them all to be prefixed with
org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig otherwise it
believes the information to be a file path (which doesn't work!) As
such, the honeycomb-settings ID has been fixed up to be more inline with
what JJB expects / requires (until we can get it patched). This required
a restart of Jenkins to take effect.

Change-Id: I60092b1a229d498d672b60fef9554fd7a16d5b60
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFix the repo name that the project looks for 13/113/1
Andrew Grimberg [Wed, 13 Jan 2016 16:47:10 +0000 (08:47 -0800)]
Fix the repo name that the project looks for

honeycomb was mispelled and we hadn't caught that previously.

Change-Id: Ib33a61b1297a4afa246d33c3091298c20999373c
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd gerrit trigger to csit job 06/106/1
Andrew Grimberg [Fri, 8 Jan 2016 19:32:15 +0000 (11:32 -0800)]
Add gerrit trigger to csit job

Change-Id: I26d5f8a4431d362fa018a6073c6628101bb4a0f0
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoSetup csit job to do verify 05/105/1
Andrew Grimberg [Fri, 8 Jan 2016 19:22:08 +0000 (11:22 -0800)]
Setup csit job to do verify

Setup the csit job to do verify and execute ./bootstrap.sh if it exists.
It will fail the job if it does not exist

Change-Id: Ie5f776009f6079693d452b299c3bc185451550ac
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoUpdate vpp maven deployment 04/104/1
Andrew Grimberg [Fri, 8 Jan 2016 18:58:39 +0000 (10:58 -0800)]
Update vpp maven deployment

Update the vpp maven deployment script to use the correct repo and
namespace

Change-Id: If3da11885ea674131cc1fe5fd91d3ccaca8f5a83
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoMerge "Build vpp on csit manual trigger"
Andrew Grimberg [Tue, 5 Jan 2016 19:34:43 +0000 (19:34 +0000)]
Merge "Build vpp on csit manual trigger"

8 years agoMake sure that jjb jobs run on master node only 95/95/1
Andrew Grimberg [Tue, 5 Jan 2016 19:31:07 +0000 (11:31 -0800)]
Make sure that jjb jobs run on master node only

Change-Id: I2fc3110e8992c45ffcdf9758be7b9453a1b53272
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoBuild vpp on csit manual trigger 94/94/1
Andrew Grimberg [Tue, 5 Jan 2016 19:25:24 +0000 (11:25 -0800)]
Build vpp on csit manual trigger

Change-Id: I9a8234a0fab0e13537ff5e91d542a42eefcaf287
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoRename of job 92/92/1
Keith Burns (alagalah) [Tue, 5 Jan 2016 19:04:28 +0000 (11:04 -0800)]
Rename of job

- correct repo
- jenkins regex puts in right tab

Change-Id: I314a02d90df8847178082c054f706ae74fca9639
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoRobot testing framework 88/88/7
Keith Burns (alagalah) [Mon, 4 Jan 2016 21:23:01 +0000 (13:23 -0800)]
Robot testing framework

- please note this ties in with new CSIT repo and this change
referenced here: https://gerrit.projectrotterdam.info/r/#/c/91/

Change-Id: I6cad694155c65b7618bbb5dea5bac3888fbcbe59
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoInitial Honeycomb JJB Commit 81/81/2
Ed Warnicke [Mon, 21 Dec 2015 00:47:49 +0000 (17:47 -0700)]
Initial Honeycomb JJB Commit

Change-Id: I50e3c7534ade3f241848df5896190038d3cc3410
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoAdd honeycomb settings macro 80/80/1
Andrew Grimberg [Fri, 18 Dec 2015 16:37:20 +0000 (08:37 -0800)]
Add honeycomb settings macro

Change-Id: Iffe82075d466356e1522be20c6967abb8858184b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAllow ci-management to do concurrent verifies 66/66/1
Andrew Grimberg [Wed, 16 Dec 2015 14:02:12 +0000 (06:02 -0800)]
Allow ci-management to do concurrent verifies

Make sure that our verify jobs for ci-management are allowed to be run
in parallel

Change-Id: I7390c836f88968f3d9d2538111dba389648cb72d
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoEnable concurrent verifies for vpp 65/65/1
Andrew Grimberg [Wed, 16 Dec 2015 13:59:55 +0000 (05:59 -0800)]
Enable concurrent verifies for vpp

Make sure that the verify job for vpp allows for concurrent runs

Change-Id: Ifb88cdba872150c2d7c67b7651728123b8ab2c25
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoSome additional items needed for testing in basebuild 52/52/1
Ed Warnicke [Mon, 14 Dec 2015 19:35:26 +0000 (12:35 -0700)]
Some additional items needed for testing in basebuild

Change-Id: I4730136b45d79f081d9bc649025bc34af62c21a5
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoMake the script fail build if mvn deploy fails 39/39/1
Andrew Grimberg [Thu, 10 Dec 2015 18:18:01 +0000 (10:18 -0800)]
Make the script fail build if mvn deploy fails

The script wasn't picking up a failed mvn deploy failure. This changes
it so that we need an definite exit code of 0 to not fail the build.

Change-Id: I094bf1e149f779061223496a0b2bc347a3705b5b
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoUpdate the deployment repo and also detect failure 38/38/1
Andrew Grimberg [Thu, 10 Dec 2015 17:02:57 +0000 (09:02 -0800)]
Update the deployment repo and also detect failure

A failed upload was not being detected and causing the job to fail. This
fixes it so that if the maven upload fails we'll fail the build.

Also, at Ed's request there is now a .dev repo for the regular merge
time deb files so we need to push there and not to .release

Change-Id: I08e01979c35c248f6e0fcc6c3b166f2148a9b9f0
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoDo not double up the _amd64 for maven push script 37/37/1
Andrew Grimberg [Thu, 10 Dec 2015 14:34:18 +0000 (06:34 -0800)]
Do not double up the _amd64 for maven push script

Change-Id: If6f686d44442a42e98e4d5d783a4c2d869c98023
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoFix up push script repoId selector and classifications 36/36/1
Andrew Grimberg [Thu, 10 Dec 2015 14:30:36 +0000 (06:30 -0800)]
Fix up push script repoId selector and classifications

The settings files use a - separator for the repoIDs so we need to make
sure that we're concatenating against a - instead of .

Additionally we're tightening up the version classification of the
pushed objects. This may not be 100% still but it should be better than
what we were attempting previously.

Change-Id: I726f9d87c3441357701ad79b7357a337c6636a42
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoENV var test for MAVEN_SELECTOR was inverted 35/35/1
Andrew Grimberg [Thu, 10 Dec 2015 00:06:14 +0000 (16:06 -0800)]
ENV var test for MAVEN_SELECTOR was inverted

The script should be detecting on a null ENV var, not a non-null
variable. In other words, the test was inverted.

Change-Id: If5ee68301300ec363e171f99798c06daa1428ede
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>