summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-05-21Apex: Updates daily master scenario namesTim Rozet2-4/+26
Change-Id: I881634a57f1d28cfcc3346476dc095873c014a22 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-16Rename files under jjb from 'yml' to 'yaml'Trevor Bramwell5-2/+2
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>
2018-05-02Apex: Fix resources/images directory usage with deployTim Rozet1-3/+2
Change-Id: If50ad310049edca687da8e0acf412a7e1eacd2b6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: disable iso verify for master branchTim Rozet1-0/+5
Change-Id: I46753983e1fb37300df70700c474c3dda3532ffa Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-05-02Apex: Update for master upstream deploymentsTim Rozet5-57/+99
Change-Id: I92635178ddc354dd7773cd372a34d46f5ee0bf2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-18Ensure PATH has /usr/sbin/ for Apex Unit TestsTrevor Bramwell1-0/+2
Due to python-iptables calling out to ldconfig, we need to ensure /usr/sbin is available when running the Apex unit tests. Change-Id: I77fd4dedd6e7ad3c3831a1d181a5406d53a0e76e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-17APEX: Add log collection to daily baremetal deployFeng Pan2-32/+22
Change-Id: I17c1aad45f8b965543a9c7d769ff94f59b9381d5 Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-17APEX: Fix gate detection regexFeng Pan1-1/+1
Change-Id: I41926856b129eb7dd99c5db8765961acd241eb55 Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-13Apex: remove non-released scenarios for FraserTim Rozet1-3/+0
We will not support RT KVM and IPv6 scenario. Change-Id: Iabd52f3ff803488e1ac68e8946001a7c04f5ca7f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-13APEX: Fix missing bash command in verify jobFeng Pan1-1/+1
Change-Id: I055ec261368b341c5dd9f2ab5082c8ced15ad6e5 Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-12APEX: Fix gate check scenario detectionFeng Pan3-39/+11
- Change scenario parsing to allow k8s scenarios in gate jobs. - Remove scenario detection in shell scripts. Also changes network setting file for fd.io scenarios as we don't use separate config files any more. Change-Id: Icbcc6cb7b6b66c7cc43f5d6c58dd97730e41ea5f Signed-off-by: Feng Pan <fpan@redhat.com>
2018-04-11Apex: Fix log collection for daily jobTim Rozet2-2/+2
The wrong job name was being triggered so no job was running to collect logs. Change-Id: Ib58b030ac24920fc7906bff92a481407587a39bf Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-10Apex: Update master daily scenariosTim Rozet2-204/+6
As part of our new XCI effort, we only enable upstream ODL scenarios initially. Change-Id: I737bbffce14b6c5c69dfbbb653659c7e693cb4fb Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-10Enable Apex Fraser Jobsagardner2-2/+2
Change-Id: Ie7bd0d3299fbbb8bc3e865612026ad479c48392d Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-04-06Apex: fix log uploadingTim Rozet1-2/+3
Logs were owned by root, so jenkins-ci could not upload them. Also prints exact links for each file so it is easier to directly view logs from jenkins output. Change-Id: I919bf38c87561a696ae96683c56ad5f96c8d795e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Apex: Fix conditions for multijobTim Rozet3-8/+5
condition actually affects *next* phase execution and not conditional on previous phase. This change fixes the condition so that fetch logs always runs. Change-Id: I50c3f9f9412682ea591c47116d406b5ed81ee2b5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Apex: add missing fetch-logs to jobs listTim Rozet2-2/+2
Change-Id: I28e4b613d92c43d32e95f8e1b4f4a4e2db102bc5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Merge "Apex: Enable overcloud log collection"Tim Rozet4-2/+164
2018-04-05Apex: Fix slave used by unit testTim Rozet1-1/+1
We were using 'stream' as part of the slave label to run unit tests on. However, we typically just use master label for everything to avoid having to update labels on slaves. Changing the unit test to follow the same method. Change-Id: I6a182c3f28d541109c8a9d94ea1dae2a80f2b835 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-05Apex: Enable overcloud log collectionTim Rozet4-2/+164
With this commit: https://gerrit.opnfv.org/gerrit/#/c/47875/ We can now gather logs from after at the end of a deploy/test job and upload them to artifacts. This patch enables that behavior on verify and daily jobs. Change-Id: If7af4cf1363e4bbcee78d98850af7c0e20250f3f Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-04-03Create Stable Branch Jobs for apexjenkins-ci5-0/+248
Change-Id: I7f6072121c4d88192c828e2e3cf2beb5d6c22c37 Signed-off-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-28Apex: Updates promotion jobsTim Rozet3-37/+21
Change-Id: I37c7b8b6e4bd19ef94b9b42fe2e5e89cc3e2da21 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-28Apex: Adds parsing scenario on artifact downloadTim Rozet1-0/+20
Download was not properly being skipped on upstream scenarios because the scenario was not being detected and was set as "gate". Change-Id: I38533ad8140be48726aa2cb1c106d7ef6ca9afd5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-19Make Apex JJB Renderer ImportableTrevor Bramwell1-21/+29
Wrapping the script into a function will make it importable from other python code. Calling the file directly will still work as it did before. Change-Id: I8336d34b05687fa650ce1c123bb37fa311ce2978 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-15Merge "change dovetail CI jobs on Apex"Tim Rozet2-4/+34
2018-03-15Apex: add support for deploying upstream onlyTim Rozet2-2/+12
Scenario names with 'upstream' in them will not download any artifacts and deploy from upstream. For now, this even applies to the apex python RPM for daily deployments. We will only use git repo for daily until after Fraser. Change-Id: I0da16dfde117ba6c1e7597294d8e4afc8501dd53 Signed-off-by: Tim Rozet <trozet@redhat.com>