summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
2018-10-16Apex: Fix csit job blockingTim Rozet2-0/+2
apex-virtual-{stream} is not being blocked and running at the same time while csit tests are running. This should stop it from running until the promotion job is finished. Change-Id: Ie164bbee08253a7e79892d36780b66fe0ad2cf97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-16Apex: Fix csit deployments for queensTim Rozet1-2/+2
With changes to deploy scenario files for gambia, we still need the logic to pull in the right csit-env. That logic broke as it depended on DEPLOY_SCENARIO with the changes to scenario names. This patch fixes it to check openstack version (OS_VERSION) instead. Change-Id: Ie130efd0fc3cb7f09a3fa4e896ad461d24394777 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-15Apex: Fix scenario promote name for queensTim Rozet2-2/+2
Now that Gambia branch is used for queens promotion, scenario files use nofeature instead of using branch name. Change-Id: I76e8f851bc6ef337301d1367dcafd798b212bb38 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-15Apex: Fix pkg install for gambiaTim Rozet1-1/+1
Missed a check where we install packages based on old package convention. Change-Id: If1da8db9b10b81ea5825b7548509be29e08e6f91 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-12Merge "Update jenkins-job-builder to 2.2.1"Trevor Bramwell4-23/+23
2018-10-12Update jenkins-job-builder to 2.2.1Aric Gardner4-23/+23
jjb/lf-ci-jobs.yaml has jjb-version: 2.2.1 as a minimum change block-level to blocking-level: https://review.openstack.org/#/c/608092/ We will need to change this back once we move past jenkins-job-builder>2.5.0 Change-Id: I12d0f55ee3c2dad20340ebf0fa8428ee1ad8484c Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-09-28Apex: Add ovn scenariosTim Rozet2-3/+36
Includes a minor fix to ipv6 rocky scenario. Change-Id: I55440dff2fcf7674d4a9c86d9dcb131c226e68ea Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-28Apex: Fixes branch checkingTim Rozet5-20/+15
With the move to upstream artifacts post-fraser the checks to use upstream artifacts were relying on BRANCH == 'master'. This doesn't scale as we preserve fraser functionality but add more branches like gambia. Therefore inversing the logic to accomodate for new branches. Change-Id: Ice17f6afd33744f44d253d320a194c3f6d02d8bf Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-27Apex: Add Gambia jobs and prepare for rockyTim Rozet5-21/+200
Adds Gambia daily/verify jobs and prepares to migrate master queens scenarios to rocky scenarios. Change-Id: I7bfe6202e00fd62c1e668f3a6f9b481b9fbca99d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-10Apex: Fixes promotion per Apex branchTim Rozet2-14/+158
Now that we branched for Gambia, we want Gambia code to handle promotion for Queens snapshots, while Apex master is responsible for rocky/master promotions. Change-Id: I6f4fffabd728d72fe9b6b2e5a983f6d8762272a9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-10-09Apex: Fix building for gambiaTim Rozet1-1/+1
The logic should have been checking for stable/fraser and didn't account for newer branches other than master. Change-Id: I1164ce57338ba1734aa68c98bfe22a8a5f4209ac Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-09-11Updated calipso scenario for masterIlia Abashin2-11/+22
Change-Id: I22c05b0cb2973e84b6352a0ab4e7e38132e909f9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-22Apex: Add SFC to dailyTim Rozet2-0/+44
Change-Id: I51e5ecce1e7e5ef851e3c031aeb7819c0712c72d Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-21Apex: Fix verify blocking with csitTim Rozet1-2/+6
Make apex verify virtual deployment occur on the same node where apex-verify job is running. Block apex-verify from starting if csit promote is running. Change-Id: I86e76232003b509db516e8d78703d43d36456d14 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-20CPERF: Install ODL tools and logTim Rozet2-0/+22
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-20Apex: Add nosdn ipv6 to dailyTim Rozet3-1/+25
Adds ipv6 nosdn scenario to daily. Also includes a fix where the trailing new line in the template would be removed and fail jjb check in jenkins. Change-Id: I928f7b1cf12381cb2af3a8c7e4beb8e8014451c9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-15Apex: Add allinone snapshot jobTim Rozet2-0/+2
Job will allow us to promote all-in-one snapshots. Change-Id: I0d0bec8e7598219e17df32bb05a4e8d6efbc52dd Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-08-10Apex: Fix enable-condition on verify gateTim Rozet1-1/+1
Change-Id: Id2ac2945af9a419303f21f74cca8eb513f90ce80 Signed-off-by: Tim Rozet <trozet@redhat.com>
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>