functest.git
8 years agoMerge "Repoint security_scanning to its own repository"
Morgan Richomme [Tue, 16 Aug 2016 12:06:45 +0000 (12:06 +0000)]
Merge "Repoint security_scanning to its own repository"

8 years agoRepoint security_scanning to its own repository 27/18727/2
Luke Hinds [Tue, 16 Aug 2016 09:46:41 +0000 (10:46 +0100)]
Repoint security_scanning to its own repository

JIRA: FUNCTEST-415

Change-Id: I5ac2bd9b417ae045f4a1c0fa3f4fd2e7c545dbf3
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
8 years agoAdd onos blacklist for tempest 29/18729/1
CNlucius [Tue, 16 Aug 2016 10:06:56 +0000 (18:06 +0800)]
Add onos blacklist for tempest

Change-Id: If722e0d3376b8d04766b1eb871caadc5bc6e7c18
Signed-off-by: CNlucius <lukai1@huawei.com>
8 years agoFix joid test bug that creation of vm fails 25/18725/2
wuwb1989 [Tue, 16 Aug 2016 09:40:29 +0000 (17:40 +0800)]
Fix joid test bug that creation of vm fails

Change-Id: I54d56cb2266ae627e4518f06b14705b672e6f74e
Signed-off-by: wuwb1989 <wuwenbin2@huawei.com>
8 years ago[multisite]push result to db 21/18721/4
meimei [Tue, 16 Aug 2016 08:51:49 +0000 (16:51 +0800)]
[multisite]push result to db

Change-Id: Idda3a3a5c8fb20f6894675eb087417e150f8646d
Signed-off-by: meimei <meimei@huawei.com>
8 years agoCall moon python script to run the moon tests 19/18719/1
Morgan Richomme [Tue, 16 Aug 2016 07:14:38 +0000 (09:14 +0200)]
Call moon python script to run the moon tests

JIRA: FUNCTEST-210

Change-Id: Ic0a5f5620f9ceb42cb443b2509a2376e48d0cc42
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "copper push to DB fix"
Morgan Richomme [Mon, 15 Aug 2016 21:25:49 +0000 (21:25 +0000)]
Merge "copper push to DB fix"

8 years agoMerge "Update cli output text"
Morgan Richomme [Mon, 15 Aug 2016 21:22:55 +0000 (21:22 +0000)]
Merge "Update cli output text"

8 years agoMerge "add parser to feature tier to make it run daily"
Morgan Richomme [Mon, 15 Aug 2016 21:21:48 +0000 (21:21 +0000)]
Merge "add parser to feature tier to make it run daily"

8 years agoUpdate cli output text 59/18659/1
Juha Kosonen [Mon, 15 Aug 2016 17:38:45 +0000 (17:38 +0000)]
Update cli output text

Show correct command for creating snapshot in output when snapshot is
required but not yet created.

Change-Id: I3418406ca3370968248749ec1fdb30196b7d3a00
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
8 years agoadd parser to feature tier to make it run daily 25/18625/1
SerenaFeng [Sun, 14 Aug 2016 03:33:16 +0000 (11:33 +0800)]
add parser to feature tier to make it run daily

For now parser belongs to vnf tier, but this tier
is defined to run weekly, which is not parser wanted,
so I move it to feature tier to make it run daily.

JIRA: FUNCTEST-413

Change-Id: I5b1fe3e7b140d26fe2e71f0a625e0ffad7937a13
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoProvides connection check for package download. 65/18565/4
Luke Hinds [Fri, 12 Aug 2016 14:14:47 +0000 (15:14 +0100)]
Provides connection check for package download.

JIRA: FUNCTEST-388

Performs simple connection test, using socket from std python
library. If no connection can be made, socket will timeout and
gracefully move to trying the next compute / control node.

Change-Id: I0048d74d607c8824688c73791c9646f9e9186756
Signed-off-by: Luke Hinds <lukehinds@gmail.com>
8 years agocopper push to DB fix 49/18549/1
Morgan Richomme [Fri, 12 Aug 2016 13:00:05 +0000 (15:00 +0200)]
copper push to DB fix

JIRA: FUNCTEST-67

Change-Id: I03620f7f41f78da0ab004d55f72da88e9a30a1ea
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFixing a typo 37/18537/2
Dimitri Mazmanov [Fri, 12 Aug 2016 11:35:12 +0000 (13:35 +0200)]
Fixing a typo

Multisite jobs kept failing because of a typo.

Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Change-Id: I6e484e6457c7b8bae7c0343e9307bd15222e4fe3

8 years agoMerge "Bug fix to eliminate undeterministic behaviour"
valentin boucher [Fri, 12 Aug 2016 09:04:54 +0000 (09:04 +0000)]
Merge "Bug fix to eliminate undeterministic behaviour"

8 years agoMerge "Improve LXD scenario support"
Morgan Richomme [Fri, 12 Aug 2016 08:45:23 +0000 (08:45 +0000)]
Merge "Improve LXD scenario support"

8 years agoImprove LXD scenario support 19/18519/1
boucherv [Fri, 12 Aug 2016 08:38:16 +0000 (10:38 +0200)]
Improve LXD scenario support

JIRA: FUNCTEST-268

Change-Id: I8c8a3eff4a7e94b963c0307010a60723dc13a537
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "Tacker post script link changed"
Morgan Richomme [Fri, 12 Aug 2016 08:32:39 +0000 (08:32 +0000)]
Merge "Tacker post script link changed"

8 years agoTacker post script link changed 45/18345/3
Manuel Buil [Wed, 10 Aug 2016 15:35:44 +0000 (17:35 +0200)]
Tacker post script link changed

The tacker post script was modified in the fuel plug-in and thus the link
must be changed

Change-Id: I541eb43baf70171cb7c7ceb3fae284309a1a458b
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years ago[bugfix] should create result folder for multisite 13/18513/1
meimei [Fri, 12 Aug 2016 07:50:19 +0000 (15:50 +0800)]
[bugfix] should create result folder for multisite

Change-Id: I004225131de57f1597edc62558a3a3e42f31b504
Signed-off-by: meimei <meimei@huawei.com>
8 years ago[bugfix] pass the wrong argument to rally 93/18493/1
meimei [Fri, 12 Aug 2016 03:46:53 +0000 (11:46 +0800)]
[bugfix] pass the wrong argument to rally

Change-Id: I23ff06b53e45e9aa226f430e7d2fb75025281b9e
Signed-off-by: meimei <meimei@huawei.com>
8 years agoAdd conf directory to Dockerfile 61/18461/1
Michael Chapman [Thu, 11 Aug 2016 16:02:51 +0000 (02:02 +1000)]
Add conf directory to Dockerfile

Currently mounting the credentials file cannot be done at launch
time since the parent folder doesn't exist. This is usually not
noticed because prepare env will get the credentials file
via ssh, but the docker mount will silently fail.

Change-Id: I2e33c3c218a01ac6e1e5bf09609083dec3647b95
Signed-off-by: Michael Chapman <woppin@gmail.com>
8 years agoBug fix to eliminate undeterministic behaviour 41/18441/1
Manuel Buil [Thu, 11 Aug 2016 14:39:08 +0000 (16:39 +0200)]
Bug fix to eliminate undeterministic behaviour

When changing the classifier, ODL needs some seconds to update
the switches and sometimes they are not changed when the script
executes the second part of the test ==> test fails

Change-Id: I1fa3306eb7b283d708dbd736d2365456559db9b9
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoMerge "Create config_functest patch to update the conf with scenario"
boucherv [Thu, 11 Aug 2016 09:06:09 +0000 (09:06 +0000)]
Merge "Create config_functest patch to update the conf with scenario"

8 years agoadd report flag to parser 07/18407/1
SerenaFeng [Thu, 11 Aug 2016 08:58:35 +0000 (16:58 +0800)]
add report flag to parser

parser has no report flag, every time we run the test the results will be reported to db

JIRA: FUNCTEST-410

Change-Id: I6336b4c367fd8edc70e076b81d01d9356580bc22
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "[multisite] refactor the scripts of multiste"
meimei [Thu, 11 Aug 2016 08:47:22 +0000 (08:47 +0000)]
Merge "[multisite] refactor the scripts of multiste"

8 years agoMerge "update pip version of functest docker image"
valentin boucher [Thu, 11 Aug 2016 08:25:16 +0000 (08:25 +0000)]
Merge "update pip version of functest docker image"

8 years agoMerge "Bug fix in functest ODL-SFC"
valentin boucher [Thu, 11 Aug 2016 08:24:29 +0000 (08:24 +0000)]
Merge "Bug fix in functest ODL-SFC"

8 years ago[multisite] refactor the scripts of multiste 87/17687/8
meimei [Thu, 28 Jul 2016 08:39:19 +0000 (16:39 +0800)]
[multisite] refactor the scripts of multiste

Change-Id: I07f0f5e253b04c9ac70e6dc4ea210e7cecf22c6a
Signed-off-by: meimei <meimei@huawei.com>
8 years agochange parser path from RNC to vRNC 81/18381/1
SerenaFeng [Thu, 11 Aug 2016 05:46:40 +0000 (13:46 +0800)]
change parser path from RNC to vRNC

JIRA: FUNCTEST-409

Change-Id: I83887160a328c6f022efaa1547ca214571a9a01c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoupdate pip version of functest docker image 69/18369/1
SerenaFeng [Thu, 11 Aug 2016 02:30:30 +0000 (10:30 +0800)]
update pip version of functest docker image

JIRA: FUNCTEST-408

Change-Id: Ie14bbd0e2fa6f76957217d27cb8b0c76d4d28a03
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoCreate config_functest patch to update the conf with scenario 49/18349/2
boucherv [Wed, 10 Aug 2016 16:59:41 +0000 (18:59 +0200)]
Create config_functest patch to update the conf with scenario

Adding support of LXD scenario

JIRA: FUNCTEST-268

Change-Id: I5891ff9de674d99d32d8db747be501ee8a2e6609
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "parser integration bugfix"
Morgan Richomme [Wed, 10 Aug 2016 14:07:57 +0000 (14:07 +0000)]
Merge "parser integration bugfix"

8 years agoAdd SKIP status if Domino Test Case is skipped 55/18255/2
Ulas Kozat [Tue, 9 Aug 2016 17:24:06 +0000 (10:24 -0700)]
Add SKIP status if Domino Test Case is skipped

Change-Id: I099010496dadabc18952de88fd6b3740592fc583
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
8 years agoparser integration bugfix 03/18303/1
SerenaFeng [Wed, 10 Aug 2016 08:03:04 +0000 (16:03 +0800)]
parser integration bugfix

JIRA: FUNCTEST-407

Change-Id: I9f202cb09935d9b77c5a977234bec6b505e296fd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoBug fix in functest ODL-SFC 15/18215/3
Manuel Buil [Tue, 9 Aug 2016 12:05:47 +0000 (14:05 +0200)]
Bug fix in functest ODL-SFC

Change-Id: I496ade3ea5888967e933231f515a340369bffe8f
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoMerge "Use Kingbird Bind host URL for Tempest"
mei mei [Tue, 9 Aug 2016 01:34:26 +0000 (01:34 +0000)]
Merge "Use Kingbird Bind host URL for Tempest"

8 years agoUpdate test with the new SF and new tacker script 55/18155/3
Manuel Buil [Mon, 8 Aug 2016 15:11:11 +0000 (17:11 +0200)]
Update test with the new SF and new tacker script

- A new SF image was created with a new name. Several files must be updated
- There is a new tacker branch for OPNFV Colorado, an update was made

Change-Id: Ib5ed364467baca32fa204155655318cb1ec189f5
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoUse Kingbird Bind host URL for Tempest 57/18157/1
Ashish Singh [Mon, 8 Aug 2016 15:41:18 +0000 (21:11 +0530)]
Use Kingbird Bind host URL for Tempest

Earlier, there was external URL for accessing KB services
in tempest.conf which is not accessible from functest docker.

Use bind host URL for KB service to access from the docker.

Change-Id: I147ffc2cd9883a6913080f9e1ab245807e0ca707
Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>
8 years agoMerge "Enable Copper functest under JOID"
Morgan Richomme [Mon, 8 Aug 2016 15:11:16 +0000 (15:11 +0000)]
Merge "Enable Copper functest under JOID"

8 years agoMerge "Bug fixes odl-sfc + new features"
valentin boucher [Sun, 7 Aug 2016 11:03:01 +0000 (11:03 +0000)]
Merge "Bug fixes odl-sfc + new features"

8 years agoBug fixes odl-sfc + new features 71/17971/7
Manuel Buil [Wed, 3 Aug 2016 15:59:07 +0000 (17:59 +0200)]
Bug fixes odl-sfc + new features

* Doing the test with private IPs as floating are currently not working in ODL
* New SF takes more time to start the service. A while loop is added.
* Configuration of the compute set-up due to ODL limitations added

Change-Id: I5449af940caee456262dac66bc47b66fd05c2a70
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoReduced timeout for SSH connection attempt in tempest.conf 67/18067/2
vitikkan [Fri, 5 Aug 2016 04:18:18 +0000 (07:18 +0300)]
Reduced timeout for SSH connection attempt in tempest.conf

Some tempest test cases try to establish SSH connection to
Cirros VMs using default 300s timeout. Since Cirros VMs send
only three DHCP requests with 1 minute interval, future SSH
connection attempts will most probably fail if DHCP response
will not be received right after third request. For that reason
the optimal timeout is slightly above 2 minutes.

JIRA: FUNCTEST-378

Change-Id: I57415ad37a85cd84887d3cac4f7a44f7e145d820
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agoMerge "Re-generating tempest.conf file before starting tests"
valentin boucher [Thu, 4 Aug 2016 08:22:56 +0000 (08:22 +0000)]
Merge "Re-generating tempest.conf file before starting tests"

8 years agoMerge "unify test result check for feature project and apply to parser"
valentin boucher [Thu, 4 Aug 2016 08:21:59 +0000 (08:21 +0000)]
Merge "unify test result check for feature project and apply to parser"

8 years agoMerge "support "" equals to None check in Testcase.is_compatible"
valentin boucher [Thu, 4 Aug 2016 08:20:52 +0000 (08:20 +0000)]
Merge "support "" equals to None check in Testcase.is_compatible"

8 years agoRe-generating tempest.conf file before starting tests 25/18025/1
vitikkan [Thu, 4 Aug 2016 08:04:38 +0000 (11:04 +0300)]
Re-generating tempest.conf file before starting tests

"rally verify genconfig" command doesn't generate tempest.conf
file if it already exists in the used deployment. This can cause
troubles if some resources (images, flavors etc.) change between
consecutive runs of tempest. The change ensures that tempest.conf
is deleted before executing "rally verify genconfig".

JIRA: FUNCTEST-403

Change-Id: Icf5e380da3cb8757f4177b49028937355e2cf1d7
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agounify test result check for feature project and apply to parser 07/18007/2
SerenaFeng [Thu, 4 Aug 2016 03:25:15 +0000 (11:25 +0800)]
unify test result check for feature project and apply to parser

add check_test_result() method to unify test result process

JIRA: FUNCTEST-405

Change-Id: Iee4d2876cbbf372f8c3e3bf94448036669bc7f7e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agosupport "" equals to None check in Testcase.is_compatible 03/18003/1
SerenaFeng [Thu, 4 Aug 2016 03:07:05 +0000 (11:07 +0800)]
support "" equals to None check in Testcase.is_compatible

when check ci_installer/ci_scenario is None, we also check if ci_installer/ci_scenario is ""

JIRA: FUNCTEST-404

Change-Id: Ib8b7b9a98f6eb064d2b3648e5d1334990c69cb2f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoSet lnfo logging level for Doctor tests 75/17975/3
Carlos Goncalves [Wed, 3 Aug 2016 18:22:32 +0000 (20:22 +0200)]
Set lnfo logging level for Doctor tests

JIRA: DOCTOR-63

Change-Id: Iaa8fb5989f69a8853c0e3e03ce87d58fb2d4309b
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
8 years agoEnable Copper functest under JOID 73/17973/1
blsaws [Wed, 3 Aug 2016 17:00:13 +0000 (10:00 -0700)]
Enable Copper functest under JOID

JIRA: COPPER-4

Change-Id: Ief49cea34ed15ba9c877bf4acd512f4d77cb5016
Signed-off-by: blsaws <bryan.sullivan@att.com>
8 years agoMerge "Shorter test case names are accepted for tempest blacklist file"
vitikkan [Wed, 3 Aug 2016 11:37:55 +0000 (11:37 +0000)]
Merge "Shorter test case names are accepted for tempest blacklist file"

8 years agoShorter test case names are accepted for tempest blacklist file 49/17949/3
vitikkan [Wed, 3 Aug 2016 06:19:21 +0000 (09:19 +0300)]
Shorter test case names are accepted for tempest blacklist file

Blacklist file handling is changed so that also partial test case
names are accepted. For example, "tempest.api.object_storage"
entry will exclude all the test cases containing this string.

JIRA: FUNCTEST-401

Change-Id: I620be7dfd5d980a343d2f7cc7c0dbe40598bf65c
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
8 years agofunctest utils - get_resolvconf_ns() Ensure that dns works with dns name resolution 51/17951/2
boucherv [Wed, 3 Aug 2016 09:17:10 +0000 (11:17 +0200)]
functest utils - get_resolvconf_ns() Ensure that dns works with dns name resolution

JIRA: FUNCTEST-402

Change-Id: I5fa9204aafb13330eb810950aa7bc728f1a69162
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agoMerge "Fix for the endpoint URL for kingbird"
mei mei [Wed, 3 Aug 2016 04:13:48 +0000 (04:13 +0000)]
Merge "Fix for the endpoint URL for kingbird"

8 years agoMerge "modfied to mute object storage test on joid."
valentin boucher [Tue, 2 Aug 2016 18:59:43 +0000 (18:59 +0000)]
Merge "modfied to mute object storage test on joid."

8 years agoFix for the endpoint URL for kingbird 99/17899/1
Ashish Singh [Tue, 2 Aug 2016 07:41:35 +0000 (13:11 +0530)]
Fix for the endpoint URL for kingbird

Currently, there is internal IP address which is getting populated
in tempest.conf. Since the tempest are run inside functest docker container
we need to use public IP address for accessing Kingbird services.

Now, there will not be any installer specific endpoints as we had earlier.
All should communicate with public endpoints.

Change-Id: Id22e7e4d9ece9a0000a1186113627b82d6ba400a
Signed-off-by: ashish singh <ashishsingh2k8@gmail.com>
8 years agouse configured success_rate to check tempest test status 97/17897/2
SerenaFeng [Tue, 2 Aug 2016 05:48:51 +0000 (13:48 +0800)]
use configured success_rate to check tempest test status

when checking tempest test results using success_rate
configured in testcases.yaml rather than written it in the code

JIRA: FUNCTEST-400

Change-Id: I2a34e3e032a0d94c6a4605fcf09a66c8f8f9b78c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoFix missing directory when calling bgpvpn tests 83/17883/1
jose.lausuch [Mon, 1 Aug 2016 15:00:24 +0000 (17:00 +0200)]
Fix missing directory when calling bgpvpn tests

Change-Id: Ic9f6b9592202c3bed9d6835eeea7c14971e1c01f
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Several bug fixes in ODL-SFC functest testcase"
Jose Lausuch [Mon, 1 Aug 2016 14:46:23 +0000 (14:46 +0000)]
Merge "Several bug fixes in ODL-SFC functest testcase"

8 years agoSeveral bug fixes in ODL-SFC functest testcase 73/17873/4
Manuel Buil [Mon, 1 Aug 2016 08:09:10 +0000 (10:09 +0200)]
Several bug fixes in ODL-SFC functest testcase

JIRA: SFC-42

- SSH options added so that the ssh key is not needed
- IPTABLES change done before contacting nova, neutron...
- Fix a problem in the CI test (we need to CD the BASEDIR)

Change-Id: Id63c02a614bf31e5a33637c2bf95270bd1399ff8
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agomodfied to mute object storage test on joid. 71/17871/1
Narinder Gupta [Mon, 1 Aug 2016 03:33:39 +0000 (22:33 -0500)]
modfied to mute object storage test on joid.

In case of joid we implement ceph-radosgw for object storage which creates
swift api for object storage. Manually i can verify we can upload the
object. But functest is failing other installer removed the API but we
need in JOID for juju based deployment on Openstack. So this patch will
mute the object storage test cases for functest.

Change-Id: I21d2bdc665a9589630cfcacb278cfb65a1c15f11
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
8 years agoWrap call to the rest api with try-except while generating report 63/17863/1
jose.lausuch [Sun, 31 Jul 2016 20:15:44 +0000 (22:15 +0200)]
Wrap call to the rest api with try-except while generating report

When the Rest api is not available for some reason
(see associated JIRA), the script fails and it gives also a false
output to Jenkins.

JIRA: FUNCTEST-399

Change-Id: I81622a2e22661889afcf49526c2421af257920a4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd onos_sfc scenario 03/17803/5
wuwenbin2 [Fri, 29 Jul 2016 09:18:53 +0000 (17:18 +0800)]
Add onos_sfc scenario

JIRA:ONOSFW-172

Change-Id: I019edf79f8d343f794aa7af151d8e30c18e2c5f6
Signed-off-by: wuwenbin2 <wuwenbin2@huawei.com>
8 years agoAdd dir_repo_domino to fix bug 35/17835/2
Ulas Kozat [Fri, 29 Jul 2016 17:09:05 +0000 (10:09 -0700)]
Add dir_repo_domino to fix bug

JIRA: DOMINO-19

Change-Id: Ib054b859569ef69e32cec650c7dd223199762763
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
8 years agoReturn with exit code in Doctor testcase 25/17825/2
Carlos Goncalves [Fri, 29 Jul 2016 13:07:40 +0000 (15:07 +0200)]
Return with exit code in Doctor testcase

JIRA: DOCTOR-63

Change-Id: Ib142a6102a705ee571081651c650ced05f7d5d4f
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
8 years agoReturn with exit code in Promise testcase 21/17821/2
Carlos Goncalves [Fri, 29 Jul 2016 12:54:55 +0000 (14:54 +0200)]
Return with exit code in Promise testcase

JIRA: PROMISE-77

Change-Id: Ie856d7b58f72a253abf4b446e33f3c98d06c50c1
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
8 years agoReturn -1 in Rally if the success criteria is not met 89/17789/5
Markus Kullberg [Fri, 29 Jul 2016 08:06:29 +0000 (11:06 +0300)]
Return -1 in Rally if the success criteria is not met

JIRA: FUNCTEST-382

Change-Id: Iaf475ecd3dbfcf6fb639ff146fe96e54c5393a1e
Signed-off-by: Markus Kullberg <markus.kullberg@nokia.com>
8 years agoMerge "Select test cases in tempest to be blacklisted per each scenario"
jose.lausuch [Fri, 29 Jul 2016 10:13:58 +0000 (10:13 +0000)]
Merge "Select test cases in tempest to be blacklisted per each scenario"

8 years agocorrect rally criteria check 01/17801/2
SerenaFeng [Fri, 29 Jul 2016 09:07:44 +0000 (17:07 +0800)]
correct rally criteria check

add method check_success_rate() to unify criteria check by success_rate

JIRA: FUNCTEST-398

Change-Id: I1b3f0ccd7061b80ac88356206f29844e31e4101b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agounify test results logger and apply to parser 85/17785/1
SerenaFeng [Fri, 29 Jul 2016 07:16:14 +0000 (15:16 +0800)]
unify test results logger and apply to parser

refine a unified method to log the test results
and use it to parser.

JIRA: FUNCTEST-397

Change-Id: I5ed6b04107be5590b1d9d5683c8f1846fef5a4d4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoSelect test cases in tempest to be blacklisted per each scenario 41/17741/5
jose.lausuch [Thu, 28 Jul 2016 19:09:39 +0000 (21:09 +0200)]
Select test cases in tempest to be blacklisted per each scenario

JIRA: FUNCTEST-396

Added example for SDNVPN test cases

Change-Id: I623130fc330c95239d982097552ca09f2a7ea34a
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Bug fix of the CI script in the ODL-SFC test case"
Jose Lausuch [Thu, 28 Jul 2016 15:49:27 +0000 (15:49 +0000)]
Merge "Bug fix of the CI script in the ODL-SFC test case"

8 years agoBug fix of the CI script in the ODL-SFC test case 33/17733/2
Manuel Buil [Thu, 28 Jul 2016 15:02:22 +0000 (17:02 +0200)]
Bug fix of the CI script in the ODL-SFC test case

Change-Id: Id3db14d1f26a7dd75cdaaf4d7ca0f54268a89faf
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoPrevent exiting the overall execution when there is a failed test case 29/17729/3
jose.lausuch [Thu, 28 Jul 2016 14:44:22 +0000 (16:44 +0200)]
Prevent exiting the overall execution when there is a failed test case

Unless it is a test with the flag blocking=true

Change-Id: Iada54319db1c81c73781f1b135eb496bc9f2af1b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoScripts added to enable the SFC-ODL test in CI 39/17639/14
Manuel Buil [Wed, 27 Jul 2016 16:03:55 +0000 (18:03 +0200)]
Scripts added to enable the SFC-ODL test in CI

We need to install Tacker in the server before running the test cases

Change-Id: Id7daee80627bc71c335fcb3efa5d389594641b65
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoAdd configure options for healthcheck 35/17635/6
Ciprian Barbu [Mon, 25 Jul 2016 11:43:00 +0000 (14:43 +0300)]
Add configure options for healthcheck

The healthcheck tier used hard-coded x86 image for testing glance and nova.
This breaks functest for ARM based pods, because x86 instances cannot run on
ARM and even more, if healthcheck fails no other testcases are executed.

Change-Id: I8a4cc754569a26d98bff57470574ed28eebbf2da
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
8 years agoAdd region name to OpenStack credentials 93/17693/3
Dimitri Mazmanov [Thu, 28 Jul 2016 09:27:13 +0000 (11:27 +0200)]
Add region name to OpenStack credentials

Currently functest doesn't account for regions when it tries to
instantieate OpenStack clients. As a result, the code fails when
functest is used in a multi-region environment.
The fix forces functest account for region name.

Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Change-Id: Iebbd20042548c02da9d5ed7e58a454347a555778

8 years agoFunctional testing for tosca2heat translation 65/17665/4
SerenaFeng [Thu, 28 Jul 2016 04:20:21 +0000 (12:20 +0800)]
Functional testing for tosca2heat translation

in Dockerfile, add parser related work
in config_functest.yaml/testcase.yaml, add parser related configuration
in exec_test.sh to run parser test
add vnf/RNC/parser.py script

JIRA: FUNCTEST-187

Change-Id: I8b53774da00f13b630ec5d9f750817db892a82bb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "Bugfix: dont stop execution when a test case is not blocking"
jose.lausuch [Thu, 28 Jul 2016 09:51:07 +0000 (09:51 +0000)]
Merge "Bugfix: dont stop execution when a test case is not blocking"

8 years agoBugfix: dont stop execution when a test case is not blocking 75/17675/7
jose.lausuch [Thu, 28 Jul 2016 07:14:48 +0000 (09:14 +0200)]
Bugfix: dont stop execution when a test case is not blocking

Change-Id: I3564b6f2d8f8057ec2c9753837e3a5fe16a4a866
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoAdd endpoint type support on functest 27/17627/7
boucherv [Wed, 27 Jul 2016 12:57:58 +0000 (14:57 +0200)]
Add endpoint type support on functest

By default public endpoint was used but now you can use internal or admin

JIRA: FUNCTEST-387

Change-Id: If1adaa88248d379ad6d74b20f2dffd76278b67b9
Signed-off-by: boucherv <valentin.boucher@orange.com>
8 years agologger the push result of rally test 11/17611/2
SerenaFeng [Wed, 27 Jul 2016 09:44:33 +0000 (17:44 +0800)]
logger the push result of rally test

JIRA: FUNCTEST-393

Change-Id: I94158531739e1e05c694a785a8bbca7f80684af5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "[bugfix] issures in multisite testcase"
meimei [Thu, 28 Jul 2016 02:00:39 +0000 (02:00 +0000)]
Merge "[bugfix] issures in multisite testcase"

8 years agoDisable security scan tests 45/17645/1
jose.lausuch [Wed, 27 Jul 2016 19:51:51 +0000 (21:51 +0200)]
Disable security scan tests

Change-Id: Ic6800f4b1401c44dbded160f45fdd17c706f14f8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMake openstack_clean be aware of the names and not only the IDs 21/17621/2
jose.lausuch [Wed, 27 Jul 2016 12:43:04 +0000 (14:43 +0200)]
Make openstack_clean be aware of the names and not only the IDs

Sometimes, when using the same container for a different deployment,
the IDs of the openstack resources are different but the names are
the same. This will avoid cleaning for example the user 'admin'
regardless of the ID it has.

JIRA: FUNCTEST-383

Change-Id: If27603f8f6d0cb7ad0aeba6e3c89ca19e2b8aed2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix the proper version output for kingbird. 17/17617/2
Dimitri Mazmanov [Wed, 27 Jul 2016 10:40:04 +0000 (12:40 +0200)]
Fix the proper version output for kingbird.

Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
8 years agoReturn -1 in Tempest if the success criteria is not passed. 13/17613/3
jose.lausuch [Wed, 27 Jul 2016 09:59:09 +0000 (11:59 +0200)]
Return -1 in Tempest if the success criteria is not passed.

JIRA: FUNCTEST-381

Change-Id: I533bb50e26a3b97da9fd3bfa007f8ac7ce752a5b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoReturn -1 if copper test fails 99/17599/3
jose.lausuch [Wed, 27 Jul 2016 08:11:59 +0000 (10:11 +0200)]
Return -1 if copper test fails

Change-Id: Ib66d1b69c73603bab33950ca2c0fca3f07eb3d22
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years ago[bugfix] issures in multisite testcase 09/17609/2
meimei [Wed, 27 Jul 2016 09:09:04 +0000 (17:09 +0800)]
[bugfix] issures in multisite testcase

Change-Id: I351311688742c04c2c2b7278015e221178267fda
Signed-off-by: meimei <meimei@huawei.com>
8 years agoEnable odl-sfc in CI 07/17607/1
Manuel Buil [Wed, 27 Jul 2016 09:15:07 +0000 (11:15 +0200)]
Enable odl-sfc in CI

JIRA:FUNCTEST-392

Change-Id: If1c931df26062501695061e1155eb26ad007c8de
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoBump rally to 0.5.0 and add shyaml 61/17561/3
Ciprian Barbu [Tue, 26 Jul 2016 16:15:11 +0000 (19:15 +0300)]
Bump rally to 0.5.0 and add shyaml

A newer version of rally brings in this change that is required by armband:
https://bugs.launchpad.net/rally/+bug/1580695

The shyaml cli parser can be used to make the healthcheck testcase
configurable, for instance to pass a different cirros image other than the one
for x86_64. Also required by armband to make functest execute all tests.

Change-Id: Ic4976bb6d4a4753e56deade35b641f1127af3162
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
8 years agoMerge "[bugfix] miss a argument"
meimei [Wed, 27 Jul 2016 07:25:55 +0000 (07:25 +0000)]
Merge "[bugfix] miss a argument"

8 years ago[bugfix] miss a argument 95/17595/1
meimei [Wed, 27 Jul 2016 07:08:35 +0000 (15:08 +0800)]
[bugfix] miss a argument

Change-Id: Id8cdf6a5dadee6a2e0ba10772db88c84e5ce13a3
Signed-off-by: meimei <meimei@huawei.com>
8 years agosubstitue misused variable 'total_success' with 'success_rate' 83/17583/1
SerenaFeng [Wed, 27 Jul 2016 01:42:20 +0000 (09:42 +0800)]
substitue misused variable 'total_success' with 'success_rate'

JIRA: FUNCTEST-390

Change-Id: I35a2f72016573fc9e0a8403e436d5568937c5b14
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoGenerate Functest report at the end of the execution 33/17433/13
jose.lausuch [Fri, 22 Jul 2016 15:49:34 +0000 (17:49 +0200)]
Generate Functest report at the end of the execution

JIRA: FUNCTEST-89

Change-Id: I10c41efdd6a7f737f57ab15158c8c8d49f392271
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agodelete useless stop_time initialization in run_rally-cert.py 21/17521/3
SerenaFeng [Tue, 26 Jul 2016 01:17:50 +0000 (09:17 +0800)]
delete useless stop_time initialization in run_rally-cert.py

stop_time is assigned twice, delete the first one

JIRA:FUNCTEST-384

Change-Id: I380113474e66a73c516f4411d8d7c5832e33921a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoBug fix for ODL-SFC testcase 65/17565/4
Manuel Buil [Tue, 26 Jul 2016 16:56:05 +0000 (18:56 +0200)]
Bug fix for ODL-SFC testcase

The vxlan_tool was sometimes not started properly in the SFs. Now we check
that the process is started

Change-Id: I8b88b76ba30755a1ed339f9e4c374d43e5e0b422
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoBad status on rally_sanity 25/17525/2
SerenaFeng [Tue, 26 Jul 2016 01:54:37 +0000 (09:54 +0800)]
Bad status on rally_sanity

format total_success to float when compared with numeric 90

JIRA: FUNCTEST-365

Change-Id: I473582053c107bb026bf0e8d76dab46b2e5e3eb6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd .idea directory to gitignore 31/17531/1
SerenaFeng [Tue, 26 Jul 2016 02:39:57 +0000 (10:39 +0800)]
add .idea directory to gitignore

ignore .idea created by using pycharm

JIRA: FUNCTEST-386

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