summaryrefslogtreecommitdiffstats
path: root/docs/submodules/functest
AgeCommit message (Collapse)AuthorFilesLines
2017-06-03Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/functest from branch 'master' - Use constants in odl Change-Id: I134b0efd3dd0faec389087a4dac59de09eae087e Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-02Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Use CONST to retrieve db_url rather than getter function" - Use CONST to retrieve db_url rather than getter function 1. Remove get_db_url() 2. If TEST_DB_URL declared in env, update test_db_url in config_functest.yaml file during env preparation 3. No matter TEST_DB_URL declared in env or not, Result_DB = CONST.__getattribute__("results_test_db_url") JIRA: FUNCTEST-763 Change-Id: I20da7ef98bbcc56731e0ff7061b05c1dde6cbfc3 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-01Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Added unit tests for the connection_check test case." - Added unit tests for the connection_check test case. JIRA: FUNCTEST-813 Change-Id: Ib851a3942e181b1a91cad695504613868a340d15 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-31Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Return pylint status code for modules rated 10/10 It ensures that no pylint errors or warnings can be introduced by a new change. The first pylint call (to report issues) will be safely removed when all pylint errors and warnings are fixed in functest. Change-Id: I9ff7b7d5a7738c3d6d769267a78c28828c3e4523 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Fix a typo in framework.md It completes [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/35551/ Change-Id: I7b12cf48d9f47665f5d6a005d3cb8d448946409d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Fix a typo in docstring Change-Id: Ie03004474658bd3317a9be8a6b00f5bda1133f2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Define create_snapshot() and clean() in TestCase" - Define create_snapshot() and clean() in TestCase They replace the former calls in run_tests which are not suitable for all test cases. Now any test case can define how to clean its resources. If the snapshot cannot be created, the test case is considered as failed. Only a message is printed if any failure during cleaning. It also defines a new class called OSGCTestCase useful for test cases which don't clean their OpenStack resources. All test cases located in opnfv_tests/openstack inherit from it to keep the global behavior unchanged. It also deletes exit instructions in openstack_clean and openstack_snapshot, removes clean flags in testcases.yaml and updates the related utils. All Docs are modified as well. JIRA: FUNCTEST-438 Change-Id: I8938e6255708012380389763a24059ace4ce45d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "vping&snaps_xxx support not_hugepage_supported pod" - vping&snaps_xxx support not_hugepage_supported pod if flavor_metadata is set to {'hw:mem_page_size': 'any'}, it means hugepage must be support by pod. but actually hugepage is not supported by all pods Change-Id: Ib0b716ecedacf7eeba2c0d0080be2707b1a87e73 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-30Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Chmod 755 functest/ci/download_images.sh" - Chmod 755 functest/ci/download_images.sh It's designed to be called via Jenkins and was fixed by the next rule: $ find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I186aa9c3227dbac4e80f9a463632efdb2512020e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Fix one email address in INFO" - Fix one email address in INFO Change-Id: I0ae2f2aaca547f47fa30dd2bf67f5e348c202ce7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Switch shebangs to /usr/bin/env python" - Switch shebangs to /usr/bin/env python It modified the shebang to /usr/bin/env which is considered as more flexible. Change-Id: I9c8cdb4243d41a83d524499cc91060d3700e008b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Export the Pylint results via pylint.out" - Export the Pylint results via pylint.out It allows integrating Pylint with Jenkins (pylint.out can be defined as the "XML filename pattern" after installing the Violations plugin [1]). It's considered as fine to locally disable warnings such as docstrings in unit tests. No pylint rcfile is defined for only two options. Tox still prints the partial results in console to be interpreted by users. The persistent flag is removed to conform with nosetests args. [1] https://wiki.jenkins-ci.org/display/JENKINS/Violations Change-Id: I21662b27c8e4b61e65c4c3f5aab968e3e7dd6d90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-30Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Rename framework.html to index.html" - Rename framework.html to index.html It simplifies the url of the presentation. Change-Id: I23c449d98d5efcbeb27802a62f607f55ec658ebf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-29Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Move api out of the docs directory" - Move api out of the docs directory The docs directory can only contain static documentation. All generated html files should be pushed as artifacts at the end of functest-verify-master. Change-Id: I17aeab5687b9eb0c7aaf21cbc6b41e8f321c2e63 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-29Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Rename logger to __logger in unit.py This mangling ensures that all info messages printed from core packages. Change-Id: I77ac1c80360d45ef19ed7c3fa05a894804c92216 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-29Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Protect against self.suite = None Change-Id: Ie3370ebfdd51b9aff707e50b754ca52796e49fbf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-29Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Re-Enable Promise testcases" - Re-Enable Promise testcases Change-Id: I438c8f5ad9a517a19b675205964a427e8b57ac44 Signed-off-by: Gerald Kunzmann <kunzmann@docomolab-euro.com>
2017-05-29Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Fix some pylint errors in onos package" - Fix some pylint errors in onos package Directories affected: - functest/opnfv_tests/sdn/onos/ JIRA: FUNCTEST-796 Change-Id: Iffbb0e9a021d31a32d940128435a9f6ed43a504f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-24Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Stop printing in console when testing functest_utils.py" - Stop printing in console when testing functest_utils.py Change-Id: I6fa0f6f449270199cc4d5b2c88e171091bf92773 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-24Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Add docstrings in unit" - Add docstrings in unit It also adds shebang and conforms the copyright header with the related OPNFV template. Change-Id: Iacb0cc8629e3021181eef2e8cb76daf48601abf4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-24Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Rename the class TestSuiteRunner to Suite" - Rename the class TestSuiteRunner to Suite It conforms with [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/35211/ Change-Id: I11bbdcd63a1691835fb7c6198549edbaf6b758a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-24Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Rename test_pytest_suite_runner.py to test_unit.py" - Rename test_pytest_suite_runner.py to test_unit.py It conforms with [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/35211/ Change-Id: Ife7a161970997cf6cd74e86c343d4879f87b5cf4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-24Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Rename pytest_suite_runner.py to unit.py" - Rename pytest_suite_runner.py to unit.py It also adds the rst files to include this module in apidoc. Change-Id: Iabbb17bc8601265bd9436c75d1afc0b470df1eb4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-23Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Bugfix: fix two typos" - Bugfix: fix two typos 1. In run_tests.py, test case name is shown before running: logger.error(kwargs['test']) -> logger.info(kwargs['test']) 2. In tempest.py, Verication -> Verification Change-Id: I117838cdb4b0f920c4cf855645d910e623e06868 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-23Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/functest from branch 'master' - Call fetch_os_creds.sh from $PATH Now it's defined as script in releng/modules' setup.py [1] [1] https://gerrit.opnfv.org/gerrit/#/c/35183/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Depends-On: Ic77f4e46d6d3396f9891b73105a0eb7aa037754f JIRA: FUNCTEST-829 Change-Id: Ief821b7326e0a6c2bbcab31bb21629455e4bc9ea Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Bugfix: fix the errors of onos_sfc" - Bugfix: fix the errors of onos_sfc 1. Update the service type to "identity", "network", "compute" and "image", other than "keystone", "neutron", "nova" and "glance". JIRA: FUNCTEST-820 Change-Id: I81b2311760fd717570561e6471525773378ad2f2 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Update test_vnf.py to support py3" - Update test_vnf.py to support py3 Change-Id: I86dc83b1fc9205f7b8209d63e18439a7e05c646b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Remove former run_unit_tests.sh" - Remove former run_unit_tests.sh Depends-On: I934f4ac739d99d0cb29bea8c6aac6d6780b30901 Change-Id: I67c8a25a2e712babf99e32fb4c049b0acfd2e44d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Test decorators.py in testenv:py35" - Test decorators.py in testenv:py35 Change-Id: I91d5b04f105cf41bef799eccdaabf89cb0440747 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Turn Sphinx warnings into errors" - Turn Sphinx warnings into errors Change-Id: Iefc223a9fa6dbc4e9476aca84b3df4304058862b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Check python3 support when running tox" - Check python3 support when running tox It only tests testcase, feature and odl which supports python3. It creates a temporary requirements.py3.txt which will be safely removed when we stop using subprocess32 [1] and robotframework-sshlibrary. [1] https://jira.opnfv.org/browse/FUNCTEST-827 Change-Id: I92021dcb4aca03f64e2441e3bcff34675a3ae879 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Generate api doc when running tox" - Generate api doc when running tox Change-Id: I78b18981d9f916e6174d44c6280706e404c7c9f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Update apidoc to conform with vnf module" - Update apidoc to conform with vnf module It completes [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/34467/ Change-Id: Ia4a850b740764774b926d5cdb92c8813bc93f9e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Analyse code when running tox" - Analyse code when running tox It filters all messages to ease reading the report. Change-Id: Iab55bc71cb6026edde29fb9f084a07b2dedf564f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Check style when running tox" - Check style when running tox Change-Id: Idedf823a1572c40692e445694461b4196b75275d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Delete line breaks before binary operator" - Delete line breaks before binary operator They are considered as warnings by flake8. Change-Id: I84ffedc41c24133aa0d45e312bb095526aa1095b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Sort keys when dumping json" - Sort keys when dumping json Otherwise dumping them could break some unit tests as they are unordered collections [1]. [1] https://build.opnfv.org/ci/job/functest-verify-master/4122/ Change-Id: I108e946926ae9690cf2421e565f2bb81500f9160 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Ignore .tox" - Ignore .tox Change-Id: I50e39057edbbfadd57ea912f1f1ba32389639809 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Tox utility to run unit tests" - 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>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Update requests as defined in releng" - Update requests as defined in releng Change-Id: I808cb796d18cf7f193a37e7b7d9073a037bb2ae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Add baro_tests as requirements" - 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>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Install releng via requirements.txt" - 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>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Set default value for CONFIG_FUNCTEST_YAML" - 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>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Fully cover pytest_suite_runner.py" - Fully cover pytest_suite_runner.py Change-Id: I766afb1d5c6ef53a5b551539662ee363ae8eadee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Precise self.result in pytest_suite_runner.py" - Precise self.result in pytest_suite_runner.py It also adds the related unit tests. Change-Id: I8325bd9a55c69b229e3c48a9e64aa963e685e03d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Print stack when catching exceptions in run_tests.py" - Print stack when catching exceptions in run_tests.py Change-Id: Id94475dd519ce04b87da470f6e6bb5a1c1aa2d75 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-22Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Replace CONST.* by getattribute/setattr for refstack" - Replace CONST.* by getattribute/setattr for refstack Directories affected: - functest/opnfv_tests/openstack/refstack_client and respective unit test JIRA: FUNCTEST-796 Change-Id: I7f7047d44d71e82bcc1f66ec0b760ff30a13dbd5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-05-19Update git submodulesTim Irnich1-0/+0
* Update docs/submodules/functest from branch 'master' - Activating SDNVPN test cases for master. Change-Id: I4ba995d412bfeadc708d5a3c643576097867d1ac Signed-off-by: Tim Irnich <tim.irnich@ericsson.com>
2017-05-19Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Replace CONST.* by getattribute/setattr for rally and tempest" - 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>
2017-05-19Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Define Runner class" - 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>