functest.git
7 years agoFix typo in openstack_tacker 85/25485/1
George Paraskevopoulos [Mon, 5 Dec 2016 12:15:41 +0000 (14:15 +0200)]
Fix typo in openstack_tacker

Changed function stub:

-def list_sfc_clasifiers(tacker_client, verbose=False):
+def list_sfc_classifiers(tacker_client, verbose=False):

Change-Id: I552231aff6c21a769366e8d41c20d64f1da374b4
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoRename TestCasesBase into TestcaseBase 91/25391/5
helenyao [Fri, 2 Dec 2016 02:52:43 +0000 (21:52 -0500)]
Rename TestCasesBase into TestcaseBase

JIRA: FUNCTEST-628
1. rename the TestCasesBase into TestcaseBase
2. updated the module name to testcase_base.py

Change-Id: Ic6b5d8209098c136613a2419c3790668fdbd493e
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Update release notes with arm results"
Morgan Richomme [Fri, 2 Dec 2016 13:35:28 +0000 (13:35 +0000)]
Merge "Update release notes with arm results"

7 years agoMerge "remove functest_repo from TestBase, move it to vPingBase"
Morgan Richomme [Fri, 2 Dec 2016 13:15:57 +0000 (13:15 +0000)]
Merge "remove functest_repo from TestBase, move it to vPingBase"

7 years agoUpdate release notes with arm results 19/25419/2
cristinapauna [Fri, 2 Dec 2016 11:32:55 +0000 (13:32 +0200)]
Update release notes with arm results

Change-Id: I961839f5baf399377f19c9b6e008b1d43af2e921
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
7 years agoMerge "Allow unit testing w/o internet connectivity"
Morgan Richomme [Fri, 2 Dec 2016 07:46:16 +0000 (07:46 +0000)]
Merge "Allow unit testing w/o internet connectivity"

7 years agoremove functest_repo from TestBase, move it to vPingBase 99/25399/2
Morgan Richomme [Fri, 2 Dec 2016 07:28:13 +0000 (08:28 +0100)]
remove functest_repo from TestBase, move it to vPingBase

Change-Id: I6e9ebc7280b24ced9b62bfa4fa38b08128febb42
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Revert "solve failure testcases are not pushed to testDB problem""
Morgan Richomme [Fri, 2 Dec 2016 07:21:01 +0000 (07:21 +0000)]
Merge "Revert "solve failure testcases are not pushed to testDB problem""

7 years agoMerge "Remove Notion of SKIP in test cases"
Morgan Richomme [Thu, 1 Dec 2016 16:41:22 +0000 (16:41 +0000)]
Merge "Remove Notion of SKIP in test cases"

7 years agoRevert "solve failure testcases are not pushed to testDB problem" 09/25109/3
Morgan Richomme [Tue, 29 Nov 2016 10:10:47 +0000 (10:10 +0000)]
Revert "solve failure testcases are not pushed to testDB problem"

This reverts commit a41264c46d583a68d48de041663213752dc62bf3.

Change-Id: Id62c5342fffb5d75672127d9765d4cc882e3f4df
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoMerge "Fix tacker util script"
Jose Lausuch [Wed, 30 Nov 2016 12:40:49 +0000 (12:40 +0000)]
Merge "Fix tacker util script"

7 years agoRemove Notion of SKIP in test cases 23/25123/2
Morgan Richomme [Tue, 29 Nov 2016 10:41:21 +0000 (11:41 +0100)]
Remove Notion of SKIP in test cases

JIRA: FUNCTEST-541

Change-Id: Ie71ba9c02e54a1ff05974ef89075b3ad7cf6f930
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAllow unit testing w/o internet connectivity 87/25187/2
Cédric Ollivier [Wed, 30 Nov 2016 00:25:24 +0000 (01:25 +0100)]
Allow unit testing w/o internet connectivity

urllib2.urlopen() is now patched when testing the internet connectivity
helper.

Change-Id: I4ddf1dd8f494fe282735e1051986a0b5dd1a040f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 years agobug fix: bad ping.sh path after refactoring 49/25149/1
Morgan Richomme [Tue, 29 Nov 2016 13:34:33 +0000 (14:34 +0100)]
bug fix: bad ping.sh path after refactoring

JIRA: FUNCTEST-626

Change-Id: Iaab7de65ae197939f1ef715826ba5a2b2423c205
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoFix tacker util script 75/25075/3
George Paraskevopoulos [Tue, 29 Nov 2016 08:01:48 +0000 (10:01 +0200)]
Fix tacker util script

Bug fixes for the tacker utilities script + a new function to wait for a
VNF to come up

Change-Id: Ia358c4b9dc43b60d0fd6ba4b18d2e7fd63f05a99
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
7 years agoMerge "Lifted requirements.pip one level up to meet the basic structure of OpenStack...
Morgan Richomme [Mon, 28 Nov 2016 16:34:17 +0000 (16:34 +0000)]
Merge "Lifted requirements.pip one level up to meet the basic structure of OpenStack project."

7 years agoMerge "Bugfix: fix the wrong script path for healthcheck."
Morgan Richomme [Mon, 28 Nov 2016 08:17:25 +0000 (08:17 +0000)]
Merge "Bugfix: fix the wrong script path for healthcheck."

7 years agoBugfix: fix the wrong path for vping_ssh 17/24917/1
helenyao [Sat, 26 Nov 2016 02:21:53 +0000 (21:21 -0500)]
Bugfix: fix the wrong path for vping_ssh

JIRA: FUNCTEST-624

Change-Id: Idbd04eb4c09a3bae29f12e43b019ad095ce2cf7b
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoBugfix: fix the wrong script path for healthcheck. 15/24915/1
helenyao [Sat, 26 Nov 2016 01:32:49 +0000 (20:32 -0500)]
Bugfix: fix the wrong script path for healthcheck.

JIRA: FUNCTEST-623

Change-Id: I9e37b25c989ce01d93920be372b3dc9845a3b0ae
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoLifted requirements.pip one level up to meet the basic structure of OpenStack project. 79/24879/3
helenyao [Fri, 25 Nov 2016 03:13:43 +0000 (22:13 -0500)]
Lifted requirements.pip one level up to meet the basic structure of OpenStack project.

JIRA: FUNCTEST-609

1. Lifted the requirements.pip
2. Renamed it to requirements.txt
3. Updated the areas that are affected

Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge smoke and sdn_controllers into smoke 05/24905/1
Morgan Richomme [Fri, 25 Nov 2016 17:01:22 +0000 (18:01 +0100)]
Merge smoke and sdn_controllers into smoke

1 category = min test suites to validate a scenario (feature excluded)

Change-Id: I8ed2d2175dbdb13c1e762fdfc3f3280551d853f2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdd suffix '_DIR' to some constants that point to directories 75/24875/5
jose.lausuch [Thu, 24 Nov 2016 22:24:49 +0000 (23:24 +0100)]
Add suffix '_DIR' to some constants that point to directories

JIRA: FUNCTEST-533

Change-Id: Iea2ca0709f6e53201056f9145fa6020216c31f56
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agofile/dir renaming for consistency 65/24865/6
Morgan Richomme [Thu, 24 Nov 2016 17:25:52 +0000 (18:25 +0100)]
file/dir renaming for consistency

JIRA: FUNCTEST-579

Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoAdapt Parser test case to the new template 63/24663/9
SerenaFeng [Tue, 22 Nov 2016 07:55:30 +0000 (15:55 +0800)]
Adapt Parser test case to the new template

JIRA: FUNCTEST-565

Change-Id: If702831438fac97c28a1a35b1a91b81feb8397bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Consider criteria as exit condition in odl test"
Morgan Richomme [Fri, 25 Nov 2016 07:04:56 +0000 (07:04 +0000)]
Merge "Consider criteria as exit condition in odl test"

7 years agoFix bug repos_dir -> REPOS_DIR 71/24871/1
jose.lausuch [Thu, 24 Nov 2016 21:54:29 +0000 (22:54 +0100)]
Fix bug repos_dir -> REPOS_DIR

JIRA: FUNCTEST-533

Change-Id: Ie98089c54326b255ffd7c6cad81abf29ad52f4a2
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoConsider criteria as exit condition in odl test 63/24863/1
Morgan Richomme [Thu, 24 Nov 2016 14:58:12 +0000 (15:58 +0100)]
Consider criteria as exit condition in odl test

JIRA: FUNCTEST-621

Change-Id: Ic9dd73861d84e3dbfb3e6611ffc9e5e2c09fcaed
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoExtracted all global parameters into functest_constants.py 19/24619/19
helenyao [Mon, 21 Nov 2016 11:50:06 +0000 (06:50 -0500)]
Extracted all global parameters into functest_constants.py

JIRA: FUNCTEST-533

1. Extracted all global variables into functest_constants.py and updated all affected areas accordingly
2. Used os.path.join to replace '/'  to come up with the path for better cross-platform support and improve the path accuracy
3. Removed unused variables
4. Updated the hardcoded path in Dockerfile by using variable reference
5. Removed "/" ending from all path variables
6. Updated the unit test

Change-Id: Ib30a81d1f0c83fbaef042d63c187c27bd18301bb
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "Conform SDNVPN test case to TestCaseBase"
Jose Lausuch [Thu, 24 Nov 2016 10:40:20 +0000 (10:40 +0000)]
Merge "Conform SDNVPN test case to TestCaseBase"

7 years agoMerge "bugfix: correct test report status"
Jose Lausuch [Thu, 24 Nov 2016 09:56:43 +0000 (09:56 +0000)]
Merge "bugfix: correct test report status"

7 years agobugfix: correct test report status 25/24825/1
SerenaFeng [Thu, 24 Nov 2016 06:24:47 +0000 (14:24 +0800)]
bugfix: correct test report status

reporting status of the test result should be checked based on
execution result not push_to_db result

Change-Id: I6f550f8243ba021108ce899cbebe98f3ff45c0e1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoAdapt check_os to OpenStack Newton 63/24763/2
jose.lausuch [Wed, 23 Nov 2016 13:16:23 +0000 (14:16 +0100)]
Adapt check_os to OpenStack Newton

When printing the identity catalog using
openstack catalog show identity, after the
Fuel uplift, we noticed that it prints the line

  admin: http://192.168.0.2:35357/v2.0

Before it was
  adminURL: http://192.168.0.2:35357/v2.0

Change-Id: I6efc996040c6ff945c67b0f346bbad7f0a723428
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoConform SDNVPN test case to TestCaseBase 65/24765/2
jose.lausuch [Wed, 23 Nov 2016 13:36:24 +0000 (14:36 +0100)]
Conform SDNVPN test case to TestCaseBase

JIRA: FUNCTEST-553

We need to remove the push_to_db of the overall result
in run_tests.py in sdnvpn repo.

Change-Id: I761d9b3ddd0972bfbf1155424615aeb1c9202ad9
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "solve failure testcases are not pushed to testDB problem"
Morgan Richomme [Wed, 23 Nov 2016 10:13:41 +0000 (10:13 +0000)]
Merge "solve failure testcases are not pushed to testDB problem"

7 years agoMerge "Adapt vping testcases to the new template"
Morgan Richomme [Wed, 23 Nov 2016 10:13:08 +0000 (10:13 +0000)]
Merge "Adapt vping testcases to the new template"

7 years agoAdapt vping testcases to the new template 41/24541/6
SerenaFeng [Fri, 18 Nov 2016 07:16:56 +0000 (15:16 +0800)]
Adapt vping testcases to the new template

JIRA: FUNCTEST-540

Change-Id: I05f3704e3fc38e21d7d6484f4d7f53f030d5c34b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "bugfix: domino test can not be executed"
Jose Lausuch [Wed, 23 Nov 2016 08:52:53 +0000 (08:52 +0000)]
Merge "bugfix: domino test can not be executed"

7 years agosolve failure testcases are not pushed to testDB problem 45/24745/2
SerenaFeng [Wed, 23 Nov 2016 07:43:39 +0000 (15:43 +0800)]
solve failure testcases are not pushed to testDB problem

In the new framework, only success testcases will be pushed to testDB,
a failure testcases will not be pushed to testDB, which is not correct
Modify it with only skipped testcases will not be pushed to testDB

Change-Id: Ie3cb06ef0d0f75a7ab0b540d2f9f79d4b56746e6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Fix path for Promise testcase call"
Jose Lausuch [Tue, 22 Nov 2016 16:42:33 +0000 (16:42 +0000)]
Merge "Fix path for Promise testcase call"

7 years agoFix path for Promise testcase call 81/24681/1
jose.lausuch [Tue, 22 Nov 2016 16:13:57 +0000 (17:13 +0100)]
Fix path for Promise testcase call

Change-Id: I2fdb7cc029395c9091831878ee034195be0138ff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoFix path for Tacker installation 79/24679/1
jose.lausuch [Tue, 22 Nov 2016 16:03:28 +0000 (17:03 +0100)]
Fix path for Tacker installation

After the migration of the SFC code into the SFC repo,
there is a problem with the path when building
the docker image

Step 60 : RUN /bin/bash -c ". /home/opnfv/repos/functest/functest/opnfv_tests/features/sfc/tacker_client_install.sh"

https://build.opnfv.org/ci/view/functest/job/functest-docker-build-push-master/766/console

Change-Id: I4ec53e657f49e63dc477b408b6c47b3be0f9281b
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoSwitch SFC call to sfc repository 53/24553/2
jose.lausuch [Fri, 18 Nov 2016 09:58:16 +0000 (10:58 +0100)]
Switch SFC call to sfc repository

The SFC testcase code has been moved from Functest to SFC repo.

1) Add SFC repo in the Docker image
2) Change call in exec_tests
3) Remove code from Functest

Change-Id: Ie6705d047b04646942d89215e992f46f8c4e58db
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agobugfix: domino test can not be executed 65/24665/2
SerenaFeng [Tue, 22 Nov 2016 10:15:34 +0000 (18:15 +0800)]
bugfix: domino test can not be executed

fix args is type Namespace problem

Change-Id: I4e3786d86bd9fca6697c900f60f4c0f357dcb2bd
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoCreate directory and empty files for the new openstack utils 57/24657/1
jose.lausuch [Tue, 22 Nov 2016 09:24:17 +0000 (10:24 +0100)]
Create directory and empty files for the new openstack utils

JIRA: FUNCTEST-575

Change-Id: I8a21c3c8d5a652cc421d719790dd7ac262fa9369
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
7 years agoMerge "Adapt Domino to Test Abstraction"
Morgan Richomme [Mon, 21 Nov 2016 10:16:23 +0000 (10:16 +0000)]
Merge "Adapt Domino to Test Abstraction"

8 years agoMerge "Update Promise repository"
Jose Lausuch [Fri, 18 Nov 2016 15:17:29 +0000 (15:17 +0000)]
Merge "Update Promise repository"

8 years agoCreate ovs log artifact on odl-sfc fail 57/24557/1
George Paraskevopoulos [Fri, 18 Nov 2016 14:38:16 +0000 (16:38 +0200)]
Create ovs log artifact on odl-sfc fail

Move the ovs logs from failed tests in functest artifacts

Change-Id: Icb537684ee2aa40d9bd182ba67a028e72496efa4
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoAdapt Domino to Test Abstraction 61/24561/1
Morgan Richomme [Fri, 18 Nov 2016 14:23:42 +0000 (15:23 +0100)]
Adapt Domino to Test Abstraction

JIRA: FUNCTEST-547

Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdate Promise repository 31/24431/2
jose.lausuch [Wed, 16 Nov 2016 17:06:36 +0000 (18:06 +0100)]
Update Promise repository

Promise code and test cases had been maintained in GitHub.
Due to the decision to mirror OPNFV Gerrit to GitHub,
the Promise GitHub (https://github.com/opnfv/promise) was
overwritten by the content in Gerrit (which is outdated).

Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Remove Harcoded version for ruby (vIMS)"
Morgan Richomme [Wed, 16 Nov 2016 07:16:57 +0000 (07:16 +0000)]
Merge "Remove Harcoded version for ruby (vIMS)"

8 years agoMerge "Wrap the Functest and install it as module by pip."
Morgan Richomme [Wed, 16 Nov 2016 07:16:42 +0000 (07:16 +0000)]
Merge "Wrap the Functest and install it as module by pip."

8 years agoMerge "Add script to enable Docker Remote API by updating Docker Daemon configuration"
Morgan Richomme [Wed, 16 Nov 2016 07:16:22 +0000 (07:16 +0000)]
Merge "Add script to enable Docker Remote API by updating Docker Daemon configuration"

8 years agoRemove Harcoded version for ruby (vIMS) 67/24367/1
Morgan Richomme [Tue, 15 Nov 2016 16:30:58 +0000 (17:30 +0100)]
Remove Harcoded version for ruby (vIMS)

JIRA: FUNCTEST-541

Change-Id: I8a7bc4bee07a0b2fb2c90fab941fb9c1bbc7cd3f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoInstalling SNAPS library to Docker image. 31/24331/1
spisarski [Mon, 14 Nov 2016 20:12:01 +0000 (13:12 -0700)]
Installing SNAPS library to Docker image.

Change-Id: I01b68fb0f64e4672195b8cf19675b734a22c57b9
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
8 years agoBug fix odl-sfc 19/24319/1
Manuel Buil [Mon, 14 Nov 2016 10:54:06 +0000 (11:54 +0100)]
Bug fix odl-sfc

I was not taking into account the case where the returned list is empty

Change-Id: I533ea8fbc286cb564dccec06750cd1a8bbcf52f9
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoMerge "Update OpenStack python clients to Newton version"
Jose Lausuch [Mon, 14 Nov 2016 08:53:15 +0000 (08:53 +0000)]
Merge "Update OpenStack python clients to Newton version"

8 years agoWrap the Functest and install it as module by pip. 99/24299/2
helenyao [Mon, 14 Nov 2016 02:10:06 +0000 (21:10 -0500)]
Wrap the Functest and install it as module by pip.

JIRA: FUNCTEST-538

1. PYTHONPATH is removed.
2. Functest will be installed by pip.
3. Dockerfile is updated accordingly.

Change-Id: Ie4eed9df045b121e2688dcb34c25779db775f104
Signed-off-by: helenyao <yaohelan@huawei.com>
8 years agoDowngrade keystone client only for SFC testcase 39/24239/2
jose.lausuch [Fri, 11 Nov 2016 15:11:29 +0000 (16:11 +0100)]
Downgrade keystone client only for SFC testcase

Since 1.7.4 is not the right one for the rest of
the test cases but it is the only version that works
for tacker, downgrade it first and upgrade it later.

Change-Id: I46be38a36726d9605a7a507a7ebd09d599f79ee3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoUpdate OpenStack python clients to Newton version 37/24237/2
jose.lausuch [Fri, 11 Nov 2016 14:32:03 +0000 (15:32 +0100)]
Update OpenStack python clients to Newton version

JIRA: FUNCTEST-537

https://wiki.opnfv.org/display/functest/OpenStack+python+clients

Change-Id: I498aefde33fc60596dd147260bf20c6787746aee
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoBug fix in odl-sfc 35/24235/1
Manuel Buil [Fri, 11 Nov 2016 12:17:13 +0000 (13:17 +0100)]
Bug fix in odl-sfc

The function that measures the time it takes to update OVS had a bug

Change-Id: I1e480759c0c20197dd412f3400ea50921764d991
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoFix path in CLI after directory restructure 29/24229/1
jose.lausuch [Fri, 11 Nov 2016 09:57:52 +0000 (10:57 +0100)]
Fix path in CLI after directory restructure

Change-Id: If71f3eb77371274b5215f274a77d5aa9976744fa
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Remove kingbird installation"
Jose Lausuch [Fri, 11 Nov 2016 07:16:57 +0000 (07:16 +0000)]
Merge "Remove kingbird installation"

8 years agoAdd script to enable Docker Remote API by updating Docker Daemon configuration 03/24203/4
helenyao [Fri, 11 Nov 2016 02:08:02 +0000 (21:08 -0500)]
Add script to enable Docker Remote API by updating Docker Daemon configuration

JIRA: FUNCTEST-520

This script will be used once the docker slicing decide is made.
Currently, the script has been tested on Ubuntu 14.04 and 16.04
and CentOS 7.2. A document about how to enable TLS is included
when taking security into account.

Change-Id: I4e5e58ed68d75528bf8497aba118f9dbb51dddad
Signed-off-by: helenyao <yaohelan@huawei.com>
8 years agoFix path for vping_ssh after refactor 01/24201/2
jose.lausuch [Thu, 10 Nov 2016 22:19:04 +0000 (23:19 +0100)]
Fix path for vping_ssh after refactor

Change-Id: I0ac1ec73314b674550b220e579d39ecb4818623d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoBug fix: fix path in run_tests.py 99/24199/1
Morgan Richomme [Thu, 10 Nov 2016 20:59:47 +0000 (21:59 +0100)]
Bug fix: fix path in run_tests.py

JIRA: FUNCTEST-525

Change-Id: I78488e04015d28b6ae8d902b252d966920e9b929
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMake the healthcheck sleep time configurable 69/24069/4
cristinapauna [Tue, 8 Nov 2016 13:58:41 +0000 (15:58 +0200)]
Make the healthcheck sleep time configurable

The healthcheck test has a 1 min sleep that gives time to the odl
flows to get programmed. This time depends on the config, and it
was noticed that on bgpvpn scenarios on arm more than one minute
is needed for the config to be properly set.

This patch makes the waiting time configurable, so it can be
overriden it when ran on arm or on varios scenarios.

Change-Id: Iebef892137ca3926e5732c910a358c15a32b5bef
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
8 years agoPhase out sfc_colorado1 from the CI 85/24185/2
George Paraskevopoulos [Thu, 10 Nov 2016 13:20:36 +0000 (15:20 +0200)]
Phase out sfc_colorado1 from the CI

Now that the upstream ODL Netvirt & SFC communities have resolved the
blocking issues for the OPNFV SFC is a good time to phase out the
workaround testcase we had for C1 and use the original again

Change-Id: Ifcc66612a21821d684b336129059da500068e67c
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoMerge "Fix paths in SFC testcase configuration"
Jose Lausuch [Thu, 10 Nov 2016 16:37:08 +0000 (16:37 +0000)]
Merge "Fix paths in SFC testcase configuration"

8 years agoMerge "Update onos scenarios in the release notes for Colorado 2.0"
Jose Lausuch [Thu, 10 Nov 2016 16:01:09 +0000 (16:01 +0000)]
Merge "Update onos scenarios in the release notes for Colorado 2.0"

8 years agoMerge "change path for python ci files"
Morgan Richomme [Thu, 10 Nov 2016 15:53:20 +0000 (15:53 +0000)]
Merge "change path for python ci files"

8 years agochange path for python ci files 87/24187/5
Morgan Richomme [Thu, 10 Nov 2016 13:31:07 +0000 (14:31 +0100)]
change path for python ci files

JIRA: FUNCTEST-525

Change-Id: I6b09eaec55e42a3ee1474b21bc7ed87a71118e60
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoFeature to know the time it takes to update OVS 79/24079/8
Manuel Buil [Tue, 8 Nov 2016 17:16:35 +0000 (18:16 +0100)]
Feature to know the time it takes to update OVS

ODL takes too much time to update the classification rules and we would like
to measure it to use it as a proof point that it is not acceptable.
This feature allows to measure it.

Change-Id: I00ade7e4aee7c9c81843077104727b98ad9bfea3
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoFix paths in SFC testcase configuration 83/24183/3
George Paraskevopoulos [Thu, 10 Nov 2016 13:07:09 +0000 (15:07 +0200)]
Fix paths in SFC testcase configuration

Change-Id: I9ff272065d8609bd40e02289c2013efd917aed9c
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoFix path issue in Docker file 81/24181/1
Morgan Richomme [Thu, 10 Nov 2016 10:07:52 +0000 (11:07 +0100)]
Fix path issue in Docker file

JIRA: FUNCTEST-525

Change-Id: Icdb2cb2e5b134143f5eddbad7b265d84671fb892
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoRemove kingbird installation 83/24083/3
jose.lausuch [Tue, 8 Nov 2016 19:02:14 +0000 (20:02 +0100)]
Remove kingbird installation

This is a quick hack to make docker build work in CI.
Kingbird is used by multisite, but the test case
is empty. The installation of the requirements overlap
with what we already install in requirements.pip
and makes the build fail.
It can be enabled once we resolve the dependencies
across different projects.

JIRA: FUNCTEST-523

Change-Id: I9194a7ae7a5887ee80eb392890dd304837760b66
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRepo structure modification 65/24065/5
Morgan Richomme [Tue, 8 Nov 2016 13:18:12 +0000 (14:18 +0100)]
Repo structure modification

- create functest subdirectory
- rename unit tests
- adapt path in exec and config files

JIRA: FUNCTEST-525

Change-Id: Ifd5c6edfb5bda1b09f82848e2269ad5fbeb84d0a
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoMerge "Update rally version"
Jose Lausuch [Tue, 8 Nov 2016 19:00:07 +0000 (19:00 +0000)]
Merge "Update rally version"

8 years agoMerge "Delete the reachability tests"
Morgan Richomme [Tue, 8 Nov 2016 13:46:03 +0000 (13:46 +0000)]
Merge "Delete the reachability tests"

8 years agoMerge "Do not modify unix rights in case of unit tests"
Morgan Richomme [Tue, 8 Nov 2016 13:45:56 +0000 (13:45 +0000)]
Merge "Do not modify unix rights in case of unit tests"

8 years agoUpdate rally version 57/24057/1
jose.lausuch [Tue, 8 Nov 2016 10:53:35 +0000 (11:53 +0100)]
Update rally version

Change-Id: I53c1d5e616380ff360f53ae014dc0f9ff66b2cb6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoRestructure SFC-ODL test cases 69/23969/6
Vijayendra Radhakrishna [Fri, 4 Nov 2016 09:04:17 +0000 (14:34 +0530)]
Restructure SFC-ODL test cases

    - Modularize some of the commonly used operations into small functions
    - Throw Proper error when Fuel has multiple envs and INSTALLER type is not FUEL
    - More error checks

Change-Id: I08a182c280454a8b58715d0035da53250229ef43
Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
8 years agoMerge "Upgrade python-keystoneclient"
Jose Lausuch [Mon, 7 Nov 2016 17:24:56 +0000 (17:24 +0000)]
Merge "Upgrade python-keystoneclient"

8 years agoUpgrade python-keystoneclient 19/24019/2
George Paraskevopoulos [Mon, 7 Nov 2016 10:38:48 +0000 (12:38 +0200)]
Upgrade python-keystoneclient

When running the os-odl_l2-bgpvpn-ha scenario I encountered the
following issue:

root@0a60c30641e7:~# . $creds
root@0a60c30641e7:~# neutron net-list
An auth plugin is required to fetch a token
root@0a60c30641e7:~# pip show python-keystoneclient
Name: python-keystoneclient
Version: 2.3.1
Summary: Client Library for OpenStack Identity
Home-page: http://www.openstack.org/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: PrettyTable, stevedore, requests, six, oslo.i18n, oslo.utils,
oslo.config, pbr, oslo.serialization, keystoneauth1, iso8601,
debtcollector, positional

Upgrading the python-keystoneclient package resolves it.

Change-Id: I5b2564cc7980ef42df90ec454ea5b6dbc121b3de
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoAdapting testcase to Boron SR1 95/23995/1
Manuel Buil [Fri, 4 Nov 2016 17:46:22 +0000 (18:46 +0100)]
Adapting testcase to Boron SR1

Boron SR1 fixed the issue creating the first classification rule, however
it takes quite some time to do it. We need to wait a bit.

Change-Id: Ib4d3ea98d68dcb2084374cb28c3772d375629826
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoMerge "Fix typo in Dockerfile"
Jose Lausuch [Fri, 4 Nov 2016 16:45:12 +0000 (16:45 +0000)]
Merge "Fix typo in Dockerfile"

8 years agoMerge "Remove python-keystoneclient downgrade and keep the newer version"
Jose Lausuch [Fri, 4 Nov 2016 15:32:49 +0000 (15:32 +0000)]
Merge "Remove python-keystoneclient downgrade and keep the newer version"

8 years agoAdd security group rule for DHCP 01/23901/2
George Paraskevopoulos [Wed, 2 Nov 2016 15:58:24 +0000 (17:58 +0200)]
Add security group rule for DHCP

Due to a new change in Boron SR1 we need to add the DHCP security group
rule explicitly.

Change-Id: I0d3d0447e7c31046bdfbb08da8752ef130830c59
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoDelete the reachability tests 47/23947/2
Cédric Ollivier [Wed, 26 Oct 2016 07:41:19 +0000 (09:41 +0200)]
Delete the reachability tests

It removes 001__reachability.robot as it is now part of OpenDaylight
integration/test. It completes the commit which pushes upstream the
reachability tests [1].

[1] https://git.opendaylight.org/gerrit/#/c/46910/

Change-Id: I72926cd4ab77e12ba4aeabf03bdd35619d43ffd3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoDo not modify unix rights in case of unit tests 45/23945/2
Cédric Ollivier [Thu, 3 Nov 2016 16:06:18 +0000 (17:06 +0100)]
Do not modify unix rights in case of unit tests

Even if the unit tests define main, nosetests oblige by default to
remove their executable bit. It also fixes the unix rights of Sfc.py.

Change-Id: Icbbb5b3118b16eff75b13d927e674a9764d6d83f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 years agoRemove python-keystoneclient downgrade and keep the newer version 37/23937/3
jose.lausuch [Thu, 3 Nov 2016 13:47:35 +0000 (14:47 +0100)]
Remove python-keystoneclient downgrade and keep the newer version

The docker build fails due to some inconsistency in the
keystone versions. See JIRA for more info.

JIRA: FUNCTEST-523

Change-Id: Ic8aeb564c2f8827417d49958c65916ff555bc706
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix typo in Dockerfile 21/23921/2
jose.lausuch [Thu, 3 Nov 2016 08:55:11 +0000 (09:55 +0100)]
Fix typo in Dockerfile

Change-Id: I9ee40dcfd815997d5ebd126e690c5f2b54af3364
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agobug fix on log file creation for unit tests 65/23965/1
Morgan Richomme [Fri, 4 Nov 2016 09:02:16 +0000 (10:02 +0100)]
bug fix on log file creation for unit tests

JIRA: FUNCTEST-326

Change-Id: Iae797d00c0bda07fce098f4a054dfc8f5bba069b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoAdd exit return code for unit tests 47/23747/28
Morgan Richomme [Fri, 28 Oct 2016 10:32:18 +0000 (12:32 +0200)]
Add exit return code for unit tests

Note that this patch should trigger some refactoring
1: repo structure, uggly hack due to the fact that the code
is at the root of the repo. The name can be change when cloning
leading to python path issues

2: logger is called with harcoded file in functest_logger.py
uggly hack to create the file is not already present

Basically hacks were necessary to be able to run the unit tests
locally and from jenkins

JIRA: FUNCTEST-336

Change-Id: Ib88256a167c003805d480f57c218c37d8d5962d8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
8 years agoUpdate onos scenarios in the release notes for Colorado 2.0 61/23661/2
jose.lausuch [Tue, 25 Oct 2016 10:12:45 +0000 (12:12 +0200)]
Update onos scenarios in the release notes for Colorado 2.0

Change-Id: Ia7cf9566e8ffc81ddd59b86eb84d2f740e195d5e
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoFix bug in ovs utils 67/23667/1
George Paraskevopoulos [Tue, 25 Oct 2016 13:14:52 +0000 (16:14 +0300)]
Fix bug in ovs utils

Change-Id: I86995a2fce5199c9267edc0e0596d868cc7d20ab
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
8 years agoMerge "Ignore files created by run_unit_tests.sh"
Cedric Ollivier [Tue, 25 Oct 2016 10:12:04 +0000 (10:12 +0000)]
Merge "Ignore files created by run_unit_tests.sh"

8 years agoUpdate release notes for Colorado 2.0 31/23631/2
jose.lausuch [Mon, 24 Oct 2016 16:50:13 +0000 (18:50 +0200)]
Update release notes for Colorado 2.0

Change-Id: I64a66bf11fe04df91dd2ef8c0bf91c4e19739863
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
8 years agoMerge "Complete OVS logging for sfc testcases"
Jose Lausuch [Mon, 24 Oct 2016 12:52:46 +0000 (12:52 +0000)]
Merge "Complete OVS logging for sfc testcases"

8 years agoBug fix for odl-sfc 23/23623/3
Manuel Buil [Mon, 24 Oct 2016 11:43:39 +0000 (13:43 +0200)]
Bug fix for odl-sfc

We forgot to add the path to the file, so the script was not executing

Change-Id: I3ec226f12e6db3402b20d9fcefaa0acecd5b3a70
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoComplete OVS logging for sfc testcases 19/23619/2
George Paraskevopoulos [Mon, 24 Oct 2016 09:47:09 +0000 (12:47 +0300)]
Complete OVS logging for sfc testcases

- Add archiving capability in ovs_utils
- Refactor common code into a single method
- Add logging for compute nodes
- Rename jumphost to proxy to avoid confusion

Change-Id: I332bcb537d914c25febae53d5d48943e666da4f9
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>