dovetail.git
7 years ago[ovp-web] Modify new web portal header to reflect program name change 71/48771/3
grakiss [Wed, 13 Dec 2017 02:19:47 +0000 (02:19 +0000)]
[ovp-web] Modify new web portal header to reflect program name change

JIRA: DOVETAIL-569

CVP is officially being renamed to 'OPNFV Verified Program'. We will
adopt the acronym OVP instead of CVP. The new web portal header needs to
modified to OPNFV Verified Program.

Change-Id: I0ee1780b4e544dce4cf0b029733d1318a7c4e8fb
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoBugfix: pass/not pass filter not work in result-report page 63/48763/2
grakiss [Wed, 13 Dec 2017 01:15:39 +0000 (01:15 +0000)]
Bugfix: pass/not pass filter not work in result-report page

The reason is there are some conflict with jquery.js and ng-model.
So ng-model not work.

Change-Id: I01ccd0e297d1a89aff8f78d7fb0a63a0e2114f63
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoRemove all alias tempest test cases in osinterop test specificaion docs 91/47691/4
xudan [Thu, 23 Nov 2017 06:30:38 +0000 (01:30 -0500)]
Remove all alias tempest test cases in osinterop test specificaion docs

1. Some tempest test cases have alias test cases because of the different
   versions of tempest.
2. However, Dovetail fixes the version of tempest to be 14.0.0 in its first
   release. So the number of test cases that can be executed in osinterop
   is always 205. And for different SUTs, the 205 test cases are all the same.
3. In this situation, there is no need to list the alias test cases.
4. Just list all the 205 test cases which will not confuse users when they
   reading dovetail docs.

JIRA: DOVETAIL-566

Change-Id: I5e39dd82314833c8c0a6c1732c990f671ae64420
Signed-off-by: xudan <xudan16@huawei.com>
7 years ago[cvp-web] Add initial CVP Portal homepage content for release 09/47909/4
grakiss [Tue, 28 Nov 2017 07:12:45 +0000 (07:12 +0000)]
[cvp-web] Add initial CVP Portal homepage content for release

JIRA: DOVETAIL-563

The CVP portal homepage needs to be modified to support launch
activities. An initial iteration between OPNFV marketing has occurred.
Attached is a deck that outlines a basic left navigation menu and home
content.
We can focus on creating the left navigation and content outlined on
slide 7. The links for the left navigation aren't all flushed out.
Please leave Release Information/CVP Registry link href's blank for now
until we define content for those pages.

Change-Id: I84b8cfb996d336ef666d5a5f6aaabc0d5eebc37b
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoRemove one sub test case from dovetail.tempest.tc004 85/47485/2
xudan [Mon, 20 Nov 2017 06:58:54 +0000 (01:58 -0500)]
Remove one sub test case from dovetail.tempest.tc004

1. Currently, dovetail.tempest.tc004 has 13 sub test cases defined in its
   config file and specification document of the test case. All these
   sub test cases are picked from tempest based on it's version 15.0.0.
2. For Dovetail 1st release, it fixes the version of Functest to be
   opnfv/dovetail:cvp.0.5.0, and Functest integretes tempest 14.0.0
   in this version and it's E release.
3. There is one sub test case in dovetail.tempest.tc004 that is new in
   tempest 15.0.0, so it can not be recognized and executed by Functest D
   and E release. It is 'test_server_connectivity_cold_migration_revert'.
4. Remove this sub test case from dovetail.tempest.tc004. This means remove it
   from the test case config file and specification document.

JIRA: DOVETAIL-561

Change-Id: Ia927af040794c7027a741a282ed75fe401f99ff1
Signed-off-by: xudan <xudan16@huawei.com>
7 years ago[cvp-web] Bugfix: Total num of test cases should be fixed 21/47321/5
grakiss [Thu, 16 Nov 2017 09:18:14 +0000 (09:18 +0000)]
[cvp-web] Bugfix: Total num of test cases should be fixed

JIRA: DOVETAIL-552

The total num of test cases is decided by the number of the test cases
users uploaded to the Web now.
The total num should be fixed. For example, the total num of mandatory
test cases should be 215. The total num of optional test cases should be
63.

Change-Id: I6f7055bbeceb80f831af7d800b1a5aca4e165c45
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years ago[cvp-web] Admin can approve and not approve results 89/47489/5
grakiss [Mon, 20 Nov 2017 07:45:40 +0000 (07:45 +0000)]
[cvp-web] Admin can approve and not approve results

JIRA: DOVETAIL-562

According to the CVP workflow, once a result has been submitted to review,
the admin will send email to all reviewers to get the comment (+1 / -1).
Enable admin to approve/not approve the result after he gets the feedback from all reviewers.
Otherwise, the result will always be in 'review' status.

Change-Id: Ic3ace3c7284c70e9a8186d03e6cd88c91ecc76f9
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoInclude full date in name of compressed result file 95/47495/1
Georg Kunz [Mon, 20 Nov 2017 09:24:26 +0000 (10:24 +0100)]
Include full date in name of compressed result file

The name of the compressed result file included a timestamp according
to the pattern "day_hour_minute". This is a rather uncommon timestamp
and can cause confusion. This patch changes the timestamp to a more
common "YearMonthDay-HourMinute" format.

Please note: Please check if this change has an impact on the web
portal.

Change-Id: Ife41050bc1d5ca6942706b756d03a1d0d251ae41
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoJust enable withdraw for the one who submit to review (onwer) 09/47409/4
grakiss [Fri, 17 Nov 2017 09:37:53 +0000 (09:37 +0000)]
Just enable withdraw for the one who submit to review (onwer)

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>
7 years ago[cvp-web] Can't submit the same results to review from different users 79/47479/3
grakiss [Mon, 20 Nov 2017 06:19:29 +0000 (06:19 +0000)]
[cvp-web] Can't submit the same results to review from different users

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>
7 years ago[cvp-web] Bugfix:return 500 when upload a tarball file with no results.json 91/47391/4
grakiss [Fri, 17 Nov 2017 06:34:15 +0000 (06:34 +0000)]
[cvp-web] Bugfix:return 500 when upload a tarball file with no results.json

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>
7 years agobugfix: hosts info is wrongly processed 41/47241/7
SerenaFeng [Wed, 15 Nov 2017 09:46:44 +0000 (17:46 +0800)]
bugfix: hosts info is wrongly processed

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>
7 years agoRemove redundant log when launch local DB 33/47333/1
xudan [Thu, 16 Nov 2017 11:30:35 +0000 (06:30 -0500)]
Remove redundant log when launch local DB

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>
7 years agoRemove style.css for License issue 29/47029/3
grakiss [Fri, 10 Nov 2017 10:11:18 +0000 (10:11 +0000)]
Remove style.css for License issue

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>
7 years agoAdded a license metadata line to specify Apache-2.0 83/46983/1
rpaik [Thu, 9 Nov 2017 18:02:03 +0000 (10:02 -0800)]
Added a license metadata line to specify Apache-2.0

Change-Id: Ic5c3c3e2bbc2cff54f291fcd77bf9b5741f9f606
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
7 years ago[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the 'Test ID' 35/46935/6
grakiss [Thu, 9 Nov 2017 11:01:00 +0000 (11:01 +0000)]
[cvp-web] Bugfix: use '_id' as the primary key of the data rather than the '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>
7 years ago[cvp-web] Bugfix: Results shared by email are not shown on non-reviewer's pages 43/46843/4
grakiss [Wed, 8 Nov 2017 07:58:34 +0000 (07:58 +0000)]
[cvp-web] Bugfix: Results shared by email are not shown on non-reviewer's pages

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>
7 years ago[cvp-web] Allow accounts with role 'reviewer' to submit resuts 41/46841/1
grakiss [Wed, 8 Nov 2017 07:33:22 +0000 (07:33 +0000)]
[cvp-web] Allow accounts with role 'reviewer' to submit resuts

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>
7 years agoTag dovetail cvp.0.9.0 29/46829/2
xudan [Wed, 8 Nov 2017 03:19:59 +0000 (22:19 -0500)]
Tag dovetail cvp.0.9.0

JIRA: DOVETAIL-550

Change-Id: I871ec1fdf8d33efe3ed00602d0184c7b35896c17
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoBugfix: Failed to build local DB on Centos 47/46547/4
xudan [Thu, 2 Nov 2017 06:17:10 +0000 (02:17 -0400)]
Bugfix: Failed to build local DB on Centos

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>
7 years agoMinor docs change to test docs integration 01/46701/1
Georg Kunz [Fri, 3 Nov 2017 18:43:22 +0000 (19:43 +0100)]
Minor docs change to test docs integration

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>
7 years agoModify reference to online mode 51/46051/5
Eddie Arrage [Fri, 20 Oct 2017 16:43:42 +0000 (09:43 -0700)]
Modify reference to online mode

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>
7 years agoUpdate the user guide environment diagrams 85/46185/3
Eddie Arrage [Tue, 24 Oct 2017 16:59:50 +0000 (09:59 -0700)]
Update the user guide environment diagrams

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>
7 years agoGet SUT's endpoint info 01/46501/2
xudan [Wed, 1 Nov 2017 03:53:18 +0000 (23:53 -0400)]
Get SUT's endpoint info

Get the admin endpoints of all service.

JIRA: DOVETAIL-546

Change-Id: Ie0ac3bc5b4eb0885046e207b73217994a4f0e358
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoGet hardware info of SUT 09/46409/3
xudan [Mon, 30 Oct 2017 08:44:26 +0000 (04:44 -0400)]
Get hardware info of SUT

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>
7 years agoBugfix: remove redundancy line 51/46551/1
grakiss [Thu, 2 Nov 2017 07:53:50 +0000 (07:53 +0000)]
Bugfix: remove redundancy line

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>
7 years agoRemove approve / no approve options for reviewers 11/46511/4
grakiss [Wed, 1 Nov 2017 08:00:40 +0000 (08:00 +0000)]
Remove approve / no approve options for reviewers

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>
7 years ago[cvp-web] Show some SUT hardware info in 'My Results' 05/46405/8
grakiss [Mon, 30 Oct 2017 07:26:37 +0000 (07:26 +0000)]
[cvp-web] Show some SUT hardware info in 'My Results'

[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>
7 years ago[web-cvp] Trigger an email when admin submit an application form 57/46357/2
grakiss [Sat, 28 Oct 2017 01:53:51 +0000 (21:53 -0400)]
[web-cvp] Trigger an email when admin submit an application form

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>
7 years agoAdd test case name into tempest testspecification docs 97/46197/3
xudan [Wed, 25 Oct 2017 03:36:16 +0000 (23:36 -0400)]
Add test case name into tempest testspecification docs

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>
7 years agoRemove obsolete developer documents 15/46215/1
Eddie Arrage [Wed, 25 Oct 2017 23:06:14 +0000 (16:06 -0700)]
Remove obsolete developer documents

Some developer documents are now old and suggested to be removed.

Change-Id: Ifa26a1535d57a560a0525eafa300ae087feb3191
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoTag dovetail with cvp.0.8.0 55/46155/2
xudan [Tue, 24 Oct 2017 08:41:48 +0000 (04:41 -0400)]
Tag dovetail with cvp.0.8.0

JIRA: DOVETAIL-536

Change-Id: I7a947b1aa57728e6add1d0ca881a6a62a46c0913
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoIgnore Tox Error E722 63/46163/2
xudan [Tue, 24 Oct 2017 10:43:46 +0000 (06:43 -0400)]
Ignore Tox Error E722

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>
7 years agoSystem preparation guide 35/42735/3
Wenjing Chu [Fri, 22 Sep 2017 05:28:54 +0000 (22:28 -0700)]
System preparation guide

Change-Id: I4fc982d7037466b48424b7ce97d6207fbe44a09b
Signed-off-by: Wenjing Chu <chu.wenjing@gmail.com>
7 years agoFixing references and layout in the docs 97/44497/4
Georg Kunz [Fri, 6 Oct 2017 14:07:17 +0000 (16:07 +0200)]
Fixing references and layout in the docs

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>
7 years agoUse functest clean module to do the sdnvpn resources cleanup 19/45319/2
xudan [Tue, 17 Oct 2017 09:27:10 +0000 (05:27 -0400)]
Use functest clean module to do the sdnvpn resources cleanup

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>
7 years agoBugfix: the sdnvpn DB initialization information lacks two test cases 03/46103/3
xudan [Mon, 23 Oct 2017 06:50:05 +0000 (02:50 -0400)]
Bugfix: the sdnvpn DB initialization information lacks two test cases

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>
7 years agoBugfix: build docker image failed 01/46101/2
xudan [Mon, 23 Oct 2017 03:37:50 +0000 (23:37 -0400)]
Bugfix: build docker image failed

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>
7 years agoAdd testsuite cvp.0.8.0 for Beta tests 83/45483/4
xudan [Wed, 18 Oct 2017 08:12:00 +0000 (04:12 -0400)]
Add testsuite cvp.0.8.0 for Beta tests

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>
7 years ago[web-cvp]Additional columns in ‘My Results’ 43/45943/1
grakiss [Fri, 20 Oct 2017 03:50:18 +0000 (23:50 -0400)]
[web-cvp]Additional columns in â€˜My Results’

JIRA: DOVETAIL-532

1. original filename
2. user editable label

Change-Id: I1566cecb3d8ceacc14167bb2fb7fa41508f293be
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years ago[web-cvp]share result by email 09/45709/4
grakiss [Thu, 19 Oct 2017 02:15:32 +0000 (22:15 -0400)]
[web-cvp]share result by email

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>
7 years ago[web-cvp]Direct drill-down for failed tests 57/45757/1
grakiss [Thu, 19 Oct 2017 07:36:04 +0000 (03:36 -0400)]
[web-cvp]Direct drill-down for failed tests

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>
7 years agoUpdating test case requirements document 91/42291/4
Georg Kunz [Mon, 18 Sep 2017 14:59:32 +0000 (16:59 +0200)]
Updating test case requirements document

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>
7 years agoTerm refstack is mentioned in dovetail Testing User Guide 59/44859/2
xudan [Thu, 12 Oct 2017 02:24:42 +0000 (22:24 -0400)]
Term refstack is mentioned in dovetail Testing User Guide

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>
7 years agoAdd dovetail tool CLI document 19/44919/4
xudan [Thu, 12 Oct 2017 10:34:06 +0000 (06:34 -0400)]
Add dovetail tool CLI document

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>
7 years agoSDNVPN test cases resources left may effect the next test cases 83/45283/1
xudan [Tue, 17 Oct 2017 02:34:45 +0000 (22:34 -0400)]
SDNVPN test cases resources left may effect the next test cases

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>
7 years ago[web-cvp]failed to build docker image due to setuptools version 13/44913/1
grakiss [Thu, 12 Oct 2017 10:30:00 +0000 (06:30 -0400)]
[web-cvp]failed to build docker image due to setuptools version

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>
7 years ago[web-cvp]add a api to fecth logs of backend api 07/44907/3
grakiss [Thu, 12 Oct 2017 09:34:50 +0000 (05:34 -0400)]
[web-cvp]add a api to fecth logs of backend api

JIRA: DOVETAIL-525

provide a easy way to fetch  logs of backend apis

Change-Id: I72054a6e155e6970254ed391dfa8b25943eceb35
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoMerge "[web-cvp]fix api&web service in dockerfiles"
Leo wang [Tue, 10 Oct 2017 01:53:01 +0000 (01:53 +0000)]
Merge "[web-cvp]fix api&web service in dockerfiles"

7 years ago[web-cvp]fix api&web service in dockerfiles 55/44555/1
grakiss [Mon, 9 Oct 2017 09:23:15 +0000 (05:23 -0400)]
[web-cvp]fix api&web service in dockerfiles

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>
7 years agoMerge "[web-cvp]missing files in web sites"
Leo wang [Mon, 9 Oct 2017 09:02:19 +0000 (09:02 +0000)]
Merge "[web-cvp]missing files in web sites"

7 years ago[web-cvp]missing files in web sites 45/44545/1
grakiss [Mon, 9 Oct 2017 08:58:59 +0000 (04:58 -0400)]
[web-cvp]missing files in web sites

JIRA: DOVETAIL-522

some files missing due to incorrect .gitignore settings

Change-Id: I4d81842afcb6f2734abeebbdcde56ec5b3e1655b
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoMerge "Cvp application form"
Wenjing Chu [Mon, 9 Oct 2017 06:37:56 +0000 (06:37 +0000)]
Merge "Cvp application form"

7 years agoMerge "[web-cvp]osinteros is counted as optional test case"
Leo wang [Mon, 9 Oct 2017 02:10:15 +0000 (02:10 +0000)]
Merge "[web-cvp]osinteros is counted as optional test case"

7 years agoMerge "[web-cvp]failed to expand test results"
Leo wang [Mon, 9 Oct 2017 02:10:02 +0000 (02:10 +0000)]
Merge "[web-cvp]failed to expand test results"

7 years agoCvp application form 55/42455/5
Wenjing Chu [Tue, 19 Sep 2017 21:36:13 +0000 (14:36 -0700)]
Cvp application form

Change-Id: I4bb0cea49179c7171ce766c52814f765e05ce9f8
Signed-off-by: Wenjing Chu <chu.wenjing@gmail.com>
7 years agoMerge "Update user guide with the local DB operations"
hongbo tian [Sat, 30 Sep 2017 07:49:41 +0000 (07:49 +0000)]
Merge "Update user guide with the local DB operations"

7 years ago[web-cvp]osinteros is counted as optional test case 13/43713/1
grakiss [Sat, 30 Sep 2017 07:03:46 +0000 (03:03 -0400)]
[web-cvp]osinteros is counted as optional test case

JIRA: DOVETAIL-518

'defcore' is changed to 'osinterop', counted as optional test case

Change-Id: Ic5322c498869dcef9597530e343b053aebc376cf
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years ago[web-cvp]failed to expand test results 09/43709/1
grakiss [Sat, 30 Sep 2017 06:48:30 +0000 (02:48 -0400)]
[web-cvp]failed to expand test results

JIRA: DOVETAIL-517

When click on the "expand" button, nothing happens.

Change-Id: Ibe1554baf047d56fa07e27e936c15b2664326382
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoUpdate user guide with the local DB operations 71/43371/4
xudan [Thu, 28 Sep 2017 02:00:03 +0000 (22:00 -0400)]
Update user guide with the local DB operations

If users want to store results or upload results to CVP web portal, they
need to build local DB adn testapi service.
Should add more introduction about the local DB and testapi in the user guide.

JIRA: DOVETAIL-504

Change-Id: I6493169b54104af8d7207d28fad93afedeae0b1b
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Tag dovetail with cvp.0.7.0"
hongbo tian [Fri, 29 Sep 2017 08:33:25 +0000 (08:33 +0000)]
Merge "Tag dovetail with cvp.0.7.0"

7 years agoTag dovetail with cvp.0.7.0 75/43575/2
xudan [Fri, 29 Sep 2017 08:08:41 +0000 (04:08 -0400)]
Tag dovetail with cvp.0.7.0

docker image used
1. opnfv/yardstick: danube.3.2
2. opnfv/functest: cvp.0.5.0
3. opnfv/bottlenecks: cvp.0.4.0
4. opnfv/testapi: cvp.0.5.0
5. opnfv/dovetail:web.cvp.0.7.0
6. opnfv/dovetail:api.cvp.0.7.0
7. opnfv/dovetail: cvp.0.7.0

main changes
1. [cvp-web]correct dockerfile
2. [cvp-web]remove useless docker-compose yaml
3. Bugfix: sdnvpn test cases failed due to wrong module name
4. Support to run mandatory or optional test cases separately
5. [cvp-web]remove workflow on homepage
6. add api&web services for cvp
7. Don't generate tar file when run without pushing results to DB
8. Make Yardstick log level can be set by CLI
9. Update the script for building local DB and testapi
10. Bugfix: tar results dir cannot be parsed by web portal
11. Replacing references to "DefCore"
12. Updating the test specification document with iterative inprovements
13. Dovetail tool replaces defcore with osinterop
14. Clearer structuring current and future test scope of CVP addendum
15. Adding a stub document for a CVP reviewer guide
16. Clarify criteria for testcase inclusion as running in Functest/CI
17. And additional clarifications.
18. add more information for the Identity testcases in the refstack
19. Doc: update user guide due to add new test cases and features

For more information, refer to https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool

JIRA: DOVETAIL-516

Change-Id: Ic65073fd749c1bcdbd0946d081ba2d2fe9105057
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoDisable get DB schema in Dockerfile 65/43565/1
xudan [Fri, 29 Sep 2017 07:02:55 +0000 (03:02 -0400)]
Disable get DB schema in Dockerfile

Dovetail provides files for init local DB.
No need to get schema from opnfv DB when building docker image.

Change-Id: I05fbf4f65f3a94bb3a36fe3c140ad7bff58a4f15
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "[cvp-web]correct dockerfile"
Leo wang [Fri, 29 Sep 2017 06:18:32 +0000 (06:18 +0000)]
Merge "[cvp-web]correct dockerfile"

7 years agoMerge "[cvp-web]remove useless docker-compose yaml"
Leo wang [Fri, 29 Sep 2017 06:15:08 +0000 (06:15 +0000)]
Merge "[cvp-web]remove useless docker-compose yaml"

7 years ago[cvp-web]correct dockerfile 55/43555/1
grakiss [Fri, 29 Sep 2017 06:10:51 +0000 (02:10 -0400)]
[cvp-web]correct dockerfile

JIRA: DOVETAIL-515

correct dockerfile, git clone from dovetail

Change-Id: I1dee7f8ae5278f55bcf5928bbf88cdb079388494
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoMerge "Bugfix: sdnvpn test cases failed due to wrong module name"
Leo wang [Fri, 29 Sep 2017 04:07:45 +0000 (04:07 +0000)]
Merge "Bugfix: sdnvpn test cases failed due to wrong module name"

7 years agoBugfix: sdnvpn test cases failed due to wrong module name 93/43393/4
xudan [Thu, 28 Sep 2017 06:28:51 +0000 (02:28 -0400)]
Bugfix: sdnvpn test cases failed due to wrong module name

SDNVPN test cases failed due to wrong module name.
The module name needs to be changed into "sdnvpn.test.functest.testcase_1"
Refer to patch https://gerrit.opnfv.org/gerrit/#/c/41385/
Currently Dovetail uses functest:cvp.0.5.0 which uses module name "testcase_1".

JIRA: DOVETAIL-510

Change-Id: I3232760d3af34125c7da71a5d2c62ca32693c82b
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Support to run mandatory or optional test cases separately"
Leo wang [Fri, 29 Sep 2017 03:34:16 +0000 (03:34 +0000)]
Merge "Support to run mandatory or optional test cases separately"

7 years ago[cvp-web]remove useless docker-compose yaml 29/43529/1
grakiss [Fri, 29 Sep 2017 02:46:53 +0000 (22:46 -0400)]
[cvp-web]remove useless docker-compose yaml

JIRA: DOVETAIL-514

remove useless docker-compose yaml

Change-Id: Ic754488611571c3464515772680ad94bbe5651ea
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years ago[cvp-web]remove workflow on homepage 27/43527/1
grakiss [Fri, 29 Sep 2017 02:22:35 +0000 (22:22 -0400)]
[cvp-web]remove workflow on homepage

JIRA: DOVETAIL-513

remove workflow on homepage, add a link to workflow instead

Change-Id: Id8e551d4c593a2104c7cc8eb55468e9c29b5052a
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoMerge "add api&web services for cvp"
hongbo tian [Thu, 28 Sep 2017 09:28:41 +0000 (09:28 +0000)]
Merge "add api&web services for cvp"

7 years agoadd api&web services for cvp 11/43411/4
grakiss [Thu, 28 Sep 2017 07:47:54 +0000 (03:47 -0400)]
add api&web services for cvp

JIRA: DOVETAIL-512

add api&web services for cvp

Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoMerge "Don't generate tar file when run without pushing results to DB"
Leo wang [Thu, 28 Sep 2017 08:34:50 +0000 (08:34 +0000)]
Merge "Don't generate tar file when run without pushing results to DB"

7 years agoMerge "Make Yardstick log level can be set by CLI"
Leo wang [Thu, 28 Sep 2017 07:36:57 +0000 (07:36 +0000)]
Merge "Make Yardstick log level can be set by CLI"

7 years agoDon't generate tar file when run without pushing results to DB 07/43407/1
xudan [Thu, 28 Sep 2017 07:36:55 +0000 (03:36 -0400)]
Don't generate tar file when run without pushing results to DB

1. Dovetail generate a tar file for uploading results to CVP web portal.
2. If users don't run with option --report, it shouldn't generate the tar file.
   Because users can not upload results to CVP if they don't run with --report.
3. If it generates the tar file when user run dovetail without --report,
   the tar file is invalid because it lacks of results.json.

JIRA: DOVETAIL-511

Change-Id: I4d21f21f0b278962564d810369df03100b38f003
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Update the script for building local DB and testapi"
Leo wang [Wed, 27 Sep 2017 07:02:19 +0000 (07:02 +0000)]
Merge "Update the script for building local DB and testapi"

7 years agoUpdate the script for building local DB and testapi 31/43231/1
xudan [Wed, 27 Sep 2017 00:54:15 +0000 (20:54 -0400)]
Update the script for building local DB and testapi

1. When test dovetail, users can build local DB and testapi to store and
   report the results.
2. The script for building local DB and testapi needs some updates.

JIRA: DOVETAIL-507

Change-Id: I8bc96bfea27f424468cafaa2e05894065ef44ad9
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoBugfix: tar results dir cannot be parsed by web portal 31/43131/2
xudan [Tue, 26 Sep 2017 07:44:13 +0000 (03:44 -0400)]
Bugfix: tar results dir cannot be parsed by web portal

The directory tree of results tar file is wrong, so web portal cannot parse it.
Reset the tar file.

JIRA: DOVETAIL-508

Change-Id: I8475323294e84ca51242b700570926d5c0177390
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMake Yardstick log level can be set by CLI 81/42981/3
xudan [Mon, 25 Sep 2017 08:44:38 +0000 (04:44 -0400)]
Make Yardstick log level can be set by CLI

1. Currently, the log level of yardstick is DEBUG and cannot be modified.
2. Make it can be changed from CLI.
3. When use dovetail run --debug, can see all Yardstick logs (including DEBUG)
   in dovetail.log.
4. When run without debug option, cannot see Yardstick debug logs in
   dovetail.logs.
5. yardstick.log always doesn't include debug logs.

JIRA: DOVETAIL-506

Change-Id: Iaafb61232a22e16fff2fa4605bf7e262b022085e
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoSupport to run mandatory or optional test cases separately 09/43109/1
xudan [Tue, 26 Sep 2017 03:30:08 +0000 (23:30 -0400)]
Support to run mandatory or optional test cases separately

1. Currently, dovetail can run a test suite or a test area in that test suite.
2. The test areas in one test suite are not divided into optional and mandatory.
3. Split them and support to run just mandatory or optional.
4. Support to run multiple test areas.

JIRA: DOVETAIL-505

Change-Id: I42cd7b4e11c3e3674c806e9bc999b782bf5c85c6
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Replacing references to "DefCore""
hongbo tian [Mon, 25 Sep 2017 03:56:07 +0000 (03:56 +0000)]
Merge "Replacing references to "DefCore""

7 years agoDovetail tool replaces defcore with osinterop 05/42205/1
xudan [Mon, 18 Sep 2017 07:31:14 +0000 (03:31 -0400)]
Dovetail tool replaces defcore with osinterop

Rename the "defcore" test area to "osinterop".
The DefCore working group has been
renamed OpenStack InterOp Working Group some time ago.

JIRA: DOVETAIL-499

Change-Id: I144af767632c8fb83859e5e04b6427bb1a538348
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoClearer structuring current and future test scope of CVP addendum 41/41241/5
Georg Kunz [Wed, 6 Sep 2017 23:11:14 +0000 (01:11 +0200)]
Clearer structuring current and future test scope of CVP addendum

This patchset attempts to more clearly structure the outcome of the
scope analysis by having dedicated "in scope" and "future scope"
sections

Change-Id: I6a42a8ac4495fa4e2e5e773a7f594704d9cc1e28
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoReplacing references to "DefCore" 01/41601/2
Georg Kunz [Mon, 11 Sep 2017 21:50:15 +0000 (23:50 +0200)]
Replacing references to "DefCore"

This patch removes all references to the outdated term "DefCore"
in the Dovetail documentation. The DefCore working group has been
renamed OpenStack InterOp Working Group some time ago.

This patch also proposes renaming the "defcore" test area to
"osinterop".

JIRA: DOVETAIL-499

Change-Id: I7bb2ca33cb1eaf17c3ca0fc79a4f923e5886ece4
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoMerge "Clarify criteria for testcase inclusion as running in Functest/CI And addition...
hongbo tian [Mon, 11 Sep 2017 02:08:58 +0000 (02:08 +0000)]
Merge "Clarify criteria for testcase inclusion as running in Functest/CI And additional clarifications."

7 years agoMerge "add more information for the Identity testcases in the refstack"
hongbo tian [Fri, 8 Sep 2017 07:46:34 +0000 (07:46 +0000)]
Merge "add more information for the Identity testcases in the refstack"

7 years agoMerge "Doc: update user guide due to add new test cases and features"
hongbo tian [Fri, 8 Sep 2017 07:45:33 +0000 (07:45 +0000)]
Merge "Doc: update user guide due to add new test cases and features"

7 years agotag dovetail with 0.6.0 71/41371/2
xudan [Fri, 8 Sep 2017 06:53:31 +0000 (02:53 -0400)]
tag dovetail with 0.6.0

docker image used
opnfv/yardstick: danube.3.2
opnfv/functest: cvp.0.5.0
opnfv/bottlenecks: cvp.0.4.0
opnfv/testapi: cvp.0.6.0
opnfv/dovetail:web.cvp.0.6.0
opnfv/dovetail:api.cvp.0.6.0
opnfv/dovetail: cvp.0.6.0
main changes
Merge all test specification docs about test area tempest and defcore
Merge addendum doc and workflow doc
Remake aarch64 patch for Dovetail container
Remove some tempest test cases that are not too common
Add additional Tempest API test cases into test case tempest.tc005
persist db file in host for mongo container
add nginx to host static files
add a sample tempest_conf.yaml file into userconfig
Add a patch to set ha SLA to be 30 seconds
Modify logs
Bugfix: the config files in useeconfig will cover user's config
Bugfix: functest only keeps the last test case's log
Bugfix: pre_condition cmds is just executed once
For more information, refer to https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool

JIRA: DOVETAIL-497

Change-Id: I74626bbf65ce0121cc7b53394c85694e15df8484
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Add a patch to set ha SLA to be 30 seconds"
Leo wang [Fri, 8 Sep 2017 01:40:16 +0000 (01:40 +0000)]
Merge "Add a patch to set ha SLA to be 30 seconds"

7 years agoModify logs 85/41285/1
xudan [Thu, 7 Sep 2017 08:49:50 +0000 (04:49 -0400)]
Modify logs

JIRA: DOVETAIL-498

Change-Id: Ie98fc89cc840b557aa4186c6c2bee2d610432af0
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Add test area 'forwarding packets through virtual networks in data path'"
hongbo tian [Thu, 7 Sep 2017 04:06:14 +0000 (04:06 +0000)]
Merge "Add test area 'forwarding packets through virtual networks in data path'"

7 years agoAdd a patch to set ha SLA to be 30 seconds 51/41251/2
xudan [Thu, 7 Sep 2017 01:49:26 +0000 (21:49 -0400)]
Add a patch to set ha SLA to be 30 seconds

1. According to ha test specification doc, the SLA of process recover time
   is 30 seconds.
2. However, the SLA in Yardstick test cases are all 20 seconds.
3. Add a patch to change the SLA in yardstick test cases.

JIRA: DOVETAIL-496

Change-Id: Ib8f229fdfbb3289bf70d6ee900132b3db3a21b17
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Test case specification for VIM Network"
hongbo tian [Thu, 7 Sep 2017 01:47:32 +0000 (01:47 +0000)]
Merge "Test case specification for VIM Network"

7 years agoDoc: update user guide due to add new test cases and features 69/40369/5
xudan [Mon, 28 Aug 2017 09:30:39 +0000 (05:30 -0400)]
Doc: update user guide due to add new test cases and features

There has been added some new test cases and features, so user guide should be
updated according to the latest dovetail version.
- Add introduction about https (with cacert and without cacert)
- Add introduction about adding hosts' info
- Add introduction about downloading cirros images
- Add introduction about special configurations for running defcore and
  tempest test cases
- Add introduction about how to check defcore and tempest failed test cases

JIRA: DOVETAIL-493

Change-Id: I13aca4ee433056bd21590743a412d5d95f45fec4
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Remake aarch64 patch for Dovetail container"
Leo wang [Wed, 6 Sep 2017 07:49:46 +0000 (07:49 +0000)]
Merge "Remake aarch64 patch for Dovetail container"

7 years agoAdd test area 'forwarding packets through virtual networks in data path' 23/39223/7
xudan [Mon, 14 Aug 2017 03:59:09 +0000 (23:59 -0400)]
Add test area 'forwarding packets through virtual networks in data path'

JIRA: DOVETAIL-473

According to Dovetail addendum doc, add one test area about basic cloud
capability 'forwarding packets through virtual networks in data path'.

Add the test specification about this test area.

Change-Id: I26416ecca6b89a94cf48ba0f55308df0fa6e1677
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdd test area 'simple virtual machine resource scheduling on multiple nodes' 29/39229/5
xudan [Mon, 14 Aug 2017 05:12:00 +0000 (01:12 -0400)]
Add test area 'simple virtual machine resource scheduling on multiple nodes'

JIRA: DOVETAIL-473

According to Dovetail addendum doc, add one test area about basic cloud
capability 'simple virtual machine resource scheduling on multiple nodes'.

Add the test specification about this test area.

Change-Id: I7a5ff426442424dbc364a68296facb0bac6401ca
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Add test area 'correct behavior after common virtual machine life cycles events'"
hongbo tian [Wed, 6 Sep 2017 02:35:09 +0000 (02:35 +0000)]
Merge "Add test area 'correct behavior after common virtual machine life cycles events'"

7 years agoMerge "Test case specification for VIM Image"
hongbo tian [Wed, 6 Sep 2017 01:55:00 +0000 (01:55 +0000)]
Merge "Test case specification for VIM Image"