releng-testresults.git
9 years agono more output elastic docs to stdout/console
SerenaFeng [Wed, 28 Sep 2016 02:24:22 +0000 (10:24 +0800)]
no more output elastic docs to stdout/console

JIRA: FUNCTEST-499

Change-Id: I1a78f4dbdd93cc417596a7ef06c2acc3ddc57574
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agorefactor elastic_access.py
SerenaFeng [Tue, 27 Sep 2016 02:37:14 +0000 (10:37 +0800)]
refactor elastic_access.py

JIRA: FUNCTEST-495

Change-Id: I639c9b4838ba026cf48c01081810f663467163a8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoMerge "template-ize kibana visualization"
Morgan Richomme [Tue, 27 Sep 2016 07:02:50 +0000 (07:02 +0000)]
Merge "template-ize kibana visualization"

9 years agotemplate-ize kibana visualization
SerenaFeng [Mon, 26 Sep 2016 06:44:30 +0000 (14:44 +0800)]
template-ize kibana visualization

JIRA: FUNCTEST-492

Change-Id: I7235ff371ee16ae7f2e759d73735e1aa9b248c1c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoMerge "Add hyperlink on scenarios"
Morgan Richomme [Fri, 23 Sep 2016 08:00:44 +0000 (08:00 +0000)]
Merge "Add hyperlink on scenarios"

9 years agoAdd hyperlink on scenarios
Morgan Richomme [Fri, 23 Sep 2016 06:22:06 +0000 (08:22 +0200)]
Add hyperlink on scenarios

JIRA: FUNCTEST-482

Change-Id: Ibe19f153dc79ae1a9b78ec9eb52bb48898d63d7e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "Remove Brhamaputra dashboard process from testapi"
Morgan Richomme [Thu, 22 Sep 2016 15:25:19 +0000 (15:25 +0000)]
Merge "Remove Brhamaputra dashboard process from testapi"

9 years agoRemove Brhamaputra dashboard process from testapi
SerenaFeng [Thu, 22 Sep 2016 09:10:35 +0000 (17:10 +0800)]
Remove Brhamaputra dashboard process from testapi

Now, ELK is the framework used for dashboarding

JIRA: FUNCTEST-489

Change-Id: I51e8bc83e7309a226515f603eb4c468b7e7a69bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agorebuild directory structure of Kibana dashboard
SerenaFeng [Thu, 22 Sep 2016 08:15:58 +0000 (16:15 +0800)]
rebuild directory structure of Kibana dashboard

JIRA: FUNCTEST-465

Change-Id: Icecd350b2f67105c8aaa9d71fd76d24827515545
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agouse configure file rather than arguments to organize the configuration
SerenaFeng [Wed, 21 Sep 2016 06:56:08 +0000 (14:56 +0800)]
use configure file rather than arguments to organize the configuration

JIRA: FUNCTEST-480

Change-Id: Id5706de5f05d6841a1e9d8bafae7df0255c22a26
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoRemove Brhamaputra dashboard from repo
Morgan Richomme [Tue, 20 Sep 2016 13:56:22 +0000 (15:56 +0200)]
Remove Brhamaputra dashboard from repo
ELK is now the framework used for dashboarding

Change-Id: I3b56df32ab1dd16d23eb528addf599ba644df686
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMake a black list for yardstick reporting
chenjiankun [Tue, 20 Sep 2016 07:47:21 +0000 (07:47 +0000)]
Make a black list for yardstick reporting

JIRA: YARDSTICK-353

Change-Id: Ic4821ff279401cc4eb26d172c0b649e9eeb2da48
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
9 years agoMerge "only publish testcases appear in testcases.py to save time"
Morgan Richomme [Tue, 20 Sep 2016 07:26:13 +0000 (07:26 +0000)]
Merge "only publish testcases appear in testcases.py to save time"

9 years agoonly publish testcases appear in testcases.py to save time
SerenaFeng [Mon, 19 Sep 2016 09:52:30 +0000 (17:52 +0800)]
only publish testcases appear in testcases.py to save time

JIRA: FUNCTEST-474

Change-Id: Icb9f2ceaaf87f6b18d2aa342f093fefb3598f719
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoChange display way of reporting status, add last ten days score
chenjiankun [Mon, 19 Sep 2016 00:33:27 +0000 (00:33 +0000)]
Change display way of reporting status, add last ten days score

JIRA: YARDSTICK-350

Change-Id: Iea1d8a30cf3464c8b9a0b8b6ac2e0ce41adea00d
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
9 years agoAdd gauge metrics for Functest reporting dashboard
jose.lausuch [Wed, 14 Sep 2016 14:16:46 +0000 (16:16 +0200)]
Add gauge metrics for Functest reporting dashboard

JIRA: FUNCTEST-476

Change-Id: Ia39ffa8b39a1085a081d6128871cee20436e051c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
9 years agoMerge "merge N days and whole database process and not publish existed data any way"
Morgan Richomme [Wed, 14 Sep 2016 09:40:18 +0000 (09:40 +0000)]
Merge "merge N days and whole database process and not publish existed data any way"

9 years agoMerge "Fix security issues of eval-s in testapi"
Morgan Richomme [Wed, 14 Sep 2016 07:18:45 +0000 (07:18 +0000)]
Merge "Fix security issues of eval-s in testapi"

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

results from security audit show risks and recommendations to fix them

JIRA: RELENG-144

Change-Id: If128cc3ae230150a912b581dfb1ded543d851eb5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agomerge N days and whole database process and not publish existed data any way
SerenaFeng [Tue, 13 Sep 2016 05:53:46 +0000 (13:53 +0800)]
merge N days and whole database process and not publish existed data any way

JIRA: FUNCTEST-473

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

9 years agoMerge "add logger common process for releng scripts"
Jose Lausuch [Tue, 13 Sep 2016 12:33:07 +0000 (12:33 +0000)]
Merge "add logger common process for releng scripts"

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

JIRA: YARDSTICK-346

Change-Id: Ife5334f9c7d6a1546eee6995ce4b1b36d0f2c008
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
9 years agoMerge "Implements use of yaml.safe_load as per sec audit"
Morgan Richomme [Tue, 13 Sep 2016 06:46:56 +0000 (06:46 +0000)]
Merge "Implements use of yaml.safe_load as per sec audit"

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

JIRA: RELENG-146

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

JIRA: FUNCTEST-468

Change-Id: I03fb25ef26db521bceb740ec2808106a00e55165
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoImplements use of yaml.safe_load as per sec audit
Luke Hinds [Mon, 12 Sep 2016 14:00:27 +0000 (15:00 +0100)]
Implements use of yaml.safe_load as per sec audit

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

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

JIRA: FUNCTEST-469

Change-Id: Ifd6598232fb0a1615352e0f27aefd51beeedbcbc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoMerge "bugfix: yardstick reporing in stable branch omit stable/"
Morgan Richomme [Mon, 12 Sep 2016 07:39:37 +0000 (07:39 +0000)]
Merge "bugfix: yardstick reporing in stable branch omit stable/"

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

JIRA: YARDSTICK-343

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

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

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

Closes-bug: ARMBAND-73

Change-Id: I8ed833f6a0b3a96d7473539129de662f8ddde95e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
9 years agoFix security issues reported by the security audit
Morgan Richomme [Thu, 8 Sep 2016 16:36:47 +0000 (18:36 +0200)]
Fix security issues reported by the security audit

JIRA: RELENG-143

Change-Id: Ia20c6ce86e72924ab8ab5f93bdc956d7f6a40a93
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "Add stable/colorado to versions"
Morgan Richomme [Wed, 7 Sep 2016 15:37:42 +0000 (15:37 +0000)]
Merge "Add stable/colorado to versions"

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

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

JIRA: FUNCTEST-461

Change-Id: If64f6e18ea72dd864c9e9e067655aa951406b291
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoAdd stable/colorado to versions
chenjiankun [Wed, 7 Sep 2016 03:18:25 +0000 (03:18 +0000)]
Add stable/colorado to versions

Change-Id: Ieccb04d20ca23265af30e6a671cd999b6d1cd349
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
9 years agomake mongo_to_elasticsearch.py skip resolve-failed results
SerenaFeng [Mon, 5 Sep 2016 02:11:21 +0000 (10:11 +0800)]
make mongo_to_elasticsearch.py skip resolve-failed results

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

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

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

Change-Id: I18facd457ba3e8f661f5c9a1da1e6c200af6fc4e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agocorrect backup-db.sh in kibana repo to keep consistent with testapi
SerenaFeng [Fri, 2 Sep 2016 08:09:19 +0000 (16:09 +0800)]
correct backup-db.sh in kibana repo to keep consistent with testapi

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

JIRA: FUNCTEST-455

Change-Id: I105a82557244481bbdf9885fc166ebe975b050ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoFix test results dashboard homepage navbar links
Daniel Farrell [Thu, 1 Sep 2016 14:56:54 +0000 (10:56 -0400)]
Fix test results dashboard homepage navbar links

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

Change-Id: I9368db672a18b5bb0394cfacf016cd7f5821d886
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Add the function of yardstick testcase reporter"
Morgan Richomme [Tue, 30 Aug 2016 06:21:12 +0000 (06:21 +0000)]
Merge "Add the function of yardstick testcase reporter"

9 years agoAdd the function of yardstick testcase reporter
rexlee8776 [Sat, 27 Aug 2016 06:26:46 +0000 (06:26 +0000)]
Add the function of yardstick testcase reporter

JIRA: YARDSTICK-324

Change-Id: I58969265f88d5c20f46f0b1097f5b0ccb1d9a40d
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
9 years agoAdd colorado reporting for tempest and vims
Morgan Richomme [Thu, 25 Aug 2016 12:32:08 +0000 (14:32 +0200)]
Add colorado reporting for tempest and vims

Change-Id: I978799cd1cd777b5033e55a0146c41865e9c2bf5
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoadapt reporting
Morgan Richomme [Mon, 22 Aug 2016 08:01:52 +0000 (10:01 +0200)]
adapt reporting

- no odl-SFC test reported to DB
- add link to scenario scoring wiki page
- add +x on executable python files

Change-Id: I6724408e3ed5d6a2ba78aff40d80d692c1e0780b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoAdd parser in automatic reporting
Morgan Richomme [Wed, 17 Aug 2016 09:13:16 +0000 (11:13 +0200)]
Add parser in automatic reporting

Change-Id: I3d9c09b0da471e03647c09e96ca8b7ec89afb300
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "update testapi only with one command"
Morgan Richomme [Wed, 17 Aug 2016 07:25:24 +0000 (07:25 +0000)]
Merge "update testapi only with one command"

9 years agoupdate testapi only with one command
SerenaFeng [Thu, 11 Aug 2016 16:11:07 +0000 (00:11 +0800)]
update testapi only with one command

when using ansible to do the update, we need to
config ansible's hosts file/add ssh_key to
ssh_agent/check the connectivity of ansible and playbook...etc,
here playbook-update.sh will do all the job automatically

JIRA: FUNCTEST-411

Change-Id: Ie635eb9eccd1f4e39a94a352f649e56268744091
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoAdd copper in reporting
Morgan Richomme [Fri, 12 Aug 2016 13:30:55 +0000 (15:30 +0200)]
Add copper in reporting

JIRA: FUNCTEST-67

Change-Id: I4881b2ba0c20a65567a59fb9fc7645c438a341ad
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "support docker build image during updating testapi"
Fatih Degirmenci [Fri, 12 Aug 2016 11:04:33 +0000 (11:04 +0000)]
Merge "support docker build image during updating testapi"

9 years agoFix unknown projects in reporting
Morgan Richomme [Wed, 10 Aug 2016 15:32:32 +0000 (17:32 +0200)]
Fix unknown projects in reporting

Change-Id: Ia3d21694b8bf5e7131110124a520ecc0b9234509
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agosupport docker build image during updating testapi
SerenaFeng [Thu, 28 Jul 2016 08:41:13 +0000 (16:41 +0800)]
support docker build image during updating testapi

add rm_images.sh script
modify README.md
add build image operations in update.yml

JIRA: FUNCTEST-395

Change-Id: Ia9bd6e8e6d1096b9b946cb5508f4cac5ea6e6e25
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoupdate testapi server in testresults.opnfv.org
SerenaFeng [Wed, 27 Jul 2016 04:38:13 +0000 (12:38 +0800)]
update testapi server in testresults.opnfv.org

support body of post results carries no trust_indicator
add unittest of no trust_indicator in post results body
specify changes in db

JIRA: FUNCTEST-391

Change-Id: Ic61a5edbad1bca7689d618761bca94ef69dea80b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoImplementation of testcase/pod declaration dashboard for adding tescases
raghavendracharik [Wed, 20 Jul 2016 11:10:13 +0000 (04:10 -0700)]
Implementation of testcase/pod declaration dashboard for adding tescases

JIRA: FUNCTEST-26

Change-Id: Iceb1c54ba8c245d43cc553533fdf4fd3284c7132
Signed-off-by: raghavendracharik <raghavendrachari.kamsali@hpe.com>
9 years agoauto update of testAPI using ansible-playbook
SerenaFeng [Mon, 11 Jul 2016 09:29:03 +0000 (17:29 +0800)]
auto update of testAPI using ansible-playbook

rename db related files
write ansible file
update README.md

JIRA: FUNCTEST-360

Change-Id: Ib1a1a5ad846ed003cf90da770d94ceb7c011d39d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoMerge "minor bug fixes"
Morgan Richomme [Thu, 7 Jul 2016 09:33:59 +0000 (09:33 +0000)]
Merge "minor bug fixes"

9 years agominor bug fixes
Morgan Richomme [Thu, 7 Jul 2016 09:31:58 +0000 (11:31 +0200)]
minor bug fixes

Change-Id: I8ea8b03559a27374cb387ed9a4f3b0b08364f7ad
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "flake 8 fix + add logger"
Morgan Richomme [Thu, 7 Jul 2016 08:44:22 +0000 (08:44 +0000)]
Merge "flake 8 fix + add logger"

9 years agoflake 8 fix + add logger
Morgan Richomme [Wed, 6 Jul 2016 15:32:22 +0000 (17:32 +0200)]
flake 8 fix + add logger

Change-Id: Ib8fbf0e784b57ea9be824e95fafe68e991b80aab
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agoMerge "Add a put result method to modify trust_indicator"
Morgan Richomme [Wed, 6 Jul 2016 08:49:08 +0000 (08:49 +0000)]
Merge "Add a put result method to modify trust_indicator"

9 years agoAdd a put result method to modify trust_indicator
SerenaFeng [Fri, 1 Jul 2016 14:56:30 +0000 (22:56 +0800)]
Add a put result method to modify trust_indicator

update trust_indicator date model
add update trust_indicator method
add unittest
add swagger information

JIRA: FUNCTEST-309

Change-Id: Ibb05efbe008aa7fd4dccb27452d8f5dbf541b8f2
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agofix bug + introduction of blacklist for scenario scoring
Morgan Richomme [Tue, 5 Jul 2016 15:02:55 +0000 (17:02 +0200)]
fix bug + introduction of blacklist for scenario scoring

Change-Id: Ib1a99cbeeb66d4c51eedb56d25d317b92602d51d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agodockerize testAPI
SerenaFeng [Tue, 5 Jul 2016 02:04:04 +0000 (10:04 +0800)]
dockerize testAPI

running testAPI in a docker container

JIRA: FUNCTEST-352

Change-Id: I93d7bae847da4c6527d9907611108b79cb0cc31b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agousing ProjectUpdateRequest when update projects record in testAPI
SerenaFeng [Fri, 1 Jul 2016 16:04:41 +0000 (00:04 +0800)]
using ProjectUpdateRequest when update projects record in testAPI

ProjectCreateRequest -> ProjectUpdateRequest

JIRA: FUNCTEST-344

Change-Id: I714bef8bd6c2e98b82dfd37ee71dea56967e8552
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agocorrect swagger description of last in testAPI
SerenaFeng [Thu, 30 Jun 2016 14:34:33 +0000 (22:34 +0800)]
correct swagger description of last in testAPI

last days => last records stored until now

JIRA: FUNCTEST-341

Change-Id: I59e7b73e0a5c575d65cd0aced99fc53c13906709
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agodelete 'description' of 'Result' in testAPI
SerenaFeng [Thu, 30 Jun 2016 15:17:07 +0000 (23:17 +0800)]
delete 'description' of 'Result' in testAPI

delete description assignments

JIRA: FUNCTEST-339

Change-Id: I913baa8cd5bd692fa1edd74bb89c79d767374884
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoadd log info when publish json to elasticsearch failed
SerenaFeng [Wed, 22 Jun 2016 12:46:56 +0000 (20:46 +0800)]
add log info when publish json to elasticsearch failed

add logger.info when publish failed

JIRA: FUNCTEST-325

Change-Id: I353001c4305af31dd725e0977ced53d52ba79470
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agochange version to scenario
boucherv [Fri, 24 Jun 2016 16:37:30 +0000 (18:37 +0200)]
change version to scenario

Change-Id: I0942e9c8f23e886d6a6e344fa1fd1c24c1cd3f4b
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoMerge "bugfix: correct the post response body of PODS in testAPI"
Morgan Richomme [Fri, 24 Jun 2016 06:44:16 +0000 (06:44 +0000)]
Merge "bugfix: correct the post response body of PODS in testAPI"

9 years agoMerge "bugfix: correct the projects post response body in testAPI"
Morgan Richomme [Fri, 24 Jun 2016 06:43:42 +0000 (06:43 +0000)]
Merge "bugfix: correct the projects post response body in testAPI"

9 years agoMerge "bugfix: correct the testcases post response body in testAPI"
Morgan Richomme [Fri, 24 Jun 2016 06:43:32 +0000 (06:43 +0000)]
Merge "bugfix: correct the testcases post response body in testAPI"

9 years agoMerge "bugfix: correct the results post response body in testAPI"
Morgan Richomme [Fri, 24 Jun 2016 06:43:21 +0000 (06:43 +0000)]
Merge "bugfix: correct the results post response body in testAPI"

9 years agointroduced fixes for changes in database for Colorado
Juraj Linkes [Tue, 21 Jun 2016 07:34:21 +0000 (09:34 +0200)]
introduced fixes for changes in database for Colorado

Change-Id: Ib6196d7da8701f9c799cabfaa0c57c97e2edb631
Signed-off-by: Juraj Linkes <jlinkes@cisco.com>
9 years agobugfix: correct the results post response body in testAPI
SerenaFeng [Tue, 21 Jun 2016 13:01:51 +0000 (21:01 +0800)]
bugfix: correct the results post response body in testAPI

change response class from Result to CreateResponse

JIRA: FUNCTEST: FUNCTEST-330

Change-Id: Ibc3ebdacaa7b85e4b4a53d459888440b47073d18
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agobugfix: correct the testcases post response body in testAPI
SerenaFeng [Tue, 21 Jun 2016 12:57:09 +0000 (20:57 +0800)]
bugfix: correct the testcases post response body in testAPI

correct response class from Testcase to CreateResponse

JIRA: FUNCTEST-329

Change-Id: I2496585d55df6f557ffafe11c594247d3947eb06
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agobugfix: correct the projects post response body in testAPI
SerenaFeng [Tue, 21 Jun 2016 12:52:57 +0000 (20:52 +0800)]
bugfix: correct the projects post response body in testAPI

change response class from Project to CreateResponse

JIRA: FUNCTEST-328

Change-Id: I26d05b71251417b41701136d9c6bc786ba51393c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agobugfix: correct the post response body of PODS in testAPI
SerenaFeng [Tue, 21 Jun 2016 12:46:26 +0000 (20:46 +0800)]
bugfix: correct the post response body of PODS in testAPI

mark CreateResponse as a swagger.model
change response class of post pods to L{CreateResponse}

JIRA: FUNCTEST-326

Change-Id: I031350bb434e26e33d55c92ace548a2ae1c82f3e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoBug fix on test name after name alignement
Morgan Richomme [Fri, 17 Jun 2016 16:02:59 +0000 (18:02 +0200)]
Bug fix on test name after name alignement

JIRA: FUNCTEST-304

Change-Id: Ie854b677003350a65e90279222ceb281d2f5b18c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agofiw bug: DB and config test name alignment
Morgan Richomme [Fri, 17 Jun 2016 13:59:56 +0000 (15:59 +0200)]
fiw bug: DB and config test name alignment

JIRA: FUNCTEST-304

Change-Id: I84f16d1d9be5f4cfd603ce0a27a46c4450a273e8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
9 years agobugfix: start test time
boucherv [Fri, 17 Jun 2016 12:56:20 +0000 (14:56 +0200)]
bugfix: start test time

Change-Id: Ie916cc77373cbfae6e189ffeb1153400b2cc6f67
Signed-off-by: boucherv <valentin.boucher@orange.com>
9 years agoMerge "adapt mong_to_elasticsearch.py to testAPI"
Morgan Richomme [Fri, 17 Jun 2016 10:06:24 +0000 (10:06 +0000)]
Merge "adapt mong_to_elasticsearch.py to testAPI"

9 years agobugfix: adapt mongorestore to work in mongodb 3.0 and above
SerenaFeng [Fri, 17 Jun 2016 08:09:26 +0000 (16:09 +0800)]
bugfix: adapt mongorestore to work in mongodb 3.0 and above

mongorestore --db db must be specified

JIRA: FUNCTEST-322

Change-Id: Idfbc99f23735f8871f29bb0e5e0240d47a7877bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agoMerge "bugfix: _convert_duration error when encounter ':00:00.078149'"
Morgan Richomme [Fri, 17 Jun 2016 07:32:29 +0000 (07:32 +0000)]
Merge "bugfix: _convert_duration error when encounter ':00:00.078149'"

9 years agoMerge "bugfix: parse testcase failed when encounter {u'result': u''}"
Morgan Richomme [Fri, 17 Jun 2016 07:32:21 +0000 (07:32 +0000)]
Merge "bugfix: parse testcase failed when encounter {u'result': u''}"

9 years agoMerge "bugfix: wrong function call of publish_json in kibana scripts"
Morgan Richomme [Fri, 17 Jun 2016 07:32:11 +0000 (07:32 +0000)]
Merge "bugfix: wrong function call of publish_json in kibana scripts"

9 years agoadapt mong_to_elasticsearch.py to testAPI
SerenaFeng [Fri, 17 Jun 2016 06:49:27 +0000 (14:49 +0800)]
adapt mong_to_elasticsearch.py to testAPI

change test_results to results in the url

JIRA: FUNCTEST-321

Change-Id: I5621ec48ac0cfd6239a07fcd0b83b5418a1ed5f4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agobugfix: parse testcase failed when encounter {u'result': u''}
SerenaFeng [Fri, 17 Jun 2016 06:24:06 +0000 (14:24 +0800)]
bugfix: parse testcase failed when encounter {u'result': u''}

skip non-dict items

JIRA: FUNCTEST-320

Change-Id: Icf073ba62839fb03d81655a5751e5919dc9c02a5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
9 years agobugfix: _convert_duration error when encounter ':00:00.078149'
SerenaFeng [Fri, 17 Jun 2016 06:08:43 +0000 (14:08 +0800)]
bugfix: _convert_duration error when encounter ':00:00.078149'

JIRA: FUNCTEST-319

Change-Id: I376045d5d2966f143a3f5db1473e2c10a0869200
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
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 agoAlign test names in BD and testcase.yaml declaration
Morgan Richomme [Thu, 16 Jun 2016 12:45:44 +0000 (14:45 +0200)]
Align test names in BD and testcase.yaml declaration

JIRA: FUNCTEST-304

Change-Id: I642101d88716ac634e07b66136cfdcac0c482500
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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"