Age | Commit message (Collapse) | Author | Files | Lines |
|
not need to clone full releng
depth 1 is enough
do not go out of workspace anymore..never...
Change-Id: I1d2dbc30bec6c168ef7ddf3327cb00fff4056aa1
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Functest verify job failed due to that test_prepare_env.py mistook one
function of ft_utils.execute_command_raise.
Change-Id: Ib3b8ca807308bf5c6d250e7debb4c9e1e106e3d1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I12b17ee7ed03987473825e0705074f0430b820bb
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
Most of modules in ci, openstack are dependent
on opnfv_module. This patch will install the releng
modules in unit test environment.
Credits: https://gerrit.opnfv.org/gerrit/#/c/26501/2/run_unit_tests.sh
Change-Id: Ibc5edeaf8439b8a5e874ee842c119480ed2e517b
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
Few bug fix in rally code along with unit tests.
Change-Id: Id39a5089ca6fce8aac5ba89eb61d31b02a5e9a98
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
JIRA: FUNCTEST-690
The detailed benefits are listed in the JIRA description.
1. Refactored the functest_logger to make use of configuration file
2. Avoided configuring the logging every time a logger is initialized
3. Applied separate logging configuration fo unit test by removing
saving log to file
Change-Id: I6e27eaba727ae6d704f0301f15359dc3ea7b2f97
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
clean_results_dir is now useless [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/26661/
Change-Id: I7ec02798696d4cbc4930bf2d8aa9cb35ce99b7aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
/home/opnfv is no longer required.
Change-Id: Iefb8faf3a7d548f3ae7d4076005d7b0bb93e63e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
It avoids creating a dummy functest.log for unit testing.
Change-Id: Ib163d5d58284822b1904444fb60b08e92ee0ab9b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
|
|
JIRA: FUNCTEST-590
Change-Id: I5e28145cae742598927e8edbe65091fedb533a4d
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
JIRA: FUNCTEST-683
Change-Id: I181d98847b2ca94ce84a670239b8a958bfae44cd
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
|
|
change 'rm -rf /home/opnfv/functest' to 'rm -rf /home/opnfv/functest/results'
and extract the clean logic to a common method clean_results_dir
Change-Id: I8aa0b09b58d9c14e53c2d4f2bb39376239e41168
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: FUNCTEST-529
1. use keystoneauth1.session to initialize the client for each service
The keystoneauth1.session.Session class was introduced into keystoneauth1 as an attempt
to bring a unified interface to the various OpenStack clients that share common authentication
and request parameters between a variety of services.
2. update ODL case to leverage session to get the endpoint info
Change-Id: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-638
Pip is a better alternative to Easy Install for installing Python packages.
There is no need to install easy_install.
Change-Id: I3dee17a800d11907c7f0942bff251a93675978bb
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-639
Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt.
This is the main reason to create a test-requirements.txt to hold all packages required by unit test.
Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
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>
|
|
OpenStack project."
|
|
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>
|
|
JIRA: FUNCTEST-579
Change-Id: Iaa545db70bfb76770df0a3d17871e29ce518ff2d
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
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>
|
|
JIRA: FUNCTEST-547
Change-Id: Iaeb1bb3e6f4529343eacc2f5ceda6d61ca6d96f7
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
- 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>
|
|
JIRA: FUNCTEST-326
Change-Id: Iae797d00c0bda07fce098f4a054dfc8f5bba069b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
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>
|
|
It adds the missing whitespace and only lists the packages for which
unit tests have been developped. It also adds python-neutronclient
as requirement.
Change-Id: Id14b0698cb3636333751d61ff954500a665e1551
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
|
|
JIRA: FUNCTEST-336
Change-Id: Icd958552fafb4e8dc58f9008586bcaf33862ccd4
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|