Cédric Ollivier [Sun, 21 May 2017 07:23:49 +0000 (09:23 +0200)]
Ignore .tox
Change-Id: I50e39057edbbfadd57ea912f1f1ba32389639809
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ashishk1994 [Sat, 22 Apr 2017 16:40:31 +0000 (22:10 +0530)]
Tox utility to run unit tests
Now run_unit_tests.sh only calls tox to allow merging.
It can be safely deleted as soon as the related jjob is updated.
It also removes test_logging.ini.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I934f4ac739d99d0cb29bea8c6aac6d6780b30901
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 19 May 2017 21:32:33 +0000 (23:32 +0200)]
Update requests as defined in releng
Change-Id: I808cb796d18cf7f193a37e7b7d9073a037bb2ae7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 20 May 2017 09:57:35 +0000 (11:57 +0200)]
Add baro_tests as requirements
It also stops cloning it when building the docker container and updates
the related unit tests.
It bypasses the bug when importing collectd [1].
[1] https://jira.opnfv.org/browse/BAROMETER-79
Change-Id: Ie9f8ea2b3c95d6b1f5405d76b018cdcb62343a58
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 19 May 2017 21:11:21 +0000 (23:11 +0200)]
Install releng via requirements.txt
It should work in all branches if the right requirements.txt is
selected.
Change-Id: I9c46cd52496528835a92e371320debf92117b4fa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 19 May 2017 20:23:52 +0000 (22:23 +0200)]
Set default value for CONFIG_FUNCTEST_YAML
It calculates via the full path of env.py.
Change-Id: Ief958833f5116cdb116d0153d85a0ae03063ec5c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Tim Irnich [Fri, 19 May 2017 11:48:27 +0000 (13:48 +0200)]
Activating SDNVPN test cases for master.
Change-Id: I4ba995d412bfeadc708d5a3c643576097867d1ac
Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
Jose Lausuch [Fri, 19 May 2017 09:16:30 +0000 (09:16 +0000)]
Merge "Replace CONST.* by getattribute/setattr for rally and tempest"
Jose Lausuch [Fri, 19 May 2017 08:59:27 +0000 (08:59 +0000)]
Merge "Define Runner class"
Linda Wang [Thu, 18 May 2017 07:17:27 +0000 (07:17 +0000)]
Replace CONST.* by getattribute/setattr for rally and tempest
Directories affected:
- functest/opnfv_tests/openstack/rally
- functest/opnfv_tests/openstack/tempest
and respective unit test
JIRA: FUNCTEST-796
Change-Id: I963f5947663f0b660337f3304defb697f5d338f3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Jose Lausuch [Fri, 19 May 2017 08:40:43 +0000 (08:40 +0000)]
Merge "Modify how to disable logging in unit test."
Morgan Richomme [Fri, 19 May 2017 08:37:34 +0000 (08:37 +0000)]
Merge "Documentation for unit test project"
Morgan Richomme [Fri, 19 May 2017 08:36:54 +0000 (08:36 +0000)]
Merge "Use StringIO in odl.py"
Morgan Richomme [Fri, 19 May 2017 08:36:00 +0000 (08:36 +0000)]
Merge "Move few local ODL SFC confs to global functest confs"
Morgan Richomme [Fri, 19 May 2017 08:34:18 +0000 (08:34 +0000)]
Merge "Replace CONST.* by getattribute/setattr for cli"
Helen Yao [Fri, 19 May 2017 01:59:13 +0000 (01:59 +0000)]
Merge "Add a new directory to hold pre-downloaded images"
Jose Lausuch [Thu, 18 May 2017 18:31:52 +0000 (18:31 +0000)]
Merge "Use logger instead of printing in console"
Cédric Ollivier [Thu, 18 May 2017 17:37:26 +0000 (19:37 +0200)]
Modify how to disable logging in unit test.
Logs are only disabled when the unit tests are run from cmdline.
It allows running them via pytest_suite_runner.py and printing
their results to functest.log.
You should notice that the unit test must disable the logger of the
tested TestCase (e.g. testcase.TestCase.logger.disabled = 1). Otherwise
false logs will be printed in console.
Change-Id: Ic171e4575c8bab2e52db1897ae026b61a03b6247
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 18 May 2017 16:44:19 +0000 (16:44 +0000)]
Merge "Remove check_success_rate"
Cédric Ollivier [Thu, 18 May 2017 15:26:49 +0000 (17:26 +0200)]
Use StringIO in odl.py
It avoids creating and removing the temporary file to dump robot output.
Change-Id: Ia5ea66e76ffb8b8327f2da938f177e8ef4c61dd4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 18 May 2017 15:02:45 +0000 (15:02 +0000)]
Merge "Fix 2 issues related to logger in pytest_suite_runer.py"
Jose Lausuch [Thu, 18 May 2017 15:02:11 +0000 (15:02 +0000)]
Merge "Allow running unittest.TestCase via run_tests.py"
Cédric Ollivier [Thu, 18 May 2017 14:40:13 +0000 (16:40 +0200)]
Use logger instead of printing in console
It modifies pytest_suite_runner.py to dump unit test results in
functest.log via logging.
Change-Id: Ic4e7567c5e52e00ad0e485ccb070029b135041b2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 18 May 2017 12:28:43 +0000 (12:28 +0000)]
Merge "Clean test-requirements.txt"
jose.lausuch [Wed, 17 May 2017 12:20:43 +0000 (14:20 +0200)]
Remove check_success_rate
After the introduction of is_successful method
in TestCase class, this is not needed anymore.
Change-Id: I70f6f9e10495601cd5443467347b97efe27b81a3
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Thu, 18 May 2017 09:30:31 +0000 (09:30 +0000)]
Merge "Fix the opera ims instance initialization error"
Linda Wang [Thu, 18 May 2017 08:35:48 +0000 (08:35 +0000)]
Replace CONST.* by getattribute/setattr for cli
Directories affected:
- functest/cli/commands
and respective unit test
JIRA: FUNCTEST-796
Change-Id: I2ad721819d4b8f97098c589c3b5ed3dcc945409d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
helenyao [Tue, 2 May 2017 06:24:22 +0000 (14:24 +0800)]
Add a new directory to hold pre-downloaded images
Put all images in the new direcotry. If users want to use the
local image, map the local directory to the ${HOME}/functest/images
Change-Id: I0d309b93f52b3da23d6130056f1a19907313ef68
Signed-off-by: helenyao <yaohelan@huawei.com>
Cédric Ollivier [Wed, 17 May 2017 22:46:45 +0000 (00:46 +0200)]
Fix 2 issues related to logger in pytest_suite_runer.py
logging.ini requires the full name otherwise all log messages are lost.
Calling basicConfig() is useless as it has been correctly configured by
run_tests.py before.
Change-Id: I03663c01f795b1b844239a9e24379faa529829aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 17 May 2017 22:26:26 +0000 (00:26 +0200)]
Allow running unittest.TestCase via run_tests.py
pytest_suite_runner can run any unittest.TestCase thanks to name passed
as run arg. Here is the related functest/ci/testcases.yaml:
run:
module: 'functest.core.pytest_suite_runner'
class: 'PyTestSuiteRunner'
args:
name: 'functest.tests.unit.odl.test_odl'
Change-Id: I7c2c611c4afbad1e52bfdca4a3288ccc21491389
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 17 May 2017 15:41:15 +0000 (17:41 +0200)]
Clean test-requirements.txt
Now only the mandatory requirements related to unit testing are listed
in test-requirements.txt.
Change-Id: I2f17a9e18e90d779ddc80b1ace9ac770a76c3385
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jose.lausuch [Wed, 17 May 2017 12:17:21 +0000 (14:17 +0200)]
Update self.result value to INT
So far, the test cases are storing a string "PASS" "FAIL"
in the self.result variable.
The way the new framework works is with INT Values.
Change-Id: I45e8693327740faadd8254b21569adfb2cefa6c8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Cedric Ollivier [Wed, 17 May 2017 11:46:38 +0000 (11:46 +0000)]
Merge "Conform constants.py with the minimal standards"
Cédric Ollivier [Wed, 17 May 2017 05:44:27 +0000 (07:44 +0200)]
Conform constants.py with the minimal standards
It adds the shebang to constants.py and its dependencies and stops
importing from a relative path. It stops printing obsolete values too.
It adds python3 support to them by the way.
Change-Id: Ie7bddcf253eb245844d9e11c17acc69943c1ba63
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Wed, 17 May 2017 08:59:11 +0000 (08:59 +0000)]
Merge "Fix an unorderable types error (if python 3)"
Jose Lausuch [Wed, 17 May 2017 08:59:01 +0000 (08:59 +0000)]
Merge "Add Python3 support to the ODL testcase"
Jose Lausuch [Wed, 17 May 2017 08:56:08 +0000 (08:56 +0000)]
Merge "Converted vPing to leverage the object-oriented SNAPS library."
Cédric Ollivier [Wed, 17 May 2017 05:34:02 +0000 (07:34 +0200)]
Fix an unorderable types error (if python 3)
Change-Id: I07c5a548f10a1779faead4d9c596a1976aff8866
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 17 May 2017 04:06:51 +0000 (06:06 +0200)]
Add Python3 support to the ODL testcase
It also adds this support to its dependencies.
Change-Id: I0534f0c7b0e15a9ee89f522f314cf5200874454c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jamo Luhrsen [Wed, 10 May 2017 17:27:14 +0000 (10:27 -0700)]
Update/Add requirements to run ODL robot CSIT
It conforms test_odl.py with the new RobotFramework API too.
It also updates test-requirements.txt as required by the current
implementation of run_unit_tests.sh.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ibca0150a40d3b8a3f736be1e9dcbf9ce56af0299
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
spisarski [Thu, 1 Dec 2016 19:10:48 +0000 (12:10 -0700)]
Converted vPing to leverage the object-oriented SNAPS library.
JIRA: FUNCTEST-577
1. Replaced procedural openstack_utils with the object-oriented SNAPS
library
2. Tests now clean themselves up.
3. Improved code documentation.
4. Removed dependency on file-based Cirros image and now leveraging the
download URL.
5. Removed hardcoded location to the testcases.yaml file to leverage
the value in config_functest.yaml
6. Included optional flavor metadata based on the scenario being tested
7. Included support for multi-part images.
8. Added enhanced support for configurable images. see SNAPS-76
Fixed line length verification problem with the previous submission
Fixed retrieval of external network name to be dynamic.
Changed external network name retrieval to leverage the newly merged
snap_util.get_ext_net_name() function
Added the creation and deletion of flavors.
SNAPS now has the ability to add/remove security groups from running instances.
Changed VMInstance constructor by moving userdata to configuration object.
Change-Id: I0ef5e268eb153d696bb4d9a7533f780e5c603d26
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
Cédric Ollivier [Mon, 15 May 2017 16:55:26 +0000 (18:55 +0200)]
Define Runner class
It simply converts run_tests.py's functions to Runner's methods.
This proposal could be enhanced in a second step to fully leverage on
object programming.
It defines as instance variables the former static variables to allow
multiple runs (it's mandatory for unit testing).
All false positives in unit tests are fixed but run_tests.py is still
not fully covered.
Change-Id: I8f91c132aa8b2248041f31e46238dd5598344d34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Tue, 16 May 2017 16:05:16 +0000 (16:05 +0000)]
Merge "Fix one minor typo"
Jose Lausuch [Tue, 16 May 2017 16:03:12 +0000 (16:03 +0000)]
Merge "Fully cover the decorator"
Jose Lausuch [Tue, 16 May 2017 16:03:10 +0000 (16:03 +0000)]
Merge "Assign the wrapped function’s attributes"
Jose Lausuch [Tue, 16 May 2017 15:23:41 +0000 (15:23 +0000)]
Merge "Additional Unit Tests for core modules"
Jose Lausuch [Tue, 16 May 2017 15:23:27 +0000 (15:23 +0000)]
Merge "Get a logger before printing"
jose.lausuch [Tue, 16 May 2017 09:28:14 +0000 (11:28 +0200)]
Add enabled flag in testcases.yaml
This will allow enable/disable test cases directly
using true/false.
Change-Id: Iaa7d051ebb8dd9e5a6f835a823f58f1e17a87b8d
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Cédric Ollivier [Thu, 11 May 2017 11:01:16 +0000 (13:01 +0200)]
Switch from generate_report to PrettyTable
run_tests.py now relies on PrettyTable as most of the openstack clients.
generate_report.py and its related unit tests are simply removed.
It sets padding_width=5 in testcase.py too to conform with
run_tests.py.
Now report is printed in every case.
Change-Id: Id9ce93f984503f25d6a2150482f397853fa3dd64
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 6 May 2017 17:54:38 +0000 (19:54 +0200)]
Update framework pres
It takes into account the next framework modifications:
- Switch TestCase attribute criteria to result [1]
- Manage criteria in TestCase [2]
- Print the real testcase duration [3]
- Rename TestCase check_result() to is_successful() [4]
[1] https://gerrit.opnfv.org/gerrit/#/c/33695/
[2] https://gerrit.opnfv.org/gerrit/#/c/33697/
[3] https://gerrit.opnfv.org/gerrit/#/c/34369/
[4] https://gerrit.opnfv.org/gerrit/#/c/34373/
Change-Id: I3a6790e4233ef4c55b0535618dacf702f779f28b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 10 May 2017 09:38:32 +0000 (11:38 +0200)]
Fix how to get tier_name
The tier name was incorrect when passing a test case as run_test.py arg.
Change-Id: I6f439fc7b90facb3f0553798bd1fe06ac9f09475
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Tue, 16 May 2017 11:47:14 +0000 (11:47 +0000)]
Merge "Modify TestCase.__str__() to use PrettyTable"
Cédric Ollivier [Mon, 15 May 2017 14:09:01 +0000 (16:09 +0200)]
Fix one minor typo
Change-Id: Id17070985adfbe7817f3be25b47f583cb9ef90b6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ashishk1994 [Mon, 13 Feb 2017 17:55:58 +0000 (23:25 +0530)]
Additional Unit Tests for core modules
This patch adds unit tests for vnf and pytest_suite_runner.
It also fixes several pylint warnings/errors.
Additional tests are required to check args values.
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I75a829233481655c794402830e1da037ab7cdb8d
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Cédric Ollivier [Mon, 15 May 2017 13:47:33 +0000 (15:47 +0200)]
Get a logger before printing
It also fixes pylint errors.
Change-Id: I0d973360574a517724d0be3986c788c3ce7f54d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 15 May 2017 12:55:12 +0000 (14:55 +0200)]
Fully cover the decorator
Change-Id: I1f1c938f0715e6afb7edbb8242f9a6c9cbfa65b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 14 May 2017 06:50:32 +0000 (08:50 +0200)]
Assign the wrapped function’s attributes
It mainly assigns to the wrapper push_results_to_db's __name__,
__module__ and __doc__ and the documentation string.
Change-Id: Idc882ac4e743699a4887e46c5066e0983c90afd9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
George Paraskevopoulos [Mon, 27 Mar 2017 16:43:52 +0000 (19:43 +0300)]
Upgrade robotframework-sshlibrary to 2.1.3
Robotframework sshlibrary monkeypatches paramiko runtime and version
2.1.1 causes
2017-03-27 15:24:23,196 - SSH utils - ERROR - _custom_start_client() got
an unexpected keyword argument 'timeout'
errors in SFC test because of the issue
https://github.com/robotframework/SSHLibrary/issues/158
This issue is resolved in version 2.1.3
Change-Id: I07f570c1a90f358b9f17aa6c959642d67e07a7e4
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Morgan Richomme [Fri, 12 May 2017 06:33:24 +0000 (06:33 +0000)]
Merge "Add Energy recording support"
Cédric Ollivier [Thu, 11 May 2017 08:03:47 +0000 (10:03 +0200)]
Modify TestCase.__str__() to use PrettyTable
It adds PrettyTable as requirement even if it's already defined in
OpenStack client dependencies.
If the TestCase object is considered as invalid, it simply returns the
default str.
Change-Id: Iee788aef2a13694d9482560977cbbf21c7f2c967
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Morgan Richomme [Wed, 10 May 2017 07:54:08 +0000 (07:54 +0000)]
Merge "Conform ODL with last framework updates"
Morgan Richomme [Wed, 10 May 2017 07:53:46 +0000 (07:53 +0000)]
Merge changes from topic 'add_testcase_str'
* changes:
Remove the former results in DB url
Implement TestCase __str__()
Cedric Ollivier [Tue, 9 May 2017 17:26:33 +0000 (17:26 +0000)]
Merge "Bugfix: initialize the logger for snaps"
Cédric Ollivier [Tue, 9 May 2017 14:59:49 +0000 (16:59 +0200)]
Remove the former results in DB url
It conforms generate_report.py with the previous change [1].
[1] https://gerrit.opnfv.org/gerrit/#/c/33511/
Change-Id: I677ebd416f462a591439fc7b637c02d7964e6173
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Benoit HERARD [Thu, 27 Apr 2017 09:23:00 +0000 (11:23 +0200)]
Add Energy recording support
It adds helpers to send notifications to Energy recording API and
related unit tests.
It requires a dedicated section in functest config file
to set connectivity parameters to Energy recording API.
It is using shared API Recording at http://161.105.253.100:8888
Change-Id: Idcb74d1bf7341ccce7cc1c3926f22338ce24f714
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
Cédric Ollivier [Tue, 9 May 2017 10:06:57 +0000 (12:06 +0200)]
Conform ODL with last framework updates
Now ODL TestCase calculates the ratio between critical tests passed
and failed and saves it in result. Non-critical test cases can fail as
result doesn't take them into account [1].
It also updates default attribute values in TestCase and allows result
to be float.
[1] http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#setting-criticality
Change-Id: Id4a89271b5b1a90cd3c1e2b08591ff26ffaffee0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 May 2017 07:55:02 +0000 (09:55 +0200)]
Rename VnfOnBoardingBase to VnfOnBoarding
Change-Id: I514340fc6180e29b31ef11bdea9f719aa2bbb738
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 May 2017 07:50:02 +0000 (09:50 +0200)]
Rename vnf_base to vnf
Change-Id: I0b8b9b2e85717fc92a233e4f7344b3419421778d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Mon, 8 May 2017 06:33:13 +0000 (06:33 +0000)]
Bugfix: initialize the logger for snaps
Testcases about snaps failed due to the absence of attribute 'logger'.
Change-Id: I78c85e51f63afa767fa73aa12faea066ad432371
Signed-off-by: Linda Wang <wangwulin@huawei.com>
helenyao [Tue, 2 May 2017 07:46:11 +0000 (15:46 +0800)]
Fix the opera ims instance initialization error
Change-Id: I50f0e1ba91c8c4adcf407d493fb86d9089554cc5
Signed-off-by: helenyao <yaohelan@huawei.com>
Cédric Ollivier [Sat, 6 May 2017 07:32:36 +0000 (09:32 +0200)]
Implement TestCase __str__()
It's designed to be called by run_tests.py when printing the results of
test cases and when generating the global report.
Change-Id: If4a6f023ef2344bbc4f940d07dde4b776dce5d68
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 6 May 2017 07:20:55 +0000 (07:20 +0000)]
Merge "Rename TestCase check_result() to is_successful()"
Jose Lausuch [Fri, 5 May 2017 14:33:49 +0000 (14:33 +0000)]
Merge "Print the real testcase duration"
Cédric Ollivier [Fri, 5 May 2017 13:24:54 +0000 (15:24 +0200)]
Rename TestCase check_result() to is_successful()
Change-Id: I41cea33b4c1dae79e75231e7c7e069fc89736f34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 5 May 2017 12:38:27 +0000 (14:38 +0200)]
Print the real testcase duration
TestCase offers a new public method to calculate and print the duration.
It also adds the related unit tests and adapts run_tests.py.
Change-Id: Ib6a7e637dafacb9027146199aeb033c2dcb986c6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Fri, 5 May 2017 13:50:54 +0000 (13:50 +0000)]
Merge "Replace CONST.* by getattribute/setattr"
Jose Lausuch [Fri, 5 May 2017 13:50:10 +0000 (13:50 +0000)]
Merge "Extended the timeout for Opera"
jose.lausuch [Wed, 3 May 2017 12:11:38 +0000 (14:11 +0200)]
Replace CONST.* by getattribute/setattr
Directories affected:
- ci
- core
and respective unit tests
Change-Id: I6a3d5aa68de29fc5a37ae543a067ff797eba33e6
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Jose Lausuch [Fri, 5 May 2017 12:49:00 +0000 (12:49 +0000)]
Merge "Add iniparse to requirements.txt"
Jose Lausuch [Fri, 5 May 2017 12:22:20 +0000 (12:22 +0000)]
Merge "Check open args in test_odl"
Morgan Richomme [Fri, 5 May 2017 11:35:44 +0000 (11:35 +0000)]
Merge "Replace project_name by case_name in result file name"
Cédric Ollivier [Fri, 5 May 2017 11:01:20 +0000 (13:01 +0200)]
Replace project_name by case_name in result file name
It avoids erasing functest.log when project_name = functest.
Change-Id: Icae898abb8b51c89b79bb1124adfadab8b0b3b99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Linda Wang [Fri, 5 May 2017 10:11:50 +0000 (10:11 +0000)]
Add iniparse to requirements.txt
Package iniparse is absent for functest, while it is required by
rally.py
Change-Id: Ia50216cfebdc9033f6a5f4abc6338951aaa2e8ab
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Cédric Ollivier [Fri, 5 May 2017 09:23:18 +0000 (11:23 +0200)]
Check open args in test_odl
Change-Id: I4b0060502621c7491820b9aa42d8f2f63b06a9ae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Morgan Richomme [Fri, 5 May 2017 09:19:15 +0000 (11:19 +0200)]
Add Danube 2.0 reporting status
Change-Id: Icc09b824a4e7906dfab031b679ba3d0aa86ab0cd
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Jose Lausuch [Fri, 5 May 2017 07:51:39 +0000 (07:51 +0000)]
Merge "Forbid calling generate_report from cmdline"
Jose Lausuch [Fri, 5 May 2017 07:51:35 +0000 (07:51 +0000)]
Merge "Define loggers as class-private members"
Jose Lausuch [Fri, 5 May 2017 07:50:31 +0000 (07:50 +0000)]
Merge "Delete functest.utils.functest_logger"
Cédric Ollivier [Wed, 3 May 2017 13:58:23 +0000 (15:58 +0200)]
Forbid calling generate_report from cmdline
Change-Id: Ic9ea7507dc5f1f781b57c4573e971a2c8a8ca9ef
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 2 May 2017 18:57:08 +0000 (20:57 +0200)]
Define loggers as class-private members
This mangling ensures that all info messages printed from core packages
are shown in console. It also avoids sphinx to print them.
Change-Id: I07db9f33060c195bce3b48b06a6640eb6c56c2eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 30 Apr 2017 06:52:55 +0000 (08:52 +0200)]
Delete functest.utils.functest_logger
It deletes functest.utils.functest_logger and the related unit tests.
Then it modifies all functest modules to get all loggers via
logging.getLogger(). __name__ is mainly used as getLogger arg as
proposed by logging [1].
All loggers and handlers are now defined via functest/ci/logging.ini
instead of a dict loaded by an external json file.
Now only warn messages and info messages from ci and core packages are
printed in console.
[1] https://docs.python.org/2/library/logging.html
Change-Id: Ic192855e0f9bf94825d8f7ec73549a0f3b8d44c5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Jose Lausuch [Thu, 4 May 2017 12:13:08 +0000 (12:13 +0000)]
Merge "Update tempest.conf to enable tempest from external server"
Jose Lausuch [Thu, 4 May 2017 12:12:38 +0000 (12:12 +0000)]
Merge "Update rally_conf.json for creating deployment"
Jose Lausuch [Thu, 4 May 2017 12:11:59 +0000 (12:11 +0000)]
Merge "Add the choice of interface for keystoneclient"
Cedric Ollivier [Thu, 4 May 2017 07:45:56 +0000 (07:45 +0000)]
Merge "Publish framework presentation"
Morgan Richomme [Thu, 4 May 2017 07:23:17 +0000 (07:23 +0000)]
Merge changes from topic 'remove_openstack_dir'
* changes:
Remove openstack directory
Remove create_instance_and_ip.py
Morgan Richomme [Thu, 4 May 2017 07:22:41 +0000 (07:22 +0000)]
Merge "refstack-client userguide"
Vijayendra Radhakrishna [Fri, 28 Apr 2017 09:25:28 +0000 (14:55 +0530)]
Move few local ODL SFC confs to global functest confs
- Currently ODL SFC maitains image url, name, format in its local config.yaml
- This makes it complicated to override some of the params for other architecture
- like aarch64. This should help overriding some params during functest env prepare
- based on arch
Change-Id: I81a62566634e0bd87a53f5d0431492468a5f478c
Signed-off-by: Vijayendra Radhakrishna <vradhakrishna@mvista.com>
helenyao [Thu, 4 May 2017 02:05:29 +0000 (10:05 +0800)]
Extended the timeout for Opera
Change-Id: Ifeb4aecf66d75c9bb98d5dafdbe20be78423565e
Signed-off-by: helenyao <yaohelan@huawei.com>
Jose Lausuch [Wed, 3 May 2017 10:34:56 +0000 (10:34 +0000)]
Merge "Update INFO file for Euphrates"