releng-testresults.git
7 years agoowner to creator 97/51297/1
thuva4 [Mon, 29 Jan 2018 11:22:31 +0000 (16:52 +0530)]
owner to creator

Change Owner to creator in pod, projects
Add creator in testCase, scenarios
Fix issue in e2e testing

Change-Id: Ib520eb107dce2ed8fc6fd390f034f500bf4c742a
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoMerge "Add new reporting page for Vsperf"
Serena Feng [Fri, 19 Jan 2018 06:05:16 +0000 (06:05 +0000)]
Merge "Add new reporting page for Vsperf"

7 years agoMerge "Design the scenario create method"
Serena Feng [Thu, 18 Jan 2018 07:00:33 +0000 (07:00 +0000)]
Merge "Design the scenario create method"

7 years agoMerge "Bug fixes in results, tastcases and header file"
Serena Feng [Thu, 18 Jan 2018 06:58:27 +0000 (06:58 +0000)]
Merge "Bug fixes in results, tastcases and header file"

7 years agoBug fixes in results, tastcases and header file 21/50421/3
thuva4 [Thu, 11 Jan 2018 12:54:31 +0000 (18:24 +0530)]
Bug fixes in results, tastcases and header file

Remove the profile, signout option in authenticate false made
Remove the sever request in authenticate false made
Remove stop date, start date in results page
Add build tag in results page
fix issue in test cases page

Change-Id: Ic3d16f53591017d2529926e4e3374aaa245c7dce
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoDesign the scenario create method 57/50657/2
thuva4 [Mon, 15 Jan 2018 18:39:51 +0000 (00:09 +0530)]
Design the scenario create method

design scenario create method in modal way.
design scenario page.
Add,delete for installers,versions, projects and customs
are implemented.
tests are added.
1. Pods page
2. project page
3. Scenarios
4. Scenario

Change-Id: Ice26af77ec3d5fe874cf5c2062f208072dea289f
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoMerge "Design the scenario create method"
Serena Feng [Mon, 15 Jan 2018 06:18:32 +0000 (06:18 +0000)]
Merge "Design the scenario create method"

7 years agoMerge "integrate daisy with yardstick"
Jose Lausuch [Fri, 12 Jan 2018 12:42:09 +0000 (12:42 +0000)]
Merge "integrate daisy with yardstick"

7 years agoMerge "reporting leveraging the new repo releng-testresults"
Serena Feng [Thu, 11 Jan 2018 05:45:02 +0000 (05:45 +0000)]
Merge "reporting leveraging the new repo releng-testresults"

7 years agointegrate daisy with yardstick 51/50351/1
SerenaFeng [Wed, 10 Jan 2018 07:32:23 +0000 (15:32 +0800)]
integrate daisy with yardstick

Change-Id: I2553afdcc6515494c0a198cfa4091f1b214fe3f1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Add links in prods,projects and results pages"
Serena Feng [Wed, 10 Jan 2018 06:59:27 +0000 (06:59 +0000)]
Merge "Add links in prods,projects and results pages"

7 years agoreporting leveraging the new repo releng-testresults 47/50347/2
SerenaFeng [Wed, 10 Jan 2018 04:01:59 +0000 (12:01 +0800)]
reporting leveraging the new repo releng-testresults

Change-Id: I8dd00f3ef996c8847d803b690423bf381676e49d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoDesign the scenario create method 39/50039/7
SerenaFeng [Fri, 5 Jan 2018 06:39:12 +0000 (14:39 +0800)]
Design the scenario create method

design scenario create method in modal way.
design scenario page.
Add,delete for installers,versions, projects, customs, trust
indicators and scores are implemented.
tests are not included. validations are not added.

Change-Id: I999229c00869fcd5a4efa97cb2679a08fc24b271
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoAdd links in prods,projects and results pages 15/50215/2
thuva4 [Mon, 8 Jan 2018 09:41:17 +0000 (15:11 +0530)]
Add links in prods,projects and results pages

Add links for the redirection
Created Result page

Change-Id: I7ba80f6a8d774d6fde33280f701c1188cb5c32d9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoupdate requests and delete useless sed op 75/50275/2
SerenaFeng [Tue, 9 Jan 2018 01:30:38 +0000 (09:30 +0800)]
update requests and delete useless sed op

Change-Id: I0c865f097c08468adc66a519e065935a3b15f276
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agobugfix sslerror when login with identity.linuxfoundation.org 79/50079/2
SerenaFeng [Fri, 5 Jan 2018 03:54:41 +0000 (11:54 +0800)]
bugfix sslerror when login with identity.linuxfoundation.org

Change-Id: I222f5f46e13d2a180057ebede44475477906cd70
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agobugfix some testcases relevant unittests failed 87/50087/1
SerenaFeng [Fri, 5 Jan 2018 06:39:12 +0000 (14:39 +0800)]
bugfix some testcases relevant unittests failed

Change-Id: I283da09d7b337a52d777f992da17e00472e94260
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "simplify test_pod.py with eq"
Serena Feng [Thu, 4 Jan 2018 08:59:41 +0000 (08:59 +0000)]
Merge "simplify test_pod.py with eq"

7 years agosimplify test_pod.py with eq 23/49923/2
SerenaFeng [Wed, 3 Jan 2018 09:50:53 +0000 (17:50 +0800)]
simplify test_pod.py with eq

Change-Id: I1efd519f877d48499dcd98a420b90a1b5d4c488f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agosimplify test_testcase.py using eq and templates 21/49921/2
SerenaFeng [Wed, 3 Jan 2018 08:03:33 +0000 (16:03 +0800)]
simplify test_testcase.py using eq and templates

Change-Id: If1d1e3e22be0ddbb92f0e3b927ea4e376f0a8c89
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agosimplify test_results.py with eq() and templates/ 05/49905/6
SerenaFeng [Wed, 3 Jan 2018 06:24:24 +0000 (14:24 +0800)]
simplify test_results.py with eq() and templates/

Change-Id: Ibc5066f721b6b3343c2f8cb4ec0b9234960e9cb6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agomove scenario tests supporting files to templates 97/49897/4
SerenaFeng [Wed, 3 Jan 2018 02:41:28 +0000 (10:41 +0800)]
move scenario tests supporting files to templates

Change-Id: I038078ada94dc103b625fa77d6f7fc7e214c8dd7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "add deployment result collecting interfaces"
Serena Feng [Thu, 4 Jan 2018 08:39:47 +0000 (08:39 +0000)]
Merge "add deployment result collecting interfaces"

7 years agobugfix: testapi setup failed due to no /etc/opnfv_testapi/config.ini 11/50011/1
SerenaFeng [Thu, 4 Jan 2018 07:16:43 +0000 (15:16 +0800)]
bugfix: testapi setup failed due to no /etc/opnfv_testapi/config.ini

Change-Id: I7b08df437a57ed86eb9fe46ddfea06debeab0050
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "bugfix sslerror why login"
Serena Feng [Thu, 4 Jan 2018 07:09:48 +0000 (07:09 +0000)]
Merge "bugfix sslerror why login"

7 years agobugfix sslerror why login 07/50007/1
SerenaFeng [Thu, 4 Jan 2018 07:06:50 +0000 (15:06 +0800)]
bugfix sslerror why login

SSLError: hostname 'identity.linuxfoundation.org' doesn't match 'c.sni.fastly.net'

Change-Id: I46028f35a6d871b445219335c093037d305a9e7b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "leverage query_by_name decorator to simplify name querying"
Serena Feng [Thu, 4 Jan 2018 05:59:33 +0000 (05:59 +0000)]
Merge "leverage query_by_name decorator to simplify name querying"

7 years agoadd deployment result collecting interfaces 95/49895/4
SerenaFeng [Wed, 3 Jan 2018 02:33:08 +0000 (10:33 +0800)]
add deployment result collecting interfaces

Change-Id: I5fe50c44e7b36ea45dd1b8632130b30dfe173d0a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoleverage query_by_name decorator to simplify name querying 89/48489/3
SerenaFeng [Wed, 6 Dec 2017 20:04:09 +0000 (04:04 +0800)]
leverage query_by_name decorator to simplify name querying

name query is case insensitive and partial match

Change-Id: I65a6f5d3aa9411559cb9cf27d0fbd7ec46d4b26f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoAdd the filter option in results page 09/49609/3
thuva4 [Sat, 30 Dec 2017 03:59:03 +0000 (09:29 +0530)]
Add the filter option in results page

apply multiple filter in results page.
Add e2e tests for results page.

Change-Id: Ia55407d921136756ab5f15507c92775f95a761dc
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agoMerge "Implement the CRUD operations for Test cases"
Serena Feng [Mon, 25 Dec 2017 09:23:00 +0000 (09:23 +0000)]
Merge "Implement the CRUD operations for Test cases"

7 years agoImplement the CRUD operations for Test cases 67/49567/5
thuva4 [Sat, 23 Dec 2017 03:56:12 +0000 (09:26 +0530)]
Implement the CRUD operations for Test cases

Created the testcases, testcase pages
Remove update, delete buttons in project page.
add protractor tests for testcases page.
change tabs to spaces

Change-Id: Id7d381b13dca4f228bda24fa1abad7c465b5cef7
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
7 years agobugfix: empty webportal when running in docker 49/49349/2
SerenaFeng [Wed, 20 Dec 2017 09:08:21 +0000 (17:08 +0800)]
bugfix: empty webportal when running in docker

error message:
angular.js:11655 Error: [$injector:unpr] http://errors.angularjs.org/1.3.15/$injector/unpr?p0=authenticateProvider%20%3C-%20authenticate

Change-Id: I39efeeea17ae55d762d85d8f56cf5f241ff866f8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "remove deprecated dashboard code"
Serena Feng [Tue, 19 Dec 2017 07:34:20 +0000 (07:34 +0000)]
Merge "remove deprecated dashboard code"

8 years agoMerge "Redesign the projects page & project page"
Serena Feng [Mon, 18 Dec 2017 01:07:26 +0000 (01:07 +0000)]
Merge "Redesign the projects page & project page"

8 years agoRedesign the projects page & project page 01/48501/4
thuva4 [Thu, 7 Dec 2017 04:17:08 +0000 (09:47 +0530)]
Redesign the projects page & project page

redesign the projects page like pods page
included the delete, filter, create, edit,
batch delete in the projects page.
Unify the update modal for projects page and
project page.
Fix authenticate - fault opertaions

Change-Id: If4ea50ada11941c5d9199d898476837020c02241
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoAdd new reporting page for Vsperf 23/49023/1
chenjiankun [Fri, 15 Dec 2017 02:45:36 +0000 (02:45 +0000)]
Add new reporting page for Vsperf

Vsperf do not follow OPNFV version/installer/scenario.
So we need develop a specific version.

In this patch, we do the follow change:
1. Get version from build_tag.
2. Remove installer for page.
3. Use case_name as primary key
4. Show the last 50 days for Vsperf job does not run frequently.

Change-Id: I6af50b5fcceadfcc0b66a0d9b45b3639f6a88421
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoMerge "add querying pods by name(part & case insentitive)"
Serena Feng [Wed, 6 Dec 2017 19:44:24 +0000 (19:44 +0000)]
Merge "add querying pods by name(part & case insentitive)"

8 years agoremove deprecated dashboard code 35/48435/1
SerenaFeng [Wed, 6 Dec 2017 01:07:43 +0000 (09:07 +0800)]
remove deprecated dashboard code

dashboard is not used anymore, substitute by Bitergia dashboard

Change-Id: Iccfd634d0d404d23b09d88454dab38425359a2b8
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd querying pods by name(part & case insentitive) 33/48433/2
SerenaFeng [Wed, 6 Dec 2017 01:00:41 +0000 (09:00 +0800)]
add querying pods by name(part & case insentitive)

Change-Id: Ie7f14588864c79d6ed87adec3e6901dfbabbb1a6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoremove useless print snippet 27/48427/1
SerenaFeng [Tue, 5 Dec 2017 23:09:22 +0000 (07:09 +0800)]
remove useless print snippet

Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd view option in pods page 51/48351/2
thuva4 [Mon, 4 Dec 2017 23:43:32 +0000 (05:13 +0530)]
Add view option in pods page

Created the view function for the pods page.
It will redirect to pods/:name page where user
can see the more details about the pod.

Change-Id: I0d6c06098fd78ecca523a49e2bb532001adaeaa8
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoredesign the pods interface 71/48071/5
thuva4 [Thu, 30 Nov 2017 09:14:45 +0000 (14:44 +0530)]
redesign the pods interface

redesign the pods interface and add the delate operation
for the podas in backend.
Fix the issue in creating pods: Owner is null

Change-Id: I2f8e907f9ab62362a3003d6457662ab85bf2cb12
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoMerge "clear web pages"
Serena Feng [Fri, 24 Nov 2017 06:29:35 +0000 (06:29 +0000)]
Merge "clear web pages"

8 years agoclear web pages 07/47707/2
SerenaFeng [Thu, 23 Nov 2017 11:04:17 +0000 (19:04 +0800)]
clear web pages

1. delete 'My Results' page, it means to be used in dovetail,
   now dovetail has an independent repo
2. rename 'Community Results' to 'Results'
3. delete vendor/products/result-reports ... code,
   they are useless for now, and probably in the future

Change-Id: I6678fdadf5f11842bb1614d7eaa4cf21256385b6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoAdd filter option in projects page 33/47633/6
thuva4 [Thu, 23 Nov 2017 07:14:38 +0000 (12:44 +0530)]
Add filter option in projects page

Implemented the filter option for the projects by
following params.

name - Check the  project's name.

Edit the Error message view.

Change-Id: Ib2f0e0ccd9726353dbbedbc44d98747ec8e2d4f9
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoshowing the response message in the pods page 95/47395/3
thuva4 [Wed, 22 Nov 2017 05:38:05 +0000 (11:08 +0530)]
showing the response message in the pods page

Edit the response from the server and remove the
traceback part from the error response.
Add create success alert.

Change-Id: I887a9ca1b55050d961c6db1141c15203a978aec1
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoMerge "move self-developed front-end codes to ui/"
Serena Feng [Wed, 22 Nov 2017 01:26:45 +0000 (01:26 +0000)]
Merge "move self-developed front-end codes to ui/"

8 years agomove self-developed front-end codes to ui/ 57/47557/1
SerenaFeng [Tue, 21 Nov 2017 06:54:15 +0000 (14:54 +0800)]
move self-developed front-end codes to ui/

Change-Id: I0b64661e73d940a577f27ded9322086788e4f5f3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: docker build failed after leveraging new repo 49/47549/1
SerenaFeng [Tue, 21 Nov 2017 03:14:01 +0000 (11:14 +0800)]
bugfix: docker build failed after leveraging new repo

Change-Id: Idd2e5d1957bbd476e97be1d96dd8511d120ad5af
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Update and Delete functionalities for projects"
Serena Feng [Tue, 21 Nov 2017 02:13:12 +0000 (02:13 +0000)]
Merge "Update and Delete functionalities for projects"

8 years agoUpdate and Delete functionalities for projects 27/47327/3
thuva4 [Thu, 16 Nov 2017 09:21:29 +0000 (14:51 +0530)]
Update and Delete functionalities for projects

Implemented the update and delete functions for the
projects and wrote the e2e tests for the both
functions.

Change-Id: I917dd9503f145b0dde61dd9970bd855f9711335e
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agobugfix: docker-deploy.sh missing for automate jjb 95/47295/2
SerenaFeng [Thu, 16 Nov 2017 02:20:20 +0000 (10:20 +0800)]
bugfix: docker-deploy.sh missing for automate jjb

auto deploy fail:
https://build.opnfv.org/ci/job/testapi-automate-docker-deploy-master/156/console

Change-Id: Ifb47087e3faaa45befe29c542eca43f7d001a5cf
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoCreate functionality and e2e tests for project 77/47177/1
thuva4 [Tue, 14 Nov 2017 10:08:56 +0000 (15:38 +0530)]
Create functionality and e2e tests for project

Implemented the create function for the projects.
Wrote the e2e tests for the create function.

Change-Id: Iceac650573ca31b6246350c4d60033b42e0ffb0f
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoMerge "Initial .gitreview and .gitignore"
Serena Feng [Tue, 14 Nov 2017 00:49:15 +0000 (00:49 +0000)]
Merge "Initial .gitreview and .gitignore"

8 years agoInitial .gitreview and .gitignore 65/47065/2
Trevor Bramwell [Fri, 10 Nov 2017 22:23:19 +0000 (14:23 -0800)]
Initial .gitreview and .gitignore

Change-Id: Icacd39c72c8f9b154834e149e30d04cdeab46860
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
8 years agoInitial Commit CI Files 71/47071/1
Trevor Bramwell [Fri, 10 Nov 2017 23:25:33 +0000 (15:25 -0800)]
Initial Commit CI Files

These files come from the releng repository and are used in the
automated deploy of testapi. Moving them into this repository removes
the need to clone multiple repositories when deploying the testapi site
and verifying the repository.

Change-Id: Ibd54c47bd76e3f2d801cfb4eaaeb1623bd1ae7b9
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
8 years agoMerge "add simple e2e tests for PodsCotroller"
Serena Feng [Fri, 3 Nov 2017 01:06:59 +0000 (01:06 +0000)]
Merge "add simple e2e tests for PodsCotroller"

8 years agoadd simple e2e tests for PodsCotroller
thuva4 [Mon, 30 Oct 2017 15:13:36 +0000 (20:43 +0530)]
add simple e2e tests for PodsCotroller

Change-Id: I9baa04ff062f36569c1e143014239931de64cf32
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
8 years agoremove components out side of 3rd_party
SerenaFeng [Fri, 27 Oct 2017 08:58:49 +0000 (16:58 +0800)]
remove components out side of 3rd_party

components are implemented by TestAPI team, they are not the third
party code, put them under opnfv_testapi/ui directory

Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "divide resources into handlers and models"
Serena Feng [Mon, 30 Oct 2017 12:28:31 +0000 (12:28 +0000)]
Merge "divide resources into handlers and models"

8 years agodivide resources into handlers and models
SerenaFeng [Fri, 27 Oct 2017 08:28:48 +0000 (16:28 +0800)]
divide resources into handlers and models

divide resources into handlers&models
put ui handlers into handlers directory
put User into user_models.py

Change-Id: I3d9e260097205213c3ea8d4eac08b9019e017f71
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd develop guide for testapi
SerenaFeng [Fri, 20 Oct 2017 09:39:54 +0000 (17:39 +0800)]
add develop guide for testapi

Change-Id: Iaa9c15092aafda2024f08c467eea2f3ab9cddd96
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: E722 do not use bare except
SerenaFeng [Fri, 27 Oct 2017 07:45:20 +0000 (15:45 +0800)]
bugfix: E722 do not use bare except

new added pep8 check: https://build.opnfv.org/ci/job/testapi-verify-master/435/console

Change-Id: I29c1ffbb534babf55ec2fe675001cc85b9e2e922
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "allow authentication to be disabled"
Serena Feng [Mon, 23 Oct 2017 01:27:12 +0000 (01:27 +0000)]
Merge "allow authentication to be disabled"

8 years agobug fix: score calculation based on build_tag
Morgan Richomme [Fri, 20 Oct 2017 15:17:37 +0000 (17:17 +0200)]
bug fix: score calculation based on build_tag

we were used to count the number of PASS of the last 4 runs
it works 80% of the cases

4 runs
4 OK => 3 points
3 OK => 3 points
2 OK => 2 points
1 OK => 1 point
0 => 0

it is different from the normal score calculation
4 OK => 3 points
3 OK => 2 points
2 OK => 2 points
1 OK => 1 point
0 => 0

Change-Id: Ib8df2c294e0036246176c181b7a7ac290ebea07e
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoallow authentication to be disabled
SerenaFeng [Fri, 20 Oct 2017 08:13:29 +0000 (16:13 +0800)]
allow authentication to be disabled

in local deployment situation, authentication can be disabled by
setting authenticate=False of ui section in config.ini

JIRA: RELENG-324

Change-Id: I9157d1723851feb12435033dbdd59035e3eb5777
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocriteria field must be 'PASS/FAIL'
SerenaFeng [Fri, 20 Oct 2017 07:21:59 +0000 (15:21 +0800)]
criteria field must be 'PASS/FAIL'

criteria must be fix with 'PASS/FAIL', case insensitive
or else, BADREQUEST exception will be raises

JIRA: RELENG-327

Change-Id: Ic648b9d38937fc63924e42cfdf5345cdaa32e1ed
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoExtend the Functest reporting black list
Morgan Richomme [Thu, 19 Oct 2017 12:12:12 +0000 (14:12 +0200)]
Extend the Functest reporting black list

remove
* tempest_full_parallel
* rally_full

Change-Id: Ibb944e7d32dc3cf0fc0b87a269c9e2f0327410e4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd new function to get indivial test score for aarch64
Morgan Richomme [Tue, 17 Oct 2017 09:54:44 +0000 (11:54 +0200)]
Add new function to get indivial test score for aarch64

as architecture is not considered as a constraints (unlike scenario or
installer) we need to work on the build tag to retrieve the data

but it is not possible to use regex directly in the API

so retrieveing the accurate results require extra processing
 * based on build_tag, filter the results properly per scenario
 * build a table build_tag time for a given scenario
 * keep only the last 4 results
 * evaluation criteria field

It would simplified if architecture could be declared as a constraint
then querying the resuls will not change and not require intermediate
steps

JIRA: FUNCTEST-880

Change-Id: Id4fe4f56babf0964d41e299905c804e0d837c3d7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agodelete legacy update code
SerenaFeng [Mon, 16 Oct 2017 07:02:12 +0000 (15:02 +0800)]
delete legacy update code

update directory was employed to update TestAPI before auto deployment
is adopted, now it is useless and can be deleted.

Change-Id: I4e5ae84e80879cd9f711dc1d02224ae4f5902e49
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agofix yamllint verify fail
SerenaFeng [Mon, 16 Oct 2017 07:44:00 +0000 (15:44 +0800)]
fix yamllint verify fail

fail record: https://build.opnfv.org/ci/job/opnfv-yamllint-verify-master/1050/console

Change-Id: Ic709b9a3d1d3642a3deebd930714a2ba2de22da6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Added license metadata to specify Apache-2.0"
Serena Feng [Mon, 16 Oct 2017 01:45:28 +0000 (01:45 +0000)]
Merge "Added license metadata to specify Apache-2.0"

8 years agoMerge "Update table headers in the reporting page"
Serena Feng [Mon, 16 Oct 2017 01:44:29 +0000 (01:44 +0000)]
Merge "Update table headers in the reporting page"

8 years agoAdded license metadata to specify Apache-2.0
rpaik [Sat, 14 Oct 2017 04:25:43 +0000 (21:25 -0700)]
Added license metadata to specify Apache-2.0

Change-Id: Id2e6b148f896eee5122339e501c8604e74ef774c
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
8 years agoChange criteria 'SUCCESS' to 'PASS' in yardstick reporting
chenjiankun [Thu, 12 Oct 2017 08:21:29 +0000 (08:21 +0000)]
Change criteria 'SUCCESS' to 'PASS' in yardstick reporting

To keep consistent with other testing project,
yardstick should change criteria value from 'SUCCESS' to 'PASS'

Change-Id: I8d8779927a74749e7c43df4e55e1888c49cbbbaf
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agobugfix: trend graph not show in fuel x86 and aarch64
chenjiankun [Thu, 12 Oct 2017 02:48:00 +0000 (02:48 +0000)]
bugfix: trend graph not show in fuel x86 and aarch64

The trend tool will read installer field in scenario_history.txt
But now this field is fuel not fuel@x86 or fuel@aarch64.
So I change fuel -> fuel@x86 & fuel@aarch64.

Change-Id: I8e97e57febd559f65be559b16bceee5cf8268926
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoMerge "Add fuel@x86 and fuel@arm support"
Morgan Richomme [Wed, 11 Oct 2017 09:25:42 +0000 (09:25 +0000)]
Merge "Add fuel@x86 and fuel@arm support"

8 years agoAdd fuel@x86 and fuel@arm support
chenjiankun [Tue, 10 Oct 2017 08:08:37 +0000 (08:08 +0000)]
Add fuel@x86 and fuel@arm support

Since scenario data do not have a field named architecture,
So I choose pod_name for now.
For example:
    pod_name: arm-pod5
I assume that it is based arm architecture

Change-Id: I92159a5e08b1ed80701494483fd9922dbd459193
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoput htmlize directory under jjb/releng
SerenaFeng [Wed, 11 Oct 2017 07:32:07 +0000 (15:32 +0800)]
put htmlize directory under jjb/releng

centralize jjb related scripts

Change-Id: I4abeb06f17b48b8e7ac15803db0f3ce7eb0c1b93
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoChange score calculation for functest reporting
Morgan Richomme [Fri, 6 Oct 2017 18:39:36 +0000 (20:39 +0200)]
Change score calculation for functest reporting

the goal is not to penalize scenario with few iteration due to
CI pipeline constraints
until now the top score was calculated on the base on 4 iterations, it means
whatever the number of iterations, we always consider the possible top score
based on at least 4 iterations

each case can get
- 3 points (last 4 iterations PASS)
- 2 points (more than 1 PASS over the last 10 days but 1 FAIL of the last 4)
- 1 point (at least 1 PASS over the last 10 days)
- no point  (never work)

so if we consider a scenario with 10 cases, the top score is
30 = 10*3 (max points)

the coefficient to calculate the top score is not the number of iterations

- 1 iteration => possible  top score 10
- 2 iterations  => top score 20
- 3 iterations => top score 20
- 4 or more iterations => top score 30

previously top score was systematically 30

https://wiki.opnfv.org/plugins/servlet/mobile#content/view/6828617

Change-Id: I01102bc00766b7f5b58e73befa7d5328fcc895cc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdate table headers in the reporting page
Yujun Zhang [Tue, 3 Oct 2017 14:10:57 +0000 (22:10 +0800)]
Update table headers in the reporting page

Change-Id: I19916f1e4dd04297cc7d73e93a12767d335c0d99
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoFix status reporting page
Yujun Zhang [Sat, 30 Sep 2017 06:42:53 +0000 (14:42 +0800)]
Fix status reporting page

- use data in last 10 days instead of 1 day
- hide installers without any data
- remove redundant qtip reporting

Change-Id: If73a439572b6a1cf09c7d34f643fb14be82196ca
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
8 years agoMerge "Fix Bottlenecks status page cann't be shown."
Morgan Richomme [Fri, 29 Sep 2017 07:14:59 +0000 (07:14 +0000)]
Merge "Fix Bottlenecks status page cann't be shown."

8 years agoChange Euphrates image
Morgan Richomme [Fri, 29 Sep 2017 07:11:54 +0000 (09:11 +0200)]
Change Euphrates image

minor pylint fix in functest/reporting-status

Change-Id: Ibfd4f0da1475c34c40a3d9e00530f8f15eb3c7dc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFix Bottlenecks status page cann't be shown.
liyin [Fri, 29 Sep 2017 06:41:46 +0000 (14:41 +0800)]
Fix Bottlenecks status page cann't be shown.

Change-Id: Ia1ad4c0654ad2dea7fdb61b81725af9aaafc4750
Signed-off-by: liyin <liyin11@huawei.com>
8 years agoreporting adoption for Euphrates
chenjiankun [Tue, 26 Sep 2017 06:27:26 +0000 (06:27 +0000)]
reporting adoption for Euphrates

Danube -> Euphrates in euphrates.html
add euphrates dir
fix CONFIG_REPORTING_YAML value
fix import error in scenario.py

Change-Id: Ic0457bf8d1c67bd21ef6a31564792eb98cfca9ad
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoMerge "cloudify_ims reporting fixes"
Morgan Richomme [Mon, 25 Sep 2017 06:34:10 +0000 (06:34 +0000)]
Merge "cloudify_ims reporting fixes"

8 years agocloudify_ims reporting fixes
Morgan Richomme [Fri, 22 Sep 2017 14:25:21 +0000 (16:25 +0200)]
cloudify_ims reporting fixes

+ minor fixes

 * unknown => real test case names
 * pylint corrections

Change-Id: I75446e4006d41fe1bb25106420910025afa01489
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Bugfix: Change http_pass to proxy_pass"
Morgan Richomme [Fri, 22 Sep 2017 06:30:13 +0000 (06:30 +0000)]
Merge "Bugfix: Change http_pass to proxy_pass"

8 years agoMerge "bugfix: autoupdate failed due to mingle with watchdog"
Morgan Richomme [Thu, 21 Sep 2017 12:38:29 +0000 (12:38 +0000)]
Merge "bugfix: autoupdate failed due to mingle with watchdog"

8 years agorefactor one click deployment in testapi
SerenaFeng [Thu, 21 Sep 2017 05:41:59 +0000 (13:41 +0800)]
refactor one click deployment in testapi

substitue docker-compose.template with string description,
so that user can wget deploy.py and execute directly.

Change-Id: I9703a1c8dfbdc46470561d54c6663e3728540162
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix: autoupdate failed due to mingle with watchdog
SerenaFeng [Thu, 21 Sep 2017 03:16:44 +0000 (11:16 +0800)]
bugfix: autoupdate failed due to mingle with watchdog

1. In the original design, if the auto-job starts soon after
the watchdog starts, the auto update might be mingled with
connectivity check, which may lead to update failure. so instead,
the connectivity is checked first, if failed and module is not in deploying,
restart module.
2. only automate-docker-deploy job will impact the container status during
auto-job, so substitue auto-job status check with automate-docker-deploy's
3. the watchdog is not only for testapi, but also for reporting, and
all docker container server deployed in testresults.opnfv.org, so move it under
utils/test/opts, which is leveraged to store tool-sets employed for testing tools.

Change-Id: I766f3a534a3d510ce7509d4e742150150ccd8f54
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd one click deployment of testapi and reporting
SerenaFeng [Wed, 20 Sep 2017 08:33:55 +0000 (16:33 +0800)]
add one click deployment of testapi and reporting

leverage docker compose to deploy testresults set
testapi/reporting/mongo
usage:
python one_click_deploy.sh -tp 8082 -rp 8084 -tl http://host_ip:8082

Change-Id: I8dfb868637749b82ec86e58220376b03ad50664d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoBugfix: Change http_pass to proxy_pass
chenjiankun [Wed, 20 Sep 2017 08:41:08 +0000 (08:41 +0000)]
Bugfix: Change http_pass to proxy_pass

http_pass is wrong for nginx, we need to change it to proxy_pass

Change-Id: Ib679b36a4a139c02647564719e1cfc49a9f376a2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
8 years agoMerge "Add Euphrates pages for reporting"
Morgan Richomme [Wed, 20 Sep 2017 07:34:53 +0000 (07:34 +0000)]
Merge "Add Euphrates pages for reporting"

8 years agoAdd Euphrates pages for reporting
Morgan Richomme [Mon, 18 Sep 2017 14:02:18 +0000 (16:02 +0200)]
Add Euphrates pages for reporting

Change-Id: Iee4c54801d839be949495360141d4ae9353e5ecc
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoBug Fix: Using library for urlencode
utkarshrai98 [Sun, 17 Sep 2017 04:36:50 +0000 (10:06 +0530)]
Bug Fix: Using library for urlencode

Changes to method call _set_query

Change-Id: I95837df57cc98c21ff5d95d9753269490c025dd3
Signed-off-by: utkarshrai98 <utkarshrai98@gmail.com>
8 years agoMerge "testing for raise in config.py"
Serena Feng [Sat, 16 Sep 2017 03:40:53 +0000 (03:40 +0000)]
Merge "testing for raise in config.py"

8 years agoleverage LFID authentication to pod creation
SerenaFeng [Mon, 11 Sep 2017 04:37:22 +0000 (12:37 +0800)]
leverage LFID authentication to pod creation

only valid linux foundation user is allowed to create the new pod
add owner field in pods to track the pod creator

Change-Id: Icada07152069f7c826bfa6122cb86db8c4e3bf68
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>