ci-management.git
8 years agoCleanup vagrant 94/994/1
Andrew Grimberg [Wed, 4 May 2016 23:08:01 +0000 (16:08 -0700)]
Cleanup vagrant

* Cleanup the Vagrantfile of unneeded cruft
* Cleanup the boostrap to be a bit more quiet and also give context as
  to what it's doing
* Make sure that the reseal has a sync / sleep

Change-Id: Ia1aa4e30b7a6342689c6fce30a18db1f52d27182
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd jjb job to validate images 92/992/8
Ed Warnicke [Wed, 4 May 2016 20:01:30 +0000 (15:01 -0500)]
Add jjb job to validate images

Change-Id: Ib1c29c39e845d3a30c4b82ef0b590f48df466a7b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agore-index system certificates 78/978/1
C.J. Collier [Tue, 3 May 2016 20:06:47 +0000 (13:06 -0700)]
re-index system certificates

* corrected truncation of PACKAGES file
* using headless variant of JDK
* removed -qq from apt-get commands to provide better accounting
* run update-ca-certificates -f to ensure that nexus.fd.io is trusted

Change-Id: I57f7267d6c70e40d63c86234e4e1723983170c3a
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
8 years agoClean up apt package list 91/891/10
C.J. Collier [Sun, 24 Apr 2016 18:00:46 +0000 (11:00 -0700)]
Clean up apt package list

* Combine all packages in to a single call to apt-get install
* Modify /etc/apt/apt.conf
* corrected a comment
* not doing redundant edit of /etc/sysctl.conf
* adding emacs files to .gitignore
* Exercised this code while producing a new base image for each targetted platform
* install java8 from official openjdk PPA if platform is 14.04
* detect correct python package to install in CentOS
* open (and later close) stdout and stderr logs for later review

Change-Id: I669c0c3043f0c90df7af5033b8e180b0e6dc696a
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
8 years agoMerge "Use build.sh for vpp build"
Andrew Grimberg [Fri, 29 Apr 2016 18:11:22 +0000 (18:11 +0000)]
Merge "Use build.sh for vpp build"

8 years agoVPP-8: use jdk8 for VPP builds 77/877/5
Marek Gradzki [Tue, 26 Apr 2016 07:35:58 +0000 (09:35 +0200)]
VPP-8: use jdk8 for VPP builds

Change-Id: Ieec25be815128e53328493700d9a3d228bceba2b
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
8 years agoUse build.sh for vpp build 52/852/3
Ed Warnicke [Sun, 24 Apr 2016 03:21:57 +0000 (22:21 -0500)]
Use build.sh for vpp build

https://gerrit.fd.io/r/#/c/765/
is refactoring the vagrant to have a separate
build.sh suitable for use outside of vagrant.
It autodetects supported distros, installs dependencies,
etc.

This patch switches vpp jenkins jobs over to using
build.sh.  This should give us a unified path where:

1) CI Builds
2) Vagrant
3) Users starting out on their own Centos/Ubuntu boxes
for the first time

are all using the same build.sh.

Change-Id: Iae7bca4e2a9e183e878d7638701e66735b388cbc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoChange performance job name 34/834/4
pmikus [Thu, 21 Apr 2016 13:47:22 +0000 (15:47 +0200)]
Change performance job name

- JIRA: CIMANAGE-4
- Change vpp-verify-performance job name to naming convention

Change-Id: If873f29b3bb82de2bdf2e84614d132867c8d06c8
Signed-off-by: pmikus <pmikus@cisco.com>
8 years agofix for centos merge maven push 47/847/1
Ed Warnicke [Fri, 22 Apr 2016 16:19:30 +0000 (11:19 -0500)]
fix for centos merge maven push

Change-Id: I16fd1580afa8fe229fc9ff15283f402333478fe2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoFix push_deb 37/837/1
Ed Warnicke [Thu, 21 Apr 2016 18:23:30 +0000 (13:23 -0500)]
Fix push_deb

Change-Id: Ie33def177bca89a25f4d7a007603b3822ba7f6c5
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoEnable ubuntu1604 merge and push debs to repo 31/831/1
Ed Warnicke [Thu, 21 Apr 2016 12:54:03 +0000 (07:54 -0500)]
Enable ubuntu1604 merge and push debs to repo

Change-Id: I1d2ec5b4ac01f000fb180f1f82b6de2a6126f9e7
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoMerge "Added python3-dev dependency to support Python API bindings."
C.J. Collier [Wed, 20 Apr 2016 20:02:47 +0000 (20:02 +0000)]
Merge "Added python3-dev dependency to support Python API bindings."

8 years agoSupport for ubuntu1604 in CI verify 21/821/6
Ed Warnicke [Tue, 19 Apr 2016 21:55:58 +0000 (16:55 -0500)]
Support for ubuntu1604 in CI verify

This patch should enable ubuntu1604 verify in CI management.

Change-Id: I17b6e8addcfddf6cbbc3774205beecc00c4d3fcf
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoAdded python3-dev dependency to support Python API bindings. 74/774/5
Ole Troan [Wed, 13 Apr 2016 11:51:04 +0000 (13:51 +0200)]
Added python3-dev dependency to support Python API bindings.

Change-Id: Ie7eb3d22e81fe718d688fbd1f5ffebb282e06e17
Signed-off-by: Ole Troan <ot@cisco.com>
8 years agoMerge "Rename job to performance"
C.J. Collier [Wed, 20 Apr 2016 16:37:27 +0000 (16:37 +0000)]
Merge "Rename job to performance"

8 years agoMerge "Correction of csit-vpp-master-verify-weekly jenkins job"
C.J. Collier [Wed, 20 Apr 2016 14:12:09 +0000 (14:12 +0000)]
Merge "Correction of csit-vpp-master-verify-weekly jenkins job"

8 years agoCorrection of csit-vpp-master-verify-weekly jenkins job 07/807/1
Jan Gelety [Mon, 18 Apr 2016 14:55:55 +0000 (16:55 +0200)]
Correction of csit-vpp-master-verify-weekly jenkins job

- added archive artifact (RF log, report and output) files
  to publishers
- added manual trigger

Change-Id: I21b6798a357cb8b14371cee5f35ae259b63b384a
Signed-off-by: Jan Gelety <jgelety@cisco.com>
8 years agoAdd dependency on dh-systemd 97/797/1
Ed Warnicke [Fri, 15 Apr 2016 23:07:38 +0000 (18:07 -0500)]
Add dependency on dh-systemd

Change-Id: I9a10dd107150ba31f13a00f7faabd0cc9fe2503f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
8 years agoRename job to performance 86/786/1
pmikus [Thu, 14 Apr 2016 13:12:37 +0000 (15:12 +0200)]
Rename job to performance

- rename csit-vpp-functional-hw-tb2 job to csit-vpp-perf-hw (as testing performance) with unified trigger for performance testing
- parameterized job for future extension

Change-Id: I72d1562fad8ad188930f39374f3ebfe8ebb984aa
Signed-off-by: pmikus <pmikus@cisco.com>
8 years agoQuery RPM files directly using rpm for upload info 79/779/1
Andrew Grimberg [Wed, 13 Apr 2016 17:38:00 +0000 (10:38 -0700)]
Query RPM files directly using rpm for upload info

Instead of trying to figure out all the maven fields based upon the
filename with possible failures that this can cause, instead, use the
rpm command itself to query the built artifacts for the needed
information.

Also, .src.rpm should be the canonical name for source RPM files. Make
sure that .srpm and .src.rpm are handled properly and they normalize to
.src.rpm in nexus.

Change-Id: I6b35c15e8e6b189a2144fe3cfb991e467933ad46
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
8 years agoAdd 'mock' to allow cleaner rpmbuild 78/778/1
Ed Warnicke [Wed, 13 Apr 2016 16:38:32 +0000 (11:38 -0500)]
Add 'mock' to allow cleaner rpmbuild

Change-Id: I800ae2b6be86ac54c259f952da9fb9b423a338f3
Signed-off-by: Ed Warnicke <eaw@cisco.com>
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>