summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci
AgeCommit message (Collapse)AuthorFilesLines
2018-07-21Apex: run csit before tempestTim Rozet1-13/+13
Change-Id: I66c0b128fb958285b4bff112586fc45366257256 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-17Apex: change detect script to just include-rawTim Rozet1-1/+1
Change-Id: I2366cbaba46734877782951365a4abebca9d17b8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-17Apex: Fix snapshot scenario detectionTim Rozet1-2/+2
Change-Id: I4b18d441ebc4f9b9ac8c8c67415b8817f3091ee9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-16Run ODL CSIT on Apex from Cperf containerJamo Luhrsen3-3/+62
This patch adds the ability to deploy a cperf container and execute ODL csit against an OPNFV deployment with ODL. The cperf job to execute csit requires an RC file, SSH key to access OPNFV nodes, and a yaml descriptor file that contains per node information about each control/compute node. This patch also adds triggering the cperf CSIT job inside of the 3rd party ODL netvirt verification suite. That job uses Apex snapshots to bring up deployment (no undercloud). Additionally this patch includes some changes to allow multi version snapshots to work. Multiple snapshots are now being created for different OpenStack branches along with noha or HA type topologies. This patch includes the ability to detect the desired scenario as triggered by ODL Netvirt gerrit. Now in ODL netvirt gerrit a user may provide: "check-opnfv <OS version>-<noha|ha>" style syntax to initiate 3rd Party OPNFV CI on a particular OS version/HA setup. Change-Id: I51a27545c985ce74c1c72fe0933eb451939a8c05 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-12Apex: Allow for multi-version snapshotsTim Rozet1-1/+2
This patch adds ability to manage multiple snapshot versions. We want to be able to have snapshots for noha and ha for multiple OS releases. This adds that capability and updates the deploy script to be able to deploy them. Also a user can specify which scenario to trigger with his ODL netvirt commit by doing 'opnfv-check <os version>-<ha|noha> Change-Id: I3884b41c86b55c187becfb83ef62f3431724d09e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-09Update Functest testcase list per tierCédric Ollivier1-1/+1
Change-Id: I905527d509597218927908be7752ca16b6ea2cc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-27Functest: Restores ability to run with pre-defined credsTim Rozet1-1/+1
This patch is needed for the case where there are provided OS credentials to functest, and there is no need to find the installer VM and copy the credentials to the host. In the Apex snapshot case, there is no installer VM on the slave, so we must provide the credentials file. Also includes a fix to use tempest_smoke_serial for the snapshot netvirt verification until CSIT suite is working correctly. Change-Id: Ic84955f527e3f84bb0d8579a377b4a1883fe3eb2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-26Apex: Fixes to allow ODL snapshot update to workTim Rozet1-1/+1
Change-Id: I2e641434051e615cf04922a7349c7a7f1891caea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-26Apex: Update and fix netvirt artifact downloadTim Rozet1-7/+9
Change-Id: I7089603b982125f90dd5259e0720007ab3f910e5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-26Apex: Fix fluorine name and patch netvirt reinstallTim Rozet2-3/+2
Temporarily pull in specific patch to fix ODL netvirt reinstall. Change-Id: Id3ba00592e81ee0970075b34afb72f76db02d0b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: Update ODL master DISTTim Rozet1-1/+1
Change-Id: I5937b486777a5da50b13084969a38c5ee6cb4ba6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: update 3rd party netvirt CITim Rozet1-9/+19
Intel slave no longer exists. Moves the Apex netvirt snapshots to run on Apex slaves. Change-Id: I3d9d32455e5a24cb64070677a32c5908cc331326 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell1-0/+0
global-jjb only supports the .yaml file ending for jjb jobs. Instead of waiting for a release we're going to rename the files. Change-Id: Icf3339eacd2320c583333e02250998cf6b1881f7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch1-0/+1
Updated all the jobs that use functest-suite. For single test cases, we need to know to which docker image the test belongs to. Change-Id: If7db231ccc891233423f2f2bc3aa5b95d048b30a Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-11Fix Yamllint Violations for jjb/3rd_party_ciTrevor Bramwell1-175/+179
JIRA: RELENG-254 Change-Id: I118b0dc0bb58919bc7d25f5d6a8247731e58c409 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-05-09XCI: change functest job to use masterTim Rozet1-1/+1
Change-Id: If0ce98b4d6f86a0bb6ad5b7b78bf134ef87c1fd9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-093rd Party CI: Adds carbon branch to ODL xciTim Rozet2-5/+16
Change-Id: I53ddedb80f19ec9f8224cb0e22e4657b1472169f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08Merge "Change tempest_smoke_serial to odl_netvirt"Tim Rozet1-1/+1
2017-05-05Get ODL distro from the new location on the nexus log serverJamo Luhrsen1-3/+4
Change-Id: Ief68ecad4570f1d6ea0a5142f6071adf3188f50b Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-04-13Change tempest_smoke_serial to odl_netvirtJamo Luhrsen1-1/+1
Change-Id: Id4eee99b339ade6bec9f686a9705b31a93b0169c Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-02-13CSIT: updates csit functest to use tempest smoke serialTim Rozet1-1/+1
Puts this in-line with what is tested on the snapshot promote so we have apples to apples comparison of results. Change-Id: I4f333b0a675eed23bb9107c32a59bcf92f461d3b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: Fixes credential file passingTim Rozet1-1/+1
Change-Id: I1605452d5ad4e61915e537677fc291f911dfb6e8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: Fixes path for overcloudrcTim Rozet1-1/+1
The path was being literally passed to the ENV variable in Jenkins with quotes, which doesn't work. Removing quotes. Change-Id: I0d637d898cbc3c40b26e39b8301feb964de3c57f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: fixes for functestTim Rozet1-0/+1
Since we have no 'installer' for CSIT snapshot deployments, we need to indicate to functest where the RC credentials are. This patch adds that, as well as modifying the IP configured for the host br-external bridge to be the GW IP for the external neutron network. This will allow floating IPs to work with the Functest container. Change-Id: Ie594de8cb2d7837abfad612b9ba49b0c02e7b2be Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-11CSIT: Fixes zip2tar conversion for ODL artifactTim Rozet1-4/+6
File modes were not being preserved using the python tool, hence manually unpacking and re-packing now into tar.gz Change-Id: I40289117ec74ea2717a2428e9542da3dc98f590e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10CSIT: Fixes permissions with sdnvpn odl_reinstallerTim Rozet1-0/+2
This is a temporary fix that should be removed when fixed in sdnvpn repo. Change-Id: I13f247090e72a625db3af932652e006a57418e1e Signed-off-by: Tim Rozet <trozet@redhat.com>
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: changes pip3 to use just pipTim Rozet1-1/+1
Change-Id: I0c8adbca67e5f2235bb2d48c19edc0f96400faab Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Apex,CSIT: Fixes slaves and other bugsTim Rozet3-10/+26
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 Rozet5-30/+25
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 Rozet2-19/+34
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 Hermanns2-19/+34
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-18Merge "[ODL-pipe]Use of the daily suite from Functest"Fatih Degirmenci2-17/+2
2017-01-16[ODL-pipe]Use of the daily suite from FunctestNikolas Hermanns2-17/+2
Change-Id: I658f8992f52d7ab5278299c70285cd53d305a0c6 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-13Avoid removing the whole file systemNikolas Hermanns4-5/+21
If scripts are used by hand and WORKSPACE is not set then rm -rf /* will remove the filesystem. Change-Id: I9bb9ee6643d3916fedc7d3848ecf9b03bde10fae 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-19Add postprocess scriptNikolas Hermanns1-2/+9
Change-Id: I57698d3fa25394432051a0f597a027890aebdb84 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-133rd party ci: Fix bug introduced by wiping out the WORKSPACE itselfFatih Degirmenci4-4/+4
Change-Id: I61de7763412d791bcce20174d6058acf818d0e13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Wipe the workspace before doing anything elseFatih Degirmenci4-3/+17
Due to not cloning the repos, the workspace is not wiped out. This change makes sure we remove everything in workspace to prevent jenkins from complaining. Change-Id: Ife3c4c752cf37c6ff3bfcdea6ffaebc72c440373 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Skip cloning netvirt repo and fail the job if artifact doesn't existFatih Degirmenci2-13/+7
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>