summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Just enable withdraw for the one who submit to review (onwer)grakiss1-2/+2
JIRA: DOVETAIL-559 Just enable withdraw for the one who submit to review (onwer). Change-Id: I4f073fa00930c8f211239ee42034bb40c1af1f91 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20[cvp-web] Can't submit the same results to review from different usersgrakiss1-16/+12
JIRA: DOVETAIL-560 Can't submit the same results to review from different users. Change-Id: I4a3dcc2dc8a817653ac9da6f93722659e04c89a1 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20[cvp-web] Bugfix:return 500 when upload a tarball file with no results.jsongrakiss3-15/+25
JIRA: DOVETAIL-558 The Web portal will return 500 code when upload a tarball file with no results.json When all test cases failed or report with wrong DB url, there may be no results.json. Check this and alert users instead of returning 500 status code. Change-Id: Ie13d9c3c62044c525f5dbb3fca9b6123d0b5acce Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-20bugfix: hosts info is wrongly processedSerenaFeng4-11/+23
changes: 1. add usage example in hosts.yaml.sample 2. fix /etc/hosts from wrong format {'hostname': 'ip'} to the right 'ip hostnames' 3. fix --add-hosts from wrong usage --add-host {'hostname': 'ip'} to the right --add-host='hostnames':ip 4. support per ip mapping mutiple hostnames, which is also in line with /etc/hosts schema JIRA: DOVETAIL-556 Change-Id: I92e8cb0fd3476b61f5c73a69e34c4a66aef51d6e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-16Remove redundant log when launch local DBxudan1-3/+9
The script launch_db.sh will print "Already Exists" logs when the DB has been initialized by the data stored in JumpHost. Ignore this kind of logs because it won't affect the launch of the DB but it will confuse users. JIRA: DOVETAIL-557 Change-Id: I23616b10bbadc49888731e943d0a4ee4425045f5 Signed-off-by: xudan <xudan16@huawei.com>
2017-11-15Remove style.css for License issuegrakiss5-168/+88
style.css is GPL 3.0 License based, we need to remove it. The origin css file is as bellow: https://www.opnfv.org/wp-content/themes/salient/style.css?ver=4.8.3 So I remove style.css, and write a new css file to replace it. Change-Id: I78a572f74c71081052767622903b371e22e158a4 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-09Added a license metadata line to specify Apache-2.0rpaik1-0/+1
Change-Id: Ic5c3c3e2bbc2cff54f291fcd77bf9b5741f9f606 Signed-off-by: rpaik <rpaik@linuxfoundation.org>
2017-11-09[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the ↵grakiss3-68/+89
'Test ID' JIRA: DOVETAIL-554 It allows different users to upload the same results now. So the 'Test ID' is not unique in this situation. Use '_id' as the primary key which can uniquely identify one data. Change-Id: I852ee116f36a6a86e9b4350183e39ee00f8b99de Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-09[cvp-web] Bugfix: Results shared by email are not shown on non-reviewer's pagesgrakiss1-11/+15
JIRA: DOVETAIL-551 The CVP web portal can support share with name and share with email address. But when sharing with email, the pages of non-reviewers will not show the results shared by others. Change-Id: I94451448cc60d1f7a3472d756c502200757a16a8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-08[cvp-web] Allow accounts with role 'reviewer' to submit resutsgrakiss1-2/+2
JIRA: DOVETAIL-549 Accounts within the CVP portal with the role 'reviewer' cannot submit test results currently. While reviewers cannot review their own results, they should be able to submit results. Many within the Dovetail community will be serving multiple roles as testers and reviewers. Change-Id: I762aeec64bb2b207c582aa79e0ad1bd5a635fd19 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-07Tag dovetail cvp.0.9.0xudan4-2/+60
JIRA: DOVETAIL-550 Change-Id: I871ec1fdf8d33efe3ed00602d0184c7b35896c17 Signed-off-by: xudan <xudan16@huawei.com>
2017-11-06Bugfix: Failed to build local DB on Centosxudan2-17/+17
1. The scripts for building local DB and testapi service just work on Ubuntu. 2. For Centos, they fails to do that. 3. This is mainly because of that Centos can't use the IP of the JumpHost to connect the DB and testapi. It needs to use the internal IPs of the DB container and the testapi container. 4. Change the IPs in the scripts to be the containers' internal IPs. JIRA: DOVETAIL-548 Change-Id: I71aed82cb620b58bcd43ace61497db65c5bd7ecc Signed-off-by: xudan <xudan16@huawei.com>
2017-11-03Minor docs change to test docs integrationGeorg Kunz1-11/+0
This is minor patch which updates the documentation in the dovetail repo in order to test the toolchain integration in opnfvdocs. Change-Id: Id91c57d1a38cf02d8ed4653bc9eddb7081f025e7 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-11-02Modify reference to online modeEddie Arrage1-6/+7
Changed reference to online mode to refer to installation rather than uploading results from Test Host to CVP portal directly, as current text is misleading. Change-Id: I9439d340beabb76f04b7782243c050064753a8ec Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2017-11-02Update the user guide environment diagramsEddie Arrage2-0/+0
Updated the test user guide diagrams with the correct CVP portal web link and removed direct connection between the Test host and the CVP server. Online and offline mode refer to installation of Dovetail docker and dependent images. Change-Id: If2fb62d105557a41b156b90a3d9c956185be0b7c Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2017-11-02Get SUT's endpoint infoxudan2-0/+28
Get the admin endpoints of all service. JIRA: DOVETAIL-546 Change-Id: Ie0ac3bc5b4eb0885046e207b73217994a4f0e358 Signed-off-by: xudan <xudan16@huawei.com>
2017-11-02Get hardware info of SUTxudan4-0/+88
Hardware info: Use ansible to get all hardware info from all nodes. JIRA: DOVETAIL-540 Change-Id: I6a2dde1b2ebae2af8f702008c23110ebe63cc06f Signed-off-by: xudan <xudan16@huawei.com>
2017-11-02Bugfix: remove redundancy linegrakiss1-1/+0
There is a redundancy line in result page when auto merge. We need to remove it. Change-Id: I31a754d881584be5a715ddcf6f1f32b25158dfca Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01Remove approve / no approve options for reviewersgrakiss1-0/+6
Distinguish results shared or submitted from a tester JIRA: DOVETAIL-544 JIRA: DOVETAIL-545 [cvp-web]There is consensus within C&C committee to move towards a simpler means of voting by reviewers. We will use email voting (+1) on the [cvp@opnfv.org|mailto:cvp@opnfv.org] email alias. For now, can we disable the approve / not approve options in the drop-down in the 'Operation' column of the results? We can revisit this feature in the future after some experience with the manual method. [cvp-web]When a user shares or submits results, the recipient of those results (share target or reviewer) do not know where the results originated from. To remedy this issue, we will add a column labeled 'Owner' to the 'My Results' table that shows the email address or the sending party? Change-Id: I586b01ad113d898fe3d5824025df9877118fa622 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01[cvp-web] Show some SUT hardware info in 'My Results'grakiss10-4/+256
[cvp-web] Show SUT endpoint in web page JIRA: DOVETAIL-541 JIRA: DOVETAIL-547 Show some SUT hardware info that dovetail concern in 'My Results' web page. Show the info of all endpoints get from Dovetail tool in the web page. Change-Id: Ibc465396e17b7c22678e3948fa2f659cbff6f323 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01[web-cvp] Trigger an email when admin submit an application formgrakiss2-1/+84
JIRA: DOVETAIL-542 Trigger an email to cvp@opnfv.org when admin submit an application form. Change-Id: Ie73d5a6380b5f5d1b0507564dc1f067047284f99 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-11-01Add test case name into tempest testspecification docsxudan15-43/+78
1. All test cases' testspecification docs have no info about test case names. 2. User don't know which test case to run when they just want to run one special test case. 3. Add the info into testspecification docs. JIRA: DOVETAIL-530 Change-Id: I0ebe1b3b98be5609503814ea2a0cf71aefd06d35 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-25Remove obsolete developer documentsEddie Arrage5-643/+0
Some developer documents are now old and suggested to be removed. Change-Id: Ifa26a1535d57a560a0525eafa300ae087feb3191 Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
2017-10-24Tag dovetail with cvp.0.8.0xudan2-8/+8
JIRA: DOVETAIL-536 Change-Id: I7a947b1aa57728e6add1d0ca881a6a62a46c0913 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-25Ignore Tox Error E722xudan1-1/+1
1. After updating tox from 2.5 to 2.9, pep8 failed. 2. https://build.opnfv.org/ci/job/dovetail-verify-master/1018/console 3. The Error is 'E722 do not use bare except'. 4. It needs to change all 'except:' into 'except Exception:'. 5. This won't affect Dovetail, so just ignore this Error. 6. Dovetail next release will consider to fix this error. JIRA: DOVETAIL-537 Change-Id: Ic3c7be4667685fc94025a47c3b17d07a087565da Signed-off-by: xudan <xudan16@huawei.com>
2017-10-24System preparation guideWenjing Chu1-66/+55
Change-Id: I4fc982d7037466b48424b7ce97d6207fbe44a09b Signed-off-by: Wenjing Chu <chu.wenjing@gmail.com>
2017-10-23Fixing references and layout in the docsGeorg Kunz7-81/+90
This patchset introduces labels for documentation-internal references and replaces footnote-style citations with inline hyperlinks. Additional minor changes for a nicer rendering of bullet lists. JIRA: DOVETAIL-521 Change-Id: Ic847fc05d546d673dadc7b8efee86fcb688133f5 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-10-23Use functest clean module to do the sdnvpn resources cleanupxudan5-0/+15
1. If there throw an exception during the test of one sdnvpn test case, it will not do the clean. 2. Then there are many resources left, such as network, subnet, server... 3. This is a bug of sdnvpn see JIRA: SDNVPN-184 4. The patch for fixing this bug https://gerrit.opnfv.org/gerrit/#/c/44777/ 5. Currently, use functest module "functest openstack clean" to clean the SUT. JIRA: DOVETAIL-524 Change-Id: I629fc6fdc9e4c95960f6122358ff219a467d441b Signed-off-by: xudan <xudan16@huawei.com>
2017-10-23Bugfix: the sdnvpn DB initialization information lacks two test casesxudan1-0/+2
1. The SDNVPN DB initialization information lacks two test cases, functest_testcase_4 and functest_testcase_8. 2. So the results of these 2 test cases cannot be pushed into DB. 3. Add these 2 test cases info to DB. JIRA: DOVETAIL-535 Change-Id: I1c6d049b942806924f15dd106452fd9b4d554454 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-23Bugfix: build docker image failedxudan1-0/+2
1. When build Dovetail docker image, the job failed. 2. https://build.opnfv.org/ci/view/dovetail/job/dovetail-docker-build-push-master/279/console 3. That's because the setuptools version is old. 4. It needs to upgrade setuptools in the Dockerfile. JIRA: DOVETAIL-534 Change-Id: If37a4d7c3b57ea79903565fd880c5447da97b13b Signed-off-by: xudan <xudan16@huawei.com>
2017-10-23Add testsuite cvp.0.8.0 for Beta testsxudan4-12/+75
1. Now there is a testsuite proposed_tests for beta tests which may cause some confusions. 2. Copy all test cases to testsuite cvp.0.8.0 for beta testers to use. 3. Update userguide with testsuite cvp.0.8.0 JIRA: DOVETAIL-528 Change-Id: I35bc7dee6e07a9125a4c1991b0049f6e2d705cc5 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-19[web-cvp]Additional columns in ‘My Results’grakiss11-11/+2991
JIRA: DOVETAIL-532 1. original filename 2. user editable label Change-Id: I1566cecb3d8ceacc14167bb2fb7fa41508f293be Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-20[web-cvp]share result by emailgrakiss5-16/+44
JIRA: DOVETAIL-529 It may be easier to get other people's email than his user id Change-Id: Ia5f9aa72d3c79bd3f5e69dad98b3f188cdaafc3d Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-19[web-cvp]Direct drill-down for failed testsgrakiss2-1/+15
JIRA: DOVETAIL-531 people may want to directly drill-down to the exact log file of each results, instead of searching in piles of log files. Change-Id: I6e18b8d57739fd695e20ee29147e796de5c9e404 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-18Updating test case requirements documentGeorg Kunz2-59/+104
This patchset addresses review comments which were not incorporated in the previous version of the test case requirements description. Additionally, the text has been wrapped to 80 character lines. Change-Id: If817f6c44d94870d915791a1a11916ffe4871f06 Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-10-18Term refstack is mentioned in dovetail Testing User Guidexudan1-3/+1
Remove refstack.log from the userguide because the refstack.log has been renamed dovetail.osinterop.tc00X.log JIRA: DOVETAIL-519 Change-Id: Icd0bd82ef78437ab96201e58b93e0a6997f9618a Signed-off-by: xudan <xudan16@huawei.com>
2017-10-18Add dovetail tool CLI documentxudan3-1/+205
According to the wiki page, add the CLI document. https://wiki.opnfv.org/display/dovetail/Dovetail+Command+Line JIRA: DOVETAIL-509 Change-Id: I6a32446cd4c1bcad83465b1f2e12d5c1487e954e Signed-off-by: xudan <xudan16@huawei.com>
2017-10-16SDNVPN test cases resources left may effect the next test casesxudan1-5/+5
Move SDNVPN test cases after tempest test cases, then the resources left will not effect tempest test cases. JIRA: DOVETAIL-524 Change-Id: I815ae7f3a3be0225be1e9695f13d4552946bffb5 Signed-off-by: xudan <xudan16@huawei.com>
2017-10-12[web-cvp]failed to build docker image due to setuptools versiongrakiss1-0/+1
JIRA: DOVETAIL-526 error on docker build, upgrade the setuptools: error in cryptography setup command: Invalid environment marker: python_version < '3' Change-Id: If3b2b2ecd3a3e23f66cacb6a2048f15f1715dcd4 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-12[web-cvp]add a api to fecth logs of backend apigrakiss4-0/+17
JIRA: DOVETAIL-525 provide a easy way to fetch logs of backend apis Change-Id: I72054a6e155e6970254ed391dfa8b25943eceb35 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-10Merge "[web-cvp]fix api&web service in dockerfiles"Leo wang2-6/+10
2017-10-09[web-cvp]fix api&web service in dockerfilesgrakiss2-6/+10
JIRA: DOVETAIL-523 api&web services is not running due to packages installation errors Change-Id: I5175d987dfda3cefe28a3a37754acc9fc8d7bc13 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-09Merge "[web-cvp]missing files in web sites"Leo wang4-1/+612
2017-10-09[web-cvp]missing files in web sitesgrakiss4-1/+612
JIRA: DOVETAIL-522 some files missing due to incorrect .gitignore settings Change-Id: I4d81842afcb6f2734abeebbdcde56ec5b3e1655b Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-10-09Merge "Cvp application form"Wenjing Chu2-3/+92
2017-10-09Merge "[web-cvp]osinteros is counted as optional test case"Leo wang1-1/+1
2017-10-09Merge "[web-cvp]failed to expand test results"Leo wang1-2/+2
2017-10-05Cvp application formWenjing Chu2-3/+92
Change-Id: I4bb0cea49179c7171ce766c52814f765e05ce9f8 Signed-off-by: Wenjing Chu <chu.wenjing@gmail.com>
2017-09-30Merge "Update user guide with the local DB operations"hongbo tian1-62/+85
2017-09-30[web-cvp]osinteros is counted as optional test casegrakiss1-1/+1
JIRA: DOVETAIL-518 'defcore' is changed to 'osinterop', counted as optional test case Change-Id: Ic5322c498869dcef9597530e343b053aebc376cf Signed-off-by: grakiss <grakiss.wanglei@huawei.com>