Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
If the VNF does not properly boot after timeout, wait_for_vnf
should return "None" to flag the error.
Also, refresh the VNF on every iteration.
Change-Id: I9ed7c399e689dfbace7c5c8914552e77bf45fc8f
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
|
|
Change-Id: I1828242cec6449b36d09be21a62074b3c131af17
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
|
|
create_vnf function could end up in and endless loop if it is not able to
retrieve the VNF id. Also, a timeout could help to detect problems when
instantiation is too slow.
Change-Id: I21744338a73f122d0c7a8fbe699738b11a7e2b76
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
|
|
|
|
Change-Id: Iead7767b936376c2f5b6c6a5584734ef074c1346
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Change-Id: Iac1cce36a2f4a8965545507b67584a42c5ef775a
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
JIRA: SFC-73
We can pass parameters to vnfds when creating a vnf. We need this now to
specify the availability zone
Change-Id: I8d6533ca331361f1581059050aa773936b4dff66
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
JIRA:SFC-70
Printing the VNFD template during VNFD creation was left on error level.
Move it on info level and make printing prettier.
Fix unit test for create_vnfd
Change-Id: Ib04a43d72abcf9b6fbcaec9ea05d57b9f017b53f
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
Update getting tacker client logic to use session for authentication
Change-Id: Ibc46e3d6b749540e1a23d08f6635c323e4dcf08d
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
|
|
There are some files whose permissions are changed unintendedly.
Revert all of them.
mode change 100644 <= 100755 functest/core/pytest_suite_runner.py
mode change 100644 <= 100755 functest/opnfv_tests/openstack/vping/vping_base.py
mode change 100644 <= 100755 functest/utils/openstack_tacker.py
mode change 100644 <= 100755 functest/tests/unit/odl/test_odl.py
mode change 100644 <= 100755 requirements.txt
mode change 100644 <= 100755 test-requirements.txt
Historical comments that changed the permission for reference
changeID: Ia02760fd98aaab59a6cf0a90a2020b76e0c92df6
changeID: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11
changeID: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700
changeID: I9f1a408f0e43bff4499575fa57cabd1a83d99b3a
Change-Id: I1deadd77cc78f2186f82de79233aabe97ac21b26
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: FUNCTEST-662
Different OpenStack has different version of RC file thus the environment variables vary.
The keystoneauth1 initialization only support limited input.
This patch only feed the required input to keystoneauth1.
Moreover, the patch optimized the code by removing hardcode and improved the scalability.
Change-Id: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
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>
|
|
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>
|
|
- 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>
|