summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-23Merge "restore setup.cfg in case submitted by mistake"Jose Lausuch1-0/+3
2017-03-23Merge "make unittest execution more user-friendly"Jose Lausuch2-10/+9
2017-03-23Merge "fix: always return 200 even if exception happens"Jose Lausuch1-6/+0
2017-03-23jjb: xci: xci-daily-jobs: Fix typoMarkos Chandras1-1/+1
Change-Id: Ib9116927c2169e033911d8b3fc64ba39232da6b0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-23make unittest execution more user-friendlySerenaFeng2-10/+9
allow users use their existed venv manage all test-related libs in test-requirements.txt Change-Id: I39a63833e4a1f4f088afa045a83bf12cd01da167 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23restore setup.cfg in case submitted by mistakeSerenaFeng1-0/+3
in venv mode, setup.cfg will be modified to fit venv condition, restore to the original after installation Change-Id: Ib38b2ab9e015201c812305414a207c05bdf7c830 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23fix: always return 200 even if exception happensSerenaFeng1-6/+0
when post/update/delete is executed, the return value always are 200, even if exceptions such as 404/409 happen Change-Id: I612ad15cc6567f435caa4c889bb0c7b6a73f9c52 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-22xci: Make it possible to select component versionsFatih Degirmenci6-30/+112
By replacing the branch with version, we now can specify sha1s per project; opnfv/releng, openstack-ansible, and bifrost. If nothing is specified manually (or via promotion), the defaults will be set to branches, master and stable/ocata. Change also includes further logging. Change-Id: Iae0f8cc60391caeb0f2735610050007014374a70 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22Merge "jjb: xci: Fix permissions in workspace before removing it"Fatih Degirmenci2-0/+32
2017-03-22jjb: xci: Fix permissions in workspace before removing itMarkos Chandras2-0/+32
From time to time we end up in the unfortunate situation where the jenkins job breaks for random reasons and the logs are left with 'root' permissions. On the next run, the job fails again but this time it's because Jenkins does not have enough permissions to delete them. We workaround this by fixing up the permissions before removing the workspace. Change-Id: I2fda20ded527bac73605ffa5818a2c44bf6c9026 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-22KVMFORNFV:  Adding forbidden-file-paths.kalyanreddy1-0/+4
This patch is used to disable strict-forbidden-file-verification and add forbidden-file-paths so that kvmfornfv verify job will not be triggered if the patch includes changes only to docs/ Change-Id: I03bf15aa354fda3c2003f59c5a8a6e1c741a6531 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-03-22Merge "xci: Fix grep, switch to opnfv playbook and log playbooks to console"Fatih Degirmenci1-18/+21
2017-03-22xci: Fix grep, switch to opnfv playbook and log playbooks to consoleFatih Degirmenci1-18/+21
Change-Id: I4a576d45b71267f672e55c93e4f0c95410af019a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22Merge "functest: daily jobs: Increase timeout"Fatih Degirmenci1-1/+1
2017-03-22joid: disable dovetail jobsFatih Degirmenci1-11/+11
Change-Id: I435ae5af78f259bb66a6104312b9bb5133ebeabc Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22Change shell check name, as it's confusingAric Gardner1-4/+4
When you look at the build there is opnfvdocs-verify-master (opnfvdocs project) opnfv-docs-verify-master (releng project) It's not clear on first glance which build does what. change opnfvdocs-verify-{stream} to 'opnfvdocs-verify-shellcheck-{stream}' change opnfvdocs-merge-{stream} to 'opnfvdocs-merge-shellcheck-{stream}' Change-Id: I11927c9ac9b7ae6f9ae44660ea5008713a1b0a9f Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-22xci: Fix the script name and remove openstack servicesFatih Degirmenci2-3/+1
Change-Id: I774e12f15561de75920ca50bcb2fbaf917e004a9 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22xci: Logging, naming, and job updatesFatih Degirmenci5-87/+142
- adjust build blockers in daily jobs. - explicity set SLAVE_LABEL for provision, deploy, and functest jobs so they run on correct nodes even if they are started manually. - rename files and update scripts accordingly. osa_deploy.sh -> osa-deploy.sh targethost_configuration.yml -> configure-targethosts.yml jumphost_configuration.yml -> configure-xcimaster.yml - add/fix console logging in osa-deploy.sh. - add license header to osa-deploy.sh. Change-Id: I57a37dccaa4bcda554ef79969e5d288b49937807 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22xci: Updates to releng/osa to make it work on JenkinsFatih Degirmenci6-22/+129
- change OSA_BRANCH to OPENSTACK_BRANCH to be consistent everywhere. - create opnfv-setup-openstack.yml playbook, getting rid of some components and copy it to xcimaster to use during the deployment. - switch to opnfv-setup-openstack.yml from setup-openstack.yml. - create Jenkins job wrapper to execute osa deploy script. - disable ansible strict host key checking. - use sudo -E as needed in order to make env vars set by Jenkins job and wrapper available to other scripts and to ansible. - rename jumphost to xcimaster so people do not mix it with actual jumphost located in Pharos PODs. - other minor fixes. Change-Id: I5736fa700c2aa39c598d301bc74450d766b74411 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-22xci: Updates to releng/bifrost to make it work on JenkinsFatih Degirmenci6-14/+73
- get rid of BAREMETAL_DATA_FILE and use BIFROST_INVENTORY_SOURCE so it works both for master and ocata for osa-bifrost. - set BIFROST_INVENTORY_SOURCE file according to branch bifrost is executed from for osa-bifrost. - explicitly set what the SSH public key file is as ansible copies the wrong public key to nodes if bifrost is executed on Jenkins using sudo. - set branches if they are not set so the scripts can be used manually as well. - rename jumphost to xcimaster so people do not mix it with actual jumphost located in Pharos PODs. Change-Id: Iff7631fa99816ad75316b62c5ac20714f67cd86a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-21functest: daily jobs: Increase timeoutAlexandru Avadanii1-1/+1
Armband Functest jobs timeout sometimes, mostly because of failing tests which time out individually, adding to more than 180 min. Therefore, increase the job timeout to 240 min. Change-Id: I4829e14785f5dd7297f28dde436d5149a896d419 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-21jjb: xci: Fix trigger for cleanup jobsAric Gardner1-10/+4
Trigger should only run on change-merged and change-abandonded The documentation could be imporved more explicitly here: https://docs.openstack.org/infra/jenkins-job-builder/triggers.html#trigger-on but the modified lines do not take true or false they stand alone Fixes: ea33eda6954a ("jjb: infra: bifrost-cleanup-job: Do not trigger on new patchsets") Fixes: f6bba721fd13 ("jjb: infra: bifrost-cleanup-job: Do not trigger on patchset creation") Change-Id: Ibc574220ea86c5a039855d6f4fe35eef0aac7e0e Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-03-21No longer needed, moved logic to docs-rtd.yamlAric Gardner1-7/+0
Change-Id: I2b8ad2ab185074047ce7267cbedf1dbd70b16535 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2017-03-21Remove cloningShubhamRathi1-6/+8
Change-Id: Idd7c48095f74985a129b968b320b99d1bc606b58 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-21Remove default project off merge jobShubhamRathi1-1/+0
Danube's merge job was failing because releng was given as the default project to clone. Change-Id: I57b40f37bf4a2c07ef5e566209f881be3c411975 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-21Merge "xci: Remove obsolete bifrost dib ELEMENTS_PATH"Fatih Degirmenci2-6/+0
2017-03-21Merge "[qtip]refactor validate job"Fatih Degirmenci3-40/+30
2017-03-21xci: Remove obsolete bifrost dib ELEMENTS_PATHFatih Degirmenci2-6/+0
Change-Id: I7baa0db9c8193e4041883d5997529df98919c7af Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-21[qtip]refactor validate jobwu.zhihui3-40/+30
- only keep the builder "qtip-validate-deploy", remove the others - add scenario info in qtip-validate-jobs.yaml - add some print info in validate-deploy.sh - a related modification in fuel jjb file Change-Id: Iff884f273eea5c6aac64e09cfffcedc7481b47e9 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-21Merge "xci: Enable VM provisioning using bifrost for daily runs"Fatih Degirmenci7-54/+102
2017-03-21Merge "qtip: set CI_DEBUG to false"Serena Feng1-1/+1
2017-03-21qtip: enable stable docker image buildYujun Zhang1-0/+3
Change-Id: I38fd97bff3aa1c966f9267d96e3b0cbabbf1f4a6 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
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-21qtip: set CI_DEBUG to falseYujun Zhang1-1/+1
otherwise the insecure key will be left in server Change-Id: I2bae0c16e8da05d68d53cb5624a6660053c80756 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-21Merge "qtip: fix daily job failure"Serena Feng1-17/+9
2017-03-21Merge "prototypes: fix yamllint issues"Jun Li4-114/+114
2017-03-21Merge "prototypes: fix yamllint issues"Jun Li3-4/+7
2017-03-20xci: Enable VM provisioning using bifrost for daily runsFatih Degirmenci7-54/+102
- create script to provision VMs (log upload is not enabled yet) - remove leftover inventory files (baremetal.csv, baremetal.json) - set BIFROST_INVENTORY_SOURCE as needed by stable/ocata - rename playbook used during bifrost and adjust scripts using it - remove puppet-infracloud stuff Change-Id: I1c4412d0725c00ab9a1b3497e358d33998b4e7e6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-20joid: Disable auto-triggers for ONOS scenariosFatih Degirmenci1-2/+2
Change-Id: I65ffee9cac42c33cfc923b67c8020bac6cc19da6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-21qtip: fix daily job failureYujun Zhang1-17/+9
Parameter BRANCH is not correct in danube daily job[1]: expected `stable/danube`, actual `danube` The following corrections are made as an attempt to fix this issue - enable CI_DEBUG for additional information - inline qtip-common-parameters [1]: https://build.opnfv.org/ci/view/qtip/job/qtip-daily-fuel-zte-pod3-danube/7/parameters/ Change-Id: Ia892371925ffdb817d663c134d16e4568c07dff7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-03-20Merge "xci: Create jobs for stable/ocata"Fatih Degirmenci1-0/+2
2017-03-20Merge "[fuel]reschedule on ZTE POD3"Fatih Degirmenci1-1/+1
2017-03-20Merge "update qtip validate jobs"Fatih Degirmenci1-5/+26
2017-03-20xci: Create jobs for stable/ocataFatih Degirmenci1-0/+2
Change-Id: Ie45900e1724d761d6f547b159f5ec276d705326b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-20Merge "xci: Create skeletons for jobs and rename directory"Fatih Degirmenci7-0/+227
2017-03-20Merge "prototypes: bifrost: destroy-env: Delete nodes from vbmc"Fatih Degirmenci1-0/+4
2017-03-20xci: Create skeletons for jobs and rename directoryFatih Degirmenci7-0/+227
This patch - creates job skeletongs based on the structure of other OPNFV jobs upstream job per scenario triggering and controlling the downstream jobs downstream jobs to run provisioning, deployment and functest - renames infra directory to xci Change-Id: I9a7ac3590d660f4270ab387598586e4270787ecb Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-20KVMFORNFV: Enabling triggers for kvmfornfv scenarios.Navya1-4/+4
This patch includes resource allocation/time-slots for kvmfornfv os-nosdn-kvm_ovs_dpdk-ha, os-nosdn-kvm_ovs_dpdk_bar-ha, os-nosdn-kvm_ovs_dpdk-noha and os-nosdn-kvm_ovs_dpdk_bar-noha scenarios on Danube branch. Change-Id: Ib8250075a43dec60be398ce9ee4152b97b7c6796 Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-03-20prototypes: bifrost: destroy-env: Delete nodes from vbmcMarkos Chandras1-0/+4
Upstream commit 12376b958e76 ("Use virtualbmc for virtual BM nodes") moved the VM IPMI management from the ssh drivers to the vbmc one. As a result, we need to clear all the nodes from vbmc during cleanup. Change-Id: I2a4e7233874c4fad8df525c8f7b526df17a8211f Signed-off-by: Markos Chandras <mchandras@suse.de>