releng.git
8 years agoremove unittest test_createSameResults in testAPI 59/15059/2
SerenaFeng [Thu, 2 Jun 2016 06:32:39 +0000 (14:32 +0800)]
remove unittest test_createSameResults in testAPI

remove unittest test_createSameResults in test_results.py

JIRA: FUNCTEST-288

Change-Id: I5c1e8eb6c09a5ced1a6cdd380e9c37961136e6d2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agochange the usage of tornado_swagger package 53/14953/4
SerenaFeng [Wed, 1 Jun 2016 09:36:45 +0000 (17:36 +0800)]
change the usage of tornado_swagger package

changes:
    move tornado_swagger package out of tornado_swagger_ui
    remove tornado_swagger_ui
    modify files that import tornado_swagger
        originally: opnfv_testapi.tornado_swagger_ui.tornado_swagger
        to: opnfv_testapi.tornado_swagger
    modify setup.cfg to delete tornado_swagger_ui prefix

JIRA: FUNCTEST-286

Change-Id: I1e8972e4fbe26ad3a5d945f3aed6783d0b666a5f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd router package to implement url-2-XXXHandlers mappings in testAPI project 51/14951/2
SerenaFeng [Wed, 1 Jun 2016 09:00:11 +0000 (17:00 +0800)]
add router package to implement url-2-XXXHandlers mappings in testAPI project
and eliminate flake8 violation

JIRA: FUNCTEST-285

Change-Id: I15b568a97279032549f24ff81520220e271f3488
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoproject-ize testAPI 43/14943/3
SerenaFeng [Wed, 1 Jun 2016 07:36:17 +0000 (15:36 +0800)]
project-ize testAPI

JIRA: FUNCTEST-284

Change-Id: I219e934bb11f50de84df2aa0345ecc7885223491
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agofuel: Enable concurrency for fuel-deploy job 01/14901/1
Fatih Degirmenci [Tue, 31 May 2016 18:54:44 +0000 (20:54 +0200)]
fuel: Enable concurrency for fuel-deploy job

Change-Id: Id6d121dd27b141a4be663a140dc8c3937680c81e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agobugfix: query results failed due to wrong using period 87/14887/1
SerenaFeng [Tue, 31 May 2016 15:18:46 +0000 (23:18 +0800)]
bugfix: query results failed due to wrong using period

JIRA: FUNCTEST-281

Change-Id: I3d0bdc302afc45593ad3feaec21b89d5c6eeaa0b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd Tempest error in Tempest reporting 81/14881/2
Morgan Richomme [Tue, 31 May 2016 14:38:58 +0000 (16:38 +0200)]
Add Tempest error in Tempest reporting

JIRA: FUNCTEST-150

Change-Id: I0b2a3a38bbbb11a80c761c23c71c2f45a959e477
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "bugfix: query results failed due to wrong using type of trust_indicator"
Morgan Richomme [Tue, 31 May 2016 14:42:08 +0000 (14:42 +0000)]
Merge "bugfix: query results failed due to wrong using type of trust_indicator"

8 years agobugfix: query results failed due to wrong using type of trust_indicator 75/14875/1
SerenaFeng [Tue, 31 May 2016 12:44:03 +0000 (20:44 +0800)]
bugfix: query results failed due to wrong using type of trust_indicator

trust_indicator must be int/long/float rather than string

JIRA: FUNCTEST-280

Change-Id: I2e2b292f9181fd28896bfe1e3b86ec3976b65016
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agofuel: Adjust throttling for deploy jobs 63/14863/1
Fatih Degirmenci [Tue, 31 May 2016 10:52:03 +0000 (12:52 +0200)]
fuel: Adjust throttling for deploy jobs

Change-Id: Ia9939f489320b95bd417d3e25b2a5b99644f549f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "bottlenecks: redefine the jobs accordingly"
MatthewLi [Tue, 31 May 2016 10:48:06 +0000 (10:48 +0000)]
Merge "bottlenecks: redefine the jobs accordingly"

8 years agoMerge "bugfix: version return body is inconsistent with the designed model"
Morgan Richomme [Tue, 31 May 2016 08:59:42 +0000 (08:59 +0000)]
Merge "bugfix: version return body is inconsistent with the designed model"

8 years agobottlenecks: redefine the jobs accordingly 59/14859/3
MatthewLi [Tue, 31 May 2016 08:23:27 +0000 (04:23 -0400)]
bottlenecks: redefine the jobs accordingly

JIRA: BOTTLENECK-85

Change-Id: I6ec45a7fa292ee69a75820d1ed9ce3fd82aebe5d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoMerge "refactor fake_pymongo.py to eliminate repeated codes"
Morgan Richomme [Tue, 31 May 2016 07:23:44 +0000 (07:23 +0000)]
Merge "refactor fake_pymongo.py to eliminate repeated codes"

8 years agoMerge "bugfix: query results failed due to using mutable list initiation and forget...
Morgan Richomme [Tue, 31 May 2016 07:16:10 +0000 (07:16 +0000)]
Merge "bugfix: query results failed due to using mutable list initiation and forget to swagger-ize TestResult model"

8 years agobugfix: version return body is inconsistent with the designed model 57/14857/1
SerenaFeng [Tue, 31 May 2016 06:32:35 +0000 (14:32 +0800)]
bugfix: version return body is inconsistent with the designed model

JIRA: FUNCTEST-278

Change-Id: I53fa2eca6476c07ad513e72241d9715431cbdee8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: query results failed due to using mutable list initiation 55/14855/3
SerenaFeng [Tue, 31 May 2016 02:37:22 +0000 (10:37 +0800)]
bugfix: query results failed due to using mutable list initiation
and forget to swagger-ize TestResult model

JIRA: FUNCTEST-277

Change-Id: I5d8ddd9983484a61df9b77392d5ae24bde6a16dc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoFormat the script for better reading 23/14623/5
Julien [Wed, 25 May 2016 01:05:58 +0000 (09:05 +0800)]
Format the script for better reading

esp for heading spaces and if/else/fi
JIRA:RELENG-113

Change-Id: I9009cfec71be653e1009d8d59aec2f27d7206a8d
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoYardstick, Apex: Fixes yardstick to use right Apex vm name (undercloud) 47/14847/1
Tim Rozet [Mon, 30 May 2016 19:38:47 +0000 (15:38 -0400)]
Yardstick, Apex: Fixes yardstick to use right Apex vm name (undercloud)

Change-Id: I709dbf36667202ed0e1feb4793aa10071dc137c4
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agorefactor fake_pymongo.py to eliminate repeated codes 41/14841/1
SerenaFeng [Mon, 30 May 2016 15:40:23 +0000 (23:40 +0800)]
refactor fake_pymongo.py to eliminate repeated codes

JIRA: FUNCTEST-276

Change-Id: I2e40e12bc5b472aae88d294fb11dc479d5dd538c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Functest, switch CI_DEBUG to false."
Morgan Richomme [Mon, 30 May 2016 15:22:38 +0000 (15:22 +0000)]
Merge "Functest, switch CI_DEBUG to false."

8 years agoeliminate flake8 violation of testAPI 37/14837/1
SerenaFeng [Mon, 30 May 2016 13:58:19 +0000 (21:58 +0800)]
eliminate flake8 violation of testAPI

JIRA: FUNCTEST-274

Change-Id: I64e5e1c0d1165ac7ad7ff59dfd824dc00e131cdc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoFunctest, switch CI_DEBUG to false. 33/14833/1
jose.lausuch [Mon, 30 May 2016 13:39:53 +0000 (15:39 +0200)]
Functest, switch CI_DEBUG to false.

JIRA: FUNCTEST-275

At least until we fix the issue with the python logger showing
the output twice.

Change-Id: I121b6164cd9dc263b0c6f87afb661f853bcca708
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoswagger-ize dashboard and version apis of testAPI 27/14827/2
SerenaFeng [Mon, 30 May 2016 11:14:52 +0000 (19:14 +0800)]
swagger-ize dashboard and version apis of testAPI

JIRA: FUNCTEST-273

Change-Id: I6f2b1de5488ba684d0c00e9f40daee2487a011cc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "swagger-ize result-apis of testAPI"
Morgan Richomme [Mon, 30 May 2016 06:52:58 +0000 (06:52 +0000)]
Merge "swagger-ize result-apis of testAPI"

8 years agoApex, Functest: Reconfigure Apex with labels 13/14813/3
Tim Rozet [Sun, 29 May 2016 12:14:21 +0000 (08:14 -0400)]
Apex, Functest: Reconfigure Apex with labels

Change-Id: Ia56ceefe5bf93cf15f89133c40f0e23c678e11d3
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoApex: Fixes yardstick/functest for daily 11/14811/1
Tim Rozet [Sat, 28 May 2016 21:12:01 +0000 (17:12 -0400)]
Apex: Fixes yardstick/functest for daily

Also adds ODL_L2 to daily

Change-Id: Ic9e29d440988ff2eba42ae314cfc0f86313092f2
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoswagger-ize result-apis of testAPI 09/14809/3
SerenaFeng [Sat, 28 May 2016 17:12:54 +0000 (01:12 +0800)]
swagger-ize result-apis of testAPI

JIRA: FUNCTEST-270

Change-Id: I82b1e3acee82d9b4931531c9404e13a663ff32de
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "[compass] wrong job name of verify smoke test"
Jun Li [Sat, 28 May 2016 06:50:31 +0000 (06:50 +0000)]
Merge "[compass] wrong job name of verify smoke test"

8 years ago[compass] wrong job name of verify smoke test 01/14801/2
meimei [Sat, 28 May 2016 06:22:57 +0000 (14:22 +0800)]
[compass] wrong job name of verify smoke test

Change-Id: Ib56f4675e840c05ab2ed331efef553362cd16fb3
Signed-off-by: meimei <meimei@huawei.com>
8 years agoApex: Adds block level per node for baremetal 97/14797/1
Tim Rozet [Sat, 28 May 2016 03:11:28 +0000 (23:11 -0400)]
Apex: Adds block level per node for baremetal

Change-Id: If9de486a95ed7a890d23abfe88f6eb70803d2cae
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Fixes network/inventory checks for baremetal deployments"
Tim Rozet [Sat, 28 May 2016 00:01:59 +0000 (00:01 +0000)]
Merge "Fixes network/inventory checks for baremetal deployments"

8 years agoFixes network/inventory checks for baremetal deployments 93/14793/1
Tim Rozet [Sat, 28 May 2016 00:00:00 +0000 (20:00 -0400)]
Fixes network/inventory checks for baremetal deployments

Change-Id: Ic18bafda91538d93ba66ee2969fec2949cecdb52
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoApex: Fixes artifact upload 85/14785/1
Tim Rozet [Fri, 27 May 2016 17:21:59 +0000 (13:21 -0400)]
Apex: Fixes artifact upload

Fixes include:
 - SRPM extension was wrong, causing SRPMs to not be uploaded correctly
 - No more redirecting stderr to stdout
 - More print statements to Jenkins

Change-Id: Ib96bb1efd967d9510d14a2e63bdf7d97b5d07cb2
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "swagger-ize testcase-apis of testAPI"
Morgan Richomme [Fri, 27 May 2016 11:35:45 +0000 (11:35 +0000)]
Merge "swagger-ize testcase-apis of testAPI"

8 years agofastpathmetrics: add daily and merge jobs 71/14771/1
Maryam Tahhan [Fri, 27 May 2016 09:25:18 +0000 (10:25 +0100)]
fastpathmetrics: add daily and merge jobs

Add daily, verify and merge jobs for fastpath metrics project.

Change-Id: Ieeca12b0743cc4387ce6725b018360627b5164e7
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
8 years agoswagger-ize testcase-apis of testAPI 69/14769/2
SerenaFeng [Fri, 27 May 2016 08:55:17 +0000 (16:55 +0800)]
swagger-ize testcase-apis of testAPI

Change-Id: Ibe4b068fd667b796455be3fd4d9701d50879aace
JIRA: FUNCTEST-266
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Fix "Illegal option -o pipefail" problem and correct the parser path."
mei mei [Fri, 27 May 2016 02:20:24 +0000 (02:20 +0000)]
Merge "Fix "Illegal option -o pipefail" problem and correct the parser path."

8 years agoFix "Illegal option -o pipefail" problem and correct the parser path. 01/14701/3
zhifeng.jiang [Thu, 26 May 2016 09:15:31 +0000 (17:15 +0800)]
Fix "Illegal option -o pipefail" problem and correct the parser path.

JIRA:RELENG-110

Change-Id: I7cf0a79cd7046878de50c0214837d266770560c1
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agoApex: fixes env vars that cannot be exported due to sudo 57/14757/1
Tim Rozet [Fri, 27 May 2016 01:05:57 +0000 (21:05 -0400)]
Apex: fixes env vars that cannot be exported due to sudo

Change-Id: I2d27170c3797b1191dd39c3c9f6741a343acf70d
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoApex: Converges separate virtual and baremetal deploy scripts 41/14741/5
Tim Rozet [Thu, 26 May 2016 17:50:38 +0000 (13:50 -0400)]
Apex: Converges separate virtual and baremetal deploy scripts

Changes Include:
 - Combined apex-deploy-baremetal and apex-deploy-virtual into the
   apex-deploy.sh
   into functions
 - JJB modified to only use single builder for deploy

Change-Id: Ia129d8d6004b36c09bdb01685f2a0fced13bccea
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Adapt push_logs after CI refactoring"
Morgan Richomme [Thu, 26 May 2016 14:30:49 +0000 (14:30 +0000)]
Merge "Adapt push_logs after CI refactoring"

8 years agoAdapt push_logs after CI refactoring 25/14725/1
Morgan Richomme [Thu, 26 May 2016 12:54:05 +0000 (14:54 +0200)]
Adapt push_logs after CI refactoring

- change POD names
- remove branch for local results

Change-Id: I8749cfe34e9819c42f859c9a1f2f5d5cce5ccbb1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoswagger-ize project-apis of testAPI 23/14723/2
SerenaFeng [Thu, 26 May 2016 12:32:02 +0000 (20:32 +0800)]
swagger-ize project-apis of testAPI

rename pod_handler.py to pod_handlers.py

JIRA: FUNCTEST-264

Change-Id: I8699999776bdb238f680a128b83cea0a098534c5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoswagger-ize pod-apis of testAPI 17/14717/2
SerenaFeng [Thu, 26 May 2016 10:07:35 +0000 (18:07 +0800)]
swagger-ize pod-apis of testAPI

JIRA: FUNCTEST-263

Change-Id: I293e05f565f882ea39bbf6368405f10241269716
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "compass: Switch using labels instead of slaves"
Fatih Degirmenci [Thu, 26 May 2016 09:40:07 +0000 (09:40 +0000)]
Merge "compass: Switch using labels instead of slaves"

8 years agoMerge "eliminate flake8 violation in testAPI except dashboard dir"
Morgan Richomme [Thu, 26 May 2016 09:01:21 +0000 (09:01 +0000)]
Merge "eliminate flake8 violation in testAPI except dashboard dir"

8 years agocompass: Switch using labels instead of slaves 79/14679/2
Fatih Degirmenci [Wed, 25 May 2016 22:01:52 +0000 (00:01 +0200)]
compass: Switch using labels instead of slaves

This change switches compass jobs to use labels instead of tying
jobs to slaves.

The changes in detail are:
- Compass jobs can roam on any pod that is labelled with compass-baremetal
  and compass-virtual.
- Above means that there is no branch/pod allocation anymore.
- New jobs are created in order to get rid of pod names from them and just
  use baremetal or virtual in names.
- Old jobs are removed.
- Related test jobs are updated.
- huawei-virtual label is renamed to compass-virtual since we still have
  installer specific slaves, not company specific. In future the job
  might end up on a none-Huawei slave too.
- huawei-pod2 is not a CI POD so it is left in none-CI PODs section.
- block relations and triggers might require fine tuning and left to compass
  project to decide how to adjust

Job structure remains same; one parent job calling 3 downstream jobs:
deploy, functest, yardstick.

The OS to deploy (trusty or centos7) needs to be solved in a separate patch
in a sustainable way.

Change-Id: I22bfaff36640667b6764f0e303a3286af0eb41b2
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoeliminate flake8 violation in testAPI except dashboard dir 89/14689/2
SerenaFeng [Thu, 26 May 2016 06:30:24 +0000 (14:30 +0800)]
eliminate flake8 violation in testAPI except dashboard dir

JIRA: FUNCTEST-262

Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agojoid: Switch using labels instead of slaves 77/14677/3
Fatih Degirmenci [Wed, 25 May 2016 20:28:20 +0000 (22:28 +0200)]
joid: Switch using labels instead of slaves

This change switches joid jobs to use labels instead of tying
jobs to slaves.

The changes in detail are:
- Joid jobs can roam on any pod that is labelled with joid-baremetal
  and joid-virtual.
- Above means that there is no branch/pod allocation anymore.
- New jobs are created in order to get rid of pod names from them and
  just use baremetal or virtual in names.
- Old jobs are removed.
- Related test jobs are updated.
- POD specific parameters are updated and instead of adding pod
  specific parameters, they now become parameters for all the pods
  labelled with same label. It is not a problem at the moment as
  both Intel PODs (pod5, pod6) have same parameters but a different
  pod with different parameters will require alignment between pods.

Job structure remains same; one parent job calling 3 downstream jobs:
deploy, functest, yardstick.

Change-Id: I30d270cd05ba3756f6f161d65ee5160eab6b80f4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "attach version number to url in testAPI"
Morgan Richomme [Thu, 26 May 2016 06:39:07 +0000 (06:39 +0000)]
Merge "attach version number to url in testAPI"

8 years agoAdd the pep8 check in parser verify 85/14285/4
zhifeng.jiang [Wed, 18 May 2016 07:23:06 +0000 (03:23 -0400)]
Add the  pep8 check in parser verify

JIRA:RELENG-110

Change-Id: I5c877d558bb04255a9e99dbe3459fba40217232c
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agoattach version number to url in testAPI 67/14667/3
SerenaFeng [Wed, 25 May 2016 14:56:11 +0000 (22:56 +0800)]
attach version number to url in testAPI

version - /versions
api - /api/v1/pods(projects/results)
dashboard - /dashboard/v1/results
I tried to make the code smart, but in vain, sad......

JIRA: FUNCTEST-261

Change-Id: I3e9e3ad7180a6c6349fd743e24eafea07bdefd1d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoApex: Fixes RPM checking in virtual deployment 83/14683/1
Tim Rozet [Thu, 26 May 2016 01:06:45 +0000 (21:06 -0400)]
Apex: Fixes RPM checking in virtual deployment

Change-Id: I2e02f16173ec495e250bc60bc225ad1bb6a91828
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoapex: Take builders out of jjb 81/14681/1
Fatih Degirmenci [Wed, 25 May 2016 22:39:18 +0000 (00:39 +0200)]
apex: Take builders out of jjb

Having builders embedded in jjb makes maintenance harder than what
it could be and error prone so the builders have been taken out.

Apart from this, the upcoming change proposals will split yml files
in 2, aligning with the rest and jobs in these files can reuse same
builders when they are converted in shell scripts.

This is the first change in series, trying to align job structure
with the rest in order to ease the effort required to troubleshoot
the deployments during release verification. The changes are
- take builders out of jjb (this patch)
- align the main CI jobs with the rest; 1 parent job per scenario/branch
  which controls triggering and execution of 3 downstream jobs;
  deploy, yardstick, functest
- split yml file in 2; ci jobs ending in apex-ci-jobs.yml (daily) and
  project jobs ending in apex-project-jobs.yml. (verify, merge, build)

Change-Id: I01f8bf351f0cbafbee1f41ec24ad5c2c6f21316f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agofuel: Switch using labels instead of slaves 59/14659/4
Fatih Degirmenci [Tue, 24 May 2016 19:24:30 +0000 (21:24 +0200)]
fuel: Switch using labels instead of slaves

This change switches fuel jobs to use labels instead of tying
jobs to slaves.

The possibilities and changes introduced with this approach are
- If things do not work as expected, slave-label parameter can
  be set to certain slave name to get back to old way of
  tying jobs to slaves.
- If a scenario requires a different slave, it can still be
  created using baremetal or virtual but the label can be
  different, pointing to a slave that is capable of running
  that scenario. (fuel-baremetal-multisite, etc.)
- The auto-trigger-name for brahmaputra is moved under the
  branch anchor and can be used like this if triggers for all
  all the jobs for a certain branch need not to be triggered
  automatically but job is still kept enabled in case if some
  crucial bug needs to be tested.
- No of max concurrent builds stepped to 4 in order to use
  all the labelled slaves available. This will require some
  adjustments before colorado jobs start to run in order to
  share resources between branches fairly.
- All the fuel CI PODs except lf-pod1 have been removed.

Change-Id: I91eca6743bb3d34263e634f9b74550efa1e2ddbe
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoTest API add start_date, stop_date parameters in results 65/14665/2
Morgan Richomme [Wed, 25 May 2016 13:32:54 +0000 (15:32 +0200)]
Test API add start_date, stop_date parameters in results

Change-Id: I8c8c5b1d82e447fb7a7413368a919b3d3c7b99a6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "add test result/dashboard related unittests in testAPI and refactor its response"
Morgan Richomme [Wed, 25 May 2016 09:50:08 +0000 (09:50 +0000)]
Merge "add test result/dashboard related unittests in testAPI and refactor its response"

8 years agoMerge "Add pod role in pod description in the API"
Morgan Richomme [Wed, 25 May 2016 09:49:50 +0000 (09:49 +0000)]
Merge "Add pod role in pod description in the API"

8 years agoadd test result/dashboard related unittests in testAPI and refactor its response 13/14513/6
SerenaFeng [Mon, 23 May 2016 10:34:19 +0000 (18:34 +0800)]
add test result/dashboard related unittests in testAPI and refactor its response

modification:
  add unittests for test result/dashboard
  rename test_results table name in db to results
  refactor response body

JIRA: FUNCTEST-255

Change-Id: I0657e6e95156a8c79072e7333fd8aaeb12d986e5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoEnable opencontrail ci jobs in compass 27/14627/1
meimei [Wed, 25 May 2016 00:56:12 +0000 (08:56 +0800)]
Enable opencontrail ci jobs in compass

JIRA: COMPASS-393

Change-Id: Ib079cb543f7ed9ae932ea3af99a8c3f187dd0cbc
Signed-off-by: meimei <meimei@huawei.com>
8 years agoMerge "armband: schedule deploy jobs earlier"
Fatih Degirmenci [Tue, 24 May 2016 16:02:29 +0000 (16:02 +0000)]
Merge "armband: schedule deploy jobs earlier"

8 years agoarmband: schedule deploy jobs earlier 03/14603/1
Josep Puigdemont [Tue, 24 May 2016 15:55:51 +0000 (17:55 +0200)]
armband: schedule deploy jobs earlier

Change-Id: Ib555f05777cd301851c10f139457a5babf1b7f5b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoMerge "[joid] correct auth url with good admin port"
Fatih Degirmenci [Tue, 24 May 2016 15:53:15 +0000 (15:53 +0000)]
Merge "[joid] correct auth url with good admin port"

8 years agoAdd pod role in pod description in the API 91/14591/1
Morgan Richomme [Tue, 24 May 2016 15:05:44 +0000 (17:05 +0200)]
Add pod role in pod description in the API

JIRA: FUNCTEST-259

Change-Id: Id0c232f61244a185c7ab238d6493ef5487a9efbf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "add zte-pod1 to functest dashboard"
Morgan Richomme [Tue, 24 May 2016 14:24:11 +0000 (14:24 +0000)]
Merge "add zte-pod1 to functest dashboard"

8 years agoMerge "Add dependency to futures lib in README"
Morgan Richomme [Tue, 24 May 2016 13:07:14 +0000 (13:07 +0000)]
Merge "Add dependency to futures lib in README"

8 years agobugfix: Switch to include-raw so curly brackets are not escaped 65/14565/1
Fatih Degirmenci [Tue, 24 May 2016 09:50:13 +0000 (11:50 +0200)]
bugfix: Switch to include-raw so curly brackets are not escaped

Change-Id: I22bdffac5888656ee95c458d42c0f6621c822f7f
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agostorperf: Fix the typo in DOCKER_REPO_NAME 55/14555/2
Fatih Degirmenci [Tue, 24 May 2016 07:53:08 +0000 (09:53 +0200)]
storperf: Fix the typo in DOCKER_REPO_NAME

Change-Id: I55255a33bb0c2cf88c709024f1712e5310082ae6
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoYardstick: change ci path for docker_build_push script 53/14553/1
MatthewLi [Tue, 24 May 2016 07:42:02 +0000 (03:42 -0400)]
Yardstick: change ci path for docker_build_push script

JIRA: YARDSTICK-269

Change-Id: I78082402e3083fbab3e0b8974f23ccd4dad2e980
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agoYardstick: change the /ci directory path 51/14551/1
MatthewLi [Tue, 24 May 2016 07:14:06 +0000 (03:14 -0400)]
Yardstick: change the /ci directory path

JIRA: YARDSTICK-269

Change-Id: Ibaf305db81d3a24164e9791249408f09cdd41e27
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years ago[joid] correct auth url with good admin port 79/14379/2
David Blaisonneau [Thu, 19 May 2016 13:25:06 +0000 (15:25 +0200)]
[joid] correct auth url with good admin port

Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
8 years agofunctest: Take builders out of jjb 73/14473/4
Fatih Degirmenci [Sun, 22 May 2016 20:09:10 +0000 (22:09 +0200)]
functest: Take builders out of jjb

Change-Id: I546b1b323db2d1839335a34e8293b27f368b0626
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoyardstick: Take builders out of jjb 77/14477/2
Fatih Degirmenci [Sun, 22 May 2016 21:19:15 +0000 (23:19 +0200)]
yardstick: Take builders out of jjb

Change-Id: I246bcdd9f1fa300639bd7ec744cefe82e293b222
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years ago[compass-bugfix] lack of "then" 45/14545/1
meimei [Tue, 24 May 2016 03:19:32 +0000 (11:19 +0800)]
[compass-bugfix] lack of "then"

Change-Id: Id33543777ba227214f92770db730051326cba25f
Signed-off-by: meimei <meimei@huawei.com>
8 years agoMerge "[compass4nfv] enable opencontrail ci jobs in compass"
meimei [Tue, 24 May 2016 02:47:37 +0000 (02:47 +0000)]
Merge "[compass4nfv] enable opencontrail ci jobs in compass"

8 years ago[compass4nfv] enable opencontrail ci jobs in compass 03/14503/4
meimei [Mon, 23 May 2016 07:43:12 +0000 (15:43 +0800)]
[compass4nfv] enable opencontrail ci jobs in compass

- enable ocl scenario only in ubuntu deployment
- disable ci jobs of Brahmaputra
- use huawei-pod1 instead  untill intel8 back to online

JIRA: COMPASS-393

Change-Id: I76245d8c5f650ee85664d86fe4d9da1ca2c6e76a
Signed-off-by: meimei <meimei@huawei.com>
8 years agoMerge "[compass4nfv] use vping as the smoke test of compass4nfv"
meimei [Tue, 24 May 2016 02:34:57 +0000 (02:34 +0000)]
Merge "[compass4nfv] use vping as the smoke test of compass4nfv"

8 years agoadd zte-pod1 to functest dashboard 37/14537/1
SerenaFeng [Tue, 24 May 2016 02:08:40 +0000 (10:08 +0800)]
add zte-pod1 to functest dashboard

JIRA: RELENG-112

Change-Id: I8c6af538dfa98e7fc035037cb6816d2658458879
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd dependency to futures lib in README 19/14519/1
Morgan Richomme [Mon, 23 May 2016 13:06:52 +0000 (15:06 +0200)]
Add dependency to futures lib in README

Change-Id: Ifc0cc69a7b275248ddadcc37d892bb19efc34e12
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Rename LF Jenkins slaves and update impacted jobs"
Fatih Degirmenci [Mon, 23 May 2016 08:33:21 +0000 (08:33 +0000)]
Merge "Rename LF Jenkins slaves and update impacted jobs"

8 years ago[compass4nfv] use vping as the smoke test of compass4nfv 01/14501/5
meimei [Mon, 23 May 2016 06:26:15 +0000 (14:26 +0800)]
[compass4nfv] use vping as the smoke test of compass4nfv

JIRA: COMPASS-392

Change-Id: Iec07b950747ced3a70250cf7947cb9feb0558f0d
Signed-off-by: meimei <meimei@huawei.com>
8 years agoMerge "Apex: fixes CONFIG path for clean on CI verify"
Tim Rozet [Mon, 23 May 2016 01:58:43 +0000 (01:58 +0000)]
Merge "Apex: fixes CONFIG path for clean on CI verify"

8 years agoApex: fixes CONFIG path for clean on CI verify 87/14487/1
Tim Rozet [Mon, 23 May 2016 01:56:58 +0000 (21:56 -0400)]
Apex: fixes CONFIG path for clean on CI verify

Change-Id: I53ecf6287ed39113e884017db824d01ef9dd5003
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoRename Huawei Jenkins slaves 85/14485/1
meimei [Mon, 23 May 2016 01:40:16 +0000 (09:40 +0800)]
Rename Huawei Jenkins slaves

Change-Id: I65a30fa13807b8aeab47880d7a1085038d2031ff
Signed-off-by: meimei <meimei@huawei.com>
8 years agoRename LF Jenkins slaves and update impacted jobs 53/14453/1
Fatih Degirmenci [Sat, 21 May 2016 20:57:16 +0000 (22:57 +0200)]
Rename LF Jenkins slaves and update impacted jobs

Change-Id: If58c84e6f431db88eed3376e446479826da71502
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "add unittests for testcase and refactor testcase related implementation"
Morgan Richomme [Fri, 20 May 2016 15:56:37 +0000 (15:56 +0000)]
Merge "add unittests for testcase and refactor testcase related implementation"

8 years agoadd unittests for testcase and refactor testcase related implementation 31/14431/2
SerenaFeng [Fri, 20 May 2016 10:00:52 +0000 (18:00 +0800)]
add unittests for testcase and refactor testcase related implementation

modification:
  add unittests for testcase
  refactor testcase table name in db to testcases
  refactor response body
  fix some bugs

JIRA:FUNCTEST-254

Change-Id: Ia7c7101fa742af82bfc8c4a3d398a7dad601bca1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoRename Huawei Jenkins slaves 25/14225/6
Fatih Degirmenci [Tue, 17 May 2016 08:02:18 +0000 (10:02 +0200)]
Rename Huawei Jenkins slaves

Slave names will be as below.

- huawei-us-deploy-bare-1 -> huawei-pod1
- huawei-us-deploy-bare-2 -> huawei-pod2
- huawei-sh-test-2-defaults -> huawei-pod3
- huawei-sh-pod6 -> huawei-pod4
- huawei-us-deploy-vm-1 -> huawei-virtual1
- huawei-us-deploy-vm-2 -> huawei-virtual2
- huawei-us-deploy-vm-3 -> huawei-virtual3
- huawei-us-deploy-vm-4 -> huawei-virtual4

huawei-sh-pod4 will be removed from Jenkins.

Please note that this change will result in removal of existing jobs.
This is not that crucial since the use of labels will result in same.

Change-Id: I63798c799a402b1694ee0767ffdb45a597897cd9
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoApex: Fixes daily to use baremetal 87/14387/1
Tim Rozet [Thu, 19 May 2016 16:13:06 +0000 (12:13 -0400)]
Apex: Fixes daily to use baremetal

Also includes change to move virtual deployment for daily to be noha
(due to RAM limitation in LFPOD1)

Change-Id: Ia61cac220ccde9b2d4812c82e00dcd08c130dab6
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoApex: enable concurrent jobs 83/14383/1
Tim Rozet [Thu, 19 May 2016 14:22:42 +0000 (10:22 -0400)]
Apex: enable concurrent jobs

Change-Id: Ie8a2902967c9dad4879fd0c9696eb78993bdada1
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoForget conf file... 77/14377/1
Morgan Richomme [Thu, 19 May 2016 13:15:29 +0000 (15:15 +0200)]
Forget conf file...

Change-Id: I85261ec5fcbe59db2e67f8347d2babb082454e14
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdapt reporting after Functest refactoring 75/14375/1
Morgan Richomme [Thu, 19 May 2016 12:41:23 +0000 (14:41 +0200)]
Adapt reporting after Functest refactoring

Get test cases from cases declares in Tiers
Consider only Tier 0-3 to validate scenario
Display results for Tier > 3

Change-Id: I581702bd7f2cc323d38b82a2404b301fb8fd7840
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "add unittests of project & refactor response"
Morgan Richomme [Thu, 19 May 2016 12:29:55 +0000 (12:29 +0000)]
Merge "add unittests of project & refactor response"

8 years agoMerge "Disable CI Email Notifications for Gerrit Reviews"
Ryota Mibu [Thu, 19 May 2016 10:23:30 +0000 (10:23 +0000)]
Merge "Disable CI Email Notifications for Gerrit Reviews"

8 years agoadd unittests of project & refactor response 51/14351/1
SerenaFeng [Thu, 19 May 2016 10:13:27 +0000 (18:13 +0800)]
add unittests of project & refactor response

post body: {'href':'<http://ip:8000/pods/pod_name >'}
get body: Pod/Project
list body: list of Pod/Project
update body: Pod/Project
delete: no body

JIRA: FUNCTEST-253

Change-Id: I28c6f5b35d8909d827f2f803197d95be4abd44bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoRemove jobs for terminated and none-active projects 49/14349/1
Fatih Degirmenci [Thu, 19 May 2016 08:50:00 +0000 (10:50 +0200)]
Remove jobs for terminated and none-active projects

oscar: terminated project.
genesis: installers and genesisreq have their own jobs so genesis jobs
are obsolete.

Change-Id: I1f5e869d0bae0c6c199c7dd439ec035f9f59205b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoAdjust the trigger on zte-pod1. 39/14339/1
wu.zhihui [Thu, 19 May 2016 06:06:14 +0000 (02:06 -0400)]
Adjust the trigger on zte-pod1.

Due to a full cycle job running on zte-pod1, adjust the trigger in
 yardstick-ci-jobs.yml on zte-pod1.

Change-Id: Ic5e37d0ce378984c67490d1346835827c45f540b
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
8 years agoMerge "Modify YARDSTICK_DB_BACKEND value on zte-pod1."
mei mei [Thu, 19 May 2016 03:27:55 +0000 (03:27 +0000)]
Merge "Modify YARDSTICK_DB_BACKEND value on zte-pod1."

8 years agoApex: enable throttling for parallel jobs per node 31/14331/1
Tim Rozet [Thu, 19 May 2016 01:29:25 +0000 (21:29 -0400)]
Apex: enable throttling for parallel jobs per node

Change-Id: I417b1b9c7798e5fc774979de1a07b1e3db69b784
Signed-off-by: Tim Rozet <trozet@redhat.com>