dovetail.git
7 years agoAdding Neutron trunk port tests to proposed_tests suite 93/57093/5
Georg Kunz [Sat, 5 May 2018 20:20:53 +0000 (20:20 +0000)]
Adding Neutron trunk port tests to proposed_tests suite

Adding the Neutron trunk port tempest tests to Dovetail and the
proposed_tests test suite.

JIRA: DOVETAIL-648

Change-Id: Ia77980a245fd1bca6e5f0e567467432e12bf974e
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoFix the versions of openstack python client in Dovetail container 09/57309/2
xudan [Fri, 11 May 2018 07:45:40 +0000 (03:45 -0400)]
Fix the versions of openstack python client in Dovetail container

1. Now the openstack python clients installed are always the latest.
2. Fix them to certain versions according to the openstack requirements.
3. The first version openstack requirements provided is newton.
https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/newton

JIRA: DOVETAIL-615

Change-Id: I107f8d3a4dbd95af3441c0ba410de37ba8128be3
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoFixing SDNVPN tempest API tests 63/57263/3
Georg Kunz [Wed, 9 May 2018 08:27:51 +0000 (10:27 +0200)]
Fixing SDNVPN tempest API tests

The code to run Tempest tests has changed in SDNVPN between Euphrates
and Fraser, causing these tests to fail. Moreover, due to a bug in
SDNVPN, not all bgpvpn API tests are currently being run. This is being
addressed by https://gerrit.opnfv.org/gerrit/#/c/57299/ and needs to be
cherrypicked to Fraser 6.1 for inclusion in OVP 2.0.

Change-Id: I0a7575e8a9ebc23af5edaa26c1a9ce1e8149919c
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoImprove the CLI of Dovetail tool 45/57145/3
xudan [Tue, 8 May 2018 06:52:34 +0000 (02:52 -0400)]
Improve the CLI of Dovetail tool

The CLI of dovetail tool needs some improvement.
1. Add an option '--testcase' to support specify test case.
2. Add an option '--no-clean' to keep functest/yardstick/bottlenecks containers
   for debugging after running the test cases.
3. Improve the local report section.
    a. Remove some info that is not necessary
    b. Make the info more clearly

JIRA: DOVETAIL-588

Change-Id: Ic769a6e2788b407c3df08ccd593a0ecdaa35e5ea
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdding a tox environment for locally building docs 93/56993/2
Georg Kunz [Wed, 2 May 2018 21:54:35 +0000 (23:54 +0200)]
Adding a tox environment for locally building docs

Run tox -edocs to locally build the Dovetail docs. This is quite
useful because the default OPNFV docs preview build toolchain is
broken for Dovetail.

Change-Id: I0a55a701b96437a20aa09edc47bc3e49e32c0b87
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoDecoupling Bottlenecks Docker config items from source code 59/56459/7
xudan [Wed, 25 Apr 2018 07:35:02 +0000 (03:35 -0400)]
Decoupling Bottlenecks Docker config items from source code

There are some special Docker setting items when creating
Bottlenecks Docker Cntainers.
Move the special settings to config files.
Disable the function to push results to DB.

JIRA: DOVETAIL-645

Change-Id: Icc033222edf74c0fe4853dede2794f4226fd4252
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoRemove local DB 51/57051/1
xudan [Fri, 4 May 2018 09:48:28 +0000 (05:48 -0400)]
Remove local DB

Remove local DB and can just report without launch local DB.

Need to do a little modification with the web portal code.

JIRA: DOVETAIL-593

Change-Id: I595db39cce4156596ee0522d4b7e642a23d78ab9
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoIntegrating Functest Patrole test case 39/56939/1
Georg Kunz [Tue, 1 May 2018 22:08:15 +0000 (22:08 +0000)]
Integrating Functest Patrole test case

Adding the new Patrole test case of Functest to Dovetail and to the
proposed_tests test suite.

JIRA: DOVETAIL-649

Change-Id: I2c3f583cdbd3af75cec020b0fe97f287d23498a5
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoExtend web portal to show if API exemption was used during a test run 23/56623/1
chenjiankun [Thu, 26 Apr 2018 07:34:43 +0000 (07:34 +0000)]
Extend web portal to show if API exemption was used during a test run

JIRA: DOVETAIL-634

The OVP web port needs to read from the test results if the strict API
response validation exemption was used or not and show it
correspondingly.

Detailed description:

    As discussed on the Dovetail call on 2018-04-11, the web portal should
show if API response validation was enabled or disabled. The information
if API response validation was enabled or disabled is to be determined
based on the dovetail.log file. If API response validation was
disabled,** the log file contains the line "Strict API response
validation DISABLED.". Upon uploading a result tar-package, the web
portal should extract this information from the log file, store it in
the database, and display it as follows:

    This indication shall be displayed along with the test summary on the
Test Run Results page as either:

    "API response validation enabled"   or
    "API response validation disabled"

    For clarification: API response validation is enabled by default. API
response validation is disabled only if  the --no-api-validation command
line option is given.

Change-Id: Ifacb1eb2127cc8dc6364c98dead1217aeedfd359
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoThe refstack file name has been changed 49/56449/1
xudan [Wed, 25 Apr 2018 02:12:38 +0000 (22:12 -0400)]
The refstack file name has been changed

The original refstack results file is refstack/refstack.log
For Fraser, it has been changed into refstack/tempest.log

Change-Id: I7d40abe0c5a366b5fbb1912ec58d15109f22c0d0
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoSwitch to OPNFV Fraser release 73/55873/3
xudan [Tue, 17 Apr 2018 08:05:29 +0000 (04:05 -0400)]
Switch to OPNFV Fraser release

1. Use Functest Fraser docker images whose tag is fraser
2. Use Yardstick stable docker images
3. Functest fraser has moved testcases.yaml file from functest/ci to xtesting/ci
4. Functest fraser has removed 'functest env prepare' command
5. Functest uses rally to execute osinterop test cases
   instead of refstack_client

Change-Id: I81ebefe6ea959ca77c2c87f1d75ef56ac18c165f
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoImplementation of API validaton exemption in dovetail 49/54949/3
Georg Kunz [Sun, 1 Apr 2018 09:35:09 +0000 (11:35 +0200)]
Implementation of API validaton exemption in dovetail

This patch adds the ability to Dovetail to disable strict API
response validation in Tempest-based test cases run by Functest.

Corresponding updates of the web portal and backporting of this patch to
OVP 1.0.0 (Danube) will follow.

JIRA: DOVETAIL-633

Change-Id: Iace99ea1b6224ea907a2c3af8676e9285e6ad3ee
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoAdd functest healthcheck test suite 79/55279/3
Eddie Arrage [Mon, 9 Apr 2018 22:15:50 +0000 (15:15 -0700)]
Add functest healthcheck test suite

- Add Functest healthcheck tier to Dovetail as new test suite
- Intention is that these test cases are not part of mandatory
test cases in compliance program
- Use for debug and SUT pre-flight check
- May consider running tc001 (connection_check) at other
test execution stages to determine if SUT is still functioning, as
this test takes < 10 sec (more important as test complexity increases
such as in vnf test tier)
- Replacement for patch:

https://gerrit.opnfv.org/gerrit/#/c/52461/

- Removed CI filters, as suggested

Change-Id: I2e72931b27e43359d6250f6959a17af8526c5094
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoDecoupling Yardstick Docker config items from source code 65/55165/2
xudan [Sun, 8 Apr 2018 03:42:50 +0000 (23:42 -0400)]
Decoupling Yardstick Docker config items from source code

There are some special Docker setting items when creating
Yardstick Docker Containers.
1. Remove the extra settings which are required by Yardstick Danube.
2. Remove the settings for pushing results to DB because Dovetail
   plan to disable this function.
3. Move the other special Functest settings to config files.

JIRA: DOVETAIL-640

Change-Id: Ic2d90393e227d7886b14d805eaa307b7aef56e4a
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoSupport to specify docker image for each test case 69/54369/8
xudan [Fri, 23 Mar 2018 04:03:58 +0000 (00:03 -0400)]
Support to specify docker image for each test case

1. Currently each type of test cases will use one docker image.
2. For example,
   Functest test cases use opnfv/functest-restapi:euphrates
   Yardstick uses opnfv/yardstick:opnfv-5.1.0
3. It needs to support to specify the docker image for each test case.
4. For example,
   vping test cases use opnfv/functest-smoke:euphrates
   sdnvpn uses opnfv/functest-features:euphrates
5. The benefit of this is that these docker images are well verified
   by Functest CI and from Functest plan, they may not support
   functest-restapi docker image in its future release.

JIRA: DOVETAIL-638

Change-Id: I8a30eea2233aeff809af2e241b6c939194397832
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoRemoving outdated patch for Yardstick HA tests 33/54733/2
Georg Kunz [Mon, 2 Apr 2018 18:45:17 +0000 (20:45 +0200)]
Removing outdated patch for Yardstick HA tests

This patch was needed to modify the timeout values of the HA test cases
in Yardstick for the Danube release. In Euphrates, the timeout values
have been fixed upstream, so the patch is not needed anymore. The code
for applying the patch was already removed in
https://gerrit.opnfv.org/gerrit/#/c/51997/

Change-Id: I67cceb57c063378d77f6cbc720bc6464d2be4aed
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoFixed typos in the license header 91/55091/1
rpaik [Fri, 6 Apr 2018 19:51:52 +0000 (12:51 -0700)]
Fixed typos in the license header

Change-Id: Ib2aae63dd7576a8458f068250e9b6dda8678a1fd
Signed-off-by: rpaik <rpaik@linuxfoundation.org>
7 years agoDecoupling Functest Docker config items from source code 07/54507/3
xudan [Tue, 27 Mar 2018 07:12:57 +0000 (03:12 -0400)]
Decoupling Functest Docker config items from source code

There are some special Docker setting item when creating Functest Containers.
1. Remove the extra settings which are required by Functest Danube.
2. Remove the settings for pushing results to DB because
   Dovetail plans to disable this function.
3. Move the other special Functest settings to config files.

JIRA: DOVETAIL-639

Change-Id: Ibc4090b5c0aafdf9ed64e65a9a92e34a12a16df5
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoIntegrate dovetail with ONAP 51/54551/3
Moshe [Sun, 4 Mar 2018 13:42:23 +0000 (15:42 +0200)]
Integrate dovetail with ONAP

Change-Id: I6a1fa5f27df2f5127eb00156b3135dc79caf5e77
Issue-ID: DOVETAIL-629
Signed-off-by: Moshe <moshehoa@amdocs.com>
7 years agoExemption process for disabling strict API validation 43/52543/4
Georg Kunz [Sun, 11 Feb 2018 22:15:58 +0000 (23:15 +0100)]
Exemption process for disabling strict API validation

This document describes an exemption process for disabling strict API
response validation.

JIRA: DOVETAIL-617

Change-Id: I690efdcae7dd15a6c0781a837a62677904836fca
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoDisable restricts of sdnvpn test cases 57/53757/2
xudan [Wed, 14 Mar 2018 07:58:07 +0000 (03:58 -0400)]
Disable restricts of sdnvpn test cases

1. The original testcases.yaml file of Functest restricts sdnvpn test cases
   to run on Fuel, Apex or Netvirt on bgpvpn scenario.
https://github.com/opnfv/functest/blob/master/functest/ci/testcases.yaml#L278
2. Dovetail has a testcases.yaml file to allow sdnvpn test cases run on
   any commercial SUTs.
https://github.com/opnfv/dovetail/blob/master/etc/userconfig/testcases.yaml#L113

Change-Id: I0d5ed5b22e55dc3dc0fe584dc57b28239334b7de
Signed-off-by: xudan <xudan16@huawei.com>
7 years agosubstitute image copy with docker volume 95/53395/4
SerenaFeng [Fri, 9 Mar 2018 10:46:27 +0000 (18:46 +0800)]
substitute image copy with docker volume

Change-Id: Ie470d03bd168c909fd02c316523049c67a6bb095
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoBugfix: Failed to get the hardware info 41/53741/2
xudan [Wed, 14 Mar 2018 03:11:49 +0000 (23:11 -0400)]
Bugfix: Failed to get the hardware info

The directory of userconfig has changed from
/home/opnfv/dovetail/dovetail/userconfig to /etc/dovetail/userconfig.

Change-Id: Id3e8b1f3e9299e9263a4adf3456b6733fdb62e11
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdd process info to pod.yaml to specify the info of a special process 77/53377/3
xudan [Fri, 9 Mar 2018 08:27:14 +0000 (03:27 -0500)]
Add process info to pod.yaml to specify the info of a special process

1. Many HA test cases try to kill special processes with their name.
2. Then they check corresponding openstack services and
   the status of processes' recovery.
3. For different SUTs, the names of the processes and the hosts' names
   may be different.
4. So there is a requirement for Dovetail tool to provide one way to
   allow users to specify all the infos about process name and its host name.
5. All process infos can be added into file DOVETAIL_HOME/user_config/pod.yaml
6. The infos include 'attack_process' and 'attack_host' for each HA test cases.
7. If not given in this file, will use Yardtsick default values.

JIRA: DOVETAIL-627

Change-Id: I83cee991f72a8685080ed562597c70d73002623a
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoSeparate valid docker tags for functest and yardstick 67/53167/3
Georg Kunz [Tue, 6 Mar 2018 15:19:59 +0000 (16:19 +0100)]
Separate valid docker tags for functest and yardstick

Specifying separate valid docker tags for functest and yardstick for
input validation.

DOVETAIL-592

Change-Id: I3365cdbd9ab521bf1368750c3f34b6863b3f7ec8
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoBugfix: it crashes when check_tc_result returns None 75/53075/2
xudan [Mon, 5 Mar 2018 03:30:34 +0000 (22:30 -0500)]
Bugfix: it crashes when check_tc_result returns None

The function 'check_tc_result' may return 'None'.
In this case it will throw an exception because of
https://github.com/opnfv/dovetail/blob/master/dovetail/run.py#L65

The exception is like
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 339, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in _call_
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 304, in main
duration = run_test(testsuite_yaml, testarea, logger, kwargs)
File "/usr/local/lib/python2.7/dist-packages/dovetail/run.py", line 65, in run_test
if stop_on_fail['criteria'] == "FAIL" and kwargs['stop']:
TypeError: 'NoneType' object has no attribute '_getitem_'

JIRA: DOVETAIL-622

Change-Id: I9e612b380c3dfb148692074a3bf8eb31875213ac
Signed-off-by: xudan <xudan16@huawei.com>
7 years agosimplify file existence check with os.path.isfile() 81/52981/6
SerenaFeng [Fri, 2 Mar 2018 10:20:45 +0000 (18:20 +0800)]
simplify file existence check with os.path.isfile()

Change-Id: I89d15e18c588c27ab41596119d5288cba6e4e02d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoleverage data_files to eliminate so many hardcoded abs_path_seekings 29/52929/10
SerenaFeng [Thu, 1 Mar 2018 12:03:59 +0000 (20:03 +0800)]
leverage data_files to eliminate so many hardcoded abs_path_seekings

1. mv conf/ userconfig/ compliance/ patch to etc/
2. after installation etc/ will be put under /etc/dovetail
3. leveraging /etc/dovetail in coding

Change-Id: Icf9cb00ff7fc7cf35755f60d3e258b23e2c70839
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoAdding SDNVPN tempest test cases to proposed_tests suite 25/51625/8
Georg Kunz [Sat, 3 Feb 2018 22:09:21 +0000 (23:09 +0100)]
Adding SDNVPN tempest test cases to proposed_tests suite

Adding the SDNVPN Tempest API test cases of the SDNVPN project to the
proposed_tests suite to allow for running these tests in the CI pipeline for
validating their suitability for inclusion in the OVP Euphrates release.

JIRA: DOVETAIL-608

Change-Id: Ic12db1584a2540a14979094c65fc128c6020ecea
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoRemove Whitespace from CVP Docker README 55/52955/1
Trevor Bramwell [Thu, 1 Mar 2018 19:46:12 +0000 (11:46 -0800)]
Remove Whitespace from CVP Docker README

Change-Id: Ic880258ef8ffbcbdcf3452419dd385227567a5a3
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoBugfix: Dovetail tool will crash when hosts.yaml file with incorrect format 05/52705/2
xudan [Tue, 27 Feb 2018 06:54:02 +0000 (01:54 -0500)]
Bugfix: Dovetail tool will crash when hosts.yaml file with incorrect format

If the hosts.yaml file is like,

hosts_info:
192.168.141.101:

it will raise an exception,
File "/usr/local/lib/python2.7/dist-packages/dovetail/utils/dovetail_utils.py",
line 227, in add_hosts_info
names=hostnames)
File "/usr/local/lib/python2.7/dist-packages/python_hosts/hosts.py",
line 54, in _init_
raise Exception('Address and Name(s) must be specified.')
Exception: Address and Name(s) must be specified.

If the hosts.yaml file is empty, it will crash with,
File "/usr/local/lib/python2.7/dist-packages/dovetail/container.py",
line 174, in create
if hosts_yaml['hosts_info']:
TypeError: 'NoneType' object has no attribute '_getitem_'

JIRA: DOVETAIL-621

Change-Id: I547928e514b3294c048379459c07df89879fbb03
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoRemoving old INFO file 57/52757/2
Georg Kunz [Tue, 27 Feb 2018 14:12:42 +0000 (15:12 +0100)]
Removing old INFO file

The INFO file has been replaced by the INFO.yaml file.

Change-Id: I818697134cbb380a318237fdf593d7b6bf95ec04
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoRemoval of Wenjing Chu from the list of committers 49/52749/3
Georg Kunz [Tue, 27 Feb 2018 14:08:54 +0000 (15:08 +0100)]
Removal of Wenjing Chu from the list of committers

https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2018-February/020497.html

Change-Id: Ic2b536551d919e9b66f41ba00dd6dc8b71d93f7b
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoUpdate CVP Docker Compose Configuration 75/52375/3
Trevor Bramwell [Tue, 20 Feb 2018 17:58:38 +0000 (09:58 -0800)]
Update CVP Docker Compose Configuration

- Uses extra files config.env, vhost.env to hold environment variables
  for docker configuration.

- Provides samples for these config that can be copied and modified to
  fit deployment requirements.

- Updates the docker images to the newest releases.

Change-Id: Ibe9b8597edfb38940297433708497c244200d0af
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoAdapt Bottlenecks Euphrates framework 77/52577/2
xudan [Sat, 24 Feb 2018 09:35:08 +0000 (04:35 -0500)]
Adapt Bottlenecks Euphrates framework

Bottlenecks stress test needs some adaptions about Bottlenecks
Euphrates release.

JIRA: DOVETAIL-587

Change-Id: Ia447143c8f08924ac1b190ee0173f39e462c5dfa
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoRemoval of Dave Neary from the list of committers 19/52519/2
Georg Kunz [Thu, 22 Feb 2018 23:10:57 +0000 (00:10 +0100)]
Removal of Dave Neary from the list of committers

Change-Id: I06b1e53bca44f5486a64977edef8b0e53072c625
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoAdd Functest cloudify_ims test case into proposed_tests test suite 79/52079/3
xudan [Tue, 13 Feb 2018 08:18:16 +0000 (03:18 -0500)]
Add Functest cloudify_ims test case into proposed_tests test suite

Add cloudify_ims test case into proposed_tests test suite.
Then this test case can be run by Dovetail on CI.

JIRA: DOVETAIL-603

Change-Id: I5ab832002388f0916e04beef9d630de2cb37df59
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoUpdate OVP logo and branding guide link 37/52537/2
Eddie Arrage [Fri, 23 Feb 2018 04:46:00 +0000 (04:46 +0000)]
Update OVP logo and branding guide link

- Update the OPNFV Verified logo for OVP portal home page
- Update branding guide link in OVP portal left side navigation

Change-Id: I77ead3e68b34d30d55fd07f0e4a176c5ae71852e
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoCommitter promotion Dan Xu and removal of Leo Wang 15/52015/4
Georg Kunz [Sun, 11 Feb 2018 11:14:12 +0000 (12:14 +0100)]
Committer promotion Dan Xu and removal of Leo Wang

Contributions Dan Xu:
Dan Xu has been almost exclusively doing the development for the
Dovetail tool, CI integration, and the practical validation of test case
candidates.
https://gerrit.opnfv.org/gerrit/#/q/owner:%22Dan+Xu+%253Cxudan16%2540huawei.com%253E%22

Leo Wang has announced that he is stepping down as committer from the
project. Thank you for your contributions to the project.
https://lists.opnfv.org/pipermail/opnfv-tsc/2018-February/004130.html

Change-Id: I14032657b057bdd3da1f9c3514b3c27e34dbafc0
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoAdd 3 new HA test cases into proposed_tests test suite 97/51997/4
xudan [Sun, 11 Feb 2018 03:04:03 +0000 (22:04 -0500)]
Add 3 new HA test cases into proposed_tests test suite

Add 3 new HA test cases into proposed_tests test suite and running them on CI.
For the current 8 HA test cases and 3 other HA test cases plans to add,
do some adaptions for the Yardstick Euphrates release.
1. Don't need the bugfix patch anymore.
2. The data format has changed, and has done some adaptions.
3. For Yardstick Euphrates, if setting OS_INSECURE=True, it needs to set
   OS_CACERT=False
4. Test case tc011 needs a image and flavor to create the stack.

JIRA: DOVETAIL-614
JIRA: DOVETAIL-586

Change-Id: I9da8c8316246b9edee0d81ad18422ae6018becaf
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdd a function to check the cacert file 21/52021/2
xudan [Mon, 12 Feb 2018 07:17:28 +0000 (02:17 -0500)]
Add a function to check the cacert file

1. Currently it won't pass the cacert file to other containers if the
   OS_AUTH_URL is http not https.
2. However, even though the OS_AUTH_URL is http, it still needs cacert file
   somewhere for Functest and Rally.
3. This problem is found on Fuel Euphrates.
4. Add a function to check whether the cacert file exists.
5. If exists, pass it to testing project containers.

JIRA: DOVETAIL-616

Change-Id: Ied7bcc72e8f1c738bbce32c18096ca13641d3cd7
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdd Functest test case snaps_smoke into proposed_tests test suite 09/52009/2
xudan [Sun, 11 Feb 2018 09:10:16 +0000 (04:10 -0500)]
Add Functest test case snaps_smoke into proposed_tests test suite

Add snaps_smoke into proposed_tests test suite.
Then this test case can be run by Dovetail on CI.

JIRA: DOVETAIL-596

Change-Id: I8fc4bb656bcac551ae4b693dbc4d817b665c6111
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdd stop on failure logic and CLI option 77/51977/7
Eddie Arrage [Fri, 9 Feb 2018 23:52:21 +0000 (15:52 -0800)]
Add stop on failure logic and CLI option

- Improve test execution control by adding stop on failure flag
- Modify test check function to return value regardless of whether
report or local file option is employed
- Modify run test loop to check for failure after every test case
if stop flag set

Change-Id: I27a4f3aaaa8b8cb8c52eb3f092f52048980abb44
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoAuto Generated INFO.yaml file 55/51555/4
agardner [Fri, 2 Feb 2018 22:57:23 +0000 (17:57 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

If project_lead: is missing (my script could not parse)
please amend with same from commiters section eg:

project_lead: &opnfv_dovetail_ptl
    name: 'Lead Name'
    email: 'lead email'
    id: 'lead lfid'
    company: 'lead company'

Change-Id: Ie151ba96dd6b6c7d0d8e74e1462e35133a7c235f
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoAdd ablity to config EXTERNAL_NETWORK in env_config.sh 35/51935/3
Eddie Arrage [Thu, 8 Feb 2018 23:10:28 +0000 (15:10 -0800)]
Add ablity to config EXTERNAL_NETWORK in env_config.sh

- EXTERNAL_NETWORK env variable can be explicitly set
- If set, the value will be used in Yardstack configuration
- Otherwise, previous method of using output from
'openstack network list' will still be employed

Change-Id: I9d8b4a69ff3f5093c034823cc95e92e151bfade6
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoAdd default to --report CLI option 31/51731/5
Eddie Arrage [Mon, 5 Feb 2018 22:11:25 +0000 (14:11 -0800)]
Add default to --report CLI option

- Try new license header to deal with anteater failure

- Ability to specify 'default' as argument to --report, which
fetches host IP automatically and forms URL with 8000 as testapi
port
- This should not break the previous behavior of report option,
if default option not specified

Change-Id: I1e05bb52cf4fc211c59796d4e763e2e04177b406
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoAdd all tempest smoke test cases into debug test suite 89/51289/2
xudan [Mon, 29 Jan 2018 08:52:29 +0000 (03:52 -0500)]
Add all tempest smoke test cases into debug test suite

Add all tempest smoke test cases into debug test suite.
Then these test cases can be run by Dovetail on CI.
The results of CI will help to choose sub test cases from tempest smoke.

Here use tempest_custom to run all tempest smoke test cases because it can
support to run a custom defined sub test cases list.
for Functest tempest_smoke_serial, it always runs whole tempest smoke
test cases and can't be a subset.

JIRA: DOVETAIL-595

Change-Id: Id6358691d2bdef149f16775ce84dcfbf12f5e568
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoAdapt Functest E release Framework 99/50899/5
xudan [Mon, 22 Jan 2018 06:40:26 +0000 (01:40 -0500)]
Adapt Functest E release Framework

Use opnfv/functest-restapi:euphrates.
Adapt Functest E framework for all Functest test cases.
1. All path of functest and sdnvpn has been changed.
2. Sdnvpn can clean resources by itself with E release, no need to clean again.
3. Add a file testcases.yaml to overwrite the file in functest container,
   then it can support to run tempest_custom i.e. ipv6 and tempest in OVP.

JIRA: DOVETAIL-584

Change-Id: I3ba9aa8e80becaa99cc89c8db4b39acbb89dfda4
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoChange dovetail tool version to be ovp.1.0.0 21/51421/2
xudan [Thu, 1 Feb 2018 02:53:25 +0000 (21:53 -0500)]
Change dovetail tool version to be ovp.1.0.0

Change-Id: Ieb32dbda8fd16942312900cb99a27f734e57d91b
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoUpdate OVP workflow document 21/51021/6
Eddie Arrage [Wed, 24 Jan 2018 00:39:55 +0000 (16:39 -0800)]
Update OVP workflow document

- Fix typos and word changes

- Remove editor's note
- Adopt rewording suggestions

- Add back toc that was inadvertently deleted

- Modify to reflect process used during beta and current OVP web portal
usage
- Remove reference to application form and use online participation form
instead. Add new fields required in participation form

Change-Id: Ia51b7674315467e01081015b3aa780ec03652ebd
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoBugfix: Cannot change SUT version in the new uploaded test 73/51173/1
chenjiankun [Fri, 26 Jan 2018 08:22:59 +0000 (08:22 +0000)]
Bugfix: Cannot change SUT version in the new uploaded test

If we upload a new test, we can't modify the SUT version.
The reason is we must predefine the model.

Change-Id: I8822b078c25a015dd4cc4becfdaae141aed66359
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoAlign container tags and test suite configuration yaml for initial release 95/50195/3
xudan [Mon, 8 Jan 2018 04:09:51 +0000 (23:09 -0500)]
Align container tags and test suite configuration yaml for initial release

Change default container tag to be:
1. Functest ovp.1.0.0
2. testapi ovp.1.0.0

Add test suite ovp.1.0.0 and set it to be the default test suite.

Comment out bottlenecks CLI for initial release.

JIRA: DOVETAIL-580

Change-Id: I956e49e43fc7ba0176c14079b7228089db5dc108
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoFix rendering issues with release notes 91/51091/1
Eddie Arrage [Thu, 25 Jan 2018 04:40:17 +0000 (20:40 -0800)]
Fix rendering issues with release notes

- Fix test case listing and another bullet

Change-Id: I46b0cff945176f464322f06737dc5c10f977598e
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoAdd release notes for OVP 2018.01 / Dovetail 1.0.0 85/50085/5
Eddie Arrage [Fri, 5 Jan 2018 05:08:25 +0000 (21:08 -0800)]
Add release notes for OVP 2018.01 / Dovetail 1.0.0

- Second pass
- Incorporated most comments
- Added missing links for participation form, governance guidelines,
terms & conditions
- Added links for test collection framework and testscope

- Initial draft of release notes

Change-Id: Ib805513011d917e4ecd0096e51f2d63c898d7142
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoModify title and references in guidelines addendum doc 69/50969/3
Eddie Arrage [Tue, 23 Jan 2018 01:16:52 +0000 (17:16 -0800)]
Modify title and references in guidelines addendum doc

- Add 2018.01 to title to match reviewer guide, release notes, etc. as
this document may change per release
- Modify link for Governance Guidelines to reflect ratified doc on
opnfv.org domain

Change-Id: Ifdaa287b2919c44d408aa0ddd0b164b8ca4f406d
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoRemove a sub test case under dovetail.tempest.tc004 43/50643/5
Eddie Arrage [Mon, 15 Jan 2018 15:05:24 +0000 (16:05 +0100)]
Remove a sub test case under dovetail.tempest.tc004

- Fixed vping, ha, sdnvpn test case names to match test specs
- Removed aliases from VIM operations and matched test case
name changes in patch https://gerrit.opnfv.org/gerrit/#/c/47691/4
- CVP to OVP name change

- A test case was removed from tempest tc004 because of the Tempest
version from 15 to 14. A reference to it was still in this doc.

Change-Id: If2e07e15b48ae6bca5ac0e262aead784cd67cd0f
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years ago[ovp-web] Modify OVP home page left-side navigation links 95/50895/5
chenjiankun [Mon, 22 Jan 2018 03:16:01 +0000 (03:16 +0000)]
[ovp-web] Modify OVP home page left-side navigation links

JIRA: DOVETAIL-579

Under the 'Governance & Workflow' left-side navigation category:
Modify 'Overview' link href from:
https://www.opnfv.org/compliance-verification-program-cvp
to:
https://www.opnfv.org/verified
Modify link text for 'Application Form' to 'Participation Form'
Modify link href for above from:
http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/certificationworkflow/ApplicationForm.html
to:
https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=e03e78d7-c32e-47d3-8292-350b747a0105

Add another link right below the 'Governance' link named 'Terms & Conditions'. The href for this links is:
https://www.opnfv.org/wp-content/uploads/sites/12/2018/01/OVP-Terms-and-Conditions-011918.pdf

Under the 'Training Resources' left-side navigation category:
Modify link text for 'Dovetail Test Tool User Guide' to 'OVP / Dovetail User Guide'
Modify link href for above from:
http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/userguide/testing_guide.html
to:
http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/testing_guide.html

Modify 'Test Specifications' link href from:
http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/testspecification/
to:
http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/testspecification/

Modify 'Dovetail CLI' link href from:
http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/userguide/cli_reference.html
to:
http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/userguide/cli_reference.html

Modify 'OVP Guidelines Addendum' link href from:
http://docs.opnfv.org/en/latest/submodules/dovetail/docs/testing/user/cvpaddendum/index.html
to:
http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/testing/user/ovpaddendum/index.html

Under the 'Release Information' left-side navigation category:

For the '2018.01 Release Notes' link, specify the href as
http://docs.opnfv.org/en/stable-danube/submodules/dovetail/docs/release/release-notes/index.html

Change-Id: Ia4d2cc9f4c3c9874b3c328658bb4bce643aa4c6c
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoDon't allow user change SUT version to None after submitting 91/50891/4
chenjiankun [Mon, 22 Jan 2018 02:11:31 +0000 (02:11 +0000)]
Don't allow user change SUT version to None after submitting

We don't allow SUT version to be None when submitting test.
So we also not allow user to change it to Nonw after submitting.

In this patch, I also make the result table self-adaption.

Change-Id: I5c391592dcbdbd9eb8697e44d7bb5dda41431bd6
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoUpdate OVP home page text 93/50893/2
chenjiankun [Mon, 22 Jan 2018 02:54:05 +0000 (02:54 +0000)]
Update OVP home page text

JIRA: DOVETAIL-582

We received new text from OPNFV marketing for the home page of the OVP web portal. Text title and body are pasted below.

OPNFV is offering an OPNFV Verified Program (OVP) that verifies products and services with the "OPNFV Verified" mark.

The OPNFV Verified program demonstrates the readiness and availability of commercial products based on OPNFV. Verified products and services submitted by vendors and service providers become compliant by implementing explicitly defined interfaces, behaviors and key features while retaining distinct and value-added innovations across features and capabilities.
Navigate through the links in the left-hand menu to learn more and get started. You'll find step-step-instructions as well as a participation form. Use this portal to upload your test results when ready. Please send any questions to verified@opnfv.org.

Change-Id: I5f6dd67fc187d7557a0b4cce6dd7391479e66b2b
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoTransfer Danube reviewer guidelines from wiki 99/47099/6
Eddie Arrage [Sun, 12 Nov 2017 21:38:11 +0000 (13:38 -0800)]
Transfer Danube reviewer guidelines from wiki

The reviewer guidelines will be created per release, where the
CVP/Dovetail releases are aligned to OPNFV releases. The guidelines
outlined in this initial document are for the Danube release.

Updated reviewer guidelines

- Updated to account for issue where mandatory total always shows 215
in current version of web portal; removed one diagram and amended another
- First section title change and wording for test area results

- Removed white space
- Added SUT info section and diagrams
- Modified reference to cvp.opnfv.org with verified.opnfv.org
- Modified reference to cvp@opnfv.org with verified@opnfv.org
- Modified diagram filenames to reflect program name change
- Changed CVP references to OVP and Danube to 2018.01
- Remove TODO for granting marks and escalation - this info is in other docs

Change-Id: I01fc568ce6713d3c60daf339a2630e56e8dbcfcb
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoChanging CVP to OVP in the documentation 53/49553/4
Georg Kunz [Fri, 22 Dec 2017 13:48:10 +0000 (14:48 +0100)]
Changing CVP to OVP in the documentation

Due to the name change from 'CVP' to 'OVP', the documentation has to be
updated.

Change-Id: Id934e8fc07f60802f7aa6b3d295d268c4c9b71f8
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
7 years agoUpdate test user guide to improve usability 07/47007/4
Eddie Arrage [Fri, 10 Nov 2017 05:33:04 +0000 (21:33 -0800)]
Update test user guide to improve usability

- Modify hosts.yaml syntax to match patch by Serena
- Modify result file references for new timestamp patch by Georg
- Revise online/offline diagrams for OVP name change
- Add XCF GIMP source files for diagrams with layers for new elements

- New changes for cvp.0.9.0 to ovp.1.0.0
- Remove reference to bottlenecks container for now
- Modify section/heading structure
- Incorporate comments: results.json vs. result files
- Incorporate comments: online/offline install headings
- Incorporate comments: remove IP from launch_db.sh
- Incorporate comments: remove sudo for wget
- Incorporate comments: pod.yaml for SUT HW info
- Incorporate comments: test case to config file requirement
- Incorporate comments: suggested changes to env_config.sh

- Modify the sequence of the guide to reflect installation steps
- Outline all required configuration files earlier in the guide
- Highlight configuration file key entries and pitfalls
- Improve requirements for pod.yaml file for HA
- Improve online/offline install instructions
- Call out Dovetail docker run command and explain options
- Clarify when testapi and local db ports need to be changed
- Explain the dovetail run --testsuite and --testarea arguments
more clearly
- Improve --report option and default result result behavior
- Make CVP portal a separate section
- Explain CVP portal workflow to reflect current state of interface
- Update references to cvp.0.8.0 with cvp.0.9.0

Change-Id: I41857c1b07c211a95f19c99054ca414351c75c20
Signed-off-by: Eddie Arrage <eddie.arrage@huawei.com>
7 years agoBugfix: pass/not pass filter not work in results-report page 85/50185/3
chenjiankun [Mon, 8 Jan 2018 01:45:18 +0000 (01:45 +0000)]
Bugfix: pass/not pass filter not work in results-report page

For now if we click the pass/not pass filter, the user can also
see the not pass/pass data in the page.

Change-Id: I8bf696e615bedbb93714d457b3eb502a4ed1d923
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years ago[ovp-web] Add SUT version number to OVP portal 13/49713/2
chenjiankun [Thu, 28 Dec 2017 01:39:07 +0000 (01:39 +0000)]
[ovp-web] Add SUT version number to OVP portal

JIRA: DOVETAIL-572

We currently have a label column in the OVP test result view. This
allows users to attach a custom label field to their results. It is at
the users discretion to fill out this field.
We need a separate SUT version column to track the product version
number being submitted for official review. The field can be left blank
when users upload and share results in a private manner. However, the
OVP portal must check that this new 'SUT version' field is populated
before results are officially submitted for review. An error message
prompting the user to fill out this field if it is blank must be
implemented when users submit results for review.

Change-Id: I1ca915423a56e8173a3a13f1b84b066cf91d9291
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years ago[Bugfix] Local summary with wrong results when Tempest failed at the SetupClass 81/48781/5
xudan [Wed, 13 Dec 2017 07:00:34 +0000 (02:00 -0500)]
[Bugfix] Local summary with wrong results when Tempest failed at the SetupClass

When Tempest test cases failed at the SetupClass, the record is the class name
of the test cases rather than the name of the test cases.
The local summary will say they are passed wrongly.

JIRA: DOVETAIL-575

Change-Id: Iec879378770017eddd37e9a99346d980355bb6e2
Signed-off-by: xudan <xudan16@huawei.com>
7 years ago[bugfix] easy_install: not found 71/49571/1
xudan [Sat, 23 Dec 2017 08:15:02 +0000 (03:15 -0500)]
[bugfix] easy_install: not found

Remove easy_install because it will be installed later.

Change-Id: I29f425e0a5784b581a5b65ea5c8f8db66fc9dc8e
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoFix aarch64 patch for Dovetail container 33/49433/2
xudan [Thu, 21 Dec 2017 03:36:30 +0000 (22:36 -0500)]
Fix aarch64 patch for Dovetail container

Change-Id: I3746136e9002a14eea81c38ea54cbbad7fa68da1
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoChange a to an 89/49189/1
xudan [Mon, 18 Dec 2017 09:53:10 +0000 (04:53 -0500)]
Change a to an

Change-Id: Id2b9c2a6718047dace2a84ffa68efa387cb22500
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoBugfix: SSLError when login with linux fundation account 81/49181/3
grakiss [Mon, 18 Dec 2017 08:09:52 +0000 (08:09 +0000)]
Bugfix: SSLError when login with linux fundation account

It is a quick fix.

Change-Id: I72aabd5dd682074546259582cc91ba055d1decbe
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
7 years agoAdd License for the python scripts in folder offline 75/49175/1
xudan [Mon, 18 Dec 2017 06:31:52 +0000 (01:31 -0500)]
Add License for the python scripts in folder offline

Change-Id: I9c585f132c10ef726cd859e4abe3c9a874cbe0bc
Signed-off-by: xudan <xudan16@huawei.com>
7 years ago[ovp-web] Use new program logo/text for OVP portal home page 21/49021/2
grakiss [Fri, 15 Dec 2017 02:18:54 +0000 (02:18 +0000)]
[ovp-web] Use new program logo/text for OVP portal home page

JIRA: DOVETAIL-570

OPNFV marketing has provided new logos for OVP that will be incorporated
on the portal home page and attached to this issue. The 'Infrastructure'
logo must by used. The other two logos (Application, Lab) currently on
the development site must be removed for now.

Position the new logo in the upper-left side and position the blurb
language to the right of it. The new blurb language to swap in (all
uniform, non-bold font) is provided below:

    The OPNFV Verified program (OVP) demonstrates the readiness and
    availability of commercial products based on OPNFV. Verified products
    and services submitted by vendors and service providers become compliant
    by implementing explicitly defined interfaces, behaviors and key
    features while retaining distinct and value-added innovations across
    features and capabilities. The OPNFV Verified program grants products
    and services with the "OPNFV Verified" mark. Get started with your OVP
    application today.

Change-Id: Iaf4172fe61ea46133c474207f77ba24b841211e4
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
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>