summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-24xci: Set up the basics for xci developer sandboxFatih Degirmenci19-0/+195
This change creates - initial version of the script to initiate the VM node creation and provisioning with bifrost and OpenStack installation with openstack-ansible - pinned-versions to hold the "known working" versions. releng will use master until the development is complete. - user-vars to hold user variables - configuration files to keep settings for different flavors - ansible files (playbooks, inventory files, variables) per flavor. These files are empty at the moment in order to save the chosen path makes sense. Once the way is agreed on, these will be similar to the files listed below with different content per flavor. https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/playbooks/inventory https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/playbooks/configure-xcimaster.yml https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=blob;f=prototypes/openstack-ansible/var/ubuntu.yml These new files will be the ones used when the actual deployment is done with openstack-ansible based on the flavor chosen by developer (or CI). Change-Id: Ia2f38416a161abd186cbcca61e105c6a68f78b54 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-24xci: Configure ansible verbosity based on job typeFatih Degirmenci3-6/+13
Daily jobs will use pinned versions of bifrost and openstack-ansible in order to make sure we use known good versions for them since focus of the daily jobs is OPNFV platform testing. Ansible log can easily become massive depending on the level it is set and it is not so relevant for daily jobs to have it like this due to less probability of dailies failing to provision/deploy. On the other hand, the jobs that verify/test bifrost and openstack-ansible will have max verbosity enabled to troubleshoot these components themselves. New set of jobs will be created running periodically against the HEAD of master for bifrost and openstack-ansible to catch working versions and help us promote them to use for daily platform jobs. Verbosity of these jobs will be enabled like how we are doing for bifrost-verify jobs. Change-Id: Ic9fd2ff418fdaa3ad7fbfc22d8ec2dc1174df65f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-24Merge "Dovetail needs credentials file openrc as an input"Jun Li1-11/+23
2017-03-24enabling the auto build in jenkins for K8.Narinder Gupta1-1/+1
This patch will enabled the auto build of K8 scenario in jenkins for master and Danue. Change-Id: Ic79b79a298358d932e0162ce1c739008c2f788a4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-03-24xci: Fix where the vm_defaults are placedFatih Degirmenci1-13/+13
Change-Id: I3d9d9b8b7c3de0c22a62945de027b9e8994d35e8 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-24xci: Merge bifrost provisioning scripts and renameFatih Degirmenci6-186/+85
Jobs are adjusted as well. Change-Id: I0bc5bdda37277053d81d7da394e0156902da817a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-24Merge "xci: Adjust how bifrost inventory files are specified"Fatih Degirmenci2-7/+10
2017-03-24Dovetail needs credentials file openrc as an inputxudan1-11/+23
1. The Dovetail tool itself needs openrc file as the input rather than INSTALLER_TYPE and INSTALLER_IP. See JIRA: DOVETAIL-369 and JIRA: DOVETAIL-371 2. Now Dovetail CI jobs just give INSTALLER_TYPE and INSTALLER_IP to Dovetail tool. 3. So Dovetail CI jobs need to fetch the openrc file before and run Dovetail tool with the openrc file. JIRA: DOVETAIL-372 Change-Id: I3a6293da621ae0a2f5d72a297d3d912fd60e05d8 Signed-off-by: xudan <xudan16@huawei.com>
2017-03-24Merge "qtip: delete container and image based with branch"Serena Feng2-12/+8
2017-03-24qtip: delete container and image based with branchwu.zhihui2-12/+8
- delete container and image based with branch - adjust builder sequence Change-Id: Id365d2358195ae690d9a4d5ae8bd1a5adfcc7046 Signed-off-by: Julien <zhang.jun3g@zte.com.cn> Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-24Use docker image id instead of tag to remove yardstick Docker image with ↵JingLu51-1/+15
tag:<None> JIRA: RELENG-194 Now, in CI, bottlenecks job will pull yardstick Docker image again, which may cause the tag of the Docker image previous used by Yardstick changed to 'None'. Using 'None' tag to remove Docker image will cause error. Change-Id: I5c63c6c515ede5da4f6a40be6bb22fa6771f8f09 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-03-24Merge "fuel: remove the trigger on zte pod2"Serena Feng1-1/+1
2017-03-24fix qtip priority issueJulien1-3/+4
missing \" for if condition use qtip temp dir for tempfiles Change-Id: I696b81b2e017f630051353f10b96f07fb85e2ec2 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-24Merge "modify the parameter of PPA_REPO"mei mei2-2/+10
2017-03-24xci: Adjust how bifrost inventory files are specifiedFatih Degirmenci2-7/+10
First step towards creating env-vars files based on the use of these scripts so the scripts can be merged into one. Change-Id: I4ee1d9af520aa684a5367a2645d709835bc4a5a1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-24Testing Jenkins SubscriptionShubhamRathi1-3/+3
Change-Id: I7e9e4040cf4b711e44ee003bfd13675f556501fa Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-23Merge "Testing gerrit subscription"Aric Gardner1-2/+2
2017-03-23Testing gerrit subscriptionShubhamRathi1-2/+2
Change-Id: I801dac705223852a28d7e694e01db73f2da9d571 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-23Merge "Use cperf master branch even from apex danube"Tim Rozet1-1/+1
2017-03-23Merge "Removing shallow clone option"Aric Gardner1-1/+0
2017-03-23Removing shallow clone optionShubhamRathi1-1/+0
Change-Id: Iaae8a4b524ae804fd0efd75c656aae94c1c92a7e Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
2017-03-23Add timeout in releng.ssh_utilsGeorge Paraskevopoulos1-4/+9
Change-Id: If9c7ba05946b995affd061dea2f531a0642650c2 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-03-23Merge "Fix socker connection issue in qtip docker"Fatih Degirmenci1-1/+21
2017-03-23Merge "xci: Pass parameters to downstream jobs"Fatih Degirmenci1-6/+18
2017-03-23xci: Pass parameters to downstream jobsFatih Degirmenci1-6/+18
Change-Id: I02f8c47fb19e6d47027c4655c233bf1952fabedd Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-03-23Merge "start TestAPI in venv with no config-file"Jose Lausuch1-2/+7
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-23Avoid build conflicts in build serverJulien4-5/+9
Currently each job in daisy project has multiple child jobs, which may block the resources in lf-build1 for the excutors are limited. Change-Id: I7977128a550421caaeda395fce04b91b31d35751 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
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-23modify the parameter of PPA_REPOwutianwei2-2/+10
We move the master ppa from <http://205.177.226.237:9999> to <http://205.177.226.237:9999/master>. When we build the master iso, we need download the ppa from <http://205.177.226.237:9999/master>. Change-Id: I5fea8e6c6647f8bc0e550a39a9a4001196216685 Signed-off-by: wutianwei <wutianwei1@huawei.com>
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-23start TestAPI in venv with no config-fileSerenaFeng1-2/+7
in virtual env mode, config.ini is configured in .venv/etc/opnfv_testapi, in this case when we start it the configuration file needs to be specified, by changing the _default_config, the -config-file is no longer needed when starting TestAPI in venv mode. Change-Id: I0217cfefe578bbc3325bb7577ed268dc21cde4ea 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-23Fix socker connection issue in qtip dockerJulien1-1/+21
ansible can not run correctly in qtip docker currently in centos. Change-Id: I3295b358e43026e10ed7421196d88305a11ed877 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-03-23fuel: remove the trigger on zte pod2wu.zhihui1-1/+1
zte pod2 will be provided to daisy to run CI job. Change-Id: I9e0eee1bab4a949f6434850dcbd9624ac6476344 Signed-off-by: wu.zhihui <wu.zhihui1@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-22Use cperf master branch even from apex danubeJamo Luhrsen1-1/+1
Change-Id: I2811165c71a115f4f97b7cbd6f0f40402aae5781 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.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>