summaryrefslogtreecommitdiffstats
path: root/jjb/cperf/cperf-robot-netvirt-csit.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07Cperf: Add missing nova path varTim Rozet1-0/+1
This variable is required for the live migration tests. Change-Id: I2505d31f0c0c9b5cf540473937d500fdf506af5f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-12-06Cperf: Enable csit live migrationTim Rozet1-4/+1
With the support for NFS shared storage with Apex CSIT we can reanble the live migration test. Apex commit: https://gerrit.opnfv.org/gerrit/#/c/65585/ Change-Id: I60ec03605537a003f32a4ef9231036db2649ad6a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-11-27CPERF: Fixes issue with known hostsTim Rozet1-2/+2
Exporting the global var to disable ansible host key checking doesn't ignore known hosts in the file. To fix this, this patch sets the known hosts file to /dev/null. Reference: https://github.com/ansible/ansible/issues/9442 Jobs currently failing due to known hosts: https://build.opnfv.org/ci/job/cperf-apex-csit-master/320/console Change-Id: Ic3470b368a056b3a3981f9555160a44018f97ebd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-17Apex: Adds ability to force snapshot promotionTim Rozet1-0/+5
We want the ability to be able to force a promotion and skip CSIT. This patch introduces a variable we can use when manually triggering a promotion job to force promotion. The use case here is for HA scenarios we have no snapshots because CSIT always fails. We want to be able to force promotions for this case to at least have some snapshot available. Change-Id: I7e81b458f4169596929f032e9394695477fbb940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-15CPERF: Reduce CSIT for HA deploymentsTim Rozet1-12/+18
Since CSIT does not pass on HA, but we still want to promote some snapshots for HA, reduce the CSIT suites to L2 and L3 only. Change-Id: Iaf739f972211c1e94de781a006065d7130ddf1c3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-03CPERF: Disable CSIT IPv6 suiteTim Rozet1-2/+5
This suite is failing with disconnects for the SSH connection to the overcloud controller. Disabling it for now until we can figure out what the problem is. Only happens in this suite: https://build.opnfv.org/ci/job/cperf-apex-csit-master/104/consoleFull Change-Id: I15eda3009f181c190bcef6e51b00d22070d9e444 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-02CPERF: Move L3VPN ipv6 CSIT suite to be firstTim Rozet1-3/+3
Pulling an older version of CSIT had no effect, so reverting that change. Move L3VPN IPv6 CSIT suite to be first, to rule out a timing issues along the suites, and determine if the problem with the socket error is specifically somethign to do with this suite. Change-Id: If523c6102283d00ae0deb1e96e3f89455be7472a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-02Fix broken L3VPN testsTim Rozet1-1/+1
L3VPN IPv6 tests fail consistently. This patch checks out a version of CSIT right before an update was done to all the L3VPN test. This patch will be used to validate if the bug was introduced by that commit, and reverted either way. Change-Id: I2998cc7cfae183048e5ff1d06fd6bcdf16dd8e41 Signed-off-by: Tim Rozet <trozet@redhat.com>
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 Rozet1-0/+3
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-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 Rozet1-6/+2
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-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: Upload cirros image for CSITTim Rozet1-1/+6
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 Luhrsen1-0/+105
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>