releng-testresults.git
9 years agobugfix: wrong function call of publish_json in kibana scripts
SerenaFeng [Fri, 17 Jun 2016 02:49:57 +0000 (10:49 +0800)]
bugfix: wrong function call of publish_json in kibana scripts

change input parameter order when call publish_json
in mongo_to_elasticsearch.py

JIRA: FUNCTEST-318

Change-Id: I2ff35b069a7b02356083d52ea864e57f6820b4ce
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoadd motor dependency in testAPI
SerenaFeng [Thu, 16 Jun 2016 11:02:39 +0000 (19:02 +0800)]
add motor dependency in testAPI

add motor in requirement.txt

JIRA: FUNCTEST-317

Change-Id: Ieb9c973b57d8e8426eb427a6a149e554764e0cc3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agosupport keys start with '$' or contain '.' in testAPI
SerenaFeng [Wed, 15 Jun 2016 01:49:35 +0000 (09:49 +0800)]
support keys start with '$' or contain '.' in testAPI

set check_keys=False in insert and update db
fix update and insert stub in fake_pymongo.py
add unittest for check_keys in test_fake_pymongo.py

JIRA: FUNCTEST-313

Change-Id: I4051ec4a1c70996c87167643f6ea19993f5b0811
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agodelete creation_date of results in testAPI
SerenaFeng [Wed, 15 Jun 2016 07:45:40 +0000 (15:45 +0800)]
delete creation_date of results in testAPI

check if it is results collection when assign creation_date

JIRA: FUNCTEST-314

Change-Id: I8e70aa67a39560bdf337f6b0017d2aa8c7c48176
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoAdapt automatic reporting to new Test API
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>
9 years agosolve access testresults.opnfv.org/swagger/spec.html fail issue in testAPI
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>
9 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"

9 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"

9 years agoadd update usage description in testAPI
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>
9 years agoadd update opnfv-testapi script in testAPI
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>
9 years agoadd mongodb update script in testAPI
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>
9 years agoadd mongodb backup and restore scripts in testAPI
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>
9 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"

9 years agoadd unittest for 'last' query of results in testAPI
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>
9 years agoremove useless method get_dashboard_cases() in testAPI
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>
9 years agorefactor int query parameter process in testAPI
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>
9 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"

9 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"

9 years agotest APi evolution add filter to retrieve last results
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>
9 years agoremove not used 'import copy'
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>
9 years agosupport 'GET /dashboard/v1/projects' REST api in testAPI
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>
9 years agosupport GET /api/v1/results in testAPI
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>
9 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"

9 years agoadd README.md to introduce the usage of tornado_swagger
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>
9 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"

9 years agoadd copyright to files in testAPI
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>
9 years agoremove unittest test_createSameResults in testAPI
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>
9 years agochange TestVersionbBase to TestVersionBase in testAPI
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>
9 years agochange the usage of tornado_swagger package
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>
9 years agoadd router package to implement url-2-XXXHandlers mappings in testAPI project
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>
9 years agoproject-ize testAPI
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>
9 years agobugfix: query results failed due to wrong using period
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>
9 years agoAdd Tempest error in Tempest reporting
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>
9 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"

9 years agobugfix: query results failed due to wrong using type of trust_indicator
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>
9 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"

9 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"

9 years agobugfix: version return body is inconsistent with the designed model
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>
9 years agobugfix: query results failed due to using mutable list initiation
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>
9 years agorefactor fake_pymongo.py to eliminate repeated codes
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>
9 years agoeliminate flake8 violation of testAPI
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>
9 years agoswagger-ize dashboard and version apis of testAPI
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>
9 years agoswagger-ize result-apis of testAPI
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>
9 years agoswagger-ize testcase-apis of testAPI
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>
9 years agoswagger-ize project-apis of testAPI
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>
9 years agoswagger-ize pod-apis of testAPI
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>
9 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"

9 years agoeliminate flake8 violation in testAPI except dashboard dir
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>
9 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"

9 years agoattach version number to url in testAPI
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>
9 years agoTest API add start_date, stop_date parameters in results
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>
9 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"

9 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"

9 years agoadd test result/dashboard related unittests in testAPI and refactor its response
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>
9 years agoAdd pod role in pod description in the API
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>
9 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"

9 years agoadd zte-pod1 to functest dashboard
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>
9 years agoAdd dependency to futures lib in README
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>
9 years agoadd unittests for testcase and refactor testcase related implementation
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>
9 years agoForget conf file...
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>
9 years agoAdapt reporting after Functest refactoring
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>
9 years agoadd unittests of project & refactor response
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>
9 years agoMerge "add pod related unittests in testAPI"
Morgan Richomme [Wed, 18 May 2016 12:27:46 +0000 (12:27 +0000)]
Merge "add pod related unittests in testAPI"

9 years agoadd pod related unittests in testAPI
SerenaFeng [Wed, 18 May 2016 05:32:50 +0000 (13:32 +0800)]
add pod related unittests in testAPI

unittest for create/get/list pod in testAPI project

JIRA: FUNCTEST-252

Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Change-Id: Ifedb4715abffda20c93284ef58cd93f584879af8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agomake run_test executable in repo
Morgan Richomme [Tue, 17 May 2016 14:26:17 +0000 (16:26 +0200)]
make run_test executable in repo

Change-Id: If855e03df16d4786af6274c5b9c234fbef480278
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoadd unittest framework for supporting unittest in testAPI
SerenaFeng [Tue, 17 May 2016 13:05:27 +0000 (21:05 +0800)]
add unittest framework for supporting unittest in testAPI

usage is shown in utils/test/result_collection_api/README.md

JIRA: FUNCTEST-251

Change-Id: I788417e296c153cc485f4a4064697bdafc394e5b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agotornado_swagger_ui support query operation in "GET" method, and support methods in...
SerenaFeng [Fri, 13 May 2016 07:58:04 +0000 (15:58 +0800)]
tornado_swagger_ui support query operation in "GET" method, and support methods in model

query: GET /item?property1=1&property2=1
methods in model:
    @swagger.model()
    class Item:
        def format_http(self):
            pass
        @staticmethod
        def item_from_dict(item_dict):
            pass
        @classmethod
        def test_classmethod(cls):
            pass

JIRA: FUNCTEST-250

Change-Id: I12f937c4d2f64f93dc1194a8ad982e8b7ff21b7c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agosupport list property in tornado_swagger_ui
SerenaFeng [Thu, 12 May 2016 03:25:06 +0000 (11:25 +0800)]
support list property in tornado_swagger_ui

list property will be declared in format
'@ptype property4: C{list} of L{PropertySubclass}'

JIRA: FUNCTEST-248

Change-Id: I3ee31389f1eab39cc9f621cbab006f0a8764c8ca
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agointegration of tornado and swagger-ui
SerenaFeng [Wed, 11 May 2016 03:48:06 +0000 (11:48 +0800)]
integration of tornado and swagger-ui

this code will be applied to testApi later, as regards how to use it,
please refer utils/test/result_collection_api/tornado_swagger_ui/README.md

JIRA: FUNCTEST-247

Change-Id: Ie40e125846add7ceda15f05a38232dc8813b8f29
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agofix config path after refactoring
Morgan Richomme [Wed, 4 May 2016 15:21:58 +0000 (17:21 +0200)]
fix config path after refactoring

Change-Id: Idb4d9d978c89ae8bc590ca9f938b756118c5e26a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd global scenario reporting
Morgan Richomme [Wed, 4 May 2016 14:19:09 +0000 (16:19 +0200)]
Add global scenario reporting

Save date when a scenario is validated

Change-Id: I0895ae56812c7059972a60bf017fdb76d40de25c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd trust indicator field
Morgan Richomme [Fri, 29 Apr 2016 12:10:36 +0000 (14:10 +0200)]
Add trust indicator field

JIRA: FUNCTEST-165

Change-Id: Ic79f528f27dd28b6781ddd3300743ba691a8c085
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoImprove code quality (flake8)
Morgan Richomme [Tue, 26 Apr 2016 14:16:44 +0000 (16:16 +0200)]
Improve code quality (flake8)

Change-Id: Id58236ab080bc7dd5d9d7b98c4a0fce27ee1b7ad
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoFunctest reporting refactoring
Morgan Richomme [Tue, 26 Apr 2016 12:24:56 +0000 (14:24 +0200)]
Functest reporting refactoring

integrate the notion of version (brahmaputra, master, ..)
change dir structure

Change-Id: Ieb8aed811ed4e1ab8738fb02e4db411da3d07ca2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "bug fix: Rally duration not correct due to result format change"
Morgan Richomme [Thu, 21 Apr 2016 07:12:44 +0000 (07:12 +0000)]
Merge "bug fix: Rally duration not correct due to result format change"

9 years agobug fix: Rally duration not correct due to result format change
Morgan Richomme [Wed, 20 Apr 2016 16:04:41 +0000 (18:04 +0200)]
bug fix: Rally duration not correct due to result format change

JIRA: FUNCTEST-207

Change-Id: I04892271008a8a7130dbaf39757ab3039167602e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoFuel: add functest job on arm-pod1
Ciprian Barbu [Wed, 20 Apr 2016 14:16:19 +0000 (17:16 +0300)]
Fuel: add functest job on arm-pod1

Change-Id: I3703e0bde8b712d7c9b90621cc7ee1a44340076b
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
9 years agoadded ELK scripts for porting data from mongo to elasticsearch and managing kibana...
Juraj Linkes [Tue, 29 Mar 2016 09:13:27 +0000 (11:13 +0200)]
added ELK scripts for porting data from mongo to elasticsearch and managing kibana dashboards

Change-Id: I9edbc1535f6f9c4ca4dc8b4871a04c2ed6d1969e
Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
9 years agoComplete reporting status, process the scenario and get success criteria
Morgan Richomme [Thu, 24 Mar 2016 15:51:32 +0000 (16:51 +0100)]
Complete reporting status, process the scenario and get success criteria

Change-Id: Iaf5292293aec877f94e9cdec80519a680fef6718
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd scenario and criteria field in the Test result object of the test API
Morgan Richomme [Thu, 17 Mar 2016 13:54:25 +0000 (14:54 +0100)]
Add scenario and criteria field in the Test result object of the test API

scenario will be used for OPNFV scenario (currently using version field)
criteria will be passed or failed to give an immediate feedback on the test result status

JIRA: FUNCTEST-151

Change-Id: Iff5eb66bbf0cfbaafec0c3a6211031f6eb83c34f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd automatic status reporting
Morgan Richomme [Wed, 16 Mar 2016 17:31:06 +0000 (18:31 +0100)]
Add automatic status reporting
Show last scenario run + sun/cloud/storm dynamically

JIRA:FUNCTEST-151

Change-Id: I86eeb64f0dea842a71b0cba9dd1058d7fa876269
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoOrganization of reporting files
boucherv [Sat, 12 Mar 2016 21:47:46 +0000 (22:47 +0100)]
Organization of reporting files

Change-Id: I2761528ca988f10deb112aab567bfd0ee407d072
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoreorganization of Test folder in Releng
Morgan Richomme [Thu, 10 Mar 2016 08:34:38 +0000 (09:34 +0100)]
reorganization of Test folder in Releng

Change-Id: I92b507105e820198691ab8b1c44e1011b983b849
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd automated reporting for Tempest
Morgan Richomme [Wed, 9 Mar 2016 16:21:05 +0000 (17:21 +0100)]
Add automated reporting for Tempest

Change-Id: I3cc411c2d0d22a96333bf0b978ad8dd833744e8c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoReporting dashboard for functest
boucherv [Wed, 2 Mar 2016 15:04:10 +0000 (16:04 +0100)]
Reporting dashboard for functest

Change-Id: I6a5fa0c8918c0d4a98754c38f3c33238a0132a39
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoAdd tempest success rate to calculate the % of success results
Morgan Richomme [Mon, 29 Feb 2016 13:59:40 +0000 (14:59 +0100)]
Add tempest success rate to calculate the % of success results

Change-Id: I38c76904648253601258e5a048ea6bc53821c313
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "fix last spaces & tab"
Morgan Richomme [Mon, 29 Feb 2016 09:18:19 +0000 (09:18 +0000)]
Merge "fix last spaces & tab"

9 years agobug fix: installer field no more available in result object
Morgan Richomme [Mon, 29 Feb 2016 08:57:24 +0000 (09:57 +0100)]
bug fix: installer field no more available in result object

Change-Id: I3562231f88ac16179d07e9a3a855f1dc114ada6d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agofix last spaces & tab
Morgan Richomme [Fri, 26 Feb 2016 16:03:03 +0000 (17:03 +0100)]
fix last spaces & tab

Change-Id: I15503bcdb1f5b046d2fbdb6a6b35ebbdd184fbc9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "Add jenkins build tag into result api"
Morgan Richomme [Fri, 26 Feb 2016 15:58:29 +0000 (15:58 +0000)]
Merge "Add jenkins build tag into result api"

9 years agoMerge "Add POD visualisation"
Morgan Richomme [Fri, 26 Feb 2016 15:58:18 +0000 (15:58 +0000)]
Merge "Add POD visualisation"

9 years agoAdd jenkins build tag into result api
boucherv [Fri, 26 Feb 2016 14:40:54 +0000 (15:40 +0100)]
Add jenkins build tag into result api

Ex: jenkins-functest-compass-intel-pod8-daily-master-19

Change-Id: I336d3908d6d67ba7f995d0fc25b5404efd9b5cf5
JIRA: FUNCTEST-140
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoAdd POD visualisation
Cloud user [Thu, 25 Feb 2016 14:48:02 +0000 (14:48 +0000)]
Add POD visualisation

Change-Id: I4044c018fc3900615492a897e0c2a73348c8b0cd
Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>
9 years agofix bug on period in Test API
Morgan Richomme [Tue, 23 Feb 2016 17:35:46 +0000 (18:35 +0100)]
fix bug on period in Test API

JIRA: RELENG-46

Change-Id: I416886e2cddf9369141d5f1f09e54e8c3dd02ed9
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agobottlenecks: fix rewrite the rubbos graph drawing function
Rex Lee [Mon, 22 Feb 2016 06:54:04 +0000 (06:54 +0000)]
bottlenecks: fix rewrite the rubbos graph drawing function

JIRA: BOTTLENECK-30

Change-Id: Id3e4f9f375ecb9bf454e21d8be41e884c6cc4371
Signed-off-by: Rex Lee <limingjiang@huawei.com>
9 years agobottlenecks: rewrite the rubbos graph drawing function
MatthewLi [Fri, 19 Feb 2016 08:27:14 +0000 (03:27 -0500)]
bottlenecks: rewrite the rubbos graph drawing function

JIRA: BOTTLENECK-30

Change-Id: Iee2e177b7ddec5c0e0a765d5a7369ec76e6ad911
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
9 years agoMerge "Update dashboard"
Morgan Richomme [Fri, 12 Feb 2016 13:49:01 +0000 (13:49 +0000)]
Merge "Update dashboard"

9 years agoUpdate dashboard
Cloud user [Fri, 12 Feb 2016 09:40:29 +0000 (09:40 +0000)]
Update dashboard

Change-Id: I679fada5f12bd660c65d3bb006742b1119735f4c
Signed-off-by: Cloud user <cloud@test-cloudinit.novalocal>
9 years agoAdd Rally summary and Doctor for visualization
Morgan Richomme [Thu, 11 Feb 2016 15:20:49 +0000 (16:20 +0100)]
Add Rally summary and Doctor for visualization

Change-Id: I23ff748237511f89417d2c60e22fb79949ac90b7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd promise for dashboard
Morgan Richomme [Fri, 5 Feb 2016 13:43:37 +0000 (14:43 +0100)]
Add promise for dashboard

Change-Id: I70345e6aa2223cea4210ca6e01defbd1ea426c7a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>