summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci/odl-netvirt.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-02-10CSIT: removes dir prefix on NETVIRT_ARTIFACTTim Rozet1-1/+1
Change-Id: I4d046d2be7342e7bf4b19e930dfa3c8f9dea8e79 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex,CSIT: Fixes slaves and other bugsTim Rozet1-2/+2
Changes Include: - Fixes phase jobs to run on the same node - Removes using WORKSPACE/.tmp dir for unpacking snapshot since other phase jobs will need access to these files. Now just unpacks to cache directory - Fixes download for ODL. The previous way ODL was being downloaded was only if a manual patch-set job was run on the ODL gerrit. This patch changes the download to use the zip artifact automatically produced. - The zip artifact is converted to tar.gz and stored in /tmp/ for the install job to consume. Note: the conversion is done because the odl-pipeline install scripts only currently accept tar.gz. - Extra checks in install job to make sure required files exist and have been previously unpacked by deploy job. Change-Id: I38aad98cac247eb4af2839811388b119079bc7ba Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex,3rd_party: Fix workspace wipingTim Rozet1-0/+16
Workspace wiping was done in builders, which can be removed in favor of wiping workspace via the 'scm' entry in the job. For now we point at apex since we require apex repo to clean the host properly. We also need sdnvpn for the python code to upgrade ODL. Since we can only use a single scm at a time, we use apex in the jjb, and then manually clone sdnvpn in the builders that require it. Change-Id: I52274fc8fdd6b6c052e396c2a63dab5abcbf764e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex: fixes missing GS_URL for CSITTim Rozet1-0/+4
Change-Id: I059daa067b4aba9f680a63b0a5ec535164fb05d3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-02Merge "Apex: Create promotion and verify job for Apex CSIT snapshots"Tim Rozet1-14/+15
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-5/+3
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-01Apex: Create promotion and verify job for Apex CSIT snapshotsNikolas Hermanns1-14/+15
Changes Include: - Adds a daily job to create Apex snapshot tarball if functest passes - snapshot artifact uploaded to artifacts.opnfv.org - snapshot artifcat info is stored in snapshot.properties - 3rd party job updated to deploy from snapshot - 3rd party install netvirt job updated to use updated sdnvpn tools JIRA: APEX-364 Depends-On: I792db0fac3f4e81969fe85c05fc298fe5af02537 Change-Id: I8a875c081d756d098173c0baf11c0b4e4956b9fd Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-27remove DEPLOY_SCENARIO from installer-paramsRyota MIBU1-0/+4
Change-Id: Iea26041bacb8c8447519634b8f37d1b59b8f27e8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-20[macro] property logrotateRyota MIBU1-0/+2
This patch defines 'logrotate-default' property and replace 'logrotate' by it, as 'logrotate' is deprecated on jenkins>=1.637 . Change-Id: I900975e5b3f590bb7a4d430e2f623931ae782bf4 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-16[ODL-pipe]Use of the daily suite from FunctestNikolas Hermanns1-10/+2
Change-Id: I658f8992f52d7ab5278299c70285cd53d305a0c6 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-12Revert "[ODL-pipe]Use of the daily suite from Functest"Fatih Degirmenci1-1/+2
This reverts commit 8d8493864406132bcc8e84a38a67b5fc3947d566. Change-Id: I0c1978c87cdee998f4d58754f3e128e51b6e2dc6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-12[ODL-pipe]Use of the daily suite from FunctestNikolas Hermanns1-2/+1
Change-Id: Iee3b50360948352b31c0e63e5ce51e1c2869d4b3 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19[ODL-pipeline] Add standart scenarioNikolas Hermanns1-0/+1
os-odl_l2-bgpvpn-noha is the scenario having the largest scope so will be used for testing Change-Id: I1d0b481efb8e2a7d74d1fb69e114ffb3083d4401 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19Merge "Introduce new installer for Netvirt-ODL pipeline"Jose Lausuch1-1/+1
2016-12-19Introduce new installer for Netvirt-ODL pipelineNikolas Hermanns1-1/+1
The netvirt odl pipline has a special setup. Cause of that we add a new installer type. As elaborated with the Functest team we can then differentiate in functest what tests need to be executed for our special case. Change-Id: I8d7f18aef74b64ba46c6ed712ed5d58bd94c900e Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19clean scm defenitionsRyota MIBU1-3/+1
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-14Add functest to pipeline and add odl-netvirt-virtual-defaultsNikolas Hermanns1-15/+9
For the functest change we use the new cli which provides us with comma seperation of the test cases. Change-Id: Id6c88bd3e13ecce7bf5a738ead8ad98df4e00b5a Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-13Skip cloning netvirt repo and fail the job if artifact doesn't existFatih Degirmenci1-12/+0
We do not need to clone netvirt repo as we are only interested in the artifact. Netvirt artifacts are removed from ODL Jenkins due to ODL Jenkins artifact retention policy. This change ensures that we do not proceed with the rest of the jobs if the artifact does not exist. Change-Id: I9d8af28f5829fc9688c76f116d0bad737a9ecab6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Pass APEX_ENV_NUMBER to apex-create-vms jobFatih Degirmenci1-1/+2
Change-Id: I073a27045db93fcf3c9906abe1c18ad3d26743b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Create job to bring up apex vmsFatih Degirmenci1-22/+37
This is a temporary fix in order to continue with the netvirt parts. Once Apex team finishes their work with APEX-360, this job will be aligned with it. The job to bring up apex vms will be run on ericsson-virtual5. The rest of the jobs will run on ericsson-virtual6, which is virtual jumphost for the apex environment. Apart from this, the job can now be (re)triggered by putting keyword opnfv-test on ODL Gerrit. There are still flaws and things to improve with the jobs such as finding out if the downloaded artifact is real or just a file not found response from ODL Jenkins and so on but these will be fixed later. Change-Id: Ie38e513df08c6c76eacee53a112c09171b1f6c7d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Override GIT_BASE to use ODL Gerrit for 3rd party ci jobsFatih Degirmenci1-7/+14
Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Create jobs for ODL netvirt testing in OPNFVFatih Degirmenci1-0/+207
This change creates basic job structure for ODL netvirt testing in OPNFV. The job should be triggered once the below job is completed https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon and fetch the artifact that is already built by the job. The build result codes OPNFV is interested in are SUCCESSFUL and UNSTABLE. Once the job gets triggered, the build URL will be fetched from ODL Gerrit using Gerrit REST API and the artifact will be downloaded from ODL Jenkins. The downloaded artifacts will then be installed on the Apex environment. There are 3 points that need to be highlighted. - The Apex environment will be created using the promoted snaphots/qcow2 images and already deployed VMs will be brought up. See below for the details. https://jira.opnfv.org/browse/APEX-360 - The hardcoded values in download-netvirt-artifact.sh are there to get the basics in place. (branch name, job name, etc.) Once things work as expected, they will be made dynamic. - A workaround using Gerrit REST API is put in place to get build number of the job netvirt-patch-test-current-carbon to download the artifact. The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older version of Gerrit Trigger Plugin which lacks feature that injects review comments as environment variables. Upgrading Gerrit Trigger Plugin will not help either since OpenStack JJB does not support the new version of Gerrit Trigger Plugin and does not generate the new job XML. JIRA: RELENG-171 Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>