releng.git
8 years agoMerge "fastpathmetrics: fix daily build trigger"
Fatih Degirmenci [Tue, 14 Jun 2016 18:51:01 +0000 (18:51 +0000)]
Merge "fastpathmetrics: fix daily build trigger"

8 years agofastpathmetrics: fix daily build trigger 25/15525/1
Maryam Tahhan [Tue, 14 Jun 2016 12:28:52 +0000 (13:28 +0100)]
fastpathmetrics: fix daily build trigger

Change-Id: Iffd07fbeebbc21872ba584e95b8698a5f72aa6c8
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoFix the "The controller is not up" problem caused by the fuel9.0 changing the online... 21/15521/1
zhifeng.jiang [Tue, 14 Jun 2016 12:12:29 +0000 (20:12 +0800)]
Fix the "The controller is not up" problem caused by the fuel9.0 changing the online state form "True" to "1".

JIRA:QTIP-85

Change-Id: Iaa07af84954bb590801336f2ca44e621c97baeb9
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agopass parameter to sub-job 01/15501/2
meimei [Tue, 14 Jun 2016 07:00:53 +0000 (15:00 +0800)]
pass parameter to sub-job

Change-Id: I97a0e1576aecb6ff6f319ca531917dc92bb29277
Signed-off-by: meimei <meimei@huawei.com>
8 years agoAPEX: update ipxe-rom-qemu package for multiple virtio nic pxe boot 85/15485/1
Feng Pan [Tue, 14 Jun 2016 02:16:32 +0000 (22:16 -0400)]
APEX: update ipxe-rom-qemu package for multiple virtio nic pxe boot

Change-Id: I05cb9a725d578361eab8ad213378772c9cb6d23f
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agofuel: Remove the expired items from the cache before starting the build 37/15337/2
Fatih Degirmenci [Thu, 9 Jun 2016 18:00:27 +0000 (20:00 +0200)]
fuel: Remove the expired items from the cache before starting the build

Change-Id: I51decee4ef32caa768e95a14d462b205f96203ab
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "Adapt automatic reporting to new Test API"
Morgan Richomme [Mon, 13 Jun 2016 07:26:01 +0000 (07:26 +0000)]
Merge "Adapt automatic reporting to new Test API"

8 years agoEnable qtip daily test job in zte-pod1 17/15417/1
zhifeng.jiang [Sun, 12 Jun 2016 13:35:30 +0000 (21:35 +0800)]
Enable qtip daily test job in zte-pod1

JIRA:QTIP-85

Change-Id: I8a9870e00ce8772c1bef53e338e82252a4e5b291
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
8 years agoWe don't need the how to use docs, since we know how to use them 87/15387/1
Aric Gardner [Fri, 10 Jun 2016 16:06:43 +0000 (12:06 -0400)]
We don't need the how to use docs, since we know how to use them

Change-Id: I909071632502c1b8d4727362ffa49550d2feb42f
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
8 years agoAdapt automatic reporting to new Test API 81/15381/2
Morgan Richomme [Fri, 10 Jun 2016 15:15:28 +0000 (17:15 +0200)]
Adapt automatic reporting to new Test API

JIRA: FUNCTEST-303

Change-Id: Ie9cb7151301ab2c26a72746683c35305ba560bbc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agojoid: Enable job concurrency and set job block level 51/15351/2
Fatih Degirmenci [Thu, 9 Jun 2016 20:11:15 +0000 (22:11 +0200)]
joid: Enable job concurrency and set job block level

Change-Id: I964ac47ca07975e07894a0dc0c9bae60c8f597f7
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "armband: updated lab-config URL"
Fatih Degirmenci [Thu, 9 Jun 2016 08:43:13 +0000 (08:43 +0000)]
Merge "armband: updated lab-config URL"

8 years agosolve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI 11/15311/3
SerenaFeng [Wed, 8 Jun 2016 18:10:01 +0000 (02:10 +0800)]
solve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI

add swagger configuration in config.ini
add swagger.docs() process in server.py
add swagger configuration parse in config.py
add basePath() in settings.py
change 'basePath' item assignment in views.py

JIRA: FUNCTEST-305

Change-Id: I049991d4d53b78755ee971021ec0ad2458f5da60
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoarmband: updated lab-config URL 01/15301/1
Josep Puigdemont [Wed, 8 Jun 2016 15:32:24 +0000 (17:32 +0200)]
armband: updated lab-config URL

Change-Id: I317321bbaf1e74419b9508c6da3039b95d9d399d
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agofuel: Update mail notification recipients 67/15267/1
Fatih Degirmenci [Wed, 8 Jun 2016 07:32:38 +0000 (09:32 +0200)]
fuel: Update mail notification recipients

Change-Id: Ia58564f42be7a07e765976aa5e04c326cbc4de43
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoMerge "add update usage description in testAPI"
Morgan Richomme [Wed, 8 Jun 2016 06:45:46 +0000 (06:45 +0000)]
Merge "add update usage description in testAPI"

8 years agoMerge "add update opnfv-testapi script in testAPI"
Morgan Richomme [Wed, 8 Jun 2016 06:45:10 +0000 (06:45 +0000)]
Merge "add update opnfv-testapi script in testAPI"

8 years agoMerge "add mongodb update script in testAPI"
Morgan Richomme [Wed, 8 Jun 2016 06:44:54 +0000 (06:44 +0000)]
Merge "add mongodb update script in testAPI"

8 years agoadd update usage description in testAPI 65/15265/1
SerenaFeng [Wed, 8 Jun 2016 06:05:37 +0000 (14:05 +0800)]
add update usage description in testAPI

add file update/README.md

JIRA: FUNCTEST-300

Change-Id: I070f872d5d9c3de7eb52569a1ac86d9ec43bd0ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd update opnfv-testapi script in testAPI 61/15261/1
SerenaFeng [Wed, 8 Jun 2016 03:46:56 +0000 (11:46 +0800)]
add update opnfv-testapi script in testAPI

add file update_api.py

JIRA: FUNCTEST-299

Change-Id: Iea882a12bab2e3a92a31a3a8b59fcd57c488dffa
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Yardstick: rename test suite script"
MatthewLi [Wed, 8 Jun 2016 03:31:58 +0000 (03:31 +0000)]
Merge "Yardstick: rename test suite script"

8 years agoadd mongodb update script in testAPI 53/15253/3
SerenaFeng [Tue, 7 Jun 2016 08:09:19 +0000 (16:09 +0800)]
add mongodb update script in testAPI

add file update.py

JIRA: FUNCTEST-298

Change-Id: I419e9b72464ac04562f5550409561d269d9f0d36
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agomodified to use mitaka by default rather than Liberty. 43/15243/5
Narinder Gupta [Tue, 7 Jun 2016 04:28:21 +0000 (23:28 -0500)]
modified to use mitaka by default rather than Liberty.

This patch to modify the default deployment to mitaka. Ans also
disable the creation of external network as now joid deploy.sh will
create the external network itself based on labconfig.yaml

Change-Id: I282eaa803af47f04348532ffd1a7a5990d50d380
signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

8 years agoadd mongodb backup and restore scripts in testAPI 49/15249/2
SerenaFeng [Tue, 7 Jun 2016 06:34:14 +0000 (14:34 +0800)]
add mongodb backup and restore scripts in testAPI

add directory update
add files backup.py restore.py utils.py

JIRA: FUNCTEST-297

Change-Id: I6e8b6c4b87b6081e67bc3e1a7605c83d0232e3ca
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "remove useless method get_dashboard_cases() in testAPI"
Morgan Richomme [Mon, 6 Jun 2016 09:48:02 +0000 (09:48 +0000)]
Merge "remove useless method get_dashboard_cases() in testAPI"

8 years agoMerge "add unittest for 'last' query of results in testAPI"
Morgan Richomme [Mon, 6 Jun 2016 09:47:36 +0000 (09:47 +0000)]
Merge "add unittest for 'last' query of results in testAPI"

8 years agoMerge "joid: Disable brahmaputra jobs, enable master jobs"
Fatih Degirmenci [Mon, 6 Jun 2016 08:28:06 +0000 (08:28 +0000)]
Merge "joid: Disable brahmaputra jobs, enable master jobs"

8 years agoadd unittest for 'last' query of results in testAPI 03/15203/2
SerenaFeng [Mon, 6 Jun 2016 08:12:36 +0000 (16:12 +0800)]
add unittest for 'last' query of results in testAPI

add 'last' related unittest in test_result.py
implement sort()&limit() in fake_pymongo.py
refactor 'sort' model in result_handlers.py

JIRA: FUNCTEST-296
Change-Id: Ib5371f1df67f170e3ba26c6da27a651e34f2b0d6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoremove useless method get_dashboard_cases() in testAPI 97/15197/1
SerenaFeng [Mon, 6 Jun 2016 03:04:45 +0000 (11:04 +0800)]
remove useless method get_dashboard_cases() in testAPI

remove get_dashboard_cases() method in dashboard_utils.py

JIRA: FUNCTEST-295

Change-Id: Id450f3d9c2b4870a0a9da42abd536a412ac25323
signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoYardstick: rename test suite script 93/15193/1
MatthewLi [Mon, 6 Jun 2016 06:06:29 +0000 (02:06 -0400)]
Yardstick: rename test suite script

JIRA: YARDSTICK-279

two scripts are with the same name run_tests.sh, for unittest and test suite running,
confusions are made here, this should be merged after https://gerrit.opnfv.org/gerrit/#/c/14687/

Change-Id: I31aca6144b94a0fd167f5ed77580ba8d9ac4c917
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
8 years agorefactor int query parameter process in testAPI 95/15195/1
SerenaFeng [Mon, 6 Jun 2016 03:01:13 +0000 (11:01 +0800)]
refactor int query parameter process in testAPI

add method GenericResultHandler.get_int()
refactor GenericResultHandler.set_query() & ResultsCLHandler.get()

JIRA: FUNCTEST-294

Change-Id: I44636983af7784a5b2863427abc0895e89cfa83c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoApex: Adds ODL L3 scenario to daily 75/15175/1
Tim Rozet [Sat, 4 Jun 2016 18:07:48 +0000 (14:07 -0400)]
Apex: Adds ODL L3 scenario to daily

Change-Id: I3fcdf3a471806c6342065ed2ef8df9e649e9c044
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "test APi evolution add filter to retrieve last results"
Morgan Richomme [Sat, 4 Jun 2016 16:59:51 +0000 (16:59 +0000)]
Merge "test APi evolution add filter to retrieve last results"

8 years agoMerge "support 'GET /dashboard/v1/projects' REST api in testAPI"
Morgan Richomme [Sat, 4 Jun 2016 16:58:33 +0000 (16:58 +0000)]
Merge "support 'GET /dashboard/v1/projects' REST api in testAPI"

8 years agotest APi evolution add filter to retrieve last results 63/15163/3
SerenaFeng [Sat, 4 Jun 2016 06:58:14 +0000 (14:58 +0800)]
test APi evolution add filter to retrieve last results

add 'last' query parameter prcess in ResultsCLHandler.get()
add 'sort' and 'last' parameters process in GenericApiHandler._list()
add sort() and limit() fake in fake_pymongo.py

JIRA: FUNCTEST-259

Change-Id: I96c1ff37325c65cf9c421f4277662dde28b1473d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoremove not used 'import copy' 61/15161/1
SerenaFeng [Sat, 4 Jun 2016 06:56:04 +0000 (14:56 +0800)]
remove not used 'import copy'

remove not used 'import copy' in test_result.py

JIRA: FUNCTEST-293

Change-Id: I6c8db5674e6dd9770cd859c74d43bd5b9440544a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agosupport 'GET /dashboard/v1/projects' REST api in testAPI 55/15155/1
SerenaFeng [Sat, 4 Jun 2016 05:16:21 +0000 (13:16 +0800)]
support 'GET /dashboard/v1/projects' REST api in testAPI

add get_dashboard_projects() in dashboard_utils.py
add DashboardProjectHandler in dashboard_handlers.py
add router mapping in url_mappings.py
add file test_dashboard_project.py to do the unittest

JIRA: FUNCTEST-292

Change-Id: I51ad8dd26abbd8d43c656c8b03ff302227255d11
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "compass CI support deployment of Mitaka"
meimei [Sat, 4 Jun 2016 01:35:26 +0000 (01:35 +0000)]
Merge "compass CI support deployment of Mitaka"

8 years agojoid: Disable brahmaputra jobs, enable master jobs 51/15151/1
Fatih Degirmenci [Fri, 3 Jun 2016 21:49:45 +0000 (23:49 +0200)]
joid: Disable brahmaputra jobs, enable master jobs

Change-Id: Ic97671af63b9405fab8fd99de758170095c57934
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
8 years agoApex: Fixes build caching 45/15145/3
Tim Rozet [Fri, 3 Jun 2016 20:15:36 +0000 (16:15 -0400)]
Apex: Fixes build caching

Changes include:
 - Removing deprecated Brahmaputra support
 - Properly passing CACHE_DIRECTORY without file:// prefix

JIRA: APEX-167

Change-Id: Ic52e394d682d59662006a74ec2d32eef7bc3b6c2
Signed-off-by: Tim Rozet <trozet@redhat.com>
8 years agoMerge "Apex: Add jinja2 package check and install"
Tim Rozet [Fri, 3 Jun 2016 18:04:52 +0000 (18:04 +0000)]
Merge "Apex: Add jinja2 package check and install"

8 years agosupport GET /api/v1/results in testAPI 41/15141/2
SerenaFeng [Fri, 3 Jun 2016 09:47:11 +0000 (17:47 +0800)]
support GET /api/v1/results in testAPI

change require flag of project&case to False

JIRA: FUNCTEST-291

Change-Id: Idc165cc4d5950cd7f7313a1e19f013933a5d4a9a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "add copyright to files in testAPI"
Morgan Richomme [Fri, 3 Jun 2016 06:58:01 +0000 (06:58 +0000)]
Merge "add copyright to files in testAPI"

8 years agocompass CI support deployment of Mitaka 29/15129/1
meimei [Fri, 3 Jun 2016 02:45:17 +0000 (10:45 +0800)]
compass CI support deployment of Mitaka

- remove the support of juno
- support Mitaka

JIRA: COMPASS-413

Change-Id: I592001421ce485cabb400a72d9ffe2fd0d3577f5
Signed-off-by: meimei <meimei@huawei.com>
8 years agofix odl test repo path and remove unneeded sudo 27/15127/1
Jamo Luhrsen [Fri, 3 Jun 2016 00:28:04 +0000 (17:28 -0700)]
fix odl test repo path and remove unneeded sudo

Change-Id: Iefcdf2b22b0069c109a00cbc058678ee067db7bb
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoApex: Add jinja2 package check and install 17/15117/1
Feng Pan [Thu, 2 Jun 2016 20:50:54 +0000 (16:50 -0400)]
Apex: Add jinja2 package check and install

Change-Id: I9ea883139333730d9f3d0c77abef459d9f26e94b
Signed-off-by: Feng Pan <fpan@redhat.com>
8 years agoadd README.md to introduce the usage of tornado_swagger 67/15067/3
SerenaFeng [Thu, 2 Jun 2016 07:49:03 +0000 (15:49 +0800)]
add README.md to introduce the usage of tornado_swagger

add README.md file in tornado_swagger package

JIRA: FUNCTEST-290

Change-Id: I0ba306f0e5dfb576b34959f054e1c9cc61079039
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "change TestVersionbBase to TestVersionBase in testAPI"
Morgan Richomme [Thu, 2 Jun 2016 07:41:33 +0000 (07:41 +0000)]
Merge "change TestVersionbBase to TestVersionBase in testAPI"

8 years agoadd copyright to files in testAPI 63/15063/2
SerenaFeng [Thu, 2 Jun 2016 07:04:41 +0000 (15:04 +0800)]
add copyright to files in testAPI

add copyright head to new created files

JIRA: FUNCTEST-289

Change-Id: Idbedcf6d63156570dfa4b85dd8125b3882251765
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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 TestVersionbBase to TestVersionBase in testAPI 57/15057/1
SerenaFeng [Thu, 2 Jun 2016 06:14:56 +0000 (14:14 +0800)]
change TestVersionbBase to TestVersionBase in testAPI

delete extra 'b' in the clase name

JIRA: FUNCTEST-287

Change-Id: I4189182ec93425e16d1b56b440f001f72a3c5f2a
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>