releng.git
7 years agoinfra: Fix ownerships for successful runs as well 15/21215/1
Fatih Degirmenci [Thu, 15 Sep 2016 18:00:59 +0000 (20:00 +0200)]
infra: Fix ownerships for successful runs as well

Change-Id: I11b73104b5a80351537109fcb504bb250c641220
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoinfra: Change the ownership of stuff back to jenkins 83/21183/2
Fatih Degirmenci [Thu, 15 Sep 2016 13:47:09 +0000 (15:47 +0200)]
infra: Change the ownership of stuff back to jenkins

Change-Id: I869a2e44b78ed33e3419077c32f5c0a08b63191f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "infra: Remove /opt/stack to prevent leftovers from causing trouble"
Fatih Degirmenci [Thu, 15 Sep 2016 12:48:47 +0000 (12:48 +0000)]
Merge "infra: Remove /opt/stack to prevent leftovers from causing trouble"

7 years agoMerge "kvmfornfv: Downloading sha512sum file of the guest image."
Fatih Degirmenci [Thu, 15 Sep 2016 11:31:37 +0000 (11:31 +0000)]
Merge "kvmfornfv: Downloading sha512sum file of the guest image."

7 years agoinfra: Remove /opt/stack to prevent leftovers from causing trouble 73/21173/1
Fatih Degirmenci [Thu, 15 Sep 2016 11:05:15 +0000 (13:05 +0200)]
infra: Remove /opt/stack to prevent leftovers from causing trouble

Change-Id: I924f40a363fcaf50eb7e4c6f8cd1c5acba7c330b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agokvmfornfv: Downloading sha512sum file of the guest image. 67/21167/1
kalyanreddy [Thu, 15 Sep 2016 09:24:55 +0000 (14:54 +0530)]
kvmfornfv: Downloading sha512sum file of the guest image.

This patch contains the script to download sha512sum file
of the kvmfornfv guest image along with other artifacts.

Change-Id: I2aa2e76124a12fb0d11975cda758f76e91f00390
Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
7 years agoMerge "prototypes: bifrost: README: Run the deployment script using sudo"
Fatih Degirmenci [Thu, 15 Sep 2016 07:54:34 +0000 (07:54 +0000)]
Merge "prototypes: bifrost: README: Run the deployment script using sudo"

7 years agoAdd gauge metrics for Functest reporting dashboard 33/21133/3
jose.lausuch [Wed, 14 Sep 2016 14:16:46 +0000 (16:16 +0200)]
Add gauge metrics for Functest reporting dashboard

JIRA: FUNCTEST-476

Change-Id: Ia39ffa8b39a1085a081d6128871cee20436e051c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoprototypes: bifrost: README: Run the deployment script using sudo 39/21139/1
Markos Chandras [Wed, 14 Sep 2016 14:58:20 +0000 (15:58 +0100)]
prototypes: bifrost: README: Run the deployment script using sudo

It's necessary to run the deployment script using 'sudo' so that
exported variables within the script are preserved in playbooks
once we gain elevated privileges.

Change-Id: I824b44199d57b6acf14804c3ab1825d7aa80da4e
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "merge N days and whole database process and not publish existed data any way"
Morgan Richomme [Wed, 14 Sep 2016 09:40:18 +0000 (09:40 +0000)]
Merge "merge N days and whole database process and not publish existed data any way"

7 years agoMerge "prototypes: bifrost: Check we are running the destroy-env.sh as root"
Fatih Degirmenci [Wed, 14 Sep 2016 08:30:52 +0000 (08:30 +0000)]
Merge "prototypes: bifrost: Check we are running the destroy-env.sh as root"

7 years agoMerge "yardstick: enable colorado branch for arm-pod2"
Fatih Degirmenci [Wed, 14 Sep 2016 08:26:47 +0000 (08:26 +0000)]
Merge "yardstick: enable colorado branch for arm-pod2"

7 years agoprototypes: bifrost: Check we are running the destroy-env.sh as root 51/21051/2
Markos Chandras [Tue, 13 Sep 2016 19:28:28 +0000 (20:28 +0100)]
prototypes: bifrost: Check we are running the destroy-env.sh as root

Nearly all operations in the destroy-env.sh script need to be executed
as root so make sure that's the case before we try to do anything.
This also fixes the dnsmasq.leases path and we check that the file
exists before we try to wipe it. The dnsmasq is also restarted to take
the empty leases file into consideration. Finally, we improve the
documentation to run the necessary commands using sudo.

Change-Id: I56df821ca8a93307117a94a11abd0867b27d8443
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "Fix security issues of eval-s in testapi"
Morgan Richomme [Wed, 14 Sep 2016 07:18:45 +0000 (07:18 +0000)]
Merge "Fix security issues of eval-s in testapi"

7 years agoFix security issues of eval-s in testapi 51/20751/9
SerenaFeng [Fri, 9 Sep 2016 08:50:48 +0000 (16:50 +0800)]
Fix security issues of eval-s in testapi

results from security audit show risks and recommendations to fix them

JIRA: RELENG-144

Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "doctor: skip voting from results of immature jobs"
Ryota MIBU [Wed, 14 Sep 2016 01:49:27 +0000 (01:49 +0000)]
Merge "doctor: skip voting from results of immature jobs"

7 years agomerge N days and whole database process and not publish existed data any way 73/20973/3
SerenaFeng [Tue, 13 Sep 2016 05:53:46 +0000 (13:53 +0800)]
merge N days and whole database process and not publish existed data any way

JIRA: FUNCTEST-473

Change-Id: I2631fa04b0922afda2746cfd6be6f35587d534ba
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Bugfix: reporting shows more than 4 days result"
Morgan Richomme [Tue, 13 Sep 2016 15:04:05 +0000 (15:04 +0000)]
Merge "Bugfix: reporting shows more than 4 days result"

7 years agodoctor: skip voting from results of immature jobs 29/21029/1
Ryota MIBU [Tue, 13 Sep 2016 14:05:50 +0000 (23:05 +0900)]
doctor: skip voting from results of immature jobs

Change-Id: I8bfe946c6708f2d0eb0b1c583e1a522d4d797e93
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "add logger common process for releng scripts"
Jose Lausuch [Tue, 13 Sep 2016 12:33:07 +0000 (12:33 +0000)]
Merge "add logger common process for releng scripts"

7 years agoMerge "Change naming for bridge in CentOS"
Fatih Degirmenci [Tue, 13 Sep 2016 08:52:19 +0000 (08:52 +0000)]
Merge "Change naming for bridge in CentOS"

7 years agoBugfix: reporting shows more than 4 days result 93/20993/1
chenjiankun [Tue, 13 Sep 2016 08:41:56 +0000 (08:41 +0000)]
Bugfix: reporting shows more than 4 days result

JIRA: YARDSTICK-346

Change-Id: Ife5334f9c7d6a1546eee6995ce4b1b36d0f2c008
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoyardstick: enable colorado branch for arm-pod2 83/20983/2
Paul Vaduva [Tue, 13 Sep 2016 08:12:36 +0000 (10:12 +0200)]
yardstick: enable colorado branch for arm-pod2

Change-Id: I4756b64d302c2e44b0cb84d0ad4e34288eae25fa
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoMerge "infra: infra-daily-jobs: Use of the infra-{smoketest,deploy} scripts"
Fatih Degirmenci [Tue, 13 Sep 2016 07:56:24 +0000 (07:56 +0000)]
Merge "infra: infra-daily-jobs: Use of the infra-{smoketest,deploy} scripts"

7 years agoMerge "Implements use of yaml.safe_load as per sec audit"
Morgan Richomme [Tue, 13 Sep 2016 06:46:56 +0000 (06:46 +0000)]
Merge "Implements use of yaml.safe_load as per sec audit"

7 years agoBugfix:[yardstick reporting] reporting status is not true due to select a wrong keyword 51/20951/2
chenjiankun [Tue, 13 Sep 2016 00:25:07 +0000 (00:25 +0000)]
Bugfix:[yardstick reporting] reporting status is not true due to select a wrong keyword

JIRA: RELENG-146

Change-Id: I9bea896c3be02b7533ab170b3e91117499eef06f
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoadd logger common process for releng scripts 49/20849/4
SerenaFeng [Mon, 12 Sep 2016 01:48:53 +0000 (09:48 +0800)]
add logger common process for releng scripts

JIRA: FUNCTEST-468

Change-Id: I03fb25ef26db521bceb740ec2808106a00e55165
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoChange naming for bridge in CentOS 25/20925/1
Yolanda Robla Mota [Mon, 12 Sep 2016 16:02:08 +0000 (18:02 +0200)]
Change naming for bridge in CentOS

Change-Id: I7a35a1222ce7524fbf74848daec68dfd57616026
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
7 years agoinfra: infra-daily-jobs: Use of the infra-{smoketest,deploy} scripts 39/20939/1
Markos Chandras [Mon, 12 Sep 2016 14:37:49 +0000 (15:37 +0100)]
infra: infra-daily-jobs: Use of the infra-{smoketest,deploy} scripts

The Jenkins jobs for smoketest and deploy use inline scripts which are
essentially no-ops but they should use the respective scripts instead
which are also no-ops at the moment but they could potentially become
more useful in the future.

Change-Id: Ic91f65b43468aaba503e71773098853bf43f229f
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoImplements use of yaml.safe_load as per sec audit 11/20911/1
Luke Hinds [Mon, 12 Sep 2016 14:00:27 +0000 (15:00 +0100)]
Implements use of yaml.safe_load as per sec audit

Change-Id: I9b8d9746e8a3beebc1aff9f883dcec39928831d7
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
7 years agoMerge "utils: arm-pod3 test logs push enable"
Morgan Richomme [Mon, 12 Sep 2016 12:22:32 +0000 (12:22 +0000)]
Merge "utils: arm-pod3 test logs push enable"

7 years agorefactor modify_mongo_entry of kibana_dashboard 93/20893/2
SerenaFeng [Mon, 12 Sep 2016 10:09:01 +0000 (18:09 +0800)]
refactor modify_mongo_entry of kibana_dashboard

JIRA: FUNCTEST-469

Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Stop disabling selinux"
Fatih Degirmenci [Mon, 12 Sep 2016 09:43:10 +0000 (09:43 +0000)]
Merge "Stop disabling selinux"

7 years agoMerge "Update documentation about disabling selinux"
Fatih Degirmenci [Mon, 12 Sep 2016 09:42:53 +0000 (09:42 +0000)]
Merge "Update documentation about disabling selinux"

7 years agoMerge "Parameterize infracloud playbook by platforms"
Fatih Degirmenci [Mon, 12 Sep 2016 09:42:16 +0000 (09:42 +0000)]
Merge "Parameterize infracloud playbook by platforms"

7 years agoMerge "Fix script when CLEAN_DIB_IMAGES var is not set"
Fatih Degirmenci [Mon, 12 Sep 2016 09:42:08 +0000 (09:42 +0000)]
Merge "Fix script when CLEAN_DIB_IMAGES var is not set"

7 years agoParameterize infracloud playbook by platforms 57/20357/4
Yolanda Robla Mota [Mon, 5 Sep 2016 13:38:32 +0000 (15:38 +0200)]
Parameterize infracloud playbook by platforms

This will allow to run on different distros depending on
settings exported.

Change-Id: I068d7bb2eebfd009dceeff057c8a65361483788b
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
7 years agoMerge "bugfix: yardstick reporing in stable branch omit stable/"
Morgan Richomme [Mon, 12 Sep 2016 07:39:37 +0000 (07:39 +0000)]
Merge "bugfix: yardstick reporing in stable branch omit stable/"

7 years agoMerge "Fix security issues reported by the security audit"
Morgan Richomme [Mon, 12 Sep 2016 07:39:23 +0000 (07:39 +0000)]
Merge "Fix security issues reported by the security audit"

7 years agobugfix: yardstick reporing in stable branch omit stable/ 67/20867/1
rexlee8776 [Mon, 12 Sep 2016 07:30:23 +0000 (07:30 +0000)]
bugfix: yardstick reporing in stable branch omit stable/

JIRA: YARDSTICK-343

Change-Id: I926d1fcb308feb118663ba4db7adf3bc9eab7cbe
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
7 years agoutils: arm-pod3 test logs push enable 01/20801/1
Alexandru Avadanii [Fri, 9 Sep 2016 20:04:07 +0000 (22:04 +0200)]
utils: arm-pod3 test logs push enable

arm-pod3 is a CI POD deployed with Fuel on AArch64 hardware,
and also runs Functest jobs for it.

Enable pushing logs from this POD, as well as listing it
in the dashboard.

Closes-bug: ARMBAND-73

Change-Id: I8ed833f6a0b3a96d7473539129de662f8ddde95e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoarmband: deploy: upload logs to GS 99/20799/1
Alexandru Avadanii [Fri, 9 Sep 2016 19:38:48 +0000 (21:38 +0200)]
armband: deploy: upload logs to GS

Closes-bug: ARMBAND-72

Change-Id: I6c5a3e6ce4c320bf42f02b290a0137f5b892ad7f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoStop disabling selinux 85/20785/1
Yolanda Robla Mota [Fri, 9 Sep 2016 15:26:33 +0000 (17:26 +0200)]
Stop disabling selinux

It is already disabled in origin in puppet-infracloud,
and it is causing an error with duplicates now.

Change-Id: Ie40232c03138f1c8a1516895828c6cfd5730f9f7
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
7 years agoinfra: Fix the gerrit project name and preserve env for sudo 81/20781/1
Fatih Degirmenci [Fri, 9 Sep 2016 14:42:26 +0000 (16:42 +0200)]
infra: Fix the gerrit project name and preserve env for sudo

Change-Id: I9b86f285ac0a3e3f8ea95550f7490ced8d3ca2a3
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoinfra: Create 3rd party CI job to verify bifrost patches in OPNFV 61/20761/8
Fatih Degirmenci [Fri, 9 Sep 2016 11:18:11 +0000 (13:18 +0200)]
infra: Create 3rd party CI job to verify bifrost patches in OPNFV

This change creates job to run patchset verification for openstack/bifrost.
The verification is done by checking out the patch from upstream bifrost
repo and combining opnfv bifrost stuff with it to see if any change that
is proposed upstream breaks opnfv bifrost.

The verification is done only for trusty and this can be expanded to support
centos7 and suse as well.

Due to change in slave label, impacted files are also updated.

Change-Id: Id34b7ddcf5e3f424a5999aa1a9fa69ff53d95fc4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "add doctor-functest verify job"
Morgan Richomme [Fri, 9 Sep 2016 08:40:59 +0000 (08:40 +0000)]
Merge "add doctor-functest verify job"

7 years agoadd doctor-functest verify job 09/19709/18
Ryota MIBU [Mon, 29 Aug 2016 04:50:11 +0000 (13:50 +0900)]
add doctor-functest verify job

This patch adds a new jenkins job which will be executed every time
doctor patch is uploaded. The code will be verified by executing
doctor scenario on the specific pod using functest.

JIRA: DOCTOR-70
Change-Id: I480cd905991ccb1ef7426187fe83cbf1ae798ce9
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoadd http:// to rpm install path 17/20717/1
Jamo Luhrsen [Thu, 8 Sep 2016 22:01:16 +0000 (15:01 -0700)]
add http:// to rpm install path

Change-Id: I9b1d0a5bb9c6b84515ee6daecc9b2e1983c93c7d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoApex: fix rpm latest path 15/20715/1
Tim Rozet [Thu, 8 Sep 2016 21:42:24 +0000 (17:42 -0400)]
Apex: fix rpm latest path

Change-Id: I78a67475956405193a55a1d8d13a93bfe913c8f5
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fix latest rpm path 13/20713/1
Tim Rozet [Thu, 8 Sep 2016 21:29:40 +0000 (17:29 -0400)]
Apex: fix latest rpm path

Change-Id: I396e8b8e3958cb89cdd3d8790f78ae4085e90e47
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoadd cperf specific stream to apex-runner-cperf job 03/20703/4
Jamo Luhrsen [Thu, 8 Sep 2016 18:04:36 +0000 (11:04 -0700)]
add cperf specific stream to apex-runner-cperf job

trying to find the  best/right way to point this job to use cperf's
intel-pod2.

Change-Id: I461d7367b73d4e388200cc7c7db0ab005e28cc2d
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoFix security issues reported by the security audit 93/20693/1
Morgan Richomme [Thu, 8 Sep 2016 16:36:47 +0000 (18:36 +0200)]
Fix security issues reported by the security audit

JIRA: RELENG-143

Change-Id: Ia20c6ce86e72924ab8ab5f93bdc956d7f6a40a93
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoarmband: enable concurrency and adjust throttle params 85/20685/4
Paul Vaduva [Thu, 8 Sep 2016 14:31:07 +0000 (16:31 +0200)]
armband: enable concurrency and adjust throttle params

Change-Id: I72e061ae57ccdd06520dbf93cdf146390bfc0591
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoMerge "Fix tacker installation"
Fatih Degirmenci [Thu, 8 Sep 2016 11:09:04 +0000 (11:09 +0000)]
Merge "Fix tacker installation"

7 years agoMerge "KVMFORNFV: Enable artifact download and testing for daily job"
Fatih Degirmenci [Thu, 8 Sep 2016 10:55:09 +0000 (10:55 +0000)]
Merge "KVMFORNFV: Enable artifact download and testing for daily job"

7 years agoKVMFORNFV: Enable artifact download and testing for daily job 05/20105/4
kalyanreddy [Thu, 1 Sep 2016 05:21:52 +0000 (10:51 +0530)]
KVMFORNFV: Enable artifact download and testing for daily job

This patch contains scripts for downloading artifacts and running
tests as part of KVM4NFV daily job.

Change-Id: Iaf557d260e236f873acf99d7d735c54d7d2903cf
Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
7 years agoFix tacker installation 71/20671/1
Michal Skalski [Thu, 8 Sep 2016 10:12:52 +0000 (12:12 +0200)]
Fix tacker installation

Sometimes commands are exeucuted before last one was finished, for
example here:
https://build.opnfv.org/ci/job/fuel-deploy-virtual-daily-colorado/117/console
Try set custom prompt to eliminate false matching and add additional sleep
after git package installation.

Change-Id: I0fd1b5410c7870ff2a074e050069efc3b61b0d79
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoUpdate documentation about disabling selinux 69/20669/1
Yolanda Robla Mota [Thu, 8 Sep 2016 10:09:50 +0000 (12:09 +0200)]
Update documentation about disabling selinux

Change-Id: Ic3729d9450edabd809eed53525632e2b36752401
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
7 years agoFix script when CLEAN_DIB_IMAGES var is not set 65/20665/1
Yolanda Robla Mota [Thu, 8 Sep 2016 09:48:41 +0000 (11:48 +0200)]
Fix script when CLEAN_DIB_IMAGES var is not set

It relies on this var being exported, and if the script
is ran manually and this var is not set, it crashes. Adding
a default to this var to avoid this failure.

Change-Id: I5c61a1d9f1aafe2d6c64af70d3237b6c5b0d1e1d
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
7 years agoMerge "Add stable/colorado to versions"
Morgan Richomme [Wed, 7 Sep 2016 15:37:42 +0000 (15:37 +0000)]
Merge "Add stable/colorado to versions"

7 years agoMerge "template-ize _testcases in create_kibana_dashboards.py"
Morgan Richomme [Wed, 7 Sep 2016 14:06:28 +0000 (14:06 +0000)]
Merge "template-ize _testcases in create_kibana_dashboards.py"

7 years agoMerge "kvmfornfv: Use correct url for uploading artifacts"
Fatih Degirmenci [Wed, 7 Sep 2016 12:36:40 +0000 (12:36 +0000)]
Merge "kvmfornfv: Use correct url for uploading artifacts"

7 years agokvmfornfv: Use correct url for uploading artifacts 53/20553/2
Fatih Degirmenci [Wed, 7 Sep 2016 11:58:15 +0000 (13:58 +0200)]
kvmfornfv: Use correct url for uploading artifacts

Change-Id: Ia3f1f37dfec0c8e73328e048fab8f9b8892e8c66
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoarmband: fix job naming issue 51/20551/3
Paul Vaduva [Wed, 7 Sep 2016 11:22:13 +0000 (13:22 +0200)]
armband: fix job naming issue

We were refering jobs in other projects (mainly fuel) because
the ci pods were named jost baremetal and virtual

Change-Id: I9d02e2e61fe666f4ef46c1eb62f41da065e46059
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoMerge "armband: Deploy triggers yardstick tests for CI pods."
Fatih Degirmenci [Wed, 7 Sep 2016 10:46:26 +0000 (10:46 +0000)]
Merge "armband: Deploy triggers yardstick tests for CI pods."

7 years agoarmband: functest jobs refactored to use labels 33/20533/2
Paul Vaduva [Wed, 7 Sep 2016 07:51:14 +0000 (09:51 +0200)]
armband: functest jobs refactored to use labels

Change-Id: I50c47a40f3337e7140740f49b09f3e508eb0087c
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoMerge "armband: triggers modified to run twice a day each branch"
Fatih Degirmenci [Wed, 7 Sep 2016 10:42:09 +0000 (10:42 +0000)]
Merge "armband: triggers modified to run twice a day each branch"

7 years agotemplate-ize _testcases in create_kibana_dashboards.py 31/20531/3
SerenaFeng [Wed, 7 Sep 2016 07:51:26 +0000 (15:51 +0800)]
template-ize _testcases in create_kibana_dashboards.py

Visualization items of test cases is written in _testcases variable
 in create_kibana_dashboards.py, make it rather difficult to integrate
 other testcases. Use a yaml configuration file to simplify it

JIRA: FUNCTEST-461

Change-Id: If64f6e18ea72dd864c9e9e067655aa951406b291
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoarmband: Deploy triggers yardstick tests for CI pods. 39/20539/2
Paul Vaduva [Wed, 7 Sep 2016 08:13:34 +0000 (10:13 +0200)]
armband: Deploy triggers yardstick tests for CI pods.

Change-Id: I8b011aafd333c78eaeed59040476b1325e2dc56c
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoFix problems and add missing info to puppet-infracloud instructions 39/20239/3
Fatih Degirmenci [Fri, 2 Sep 2016 11:08:20 +0000 (13:08 +0200)]
Fix problems and add missing info to puppet-infracloud instructions

The instructions in README file will be automated later on so they
are just documented for the timebeing in order to prevent others
from facing issues while they try to follow the steps.

Change-Id: I38fe2609da6389a1cd120075f8eea243edd28e58
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoAdd stable/colorado to versions 13/20513/1
chenjiankun [Wed, 7 Sep 2016 03:18:25 +0000 (03:18 +0000)]
Add stable/colorado to versions

Change-Id: Ieccb04d20ca23265af30e6a671cd999b6d1cd349
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoMerge "Fix issue of not setting metadata correctly for generated docs"
Aric Gardner [Tue, 6 Sep 2016 21:01:59 +0000 (21:01 +0000)]
Merge "Fix issue of not setting metadata correctly for generated docs"

7 years agoarmband: triggers modified to run twice a day each branch 81/20481/1
Paul Vaduva [Tue, 6 Sep 2016 16:02:08 +0000 (18:02 +0200)]
armband: triggers modified to run twice a day each branch

Change-Id: I7fcd24852a0d1aecdfacf5f3cb1dfd49fb711916
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years ago[Docker] Use build time args only for Functest 77/20477/1
jose.lausuch [Tue, 6 Sep 2016 15:31:14 +0000 (17:31 +0200)]
[Docker] Use build time args only for Functest

Using build-time arguments on Dockerfiles which
dont use the argument throws an error:
One or more build-args [BRANCH] were not consumed, failing build.

Examples:
https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/lastBuild/console

Change-Id: I2acb3a52ef648ca4f160f63cdcdebf1dae5931bc
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "[Docker] Add git branch as an argument to the dockerfile at build time"
jose.lausuch [Tue, 6 Sep 2016 12:07:29 +0000 (12:07 +0000)]
Merge "[Docker] Add git branch as an argument to the dockerfile at build time"

7 years agoMerge "yardstick: updated yardstick jobs for armband to use labels"
Fatih Degirmenci [Tue, 6 Sep 2016 10:56:39 +0000 (10:56 +0000)]
Merge "yardstick: updated yardstick jobs for armband to use labels"

7 years ago[Docker] Add git branch as an argument to the dockerfile at build time 31/20431/1
jose.lausuch [Tue, 6 Sep 2016 09:53:39 +0000 (11:53 +0200)]
[Docker] Add git branch as an argument to the dockerfile at build time

This will be useful for the dockerfiles which need to have this
as a parameter to clone the respective repositories.

Needed for Functest.
Related JIRA: FUNCTEST-458

Change-Id: I6c818bdbc6d9935a6bf5274487540309ce1017b6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix issue of not setting metadata correctly for generated docs 27/20427/1
Fatih Degirmenci [Tue, 6 Sep 2016 09:27:42 +0000 (11:27 +0200)]
Fix issue of not setting metadata correctly for generated docs

Removed if clause does not return any html file, causing setmeta
to not run which in turn causes people to see cached versions of
the generated documents instead of the latest generated documents.

This is a quick fix in order to unblock Brady.

Change-Id: Id692781ee8713007b5987bf2bf48a6880978a977
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoarmband: Fix file handler in lab-config test -e 73/20373/1
Alexandru Avadanii [Mon, 5 Sep 2016 16:34:32 +0000 (18:34 +0200)]
armband: Fix file handler in lab-config test -e

Previous change adding lab-config/.../local_env support introduced
an issue, in the form of `test -e file:///path/to/local_env`,
which is not supported.

Change-Id: I1566b41765329f18523cfc506c9112b6694a8317
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agomake mongo_to_elasticsearch.py skip resolve-failed results 85/20285/1
SerenaFeng [Mon, 5 Sep 2016 02:11:21 +0000 (10:11 +0800)]
make mongo_to_elasticsearch.py skip resolve-failed results

mongo_to_elasticsearch.py exit when encounter can-not-be-parsed results,
for example:
File "mongo_to_elasticsearch.py", line 58, in _convert_duration
hours, minutes, seconds = duration.split(":")
ValueError: need more than 2 values to unpack

File "mongo_to_elasticsearch.py", line 228, in modify_functest_odl
test_statuses = _get_dicts_from_list(testcase, testcase['details']['details'],
KeyError: 'details'

change the logic, try...Except the Exception, logger it as error, then
continue processing the rest results

Change-Id: I18facd457ba3e8f661f5c9a1da1e6c200af6fc4e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Remove double slashes when generating the links of the logs in artifact repo"
jose.lausuch [Fri, 2 Sep 2016 13:00:48 +0000 (13:00 +0000)]
Merge "Remove double slashes when generating the links of the logs in artifact repo"

7 years agoRemove double slashes when generating the links of the logs in artifact repo 43/20243/3
jose.lausuch [Fri, 2 Sep 2016 12:26:35 +0000 (14:26 +0200)]
Remove double slashes when generating the links of the logs in artifact repo

Change-Id: Ia9c3b5765872516640db451ad54f2efab9250082
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoyardstick: updated yardstick jobs for armband to use labels 55/20155/9
Paul Vaduva [Thu, 1 Sep 2016 14:16:59 +0000 (16:16 +0200)]
yardstick: updated yardstick jobs for armband to use labels

Change-Id: I38aac6caf4f439e6524bf08e5dd038bca01180cf
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
7 years agoMerge "Generate and print link of the log files pushed to artifacts"
jose.lausuch [Fri, 2 Sep 2016 10:38:41 +0000 (10:38 +0000)]
Merge "Generate and print link of the log files pushed to artifacts"

7 years agoGenerate and print link of the log files pushed to artifacts 57/20157/4
jose.lausuch [Thu, 1 Sep 2016 14:21:34 +0000 (16:21 +0200)]
Generate and print link of the log files pushed to artifacts

Also, avoid having twice the name of the branch.

Change-Id: If6be5e742fa961b2a81015fe76f4ba5e52aeb0ab
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoReflect upstream change to local script fixing playbook syntax check 31/20231/3
Fatih Degirmenci [Fri, 2 Sep 2016 10:16:31 +0000 (12:16 +0200)]
Reflect upstream change to local script fixing playbook syntax check

Upstream change: https://review.openstack.org/#/c/358477/

Change-Id: Ibfef32aec4b62d8d1d13728abec374a2d4560d81
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "correct backup-db.sh in kibana repo to keep consistent with testapi"
Morgan Richomme [Fri, 2 Sep 2016 08:50:58 +0000 (08:50 +0000)]
Merge "correct backup-db.sh in kibana repo to keep consistent with testapi"

7 years agoMerge "armband: Fix default params for labeled pods"
Fatih Degirmenci [Fri, 2 Sep 2016 08:48:01 +0000 (08:48 +0000)]
Merge "armband: Fix default params for labeled pods"

7 years agocorrect backup-db.sh in kibana repo to keep consistent with testapi 23/20223/1
SerenaFeng [Fri, 2 Sep 2016 08:09:19 +0000 (16:09 +0800)]
correct backup-db.sh in kibana repo to keep consistent with testapi

We change some interfaces in testapi, but this file doesn't change
with that

JIRA: FUNCTEST-455

Change-Id: I105a82557244481bbdf9885fc166ebe975b050ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years ago[Functest] Remove exit value job from functest-suite builder 13/20213/1
jose.lausuch [Fri, 2 Sep 2016 07:51:01 +0000 (09:51 +0200)]
[Functest] Remove exit value job from functest-suite builder

Change-Id: I8309c027a871246623c199447dcb667b5bb2f066
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoarmband: Fix default params for labeled pods 83/20183/3
Alexandru Avadanii [Thu, 1 Sep 2016 18:18:18 +0000 (20:18 +0200)]
armband: Fix default params for labeled pods

After previous change introducing the usage of node labels for
Armband CI deploy jobs, we discovered that the old params were
not applied to labeled pods.

To complicate things, we had different DEFAULT_BRIDGE params
for each CI pod, which contradicts the Jenkins templating
paradigm.

Since we already have a mechanism in place for overriding
env vars based on the POD we are running against, move both
<DEPLOY_TIMEOUT> and <DEFAULT_BRIDGE> params to our local_env,
which is sourced by the deploy script and can apply POD specific
configuration.

Add missing LAB_CONFIG_URL to newly added baremetal and virtual
defaults for Armband.

While at it, also replace "brahmaputra" comments with "colorado".

v2 -> v3:
Source local_env before using DEFAULT_BRIDGE in <armband-deploy.sh>.
Previously, we (Armband) sourced this file in our <ci/deploy.sh> [1],
which will be dropped after this change is merged.

[1] https://git.opnfv.org/cgit/armband/tree/ci/deploy.sh#n24

Change-Id: Ibafea25b3df8c3118ce05e3f40934c8e8b9c8dcd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFix test results dashboard homepage navbar links 63/20163/1
Daniel Farrell [Thu, 1 Sep 2016 14:56:54 +0000 (10:56 -0400)]
Fix test results dashboard homepage navbar links

The previous versions were the wrong paths, 404'd.

Change-Id: I9368db672a18b5bb0394cfacf016cd7f5821d886
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
7 years agoIncrease the git clone timeout to 15 minutes 47/20147/2
Fatih Degirmenci [Thu, 1 Sep 2016 13:34:32 +0000 (15:34 +0200)]
Increase the git clone timeout to 15 minutes

Change-Id: Iac19f79f36fcbb7bbc27d7f6adf6085cb0ec449c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "Add Fedor Zhadaev in recipients list for Fuel jobs"
Fatih Degirmenci [Thu, 1 Sep 2016 13:23:29 +0000 (13:23 +0000)]
Merge "Add Fedor Zhadaev in recipients list for Fuel jobs"

7 years agoMerge "kvmfornfv: Store the metadata for the artifacts built by daily jobs"
Fatih Degirmenci [Thu, 1 Sep 2016 13:22:11 +0000 (13:22 +0000)]
Merge "kvmfornfv: Store the metadata for the artifacts built by daily jobs"

7 years agoAdd Fedor Zhadaev in recipients list for Fuel jobs 37/20137/1
Fedor Zhadaev [Thu, 1 Sep 2016 13:14:39 +0000 (16:14 +0300)]
Add Fedor Zhadaev in recipients list for Fuel jobs

Change-Id: Icb1a16f2136291239daffa0fe5932caf6d6c92dd
Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
7 years agoinfra: Do not run provisioning in deploy & smoketest phases 35/20135/1
Fatih Degirmenci [Thu, 1 Sep 2016 13:07:48 +0000 (15:07 +0200)]
infra: Do not run provisioning in deploy & smoketest phases

Change-Id: I326053d863f0f06ceb293cda3cd2405cf2d25f13
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "infra: Fix small doc/script issues and enable mail notification"
Fatih Degirmenci [Thu, 1 Sep 2016 13:03:41 +0000 (13:03 +0000)]
Merge "infra: Fix small doc/script issues and enable mail notification"

7 years agoinfra: Fix small doc/script issues and enable mail notification 29/20129/1
Fatih Degirmenci [Thu, 1 Sep 2016 12:46:51 +0000 (14:46 +0200)]
infra: Fix small doc/script issues and enable mail notification

This change
- Fixes readme of puppet-infracloud
- renames destroy_env.sh script
- enables mail notification
- disables removal of DIB images by default

Change-Id: I628b26b976e38772cbbc69b737a545fe801639ba
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "armband: Use labels for pods and schedule jobs"
Fatih Degirmenci [Thu, 1 Sep 2016 12:19:37 +0000 (12:19 +0000)]
Merge "armband: Use labels for pods and schedule jobs"