summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
2018-08-10Apex: Allow deploying csit env in verifyTim Rozet1-2/+11
This patch allows us to run a gate job against csit environment, by doing something like: start-gate-scenario: os-nosdn-nofeature-noha-csit Change-Id: I3041404cdfdffe159cff33ecd72be93fe9383e10 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10Apex: Allow gating on allinone deploymentTim Rozet1-1/+14
This allows us to run a verify job on an all-in-one (control+compute) type of deployment. Change-Id: Ia4174c8eb5d55aaa05e63ddce59301e62b3a8a04 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10CPERF: CSIT updatesTim Rozet2-0/+16
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-09Apex: Fix missing fetch jobTim Rozet2-2/+4
Change-Id: I4a14a7c6bc474b17b3bb04603187c18d0c8c1cf2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-09Apex: Use CSIT to gate snapshot promotionTim Rozet4-24/+150
Now that we have CSIT suite passing, we want to use that to gate our snapshot promotion rather than tempest. Change-Id: Ifddaf7921da15150a253021ee5ca64ab2fd438ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-06Apex: add bgpvpn scenarios to dailyRicardo Noriega2-0/+44
Change-Id: I4039dba21e2c74bfecafbcc5dd04880ab6bea0a2 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2018-08-01Apex: Enable Daily Fraser Dovetail scenariosTim Rozet3-145/+2
Dovetail team still needs this for their next release. JIRA: APEX-623 Change-Id: Idff3d5119bc0ae902595eb163b56a06c52c0d70b Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-01Apex: Fix stale GS pulls on artifactsTim Rozet1-3/+3
There seems to be some delay in updating the HTTP server for GS which causes an old version of snapshot to be used. This change replaces using HTTP with gsutil to ensure we get the latest artifacts Change-Id: Iccca64aa9e904221621dfb2cb7471d24a3b3f4d9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-30Merge "Select the right Functest repos when master"Tim Rozet2-5/+14
2018-07-30Apex: Fix CSIT promotion blockingTim Rozet2-0/+2
Block on 3rd party odl netvirt jobs Change-Id: Icc67d13f9195ae3d62c77a909ee8e504c090bd40 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-30CPERF: Adds log collecting jobTim Rozet1-0/+1
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-29Select the right Functest repos when masterCédric Ollivier2-5/+14
Else OpenStack Rocky is verified by Queens upper-contraints. Change-Id: I5bfcb4895e64ab911c1131e8bfeb09eac2775754 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-27CPERF: Disable host key check with ansibleTim Rozet1-1/+4
Also minor debug statements for snap deploy Change-Id: I9a6c2744ac9b9da920666f84c05e46af858613e6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-21Apex: Remove snapshot workaroundsTim Rozet1-5/+0
There's no need to install java or do the docker workaround anymore after fixes into Apex: https://gerrit.opnfv.org/gerrit/#/c/60053/ Change-Id: I3d7d5fcc066bfb4416fcd3404c89e6e814dbf31e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Apex: Change default verify scenarioTim Rozet3-3/+3
Since our default scenario os-nosdn-nofeature-ha is failing functest in verify, switch to os-nosdn-nofeature-noha which is passing. We want the lowest bar possible for initial patch set verification and then can use gate to verify more complicated deployments. Change-Id: I9788495de5ee728fa3c19264120315e562d2712d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-20Apex: Removes branch from functest scenarioTim Rozet2-0/+26
Branch is messing up functest detection of deploy scenarios. Therefore this patch removes the branch from the scenario before passing it to the test job. Change-Id: I1b59125941e839f1937cba565c73e39efb460573 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-19Apex: Fix OS branch detection on snapshot promotionTim Rozet1-1/+1
Change-Id: I4f860f9b9adcc96d94b1daa333eec7a746bc91b1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-19Apex: More snapshot fixesTim Rozet2-3/+9
Changes-Include: - Use correct csit env file with promote jobs - Ensure odl container starts when snapshots brought up - Use SDN_CONTROLLER_PASSWORD for ODL pass rather than hardcoding admin Change-Id: I910a4eefa2b4c621e3f82939bedee338fad91bf3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-18[Dovetail] Edit the job's name of Dovetail running on Apexxudan2-4/+4
Change-Id: I92b8bbef1a979c16a9c62f1affe43817214936a4 Signed-off-by: xudan <xudan16@huawei.com>
2018-07-17Merge "Run ODL CSIT on Apex from Cperf container"Tim Rozet1-22/+2
2018-07-16Run ODL CSIT on Apex from Cperf containerJamo Luhrsen1-22/+2
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-16Apex: add k8s deployment to dailyTim Rozet2-0/+11
Change-Id: I01ac2d25615f189851bc033d156aacc155233913 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Disable fraser dailyTim Rozet2-2/+2
Change-Id: Iad2503baca32175ff912c85dccd71791fc8156ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Update blocking for csit promotion jobTim Rozet2-0/+10
Ensure only one csit promotion job runs on a node at a time. Change-Id: Iab36f267f880347e0090fd87b91c9d7e28fbc4f4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-07-12Apex: Allow for multi-version snapshotsTim Rozet3-8/+45
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 Ollivier3-4/+4
Change-Id: I905527d509597218927908be7752ca16b6ea2cc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-26Apex: Fixes to allow ODL snapshot update to workTim Rozet1-0/+4
Change-Id: I2e641434051e615cf04922a7349c7a7f1891caea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: Fix IP overcloud parsing for snapshotTim Rozet1-1/+1
Sometimes there are more than 1 IP per line in the overcloudrc. So we make sure we only grab the first one. Change-Id: I565fbed902f00688607683cdc69d0edcba4dc743 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: Fixes blocking/snapshot checksTim Rozet3-5/+4
Change-Id: If6782ae3806fa9193d42bc3f640c000e3a723724 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-25Apex: update 3rd party netvirt CITim Rozet3-0/+7
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-06-21Apex: more snapshot fixesTim Rozet4-9/+18
Changes-Include: - Rename jobs to have 'os' in them to distinguish openstack branch - Fix uploading snapshots to upload from the create directory (where the artifacts are built and stored) - Fix the properties file so that it is created if one does not exist already upstream in the artifacts repo Change-Id: I0d75fd41585538cbe860274a082cb4051d8b05c5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-21Apex: Fix usage of gpg key importTim Rozet1-1/+3
Removes using source to call the gpg import script. source will execute the script in the current shell, which will exit the artifact upload. Adds checking to make sure we ignore any failure with running the script. Change-Id: I587cf9584f9fa8c4d315b7b2328a6c7c55ae3b88 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-20Apex: fix parameter passing to snapshot jobsTim Rozet2-24/+16
GS_URL is required for the builders with the snapshot related jobs. Change-Id: I4b194bbf5646361c527b522a25b71d4c268d9b6c Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-19Apex: Removes workaround route for ODL with CSITTim Rozet1-10/+0
This route was used as a hack for JIRA: APEX-112 Change-Id: Ia7afc95389ed4e3c7a4128318868bfe562b34b62 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-18Apex: Enable OS master clients with TempestTim Rozet3-0/+27
We want to use OS master clients when testing with master OpenStack (scenarios without any branch in the name). Change-Id: I6b2814dcb6fd7e8a650782e13c1a765320e8cf98 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-15Apex: Adds missing nosdn scenarios to dailyTim Rozet2-0/+44
Change-Id: Ib1f508461c22e01ea2e9a7d855f79ed7aa25f68a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-14[Dovetail] Increase frequency of Dovetail runs on ApexGeorg Kunz2-8/+4
Run Dovetail tests on every deployment of os-nosdn-nofeature to improve testing turn-around time as we are approaching the next release of Dovetail. Change-Id: Ie4baf3c2f607aaf09135c4021258e9afb0aec826 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2018-06-12Apex: disable functest for k8s deployment in gate jobZenghui Shi1-0/+1
Change-Id: I554dd364dbcbef03c4bc54bc026af22f8d95d34f
2018-06-05Apex: Fix missed updating nosdn verify scenarioTim Rozet1-2/+2
Change-Id: If9e612b24fca868c3b330a03053accc7debf9420 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-05Apex: Change verify job to use tempestTim Rozet1-4/+4
Tempest is maintained for different versions of openstack which we need to be able to test master and queens in Apex for XCI. Change-Id: I1ab6500964a93b74f1800e9bdfea9ddfb1157f70 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-01Apex: Only use admin network for snapshot createTim Rozet1-3/+1
CSIT only uses admin network, so only collect that virsh def. Change-Id: I2bce08f004ca673cc8a9ecffd09e44f45b04eb76 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-31Apex: Parameterize functest suite/testcaseTim Rozet3-2/+12
This patch parameterizes the functest variables for the apex-virtual job so that we can indicate which tests to run when calling the apex-virtual (which in turn runs deploy and functest). Change-Id: Ic628c7711aca2d3ac0520d34150a3242d8d9891d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-29Apex: Changes default verify scenario to nosdnTim Rozet2-4/+4
Basically we are getting blocked on merging patches due to ODL breaking and these patches have nothing to do with ODL. So we are changing the default sceanrio to just be nosdn, and then if the change is relatd to ODL we can include an ODL gate run. Change-Id: I61ec224e62e6f3cb6ee40696326bf243788c27d6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Apex: More CSIT promotion fixesTim Rozet3-7/+14
Changes-Include: - Use 2 computes as required by ODL team - Get rid of checking JOB_NAME var for csit, and simply check if PROMOTE var is True - Pass PROMOTE all the way from top-down into deploy job - Use CSIT network settings file when deploying CSIT Change-Id: I56d953516ce690749634b474e553baad3a762364 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Apex: Fix blocking on promote and artifact verTim Rozet3-6/+9
Change-Id: I274dba9398ef549d20fa106eda88abebfbf48c9e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-25Apex: migrate promote jobs to use virtual deploy jobTim Rozet2-42/+8
This job already does deploy and test, so just use that rather than triggering seperate jobs. Change-Id: Ie62088f434de93ebb7638ba4d4ef8791ac01aa1f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Apex: Always build RPM in build jobTim Rozet1-2/+2
Change-Id: Ie2d0a730801bc7f5bb784ee90e60e8e30562ef47 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Apex: Fix scenario name for promote jobsTim Rozet2-10/+16
Promotion name for master OS should just be nofeature. Change-Id: I60086e94bbef87a1754f4f2cc00d096454668ded Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-24Apex: fix unbound variable in artifact dlTim Rozet1-3/+2
We still need VERSION_EXTENSION var to figure out which RPM files to remove on the slave. Change-Id: I03cc9c3318edec9860c8f3ffc01db52517a644b4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-22Apex: enable RPM build on master verifyTim Rozet3-9/+14
Now that we only build apex python rpm in master, we can afford to build RPM everytime and ensure it builds correctly. Change-Id: Ica1efe1cc2c3db0dfe1c5677b5ab47df121c0966 Signed-off-by: Tim Rozet <trozet@redhat.com>