summaryrefslogtreecommitdiffstats
path: root/jjb/cperf
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Revert "CPERF: Fix csit odltools install"Tim Rozet1-1/+0
This reverts commit 38ca028551d2e498fdfe41627f8bf79a43a6a0fa. Change-Id: If37f0d40a50b410004d563bed5887f8237110d44
2018-08-22CPERF: Fix csit odltools installTim Rozet1-0/+1
PIP installing odltools attempts to install/update chardet which was already managed by yum in the container so need to remove it. Change-Id: Id07b76b080ff5b7e77d4c110c90a15018397d039 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20CPERF: Add CSIT top level suite name argTim Rozet1-0/+1
Change-Id: I9b6dd3887c84ab035284400b8d3912fb691f1975 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20CPERF: Install ODL tools and logTim Rozet1-0/+1
Adds pip installing odltools into the cperf container. CSIT jobs now fetch ODL and other OS logs via apex. Change-Id: I532d3a6fed156709cb305a9f7a6721d1db2eaebc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-17CPERF: Update master CSIT ODL to neonTim Rozet1-1/+1
Change-Id: I3e13635f2753c47cda567516b6194ad1b821d14b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-16CPERF: Add clean up to CSITTim Rozet2-0/+14
Now that we promote Apex artifacts after running CSIT, the snapshots will be tainted with the flavor and image used during the CSIT test. We should remove those after running CSIT as it may conflict with other test suites or user interaction with the snapshots later. Change-Id: I874ef145f9df20a9d1471e38698549cbe58dea43 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-16CPERF: CSIT hardcode OPENSTACK_TOPOTim Rozet1-2/+7
CSIT has static topologies that it supports, so even if we have more nodes we need to conform to the CSIT input. Change-Id: Id8647afaccbbf145dbf938b097ac49b92ce876f8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-15Cperf: Fix all-in-one compute robot argsTim Rozet1-5/+10
CSIT requires that OS_COMPUTE_1_IP and OS_COMPUTE_2_IP are still passed with empty values. Change-Id: I694f237bdae1f2a4804d79ff6cde13b99eba7ddc Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10CPERF: CSIT updatesTim Rozet1-7/+12
Changes-Include: - OPENSTACK_TOPO is now decided dynamically - Make the containerized start/stop commands more simple - Include CSIT logging in CSIT promotion Change-Id: I4b178cfd95cf45b808ab9e82b317b729e5f3028f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-08CPERF: CSIT disable live migration suiteTim Rozet1-1/+7
We do not currently use a shared storage backend for the libvirt VMs, so this won't work. Disabling for now. Change-Id: I1ed4658345a1cf23bc6665fc66beffc50d68aec3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-07CPERF: Fix CSIT robot suite pathsTim Rozet1-15/+15
Change-Id: Id40e0d433b0b22bb98f7471af28b6088879c160c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-07CPERF: CSIT enable all suitesTim Rozet1-3/+15
Change-Id: Ib95a268ca478338b1358ec63baa1937325ee7a39 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-07CPERF: Open CSIT testing ports in overcloudTim Rozet1-0/+17
Port 12345 needs to be open so that a netcat server can respond to client requests. Change-Id: Iaf6e59bcb16a7afe329d522b80d6678e65f10140 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06Override EXT* variables to be in 192.0.2.0/24Jamo Luhrsen1-0/+5
Change-Id: I2ee7c37f492f712af3cd10b41ac8bdb6456843db Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06CPERF: Add external csit suiteTim Rozet1-1/+2
Change-Id: Ic2a237149af4cb8d5935a2b018c94b669cf380fe Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06CPERF: Fix ODL_STREAM to not include 'stable/'Tim Rozet2-7/+5
CSIT variable needs to be the branch short name. Also, removes duplicate log upload and fixes the upload path to use short name (to avoid '/' in path for branch) Change-Id: I5e1dac15fdbc1eca6c9edaf8b554c3362fd7a558 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06CPERF: fix OPENSTACK_TOPO argTim Rozet1-1/+1
Change-Id: Ib12228bf149649ab8466906b2e6acea44111e954 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-04Use TOPO, not TOPOLOGYJamo Luhrsen1-1/+1
Change-Id: I86453397a6039c130281de83571489380fc0e309 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-08-04Change OS_DEPLOY to OPENSTACK_TOPOJamo Luhrsen1-1/+1
Change-Id: Ie9c2e9418dc7a2c8d6fcc798a9132303401a1128 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-08-02Add OS_DEPLOY topology variable to pybot argsJamo Luhrsen1-0/+1
Change-Id: I2fd7485b0938bfa481f9c24add704658aab210f8 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-08-02Add l3 suite to list of pybot suitesJamo Luhrsen1-1/+4
Change-Id: Iaa085787ea92b002bb9fd1776f2ab20f63996769 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-08-01Get latest ODL csit code before running pybotJamo Luhrsen1-0/+1
Change-Id: Ib502f79d657f8c3f5e7ac333d8487693eb20c4cd Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-30CPERF: Fix log collectionTim Rozet1-5/+1
Change-Id: I11a9441b77973fc2225b14b2489b61ebf06a8b6b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-30CPERF: Adds log collecting jobTim Rozet2-0/+45
Makes it so logs will always be collected even when CSIT itself fails. Change-Id: Ie854d92950edb515141343fd8b26216a010c55b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-27CPERF: Update netvirt verify testsTim Rozet1-1/+0
Changes-Include: - Disable functest (we only care about csit passing for netvirt) - Fix trigger of csit job for other snapshot versions (always use master for now) - Fix csit always returning 0 even when tests fail Change-Id: I30a51fa391aac692b122f1ebf7bf73ffdb61ca29 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-27CPERF: Disable host key check with ansibleTim Rozet1-0/+1
Also minor debug statements for snap deploy Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-25Use computes + control for NUM_OS_SYSTEMJamo Luhrsen1-1/+1
This is not going to work when we want to make our HA CSIT work, since I think Apex will be having 3 openstack control nodes, and our CSIT won't know what to do with '5' (3 control + 2 compute) openstack nodes. But, we can cross that bridge when we get there. Change-Id: I9c74b2ec73e5af0039d93f9ed812fc3c100a3e4a Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-25CPERF: fix flavor syntax for csitTim Rozet1-1/+1
Change-Id: Id3430db201ba82b398c3e74f5c3cbb541c6fb208 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-25CPERF: Create flavor for CSITTim Rozet1-0/+4
Change-Id: I2dd2fe40f06783320c60788b2161e876a0bb43b5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-25CPERF: Fix cirros image name for csitTim Rozet1-2/+3
Change-Id: I61ffe3d058ff797878d2ef00e5801497f91ea436 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-25CPERF: Fix path issue with cirros uploadingTim Rozet1-1/+1
Change-Id: Ia58fcaae637d9be75b331404648724b82ac16498 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-25CPERF: Upload cirros image for CSITTim Rozet2-1/+23
CSIT does not have the ability to upload cirros image yet, so this patch uploads it to the overcloud as a workaround. Change-Id: I277e37ae28d613771969dca984ef8692e1312fbd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-24Log where the robot files are being uploaded toJamo Luhrsen1-1/+2
Change-Id: I4f933d18c47fff80923d3d79320f0bb873efb2e7 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-23Upload robot logs to gsJamo Luhrsen1-1/+7
Change-Id: I78989fcfd155054d8470359c59f682eb4ba3ea80 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2018-07-23CPERF: minor fixes to csitTim Rozet1-2/+2
Change-Id: I16b4859922a6efec2748190234967409b61c1f68 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-23CPERF: Fix cleaning cloned folderTim Rozet1-0/+1
Change-Id: Ie933308557023877b19e43bbde95470c2bf159ca Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-23Cperf: Add debug messages to executionTim Rozet1-0/+7
Change-Id: I2089414e0fd2151b53da29ea01de3dd1292c078e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-23Apex: Fix invoking snapshot node parserTim Rozet1-5/+8
Change-Id: I12da71b17a0a423b501508b51ab3d614c87f8851 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-23Apex: fix overcloudrc unsetting OS_VERSIONTim Rozet1-4/+5
Sourcing overcloudrc is unsetting OS_VERSION causing failures in csit job: https://build.opnfv.org/ci/job/cperf-apex-csit-master/1/console Change-Id: Ife3b4795832ecdad75bcb41f0721ef8391aafcac Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-16Run ODL CSIT on Apex from Cperf containerJamo Luhrsen4-56/+264
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-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-11Fix Yamllint Violations for jjb/cperfTrevor Bramwell1-132/+132
JIRA: RELENG-254 Change-Id: I8c644ac0bce05f66b1b878e39a00342c857d23f0 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-04-12Do not run docker with -t optionJamo Luhrsen1-1/+1
Change-Id: I33fc01c36b6e290cc47464087a1e84da35a8c56a Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-31Dial in docker and ssh environmentJamo Luhrsen1-5/+7
- need the key to be in /tmp/.ssh/ because that is what robot is expecting. - need to run docker with -ti Change-Id: I8260e749d6afefec33b447d8fdbb89b3d4d39941 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-29Modify interactions with installer VM to set up jenkins-ci for cbench testJamo Luhrsen1-4/+8
- was grabbing stackrc for SDN_CONTROLLER_IP, but it actually in overcloudrc - need to skip hostkeychecking for scp operations - change permissions and ownership of /tmp/.ssh/ files so jenkins-ci can take over as the user Change-Id: I2d8f3aadfd6eff35a288a4e49eabb035bb2560ef Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-20Add mapping of intel-pod2 to apex with danubeJamo Luhrsen1-1/+3
Change-Id: I64019e8a80fe5c7605363b987a57fc6393ee1813 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-20Add danube for available cperf streamsJamo Luhrsen1-0/+5
Change-Id: I9b21f77ae5faf87e4bbb24f3b02d9169fe17eee6 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-03-10Add logic to allow ODL Cbench suite to run from docker containerJamo Luhrsen1-5/+35
- also changing deploy scenario to only use a single controller Change-Id: Ic1aa9489b17478865db7f9509091e165fbe4a6b3 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-1/+0
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-01-20[macro] property logrotateRyota MIBU1-0/+1
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>